:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #171f36;
  --muted: #526077;
  --line: #cfcfc5;
  --blue: #354bcf;
  --card: #fffef9;
  --mint: #dce9b2;
  --radius: 7px;
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body,
figure,
h1,
h2,
h3,
p {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
[hidden] {
  display: none !important;
}
*:focus-visible {
  outline: 3px solid #667de3;
  outline-offset: 3px;
}
.wrap {
  width: min(100% - 3rem, 1216px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 0.6rem;
  top: -10rem;
  padding: 0.6rem;
  background: white;
  z-index: 5;
}
.skip:focus {
  top: 0.6rem;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.wordmark,
.nav-links,
.nav-actions,
.actions,
.button,
.form-row,
.section-head,
.footer,
.footer-links,
.episode figcaption {
  display: flex;
  align-items: center;
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand links actions";
  align-items: center;
  column-gap: 1rem;
  min-height: 74px;
}
.nav > .wordmark {
  grid-area: brand;
  justify-self: start;
}
.nav-links {
  grid-area: links;
  justify-self: center;
}
.nav-actions,
#logout {
  grid-area: actions;
  justify-self: end;
}
.nav a,
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#member-nav {
  gap: 0.25rem;
}
#member-nav a {
  border-radius: var(--radius);
  justify-content: center;
  padding: 0.4rem 0.9rem;
}
#member-nav a[aria-current="page"] {
  color: white;
  background: var(--ink);
}
#logout {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
#logout:hover {
  border-color: var(--ink);
}

.wordmark {
  gap: 0.45rem;
  font-size: 1.85rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.085em;
}
.nav-links,
.nav-actions {
  gap: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a:hover,
.text-link:hover,
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.button,
#logout {
  justify-content: center;
  gap: 0.65rem;
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  min-height: 44px;
  font-weight: 650;
}
.button {
  border: 0;
}
.button.primary {
  background: var(--blue);
  color: white;
}
.button.dark {
  color: white;
  background: var(--ink);
}
.button:hover {
  filter: brightness(1.13);
}
.text-link {
  font-weight: 600;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 5vw, 5rem);
}
.hero h1,
.plans-heading h2,
.auth-aside h2 {
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.082em;
  font-weight: 660;
  text-wrap: balance;
}
.hero h1 em,
.plans-heading em,
.auth-aside em {
  display: block;
  font-family: Georgia, serif;
  color: var(--blue);
  font-weight: 400;
  letter-spacing: -0.065em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font:
    650 0.72rem/1.3 ui-monospace,
    monospace;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 1.5rem;
  height: 2px;
  background: currentColor;
}
.lede,
.plans-heading p:last-child,
.intro {
  color: var(--muted);
  line-height: 1.65;
}
.lede {
  max-width: 29rem;
  margin-top: 1.25rem;
  font-size: 1.1rem;
}
.actions {
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.episode {
  min-width: 0;
  background: var(--ink);
  color: #fffcf1;
  border-radius: var(--radius);
  overflow: hidden;
}
.episode figcaption {
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 1rem;
}
.episode figcaption strong,
.episode figcaption span {
  display: block;
}
.episode figcaption span,
.episode figcaption a {
  font-size: 0.78rem;
  color: #d2d9eb;
}
.episode figcaption a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.plans {
  background: #17213a;
  color: #f7f5ed;
  padding-block: clamp(2.8rem, 6vw, 5.5rem);
}
.plans-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5.5rem);
}
.plans-heading .eyebrow,
.plans-heading em {
  color: var(--mint);
}
.plans-heading h2,
.auth-aside h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
}
.plans-heading p:last-child {
  color: #cbd2e0;
  margin-top: 1.2rem;
  max-width: 25rem;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: var(--radius);
}
.price h3 {
  font-size: 1.25rem;
}
.price b {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: -0.065em;
  line-height: 1;
}
.price small {
  color: var(--muted);
}
.price .price-terms {
  min-height: 3em;
  color: var(--muted);
}
.price .button {
  align-self: stretch;
  margin-top: auto;
}
.footer {
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 2rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-links {
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
}
.footer .wordmark {
  font-size: 1.3rem;
  color: var(--ink);
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 54rem;
  align-items: center;
  padding-block: 5rem;
  min-height: 68vh;
}
.auth-aside img {
  margin-bottom: 1.8rem;
}
.panel,
.gate,
.current,
.job {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.8vw, 2rem);
}
.auth-form {
  display: grid;
  gap: 0.7rem;
}
.auth-form > p {
  color: var(--muted);
}
.auth-form .button {
  margin-top: 0.75rem;
}
.auth-form small {
  color: var(--muted);
}
.auth-form h1,
.desk h1 {
  font-size: clamp(2.25rem, 3.8vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.06em;
}
.auth-form h1 {
  font-size: 2rem;
}
.auth-form a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
}
label {
  font-size: 0.9rem;
  font-weight: 600;
}
input {
  width: 100%;
  border: 1px solid #9fa7b7;
  border-radius: 5px;
  padding: 0.7rem;
  background: #fffefb;
  color: var(--ink);
}
.desk {
  max-width: 64rem;
  min-height: 68vh;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.desk .intro {
  margin: 0.65rem 0 1.5rem;
}
.gate h2,
.current h2,
.job h2 {
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}
.gate p {
  margin: 0.5rem 0 1.2rem;
}
.gate .button {
  display: inline-flex;
}
.seg {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 1.3rem;
}
.seg button {
  border: 0;
  background: none;
  min-height: 44px;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
}
.seg [aria-pressed="true"] {
  color: white;
  background: var(--ink);
}
.content,
.content section,
.panel,
.clip {
  min-width: 0;
}
#account-email,
.pitch {
  overflow-wrap: anywhere;
}
.content label {
  display: block;
  margin-bottom: 0.45rem;
}
.form-row,
.section-head {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-row {
  margin-top: 1.4rem;
}
.content small,
.job p {
  color: var(--muted);
}
.current {
  margin-bottom: 1rem;
}
.current p {
  margin: 0.5rem 0;
}
.current .button {
  margin-top: 0.6rem;
}
.job-list {
  display: grid;
  gap: 0.7rem;
}
.job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.job:hover {
  border-color: var(--blue);
}
.job .status {
  white-space: nowrap;
  color: var(--blue);
  font-weight: 600;
}
.job h2,
.clip h3,
.job-title {
  overflow-wrap: anywhere;
}
.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.clip video {
  display: block;
  aspect-ratio: 9/16;
  background: var(--ink);
  border-radius: 6px;
  width: 100%;
  max-height: 55vh;
}
.clip h3 {
  margin: 0.8rem 0 0.3rem;
}
.clip .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0.4rem 0;
}
.job-title {
  margin: 1.25rem 0 0.7rem;
}
.detail-note {
  padding: 0.8rem 0;
  color: var(--muted);
}
.feedback:not(:empty),
[role="status"]:not(:empty):is(
    #auth-feedback,
    #create-feedback,
    #billing-feedback
  ) {
  margin: 0.7rem 0;
  font-size: 0.9rem;
  color: #992f3d;
}
a[aria-current="page"] {
  font-weight: 700;
}
@media (max-width: 840px) {
  .wrap {
    width: min(100% - 2.2rem, 46rem);
  }
  .hero,
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero h1 em {
    display: inline;
  }
  .hero-copy {
    max-width: 36rem;
  }
  .auth-wrap {
    gap: 2rem;
  }
  .nav {
    column-gap: 0.75rem;
  }
  .nav-links {
    gap: 0.8rem;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .nav {
    min-height: 62px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "links links";
    row-gap: 0.25rem;
    padding-block: 0.45rem;
  }
  #public-nav {
    display: none;
  }
  #member-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-self: stretch;
    gap: 0.2rem;
    border-top: 1px solid var(--line);
    padding-top: 0.3rem;
  }
  #member-nav a {
    padding-inline: 0.25rem;
  }
  .seg {
    width: 100%;
  }
  .seg button {
    flex: 1;
  }
  .footer-links {
    column-gap: 1rem;
  }

  .nav-actions {
    gap: 0.75rem;
  }
  .wordmark {
    font-size: 1.55rem;
  }
  .wordmark img {
    width: 30px;
    height: 30px;
  }
  .button {
    padding: 0.62rem 0.8rem;
  }
  .hero {
    padding-block: 2.4rem 1.5rem;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 15vw, 5rem);
  }
  .price-cards,
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    display: none;
  }
  .auth-wrap {
    min-height: 55vh;
    padding: 3rem 0;
  }
  .plans {
    padding: 2.4rem 0;
  }
  .price {
    gap: 0.7rem;
  }
  .footer {
    flex-wrap: wrap;
  }
  .episode figcaption {
    padding: 0.6rem 0.75rem;
  }
  .form-row .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button,
  .job {
    transition: background-color 0.16s, border-color 0.16s;
  }
}
.clip-action,
.publish-controls {
  border-top: 1px solid var(--line);
}
.clip-action summary,
.publish-controls summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 0.55rem;
  color: var(--blue);
  font-weight: 600;
}
.trim-form {
  padding: 0.65rem 0;
  display: grid;
  gap: 0.6rem;
}
.trim-form input {
  margin-top: 0.3rem;
}
#ideas-form {
  display: grid;
  gap: 0.7rem;
}
#ideas-form select {
  font: inherit;
  padding: 0.6rem;
  border: 1px solid #9fa7b7;
  border-radius: 5px;
  background: white;
}
#ideas-form button {
  justify-self: start;
  margin-top: 0.5rem;
}
#ideas-feedback:not(:empty),
.idea-set {
  margin-top: 1.25rem;
}
.pitch-grid {
  display: grid;
  margin-top: 1rem;
  gap: 0.7rem;
}
.pitch {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
}
.pitch blockquote {
  margin: 0.8rem 0;
  padding-left: 0.7rem;
  border-left: 2px solid var(--blue);
  font-weight: 600;
}
#ideas-gate .button {
  margin-top: 0.7rem;
}
.recovery-wrap {
  max-width: 28rem;
  padding-block: 4rem;
  min-height: 65vh;
}
.publish-controls select,
.publish-controls textarea {
  font: inherit;
  width: 100%;
  border: 1px solid #9fa7b7;
  border-radius: 5px;
  padding: 0.55rem;
  color: var(--ink);
  background: var(--card);
}
.publish-controls label,
.publish-controls p {
  margin-block: 0.7rem;
}
.publish-controls input[type="checkbox"] {
  width: auto;
}
.publish-controls button {
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 4px;
}
.publish-controls button:disabled {
  cursor: default;
}

.account-link,
.social-panel + .social-panel {
  margin-top: 1.25rem;
}
.social-panel {
  margin-bottom: 1rem;
}
.social-panel > p,
.provider-group > p {
  color: var(--muted);
  margin-top: 0.45rem;
}
.social-row,
.channel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.social-row {
  justify-content: space-between;
}
.provider-group {
  border-top: 1px solid var(--line);
  padding-block: 0.8rem;
}
.provider-group:first-of-type {
  margin-top: 1rem;
}
.provider-group h4 {
  overflow-wrap: anywhere;
  margin-block: 1rem 0.5rem;
}
.social-panel .button.secondary {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
}
.social-panel button:disabled {
  cursor: default;
}
.social-history {
  padding-inline-start: 1.3rem;
}
.social-history li {
  margin: 0.75rem 0;
}
#social-feedback:not(:empty) {
  margin-bottom: 1rem;
}
#social-content .clip-action ol {
  padding-inline-start: 1.5rem;
}
#social-content .clip-action li {
  margin-block: 0.5rem;
}
#pilot-home {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}
#pilot-home p {
  max-width: 48rem;
}
.pilot-note {
  border-left: 3px solid var(--blue);
  background: var(--card);
  color: var(--ink);
  padding: 0.6rem 1rem;
  margin-block: 0.4rem 1rem;
}
#pilot-feedback-form {
  display: grid;
  gap: 0.6rem;
  margin-block: 1.25rem;
}
#pilot-feedback-form label {
  margin: 0;
}
#pilot-feedback-form textarea {
  min-height: 6rem;
  resize: vertical;
  width: 100%;
  border: 1px solid #9fa7b7;
  border-radius: 5px;
  padding: 0.7rem;
  background: var(--card);
  color: var(--ink);
}
#pilot-feedback-form button {
  justify-self: start;
}
