/* ==========================================================
   home.css — rules only used on launch_desk_home.html.
   Linked after shared.css, so it can override shared rules
   just by redeclaring them.
   ========================================================== */

/* ---- Money-green & white palette + typography (front page only) ----
   Overrides the shared ledger tokens here so the app page keeps
   its warmer cream/ink look while the front page reads as crisp
   white + a deep money-green. Also drops the separate display/mono
   fonts (Fraunces, JetBrains Mono) in favor of Inter everywhere —
   headings, labels, and body all one family, differentiated only
   by weight and size. This is the safest, most conservative choice
   for a clean money/business look (the same approach most fintech
   products use) after two font swaps still didn't land. Because
   this redeclares :root inside home.css (loaded after shared.css),
   it only affects this page — launch_desk_app.html never links
   home.css, so it keeps its original fonts untouched. */
:root{
  --paper:#F2F8F4;
  --paper-raised:#FFFFFF;
  --paper-deep:#E1F1E8;
  --ink:#0E4A36;
  --ink-2:#146B4E;
  --ink-soft:#3C7A63;
  --ink-faint:#5D756C;
  --line:#DAEBE1;
  --line-strong:#BADAC7;
  --font-display:'Figtree',system-ui,sans-serif;
  --font-mono:'Figtree',system-ui,sans-serif;
  --shadow-color:rgba(14,74,54,0.15);
  --shadow-color-strong:rgba(14,74,54,0.28);
}

/* Body font override (front page only) — shared.css hardcodes Inter
   directly on the body element rather than through a variable, so
   it's overridden here the same way as everything else: this rule
   only takes effect on pages that link home.css. Figtree is a
   warmer, rounder humanist sans than Inter — Inter itself has
   become such a common default for AI-generated sites and SaaS
   templates that it can read as generic/mechanical on its own,
   independent of any label styling. */
body{font-family:'Figtree',system-ui,sans-serif;}
button, .field input{font-family:'Figtree',sans-serif;}

/* Bumped weight for section labels and headings — with a single
   plain sans now doing all the work, weight carries more of the
   hierarchy than it did with a distinct display face. */
.section-eyebrow{
  font-family:'Newsreader',serif;font-style:italic;font-weight:600;
  text-transform:none;letter-spacing:0;font-size:16px;
}
.section-head h2{font-weight:700;letter-spacing:-0.015em;}

/* This page wants to read as crisp/modern (currency, not antique
   paper), so the shared paper-grain and dot-fiber textures from
   shared.css are switched off here — they only get cancelled on
   pages that link home.css, so the app page keeps its texture. */
body{background-image:none;}
body::before{display:none;}

/* ---- Nav refinements (home page only): an animated underline
   instead of the shared flat hover background, for a crisper feel. */
.nav-links a{position:relative;transition:color .15s ease;}
.nav-links a::after{
  content:"";position:absolute;left:12px;right:12px;bottom:6px;height:1px;
  background:var(--ink);transform:scaleX(0);transform-origin:left;
  transition:transform .2s ease;
}
.nav-links a:hover{background:transparent;}
.nav-links a:hover::after{transform:scaleX(1);}

/* Slightly softer, more rounded buttons on this page, to sit closer
   to the 10px card radius used throughout. */
.btn{border-radius:7px;}

/* ---- Hero: a deep money-green cover panel that unfurls into the
   white page below via the wave divider. ---- */
#hero{
  position:relative;
  overflow:hidden;
  padding:96px 0 118px;
  background:
    radial-gradient(65% 60% at 85% 0%, rgba(217,169,74,0.16), transparent 65%),
    linear-gradient(155deg, var(--ink-2) 0%, var(--ink) 62%);
  color:var(--paper-raised);
}
#hero .seal{color:var(--gold-bright);}
#hero .wrap{position:relative;z-index:2;}

.hero-layout{display:grid;grid-template-columns:1.1fr 0.9fr;gap:44px;align-items:center;}
.hero-art{position:relative;display:flex;align-items:center;justify-content:center;}
@keyframes heroArtIn{
  from{opacity:0;transform:translateY(16px) rotate(1.2deg);}
  to{opacity:1;transform:translateY(0) rotate(1.2deg);}
}
.hero-art{animation:heroArtIn .8s cubic-bezier(.2,.8,.2,1) .32s both;}

/* Hero photo: a circular crop with a soft blurred glow behind it,
   echoing the same glow-circle language used in the capabilities
   illustration elsewhere on the page. */
.hero-photo-glow{
  position:absolute;width:min(960px, 98%);aspect-ratio:640/500;border-radius:50%;
  background:radial-gradient(circle, rgba(217,169,74,0.28), transparent 70%);
  filter:blur(36px);z-index:0;
}
.hero-photo{
  position:relative;z-index:1;display:block;
  width:min(840px, 92%);height:auto;aspect-ratio:560/440;
  object-fit:cover;object-position:50% 32%;border-radius:50%;
  border:5px solid rgba(255,255,255,0.16);
  box-shadow:0 30px 60px rgba(0,0,0,0.44);
}

/* Staggered entrance for the hero content on page load. */
@keyframes heroUp{
  from{opacity:0;transform:translateY(16px);}
  to{opacity:1;transform:translateY(0);}
}
.hero-eyebrow,#hero h1,#hero .lede,.hero-ctas,.hero-strip{
  animation:heroUp .7s cubic-bezier(.2,.8,.2,1) both;
}
.hero-eyebrow{animation-delay:.05s;}
#hero h1{animation-delay:.16s;}
#hero .lede{animation-delay:.28s;}
.hero-ctas{animation-delay:.4s;}
.hero-strip{animation-delay:.52s;}

.hero-eyebrow{
  font-family:'Newsreader',serif;font-style:italic;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;
  color:var(--gold-bright);margin-bottom:18px;display:inline-flex;align-items:center;gap:10px;
  background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.14);
  padding:6px 14px 6px 8px;border-radius:20px;
}
#hero h1{font-size:clamp(36px,5.6vw,58px);font-weight:800;letter-spacing:-0.03em;line-height:1.08;max-width:780px;color:var(--paper-raised);}
#hero h1 .grad{color:var(--gold-bright);}
#hero .lede{margin-top:20px;font-size:17.5px;line-height:1.65;color:rgba(255,255,255,0.76);max-width:540px;}
.hero-ctas{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap;}
.hero-ctas .btn{padding:13px 24px;font-size:15px;}
.hero-ctas .btn-ghost{background:rgba(255,255,255,0.05);color:var(--paper-raised);border-color:rgba(255,255,255,0.35);}
.hero-ctas .btn-ghost:hover{background:rgba(255,255,255,0.13);}
.hero-strip{margin-top:64px;padding-top:0;display:flex;gap:0;flex-wrap:nowrap;}
.hero-strip div{font-size:13px;color:rgba(255,255,255,0.5);padding:0 22px;flex:1;min-width:0;}
.hero-strip div:first-child{padding-left:0;}
.hero-strip div:not(:first-child){border-left:1px solid rgba(255,255,255,0.14);}
.hero-strip strong{display:block;font-family:var(--font-display);font-size:23px;color:var(--paper-raised);font-weight:600;}

.hero-divider{display:block;line-height:0;margin-top:-2px;position:relative;z-index:2;}
.hero-divider svg{display:block;width:100%;height:56px;}
.hero-divider path{fill:var(--paper);}

/* ---- Capabilities: a distinct "about the advisor" block — an
   illustration next to flowing copy, not another card grid, so it
   doesn't just repeat the pricing/steps pattern. Slightly tilted
   and organic rather than perfectly aligned, on purpose. */
.capabilities-layout{
  display:grid;grid-template-columns:0.85fr 1.15fr;gap:56px;align-items:center;
}
.capabilities-art{
  position:relative;
}
.desk-illustration{width:100%;height:auto;display:block;filter:drop-shadow(0 18px 30px var(--shadow-color-strong));}
.illus-glow{fill:var(--paper-deep);}
.illus-glow-accent{fill:var(--gold-soft);opacity:.55;}
.illus-chair{fill:var(--paper-raised);stroke:var(--line-strong);stroke-width:1.5;}
.illus-head{fill:var(--ink-soft);}
.illus-body{fill:var(--ink-2);}
.illus-limb{fill:var(--ink-soft);}
.illus-desk{fill:var(--ink);}
.illus-desk-leg{fill:var(--ink-soft);}
.illus-keys{fill:var(--ink-2);}
.illus-stand,.illus-stand-base{fill:var(--ink-soft);opacity:.5;}
.illus-screen{fill:var(--paper-raised);stroke:var(--line-strong);stroke-width:2;}
.illus-bar{fill:var(--gold-soft);}
.illus-bar-accent{fill:var(--gold);}
.illus-pot{fill:var(--ink-soft);}
.illus-leaf{fill:var(--ink-2);}
.illus-leaf-accent{fill:var(--gold);}
.illus-coin{fill:var(--gold);stroke:var(--gold-deep);stroke-width:1;}
.illus-coin-top{fill:var(--gold-bright);}
.illus-cup{fill:var(--gold-deep);}
.illus-cup-handle{stroke:var(--gold-deep);stroke-width:4;stroke-linecap:round;}

.capabilities-copy .section-eyebrow{margin-bottom:12px;}
.capabilities-copy h2{font-size:28px;font-weight:700;letter-spacing:-0.015em;}
.cap-lede{margin-top:14px;font-size:15.5px;line-height:1.65;color:var(--ink-soft);max-width:460px;}
.cap-tags{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;}
.cap-tags li{
  display:flex;align-items:flex-start;gap:12px;
  font-size:14px;line-height:1.55;color:var(--ink-soft);
  background:var(--paper-raised);border:1px solid var(--line);border-radius:14px;
  padding:12px 16px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cap-tags li:hover{transform:translateX(2px);border-color:var(--line-strong);box-shadow:0 8px 18px var(--shadow-color);}
.cap-tags li.gold{background:var(--gold-soft);border-color:var(--gold);}
.cap-tag-icon{
  flex-shrink:0;width:26px;height:26px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:600;color:var(--ink-soft);
  background:var(--paper-deep);
}
.cap-tags li.gold .cap-tag-icon{background:var(--gold);color:var(--paper-raised);}

/* ---- Pricing ---- */
#pricing{background:var(--paper-raised);border-bottom:1px solid var(--line);}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.plan-card{
  position:relative;
  background:var(--paper);
  border:1px solid var(--line-strong);
  border-radius:16px;
  padding:28px 24px 26px;
  display:flex;flex-direction:column;
  box-shadow:var(--shadow-color) 0 2px 8px;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .2s ease;
}
.plan-card:hover{transform:translateY(-4px);border-color:var(--line-strong);box-shadow:0 16px 32px var(--shadow-color-strong);}
.plan-card.featured{
  background:linear-gradient(165deg, var(--ink-2), var(--ink));
  color:var(--paper-raised);border-color:var(--ink);
  box-shadow:0 6px 18px rgba(14,74,54,0.28);
}
.plan-card.featured:hover{box-shadow:0 22px 40px rgba(14,74,54,0.4);}
.plan-card.featured .plan-name{color:var(--gold-bright);background:rgba(255,255,255,0.08);}
.plan-card.featured .plan-desc{color:#BFCBC1;}
.plan-card.featured .price sup, .plan-card.featured .price small{color:#BFCBC1;}
.plan-card.featured li{color:#DCEFE4;border-top-color:rgba(255,255,255,0.14);}
.plan-card.featured li::before{color:var(--gold-bright);}
.featured-tag{position:absolute;top:-11px;right:22px;background:linear-gradient(180deg, var(--gold-bright), var(--gold));color:var(--ink);font-family:'Newsreader',serif;font-style:italic;font-size:13px;text-transform:none;letter-spacing:0;padding:4px 12px;border-radius:20px;font-weight:600;box-shadow:0 4px 10px rgba(124,90,32,0.35);}
.plan-name{
  font-family:'Newsreader',serif;font-style:italic;font-size:15px;text-transform:none;letter-spacing:0;color:var(--ink-soft);font-weight:600;
  display:inline-block;background:var(--paper-deep);padding:5px 11px;border-radius:3px;
}
.price{margin-top:16px;font-family:var(--font-display);font-size:39px;font-weight:800;letter-spacing:-0.02em;}
.price sup{font-size:16px;vertical-align:6px;}
.price small{font-size:14px;font-weight:400;color:var(--ink-faint);font-family:'Figtree',sans-serif;}
.plan-desc{margin-top:8px;font-size:13.5px;color:var(--ink-soft);min-height:34px;}
.plan-card ul{list-style:none;margin:20px 0 0;padding:0;flex:1;}
.plan-card li{font-size:13.5px;padding:8px 0;border-top:1px solid var(--line);display:flex;gap:8px;color:var(--ink-soft);}
.plan-card li::before{content:"✓";color:var(--gold);font-weight:700;flex-shrink:0;}
/* Staggered pop-in for list items once the card itself reveals.
   Gated on .reveal (only present once JS has run) so list items
   stay normally visible if JS never loads — no permanent-hidden
   regression. */
.plan-card.reveal li{opacity:0;}
.plan-card.revealed li{animation:liPop .4s ease both;}
.plan-card.revealed li:nth-child(1){animation-delay:.15s;}
.plan-card.revealed li:nth-child(2){animation-delay:.24s;}
.plan-card.revealed li:nth-child(3){animation-delay:.33s;}
@keyframes liPop{from{opacity:0;transform:translateX(-6px);}to{opacity:1;transform:translateX(0);}}
.plan-card .btn{margin-top:22px;width:100%;text-align:center;}
.pricing-note{margin-top:20px;font-size:12.5px;color:var(--ink-faint);text-align:center;}

/* ---- How it works ---- */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.feature-card{
  background:var(--paper-raised);border:1px solid var(--line);border-radius:16px;padding:22px;
  box-shadow:var(--shadow-color) 0 2px 8px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.feature-card:hover{transform:translateY(-4px) rotate(0deg);box-shadow:0 14px 28px var(--shadow-color-strong);border-color:var(--gold);}
.feature-icon{
  width:34px;height:34px;border-radius:9px;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:600;color:var(--gold-deep);
  background:var(--paper-deep);border:1px solid var(--line-strong);
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
.feature-card:hover .feature-icon{transform:scale(1.1) rotate(-4deg);background:var(--gold-soft);}
.feature-card h3{font-size:16px;margin-top:11px;}
.feature-card p{font-size:13.5px;color:var(--ink-soft);margin-top:8px;line-height:1.55;}
.steps-cta{margin-top:32px;text-align:center;}

footer{background:var(--paper-deep);border-top:1px solid var(--line-strong);}

@media (max-width:860px){
  .plans{grid-template-columns:1fr;}
  .features-grid{grid-template-columns:1fr;}
  .capabilities-layout{grid-template-columns:1fr;gap:36px;}
  .capabilities-art{max-width:340px;margin:0 auto;}
  .hero-layout{grid-template-columns:1fr;gap:32px;}
  .hero-art{max-width:340px;margin:0 auto;order:-1;}
  .hero-strip{flex-direction:column;gap:14px;}
  .hero-strip div{padding:0;}
  .hero-strip div:not(:first-child){border-left:none;}
}
@media (max-width:600px){
  #hero{padding:60px 0 52px;}
}

#navbar.scrolled{box-shadow:0 4px 18px rgba(14,74,54,0.1);}

@media (prefers-reduced-motion: reduce){
  .hero-art{animation:none;opacity:1;transform:rotate(1.2deg);}
  .hero-eyebrow,#hero h1,#hero .lede,.hero-ctas,.hero-strip{animation:none;opacity:1;transform:none;}
  .feature-card:hover .feature-icon{transform:none;}
  .plan-card.revealed li{animation:none;opacity:1;}
}
