/* =========================================================================
   Global Scholar Press — brand stylesheet
   Aesthetic: modern academic press · warm cream paper · deep pine · brass foil
   Type: Fraunces (display) · Newsreader (prose) · Libre Franklin (UI)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Libre+Franklin:wght@400;500;600;700&display=swap');

/* ----------------------------------------------------------------- tokens */
:root {
  --paper:      #F4EEE1;
  --paper-deep: #ECE3D0;
  --paper-card: #FBF7EE;
  --ink:        #1B1813;
  --ink-soft:   #514a3f;
  --ink-faint:  #877d6c;

  --pine:       #14463C;
  --pine-deep:  #0E312A;
  --pine-soft:  #2C6356;

  --brass:      #B0822F;
  --brass-lit:  #D6A94B;
  --oxblood:    #7A2E2A;

  --line:       rgba(27, 24, 19, 0.14);
  --line-soft:  rgba(27, 24, 19, 0.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-prose:   'Newsreader', Georgia, serif;
  --font-ui:      'Libre Franklin', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(27,24,19,.06), 0 6px 16px rgba(27,24,19,.05);
  --shadow-md: 0 2px 6px rgba(27,24,19,.07), 0 20px 44px rgba(27,24,19,.10);
  --shadow-lg: 0 30px 70px rgba(14,49,42,.20);

  --radius:   14px;
  --radius-lg:22px;
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-prose);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brass-lit); color: var(--pine-deep); }

/* paper grain + soft vignette over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(20,70,60,.10), transparent 60%),
    radial-gradient(900px 600px at -6% 12%, rgba(176,130,47,.10), transparent 55%),
    var(--paper);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.center { text-align: center; }
.lede { font-size: clamp(1.15rem, 1.9vw, 1.4rem); color: var(--ink-soft); max-width: 60ch; }
.center .lede { margin-inline: auto; }

/* ----------------------------------------------------------------- type */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.1rem); font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.display-italic { font-style: italic; font-weight: 500; color: var(--pine); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brass); opacity: .7; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--brass); opacity: .7; }

.kicker { font-family: var(--font-ui); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

/* double gold rule divider */
.rule { border: 0; height: 0; margin: 0; border-top: 1px solid var(--brass); position: relative; opacity: .55; }
.rule::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--brass); opacity: .5; }

/* ----------------------------------------------------------------- buttons */
.btn {
  font-family: var(--font-ui); font-weight: 600; font-size: .96rem;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .92em 1.5em; border-radius: 999px;
  border: 1px solid transparent; transition: all .25s var(--ease);
  letter-spacing: .005em; white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--pine); color: #F6F1E4; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: linear-gradient(180deg, var(--brass-lit), var(--brass)); color: #2a1d05; box-shadow: 0 8px 22px rgba(176,130,47,.34); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(176,130,47,.42); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(27,24,19,.04); }
.btn-lg { padding: 1.06em 1.9em; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

.textlink { color: var(--pine); font-weight: 500; border-bottom: 1px solid rgba(20,70,60,.3); transition: border-color .2s; }
.textlink:hover { border-color: var(--pine); }

/* ----------------------------------------------------------------- seal */
.seal { width: 96px; height: 96px; animation: seal-spin 60s linear infinite; }
.seal--sm { width: 60px; height: 60px; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .seal { animation: none; } }

/* ----------------------------------------------------------------- navbar */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.01em; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); font-family: var(--font-ui); font-weight: 500; font-size: .95rem; }
.nav__links a { color: var(--ink-soft); transition: color .2s; position: relative; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brass); border-radius: 2px; }
.nav__cta { display: flex; align-items: center; gap: .8rem; }
.nav__burger { display: none; background: none; border: 0; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--paper); padding: 1.6rem clamp(20px,5vw,44px) 2rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
}

/* ----------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(54px, 7vw, 96px); overflow: hidden; }
.hero__globe {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(640px, 58vw); opacity: .5; z-index: 0; pointer-events: none;
  color: var(--pine-soft);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--pine); font-weight: 500; }
.hero__sub { font-size: clamp(1.15rem, 2vw, 1.42rem); color: var(--ink-soft); max-width: 46ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__meta { margin-top: 2.4rem; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero__meta .stat { line-height: 1.1; }
.hero__meta .stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--pine); display: block; }
.hero__meta .stat span { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

/* hero side card — pricing taster */
.hero__card {
  background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-md);
  position: relative;
}
.hero__card::before {
  content: "Flat fee · end to end"; position: absolute; top: -13px; left: 24px;
  background: var(--pine); color: #F6F1E4; font-family: var(--font-ui);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .4em .9em; border-radius: 999px;
}
.hero__card .price-row { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.hero__card .price-row:last-of-type { border-bottom: 0; }
.hero__card .price-row .t { font-family: var(--font-display); font-size: 1.18rem; }
.hero__card .price-row .t small { display: block; font-family: var(--font-ui); font-size: .76rem; color: var(--ink-faint); letter-spacing: 0; text-transform: none; font-weight: 400; }
.hero__card .price-row .p { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--pine); }
.hero__card .price-row .p span { font-size: .9rem; color: var(--ink-faint); font-weight: 500; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__globe { opacity: .25; right: -30%; }
}

/* ----------------------------------------------------------------- trust strip */
.trust { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--paper-deep) 60%, transparent); }
.trust__inner { display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3.2rem); flex-wrap: wrap; justify-content: center; padding: 1.4rem 0; }
.trust__label { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.trust__logo { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); opacity: .8; }

/* ----------------------------------------------------------------- tracks / pricing cards */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.track {
  background: var(--paper-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.track:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.track--feat { border-color: var(--pine); box-shadow: var(--shadow-md); }
.track__tag { position: absolute; top: clamp(1.6rem,3vw,2.4rem); right: clamp(1.6rem,3vw,2.4rem); font-family: var(--font-ui); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.track__icon { width: 46px; height: 46px; color: var(--pine); margin-bottom: 1.1rem; }
.track h3 { margin-bottom: .25em; }
.track__for { font-family: var(--font-ui); font-size: .82rem; color: var(--ink-faint); letter-spacing: .04em; margin-bottom: 1.2rem; }
.track__price { display: flex; align-items: baseline; gap: .4rem; margin: .4rem 0 1.3rem; }
.track__price b { font-family: var(--font-display); font-size: 3.1rem; font-weight: 700; color: var(--ink); line-height: 1; }
.track__price span { font-family: var(--font-ui); font-size: .9rem; color: var(--ink-faint); }
.track__list { list-style: none; margin: 0 0 1.7rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.track__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.track__list li::before { content: ""; flex: none; margin-top: .42em; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314463C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.track .btn { margin-top: auto; }

@media (max-width: 760px){ .tracks { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.2rem, 2.6vw, 1.9rem); }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brass);
}
.step::after { content: ""; position: absolute; top: .85rem; left: 3.1rem; right: -1rem; border-top: 1px dashed var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.18rem; margin-bottom: .4em; }
.step p { font-size: .98rem; color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------------------- timeline (how-it-works) */
.timeline { position: relative; margin-top: 2rem; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brass), var(--line)); }
.tl-item { position: relative; padding: 0 0 2rem 58px; }
.tl-item::before { content: ""; position: absolute; left: 11px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper-card); border: 2px solid var(--pine); }
.tl-item h3 { font-size: 1.2rem; margin-bottom: .2em; }
.tl-item .kicker { display: block; margin-bottom: .4em; color: var(--brass); }
.tl-item p { margin: 0; color: var(--ink-soft); }

/* ----------------------------------------------------------------- feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: clamp(1.1rem, 2.4vw, 1.7rem); }
.card { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__icon { width: 38px; height: 38px; color: var(--pine); margin-bottom: 1rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .35em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ----------------------------------------------------------------- quote */
.quote { max-width: 40ch; }
.quote blockquote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; margin: 0 0 1.2rem; color: var(--ink); }
.quote blockquote::before { content: "\201C"; color: var(--brass); }
.quote cite { font-style: normal; font-family: var(--font-ui); font-size: .9rem; color: var(--ink-faint); letter-spacing: .04em; }
.quote cite b { color: var(--ink); font-weight: 600; }

/* platform grid */
.platforms { display: flex; flex-wrap: wrap; gap: .7rem; }
.platforms span { font-family: var(--font-ui); font-size: .9rem; font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.05em; background: var(--paper-card); }

/* ----------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.35rem 2.4rem 1.35rem 0; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); position: relative; }
.qa__q::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-ui); font-size: 1.5rem; color: var(--brass); transition: transform .3s; }
.qa.open .qa__q::after { content: "\2013"; }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa__a-inner { padding: 0 2.4rem 1.5rem 0; color: var(--ink-soft); }
.qa.open .qa__a { max-height: 420px; }

/* ----------------------------------------------------------------- CTA band */
.cta-band { background: var(--pine-deep); color: #EFE7D6; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #FBF7EE; }
.cta-band p { color: rgba(239,231,214,.82); max-width: 50ch; }
.cta-band .seal { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 150px; opacity: .22; color: var(--brass-lit); }
.cta-band .eyebrow { color: var(--brass-lit); }
.cta-band .eyebrow::before, .cta-band .eyebrow::after { background: var(--brass-lit); }

/* ----------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: clamp(3rem,5vw,4.5rem) 0 2.5rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot__brand p { color: var(--ink-soft); max-width: 34ch; font-size: .96rem; margin: 1rem 0 0; }
.foot h4 { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.foot ul a { color: var(--ink-soft); font-size: .96rem; transition: color .2s; }
.foot ul a:hover { color: var(--pine); }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2.4rem,4vw,3.4rem); padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-family: var(--font-ui); font-size: .82rem; color: var(--ink-faint); }
@media (max-width: 760px){ .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"]{ transition-delay: .08s; } [data-delay="2"]{ transition-delay: .16s; }
[data-delay="3"]{ transition-delay: .24s; } [data-delay="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ===================================================================
   INTAKE WIZARD  (start.html)
   =================================================================== */
.wizard { padding: clamp(2rem, 5vw, 3.5rem) 0 5rem; }
.wizard__head { text-align: center; margin-bottom: 2.4rem; }
.wizard__head h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* progress rail */
.progress { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 760px; margin: 0 auto 2.8rem; flex-wrap: wrap; }
.progress__step { display: flex; align-items: center; gap: .6rem; font-family: var(--font-ui); font-size: .82rem; color: var(--ink-faint); }
.progress__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-card); border: 1.5px solid var(--line); font-weight: 600; font-size: .85rem; transition: .3s; flex: none; }
.progress__step.active .progress__dot { background: var(--pine); border-color: var(--pine); color: #F6F1E4; }
.progress__step.done .progress__dot { background: var(--brass); border-color: var(--brass); color: #2a1d05; }
.progress__step.active, .progress__step.done { color: var(--ink); }
.progress__bar { width: clamp(18px, 4vw, 52px); height: 1.5px; background: var(--line); margin: 0 .3rem; }
.progress__step.done + .progress__bar { background: var(--brass); }
.progress__bar.done-bar { background: var(--brass); }
.progress__label { font-weight: 500; }
@media (max-width: 720px){ .progress__label { display: none; } }

.wizard__card { max-width: 760px; margin: 0 auto; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.6rem, 4vw, 3rem); }
.panel { display: none; animation: panelIn .45s var(--ease); }
.panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel h2 { font-size: clamp(1.5rem,3vw,2.1rem); }
.panel__hint { color: var(--ink-soft); margin: 0 0 1.8rem; }

/* choice cards (track selection / cover) */
.choices { display: grid; gap: 1rem; }
.choices--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px){ .choices--2 { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: .25s; height: 100%; background: var(--paper); }
.choice:hover .choice__body { border-color: var(--pine-soft); }
.choice input:checked + .choice__body { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 6%, var(--paper-card)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 16%, transparent); }
.choice__body h3 { font-size: 1.2rem; margin-bottom: .2em; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.choice__body .price-pill { font-family: var(--font-ui); font-weight: 700; font-size: .95rem; color: #2a1d05; background: linear-gradient(180deg, var(--brass-lit), var(--brass)); padding: .25em .7em; border-radius: 999px; }
.choice__body p { margin: .4rem 0 0; font-size: .96rem; color: var(--ink-soft); }
.choice__icon { width: 34px; height: 34px; color: var(--pine); margin-bottom: .9rem; }

/* dropzone */
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2.4rem 1.5rem; text-align: center; transition: .25s; cursor: pointer; background: var(--paper); }
.dropzone:hover, .dropzone.drag { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 5%, var(--paper-card)); }
.dropzone svg { width: 40px; height: 40px; color: var(--pine-soft); margin: 0 auto .8rem; }
.dropzone b { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.dropzone span { font-size: .88rem; color: var(--ink-faint); }
.filelist { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.filelist li { display: flex; align-items: center; gap: .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .85rem; font-size: .92rem; }
.filelist li .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist li .fsz { color: var(--ink-faint); font-size: .82rem; }
.filelist li button { background: none; border: 0; color: var(--oxblood); font-size: 1.2rem; line-height: 1; padding: 0 .2rem; }

/* form fields */
.field { margin-bottom: 1.3rem; }
.field > label { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .88rem; margin-bottom: .45rem; color: var(--ink); }
.field .req { color: var(--oxblood); }
.field .opt { color: var(--ink-faint); font-weight: 400; }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; font-family: var(--font-prose); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: .75em .9em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 14%, transparent); }
.field .hint { font-size: .82rem; color: var(--ink-faint); margin: .4rem 0 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--oxblood); }
.field .err { display: none; color: var(--oxblood); font-size: .82rem; margin-top: .35rem; font-family: var(--font-ui); }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px){ .grid-2 { grid-template-columns: 1fr; } }

/* agreement box */
.agreement { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; max-height: 240px; overflow-y: auto; font-size: .94rem; color: var(--ink-soft); line-height: 1.6; }
.agreement h4 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .6rem; }
.agreement p { margin: 0 0 .8rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; font-size: .96rem; cursor: pointer; }
.check input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--pine); flex: none; }
.sign-row { margin-top: 1.4rem; }

/* review summary */
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
.summary__row:last-child { border-bottom: 0; }
.summary__row .k { color: var(--ink-faint); font-family: var(--font-ui); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.summary__row .v { text-align: right; max-width: 60%; }
.summary__row .v small { display:block; color: var(--ink-faint); }
.summary__total { background: var(--pine); color: #F6F1E4; }
.summary__total .k, .summary__total .v { color: #F6F1E4; }
.summary__total .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.edit-link { font-family: var(--font-ui); font-size: .82rem; color: var(--pine); border-bottom: 1px solid rgba(20,70,60,.3); }

.pay-note { display: flex; gap: .6rem; align-items: center; justify-content: center; margin-top: 1.2rem; font-size: .85rem; color: var(--ink-faint); font-family: var(--font-ui); }
.pay-note svg { width: 16px; height: 16px; color: var(--pine); }

/* wizard nav buttons */
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.wizard__nav .btn-ghost[hidden] { visibility: hidden; }

/* success */
.done-state { text-align: center; max-width: 560px; margin: 0 auto; }
.done-state .seal { margin: 0 auto 1.5rem; width: 92px; }
.done-state .ref { font-family: var(--font-ui); font-weight: 600; letter-spacing: .1em; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .4em .9em; display: inline-block; margin-top: 1rem; }

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.maxw-prose { max-width: 65ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }
.badge-soft { display:inline-flex; align-items:center; gap:.5em; font-family: var(--font-ui); font-size: .8rem; font-weight: 600; color: var(--pine); background: color-mix(in srgb, var(--pine) 8%, var(--paper-card)); border: 1px solid color-mix(in srgb, var(--pine) 22%, transparent); padding: .4em .9em; border-radius: 999px; }

/* ===================================================================
   DASHBOARD SHELL (authenticated app: My books + project)
   Left sidebar nav + wide content.
   =================================================================== */
.dash { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.dash__side {
  position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto;
  background: var(--pine-deep); color: #EFE7D6;
  display: flex; flex-direction: column; gap: .4rem;
  padding: 1.5rem 1rem 1.2rem;
}
.dash__brand { display: flex; align-items: center; gap: .65rem; padding: .2rem .6rem 1.3rem; }
.dash__brand .brand__mark { width: 34px; height: 34px; }
.dash__brand b { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: #FBF7EE; line-height: 1; }
.dash__brand small { display: block; font-family: var(--font-ui); font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-lit); margin-top: 3px; }

.dash__group { font-family: var(--font-ui); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(239,231,214,.45); padding: 1rem .8rem .4rem; }
.dash__nav { display: flex; flex-direction: column; gap: 2px; }
.dash__nav a {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-ui); font-size: .94rem; font-weight: 500;
  color: rgba(239,231,214,.82); padding: .62em .8em; border-radius: 10px;
  position: relative; transition: background .15s, color .15s;
}
.dash__nav a svg { width: 18px; height: 18px; opacity: .85; flex: none; }
.dash__nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.dash__nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.dash__nav a.active::before { content: ""; position: absolute; left: -1rem; top: 20%; bottom: 20%; width: 3px; border-radius: 0 3px 3px 0; background: var(--brass-lit); }
.dash__nav a.gold { color: var(--brass-lit); }
.dash__nav a.gold:hover { color: #fff; }

.dash__user { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: .7rem; }
.dash__avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--brass); color: var(--pine-deep); font-family: var(--font-ui); font-weight: 700; font-size: .9rem; }
.dash__user .who { min-width: 0; flex: 1; }
.dash__user .who b { display: block; font-family: var(--font-ui); font-size: .88rem; color: #FBF7EE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__user .who small { font-size: .74rem; color: rgba(239,231,214,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dash__logout { background: none; border: 0; color: rgba(239,231,214,.7); cursor: pointer; padding: .3rem; border-radius: 8px; }
.dash__logout:hover { color: #fff; background: rgba(255,255,255,.08); }

.dash__main { min-width: 0; }
.dash__inner { max-width: 1060px; margin: 0 auto; padding: clamp(1.6rem, 3.5vw, 3rem) clamp(1.2rem, 4vw, 3rem); }
.dash__head { margin-bottom: 1.8rem; }
.dash__head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .15em; }
.dash__head p { color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash__side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem; padding: .7rem 1rem; }
  .dash__brand { padding: .2rem .4rem; flex: 1; }
  .dash__group { display: none; }
  .dash__nav { flex-direction: row; flex-wrap: wrap; gap: .2rem; }
  .dash__nav a.active::before { display: none; }
  .dash__user { margin: 0; padding: 0 0 0 .5rem; border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
  .dash__user .who { display: none; }
}

/* ===================================================================
   PROJECT STATUS PAGE (project.html)
   =================================================================== */
.proj-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1.5rem; flex-wrap:wrap; margin-bottom:1.6rem; }
.proj-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom:.2em; }
.proj-head .meta { font-family: var(--font-ui); font-size:.85rem; color: var(--ink-faint); letter-spacing:.03em; }
.status-badge { font-family: var(--font-ui); font-weight:600; font-size:.8rem; letter-spacing:.04em; padding:.5em 1em; border-radius:999px; white-space:nowrap;
  background: color-mix(in srgb, var(--pine) 10%, var(--paper-card)); color: var(--pine); border:1px solid color-mix(in srgb, var(--pine) 25%, transparent); }
.status-badge.act { background: linear-gradient(180deg, var(--brass-lit), var(--brass)); color:#2a1d05; border-color:transparent; }

.stage-card { background: var(--paper-card); border:1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 3.5vw, 2.4rem); margin: 1.8rem 0; }
.stage-card h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.stage-card .stage-ico { width:42px; height:42px; color: var(--pine); margin-bottom:.6rem; }
.stage-card.await { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 16%, transparent), var(--shadow-md); }

.outline-box { background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.2rem 0; white-space: pre-wrap; font-family: var(--font-prose); font-size: 1rem; line-height: 1.6; color: var(--ink); max-height: 420px; overflow-y: auto; }

.store-links { list-style:none; margin: 1.1rem 0 0; padding:0; display:grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap:.7rem; }
.store-links a { display:flex; align-items:center; justify-content:space-between; gap:.5rem; background: var(--paper); border:1px solid var(--line); border-radius:10px; padding:.7em 1em; font-family: var(--font-ui); font-weight:600; font-size:.9rem; color: var(--ink); transition:.2s; }
.store-links a:hover { border-color: var(--pine); color: var(--pine); }
.store-links a::after { content:"↗"; color: var(--brass); }

.pp-mount { margin-top: 1.3rem; }

/* ===================================================================
   BOOKSHELF (bookshelf.html) — published-titles showcase
   Layout modelled on a curated Amazon-affiliate shelf.
   =================================================================== */
.shelf-disclosure {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin: 22px 0 0; color: var(--ink-soft); font-size: .9rem;
}
.shelf-disclosure strong { color: var(--ink); }

.shelf-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(18px, 2.4vw, 26px); margin-top: clamp(1.8rem, 4vw, 2.8rem);
}
.book-card {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.book-card:hover { border-color: var(--pine-soft); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.book-cover { aspect-ratio: 2/3; background: var(--paper-deep); display: block; position: relative; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.book-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.28; margin: 0; letter-spacing: -.005em; }
.book-body p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; flex: 1; }
.book-byline { font-family: var(--font-ui); font-size: .76rem; color: var(--ink-faint); letter-spacing: .02em; }
.book-more { color: var(--brass); font-family: var(--font-ui); font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: .3em; }
.book-card:hover .book-more { color: var(--pine); }
