:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #65706a;
  --paper: #f5f1e8;
  --card: #fffdf8;
  --line: #d9d3c7;
  --green: #1f5a47;
  --green-dark: #153f33;
  --mint: #bbdfc9;
  --coral: #ef745d;
  --gold: #e4ad4c;
  --shadow: 0 24px 70px rgba(25, 43, 35, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input, textarea { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid rgba(23, 33, 29, .09); backdrop-filter: blur(18px); }
.nav-shell { width: min(1240px, calc(100% - 36px)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; letter-spacing: -.035em; }
.brand-mark { width: 31px; height: 31px; padding: 5px; display: flex; align-items: center; justify-content: space-between; border-radius: 50%; background: var(--green); }
.brand-mark i { width: 2px; border-radius: 3px; background: var(--mint); }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(5) { height: 7px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 14px; }
.brand-mark i:nth-child(3) { height: 20px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #3f4944; text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a[aria-current="page"] { color: var(--green); }
nav .nav-account { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 16px; color: var(--ink); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(40px, 8vw, 110px); padding-block: 80px 90px; }
.eyebrow { margin: 0 0 15px; color: var(--green); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.7rem, 8vw, 7.4rem); font-weight: 500; line-height: .86; letter-spacing: -.065em; }
h1 em { color: var(--green); font-weight: 500; }
.lede { max-width: 590px; margin: 30px 0 0; color: #4c5751; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 12px 21px; text-decoration: none; font-weight: 800; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: white; }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { border-color: #8b938e; background: transparent; color: var(--ink); }
.button.light { background: var(--card); color: var(--green-dark); }
.microcopy { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }

.player-card { position: relative; width: min(100%, 460px); justify-self: end; padding: 18px; border: 1px solid rgba(25, 55, 43, .15); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.player-card::before { position: absolute; content: ""; inset: 12% -30px -30px 14%; z-index: -1; border-radius: 30px; background: var(--mint); transform: rotate(-5deg); }
.player-top { display: flex; align-items: center; gap: 8px; padding: 3px 2px 15px; color: var(--muted); font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.duration { margin-left: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px #f9d8d1; }
.cover { aspect-ratio: 1.6; display: grid; place-content: center; overflow: hidden; border-radius: 17px; background: var(--green); color: #f8f1de; text-align: center; box-shadow: inset 0 0 80px rgba(0, 0, 0, .18); }
.cover::before { content: ""; position: absolute; }
.cover span { font-size: .77rem; letter-spacing: .32em; }
.cover strong { margin: -2px 0 -6px; color: var(--mint); font-family: Georgia, serif; font-size: clamp(3.4rem, 8vw, 5.5rem); font-weight: 500; letter-spacing: -.08em; }
.waveform { height: 72px; display: flex; align-items: center; gap: 3px; padding: 13px 4px 5px; }
.waveform i { flex: 1; height: var(--h); min-height: 3px; border-radius: 3px; background: var(--green); opacity: .72; }
.player-meta { display: flex; align-items: center; gap: 15px; padding: 12px 5px 2px; }
.player-meta div { display: grid; gap: 3px; }
.player-meta small { color: var(--muted); }
.player-meta strong { font-size: .9rem; }
.player-meta button { width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: var(--coral); color: white; }

.trust-strip { border-block: 1px solid var(--line); }
.trust-strip .shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow-x: auto; color: #39443f; }
.trust-strip span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.trust-strip strong { white-space: nowrap; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 500; }
.section { padding-block: 110px; }
.section-heading { max-width: 680px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.section h2, .cta-band h2, .pricing-heading h2, .fine-print h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4.5vw, 4rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.proof-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 253, 248, .55); }
.proof-card h3 { margin: 38px 0 10px; font-size: 1.12rem; }
.proof-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.mini-wave { height: 37px; display: flex; align-items: center; gap: 5px; }
.mini-wave i { width: 5px; border-radius: 5px; background: var(--coral); }
.mini-wave i:nth-child(1), .mini-wave i:nth-child(7) { height: 9px; }.mini-wave i:nth-child(2), .mini-wave i:nth-child(6) { height: 19px; }.mini-wave i:nth-child(3), .mini-wave i:nth-child(5) { height: 30px; }.mini-wave i:nth-child(4) { height: 37px; }
.cta-band { padding-block: 80px; background: var(--green); color: white; }
.cta-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .eyebrow { color: var(--mint); }
.cta-band h2 { max-width: 740px; }
.use-case-section { padding-block: 100px; border-block: 1px solid var(--line); background: #eee9df; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tag-cloud span { padding: 10px 15px; border: 1px solid #9aaa9f; border-radius: 999px; background: var(--card); color: var(--green); font-weight: 750; }
.faq-section { padding-block: 105px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 45px; }
.faq-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.faq-grid h3 { margin: 0 0 10px; font-size: 1.06rem; }
.faq-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.pricing-hero { max-width: 850px; padding-block: 90px 65px; text-align: center; }
.pricing-hero h1, .studio-hero h1, .account-shell h1, .error-shell h1 { font-size: clamp(3rem, 6vw, 5.7rem); line-height: .95; }
.pricing-hero > p:not(.eyebrow) { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.handoff-note { max-width: 700px; display: flex; align-items: flex-start; gap: 18px; margin: 32px auto 0; padding: 18px 20px; border: 1px solid #8db6a0; border-radius: 15px; background: #e2f0e6; text-align: left; }
.handoff-note > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; background: var(--green); color: white; font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.handoff-note p { margin: 4px 0 0; color: #4f635a; font-size: .9rem; }
.pricing-section { padding-block: 50px 70px; }
.pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.pricing-heading span { color: var(--coral); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pricing-heading h2 { margin-top: 7px; font-size: clamp(2rem, 4vw, 3.4rem); }
.pricing-heading > p { max-width: 370px; margin: 0; color: var(--muted); line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card.free-plan { background: #f4f0e7; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.price-card.featured { border: 2px solid var(--green); box-shadow: 0 18px 50px rgba(31, 90, 71, .12); }
.popular { position: absolute; top: -13px; right: 22px; padding: 6px 11px; border-radius: 999px; background: var(--coral); color: white; font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.plan-name { margin: 0; font-weight: 850; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.price strong { font-family: Georgia, serif; font-size: 3.2rem; font-weight: 500; letter-spacing: -.05em; }
.price span, .price-card > p, .price-card small { color: var(--muted); }
.price-card > p { min-height: 48px; line-height: 1.55; }
.minutes { margin: 20px 0 22px; padding-block: 17px; border-block: 1px solid var(--line); }
.minutes strong { font-size: 1.25rem; }
.minutes small { display: block; margin-top: 6px; }
.annual-note { min-height: auto !important; margin: 7px 0 0; font-size: .84rem; }
.episode-limit { min-height: auto !important; margin: -8px 0 13px; font-weight: 750; color: var(--ink) !important; }
.plan-features { min-height: 145px; margin: 0 0 22px; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.planned-feature span { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.billing-options { display: grid; gap: 11px; margin-top: auto; text-align: center; }
.billing-options .button { margin-top: 0; }
.billing-options .text-link { font-size: .84rem; }
.overage-note { display: block; }
.price-card .button { width: 100%; margin-top: auto; }
.price-card small { margin-top: 13px; line-height: 1.45; }
.packs { padding-top: 70px; }
.fine-print { max-width: 820px; padding-block: 65px 100px; }
.fine-print h2 { font-size: 2rem; }
.fine-print p { color: var(--muted); line-height: 1.7; }
.build-note { padding: 13px 15px; border-left: 3px solid var(--gold); background: #f4e8cc; color: #6a542d !important; font-size: .84rem; }

.studio-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-block: 75px 45px; }
.studio-hero > div { max-width: 790px; }
.studio-hero p:not(.eyebrow) { max-width: 650px; color: var(--muted); line-height: 1.65; }
.phase-pill { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #9aaa9f; border-radius: 999px; color: var(--green); font-size: .75rem; font-weight: 800; }
.studio-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding-bottom: 110px; }
.source-card, .studio-steps { border: 1px solid var(--line); border-radius: 23px; background: var(--card); box-shadow: 0 15px 45px rgba(25, 43, 35, .06); }
.source-card { padding: 26px; }
.source-card fieldset { margin: 0; padding: 0; border: 0; }
.source-card fieldset:disabled { opacity: .58; }
.source-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: #ece8de; }
.source-tabs button { flex: 1; border: 0; border-radius: 9px; padding: 10px; background: transparent; color: var(--muted); font-weight: 750; }
.source-tabs button[aria-selected="true"] { background: var(--card); color: var(--green); box-shadow: 0 2px 8px rgba(0, 0, 0, .07); }
.drop-zone { min-height: 230px; display: grid !important; place-content: center; justify-items: center; margin: 18px 0; border: 1.5px dashed #9da99f; border-radius: 17px; background: #f8f6f0; text-align: center; }
.drop-zone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-mark { width: 44px; height: 44px; display: grid; place-content: center; margin-bottom: 12px; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 1.5rem; }
.drop-zone small { margin-top: 6px; color: var(--muted); }
.source-card label:not(.drop-zone) { display: grid; gap: 8px; margin-top: 16px; font-size: .84rem; font-weight: 800; }
.source-card textarea, .source-card input { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; background: white; color: var(--ink); resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.source-card .button { margin-top: 20px; }
.rights-check { grid-template-columns: 20px 1fr !important; align-items: start; gap: 10px !important; margin-top: 20px !important; color: var(--muted); font-weight: 600 !important; line-height: 1.5; }
.rights-check input { width: 18px; height: 18px; margin: 2px 0 0; }
.legal-consent { margin: 12px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; text-align: center; }
.studio-steps { padding: 28px; }
.studio-steps ol { list-style: none; display: grid; gap: 2px; margin: 22px 0 0; padding: 0; }
.studio-steps li { display: grid; grid-template-columns: 33px 1fr; gap: 13px; padding: 13px 0; color: #748078; }
.studio-steps li > span { width: 30px; height: 30px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 50%; font-size: .75rem; font-weight: 850; }
.studio-steps li div { display: grid; gap: 4px; }
.studio-steps li small { line-height: 1.4; }
.studio-steps li.current { color: var(--green); }
.studio-steps li.current > span { border-color: var(--green); background: var(--green); color: white; }

.account-shell { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 8vw, 100px); align-items: center; padding-block: 80px 100px; }
.account-copy p:not(.eyebrow), .account-copy li { color: var(--muted); line-height: 1.65; }
.account-copy ul { padding-left: 20px; }
.account-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.account-card h2 { margin: 15px 0 10px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.account-card p { color: var(--muted); line-height: 1.65; }
.account-card .button { width: 100%; margin-top: 10px; }
.lock-mark { width: 45px; height: 45px; display: grid; place-content: center; border-radius: 50%; background: var(--mint); color: var(--green); }
.selection { padding: 12px; border-radius: 10px; background: #edf4ef; color: var(--green) !important; }
.text-link { display: block; margin-top: 17px; color: var(--green); text-align: center; font-weight: 750; }
.error-shell { min-height: 600px; display: grid; place-content: center; justify-items: start; }
.error-shell .button { margin-top: 28px; }

.legal-hero { max-width: 900px; padding-block: 90px 55px; }
.legal-hero h1 { font-size: clamp(3.1rem, 7vw, 6.4rem); line-height: .92; }
.legal-hero > p:not(.eyebrow) { max-width: 740px; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.legal-hero .policy-date { margin-top: 24px; font-size: .82rem !important; font-weight: 750; }
.legal-content { max-width: 900px; padding-bottom: 110px; }
.legal-content section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.35rem); font-weight: 500; letter-spacing: -.03em; }
.legal-content p, .legal-content li { color: #4f5a54; line-height: 1.75; }
.legal-content ul { padding-left: 22px; }
.legal-content a, .build-note a, .legal-consent a, .rights-check a, .faq-grid a { color: var(--green); font-weight: 700; }
.legal-table-wrap { overflow-x: auto; }
.legal-content table { width: 100%; border-collapse: collapse; background: var(--card); }
.legal-content th, .legal-content td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.legal-content th { background: #e9eee9; color: var(--green-dark); }
.legal-content code { white-space: nowrap; }

footer { padding-block: 55px; border-top: 1px solid var(--line); background: #ebe5d9; }
.footer-shell { width: min(1160px, calc(100% - 40px)); display: flex; align-items: start; justify-content: space-between; gap: 30px; margin: auto; }
.footer-shell p { margin: 12px 0 0; color: var(--muted); }
.footer-brand { max-width: 360px; }
.footer-brand > a:not(.brand) { display: inline-block; margin-top: 12px; color: var(--green); font-size: .88rem; }
.footer-groups { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 45px; }
.footer-groups > div { display: grid; align-content: start; gap: 10px; }
.footer-groups strong { margin-bottom: 3px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-groups a { color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.footer-groups a:hover { color: var(--green); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #d2cabd; color: var(--muted); font-size: .76rem; }
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


@media (max-width: 850px) {
  .hero, .account-shell { grid-template-columns: 1fr; }
  .hero { padding-block: 65px 100px; }
  .player-card { justify-self: center; margin-top: 30px; }
  .proof-grid, .pricing-grid { grid-template-columns: 1fr; }
  .proof-card { min-height: 210px; }
  .studio-shell { grid-template-columns: 1fr; }
  .studio-steps { order: -1; }
  .pricing-heading, .cta-band .shell { align-items: start; flex-direction: column; }
  .footer-shell { flex-direction: column; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-shell { width: calc(100% - 26px); min-height: 64px; }
  .brand > span:last-child { font-size: .9rem; }
  nav { gap: 12px; }
  nav a:not(.nav-account) { display: none; }
  .hero { min-height: 0; padding-top: 50px; }
  h1 { font-size: clamp(3.4rem, 18vw, 5.2rem); }
  .player-card { width: calc(100% - 10px); }
  .trust-strip .shell { justify-content: flex-start; }
  .section { padding-block: 75px; }
  .cta-band { padding-block: 60px; }
  .pricing-hero { padding-block: 65px 40px; }
  .pricing-heading { margin-bottom: 24px; }
  .price-card { padding: 24px; }
  .studio-hero { align-items: start; flex-direction: column; padding-top: 55px; }
  .source-card { padding: 17px; }
  .source-tabs { display: grid; }
  .form-row { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .account-shell { padding-block: 55px 80px; }
  .footer-groups { width: 100%; grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.project-library { margin-top: 34px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.project-library h2 { margin: 8px 0 16px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.project-library ul { list-style: none; padding: 0; margin: 0; }
.project-library li { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.project-library li:first-child { border-top: 0; }
.project-library small { display: block; margin-top: 4px; color: var(--muted); text-transform: capitalize; }
.source-panel { margin-top: 16px; }
.form-status { min-height: 1.4em; margin: 14px 0 0; color: var(--green); font-size: .9rem; font-weight: 700; }
.form-status[data-error] { color: #a64031; }
.script-preview { margin-top: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 23px; background: var(--card); box-shadow: 0 15px 45px rgba(25, 43, 35, .06); }
.script-preview h2 { margin: 5px 0 18px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.04em; }
.script-preview ol { margin: 0 0 22px; padding-left: 22px; color: var(--muted); line-height: 1.6; }
.script-preview [data-script-dialogue] { display: grid; gap: 10px; }
.script-preview [data-script-dialogue] article { padding: 14px 16px; border-radius: 12px; background: #f7f4ed; }
.script-preview [data-script-dialogue] strong { color: var(--green); }
.script-preview [data-script-dialogue] p { margin: 5px 0 0; line-height: 1.6; }
.balance-summary {
  display: grid;
  gap: 3px;
  margin: 18px 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.balance-summary span,
.balance-summary small { color: var(--muted); }

.balance-summary strong { font-size: 1.12rem; }

/* Source-first studio flow */
.stage-heading { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; }
.stage-heading > span { width: 38px; height: 38px; display: grid; place-content: center; border-radius: 50%; background: var(--green); color: white; font-size: .82rem; font-weight: 850; }
.stage-heading .eyebrow { margin: 1px 0 6px; }
.stage-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 500; letter-spacing: -.035em; }
.stage-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.source-stage .source-tabs { margin-top: 23px; }
.direction-stage { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.topic-suggestions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.topic-option { min-height: 205px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #faf8f2; color: var(--ink); text-align: left; cursor: pointer; }
.topic-option:hover { border-color: #8da898; background: #f3f7f3; }
.topic-option[aria-pressed="true"] { border: 2px solid var(--green); padding: 16px; background: #edf4ef; box-shadow: 0 8px 24px rgba(31, 90, 71, .09); }
.topic-option strong { font-size: .98rem; line-height: 1.35; }
.topic-option small { color: var(--muted); line-height: 1.45; }
.topic-number { color: var(--green); font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.topic-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.topic-meta span { padding: 5px 8px; border-radius: 999px; background: white; color: var(--green); font-size: .65rem; font-weight: 800; }
.direction-editor { margin-top: 23px; padding: 4px 18px 19px; border: 1px solid var(--line); border-radius: 16px; background: #f8f6f0; }
.source-card textarea, .source-card input, .source-card select { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; background: white; color: var(--ink); }
.source-card textarea { resize: vertical; }
.upload-mark { font-size: 0; }
.upload-mark::before { content: "\2191"; font-size: 1.5rem; }
.source-card select { min-height: 46px; }
.source-card button:disabled { cursor: wait; opacity: .62; transform: none; }
.studio-steps li.complete { color: #557367; }
.studio-steps li.complete > span { border-color: #8db6a0; background: var(--mint); color: var(--green); }
.form-status { min-height: 1.4em; margin: 15px 0 0; color: var(--green); font-size: .84rem; line-height: 1.5; }
.form-status[data-error] { color: #a33c2d; }

@media (max-width: 760px) {
  .topic-suggestions { grid-template-columns: 1fr; }
  .topic-option { min-height: auto; }
  .direction-editor { padding-inline: 13px; }
}
