/* ============================================================================
   Undid site stylesheet. Standalone: nothing here is inherited from RoyalSeer.

   Identity, not palette-swap:
   · a dark product card carried inside a light page, because the app's home
     is the menu bar, not a document
   · paper, sand and ink bands instead of hairline rules and ornaments
   · peach as the action, mint as status, plum as depth. No gold, no serif.

   Palette from the brand sheet:
   Ink #1C1832 · Plum #5B4A8A · Paper #FCF9F3 · Sand #E9E2D4
   Peach Light #FFD2AA · Peach #F79257 · Mint #7FE3C0
   ========================================================================== */

:root{
  --ink:#1C1832;
  --plum:#5B4A8A;
  --paper:#FCF9F3;
  --sand:#E9E2D4;
  --peach-l:#FFD2AA;
  --peach:#F79257;
  --mint:#7FE3C0;

  --canvas:#FCF9F3;
  --surface:#FFFFFF;
  --band:#F6F0E4;
  --line:#E6DDCB;
  --text:#1C1832;
  --muted:rgba(28,24,50,.64);
  /* peach is a fill color. As text on paper it measures 2.2:1, so accent copy
     uses this deeper tone instead: 5.4:1 on the canvas, 5.7:1 on white. */
  --accent-text:#9C4314;

  --radius:18px;
  --radius-lg:26px;
  --shadow:0 18px 40px -24px rgba(28,24,50,.28), 0 2px 8px rgba(28,24,50,.04);
  --font:"SF Pro Display",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
}

html[data-theme="moonlit"]{
  --canvas:#141026;
  --surface:#221C3B;
  --band:#191430;
  --line:rgba(252,249,243,.13);
  --text:#FCF9F3;
  --muted:rgba(252,249,243,.66);
  --shadow:0 24px 50px -26px rgba(0,0,0,.7), 0 2px 10px rgba(0,0,0,.3);
}

/* In the dark the card must lift off the canvas, not dissolve into it. */
html[data-theme="moonlit"] .product-card{
  border:1px solid rgba(252,249,243,.10);
  background:
    radial-gradient(520px 360px at 88% -10%, rgba(247,146,87,.30), transparent 62%),
    radial-gradient(420px 320px at 4% 108%, rgba(127,227,192,.12), transparent 64%),
    linear-gradient(150deg,#2A2147 0%,#332856 54%,#3B2E62 100%);
  box-shadow:0 40px 80px -40px rgba(0,0,0,.75);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}
body{
  font-family:var(--font);
  background:var(--canvas);
  color:var(--text);
  line-height:1.6;
  letter-spacing:-0.006em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
::selection{background:var(--peach);color:var(--ink)}

/* ---------- craft details ---------- */
/* a shortcut drawn as keys, not as characters */
kbd{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 6px;margin:0 1px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:11.5px;font-weight:600;line-height:1;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:0 2px 0 rgba(28,24,50,.16), inset 0 1px 0 rgba(255,255,255,.28);
  vertical-align:-4px;
}
/* film grain: gradients on wide screens band quietly without it */
body::after{
  content:"";position:fixed;inset:0;z-index:9999;pointer-events:none;
  opacity:.038;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size:140px 140px;
  mix-blend-mode:overlay;
}
:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px;border-radius:4px}

.wrap{max-width:1120px;margin:0 auto;padding:0 28px}
.wrap-narrow{max-width:780px;margin:0 auto;padding:0 28px}

/* ---------- nav ---------- */
nav{
  position:sticky;top:0;z-index:50;
  background:color-mix(in srgb,var(--canvas) 86%,transparent);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px}
.app-nav-brand{display:flex;align-items:center;gap:10px}
.app-nav-brand img{width:30px;height:30px;border-radius:8px;display:block}
.app-nav-brand .nm{font-size:19px;font-weight:700;letter-spacing:-0.03em}
.app-nav-brand .by{
  font-size:12px;font-weight:600;letter-spacing:.01em;
  color:var(--accent-text);margin-left:2px;
}
.nav-right{display:flex;align-items:center;gap:24px}
.nav-link{
  font-size:14px;font-weight:500;color:var(--text);opacity:.66;
  transition:opacity .18s;position:relative;padding-bottom:2px;
}
.nav-link:hover{opacity:1}
.nav-link::after{
  content:"";position:absolute;left:0;bottom:-2px;height:2px;width:100%;
  background:var(--peach);border-radius:2px;transform:scaleX(0);transform-origin:left;
  transition:transform .25s ease;
}
.nav-link:hover::after{transform:scaleX(1)}
.theme-btn{
  border:1px solid var(--line);background:var(--surface);color:var(--text);
  border-radius:9px;width:34px;height:34px;display:grid;place-items:center;
  cursor:pointer;transition:border-color .18s,transform .12s;
}
.theme-btn:hover{border-color:var(--peach);transform:translateY(-1px)}
.theme-btn svg{width:16px;height:16px}
.burger{
  display:none;border:1px solid var(--line);background:var(--surface);color:var(--text);
  border-radius:9px;width:36px;height:36px;place-items:center;cursor:pointer;
}
.burger svg{width:18px;height:18px}
.mobile-menu{display:none;flex-direction:column;padding:6px 28px 16px}
.mobile-menu a{
  font-size:16px;font-weight:600;padding:11px 0;border-bottom:1px solid var(--line);
}
.mobile-menu.open{display:flex}

/* ---------- the product card: a dark object on a light page ---------- */
.hero-band{padding:34px 0 clamp(48px,5.4vh,76px)}
.product-card{
  position:relative;overflow:hidden;
  background:
    radial-gradient(520px 360px at 88% -10%, rgba(247,146,87,.34), transparent 62%),
    radial-gradient(420px 320px at 4% 108%, rgba(127,227,192,.14), transparent 64%),
    linear-gradient(150deg,#1C1832 0%,#251D40 54%,#2F2452 100%);
  border-radius:var(--radius-lg);
  padding:56px 52px;
  color:#FCF9F3;
  box-shadow:0 40px 80px -40px rgba(28,24,50,.55);
}
.product-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.eyebrow{
  font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--peach);margin-bottom:18px;
}
.product-card h1{
  font-size:clamp(52px,6.4vw,84px);font-weight:700;letter-spacing:-0.045em;
  line-height:.98;margin:0 0 14px;color:#FCF9F3;
}
.tag{
  font-size:clamp(17px,2vw,21px);font-weight:500;color:var(--peach-l);
  margin:0 0 16px;letter-spacing:-0.01em;
}
.pitch{
  font-size:15.5px;line-height:1.65;color:rgba(252,249,243,.78);
  margin:0;max-width:38ch;
}
.price-row{display:flex;align-items:baseline;gap:11px;margin:26px 0 4px}
.price{font-size:34px;font-weight:700;letter-spacing:-0.03em;color:#FCF9F3}
.price-note{
  font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--peach);
}
.buy-note{font-size:12.5px;color:rgba(252,249,243,.62);margin:10px 0 0}
.cta-hero{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

.hero-art{position:relative;display:flex;justify-content:center}
.hero-art img{
  width:100%;max-width:360px;border-radius:16px;display:block;
  box-shadow:0 26px 60px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(252,249,243,.10);
  transform:rotate(-1.2deg);
}
.hero-art::after{
  content:"";position:absolute;inset:auto 8% -18px 8%;height:26px;border-radius:50%;
  background:rgba(0,0,0,.28);filter:blur(18px);z-index:-1;
}

.brand-strip{display:flex;gap:6px;margin-top:30px}
.brand-strip i{display:block;width:30px;height:4px;border-radius:2px}
.brand-strip .s1{background:var(--peach)}
.brand-strip .s2{background:var(--mint)}
.brand-strip .s3{background:var(--plum)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font);font-size:14px;font-weight:600;letter-spacing:-0.01em;
  padding:12px 22px;border-radius:11px;border:1px solid transparent;
  cursor:pointer;transition:transform .14s,background .2s,color .2s,border-color .2s,box-shadow .2s;
}
.btn:hover{transform:translateY(-1px)}
.btn-lg{font-size:15px;padding:14px 26px;border-radius:12px}
.btn-solid{
  background:linear-gradient(135deg,#FFD2AA,#F79257);color:var(--ink);
  box-shadow:0 10px 24px -10px rgba(247,146,87,.7);
}
.btn-solid:hover{box-shadow:0 14px 28px -10px rgba(247,146,87,.85)}
.btn-outline{background:transparent;color:#FCF9F3;border-color:rgba(252,249,243,.32)}
.btn-outline:hover{border-color:rgba(252,249,243,.65);color:#FFFFFF}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-ink:hover{background:#2A2347}
.btn-plum{background:var(--plum);color:#fff}

/* ---------- sections ---------- */
section{padding:84px 0;scroll-margin-top:80px}
section.band{background:var(--band)}
.section-head{max-width:640px;margin:0 auto 46px;text-align:center}
.kicker{
  font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent-text);margin-bottom:12px;
}
h2{
  font-size:clamp(28px,3.5vw,38px);font-weight:700;letter-spacing:-0.03em;
  line-height:1.15;margin:0 0 12px;color:var(--text);text-wrap:balance;
}
.sec-lede{font-size:15.5px;line-height:1.65;color:var(--muted);margin:0;text-wrap:pretty}

/* ---------- features ---------- */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{
  position:relative;overflow:hidden;
  padding:26px 24px 24px;
  /* each card carries one of the three brand accents, cycling across the grid */
  --acc:var(--peach);
  --acc-2:#C85A1E;
  --acc-soft:rgba(247,146,87,.16);
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 4px);
  /* light falls into the top corner, so the card is not a flat rectangle */
  background:
    radial-gradient(130% 100% at 6% -28%, var(--acc-soft), transparent 62%),
    var(--surface);
  box-shadow:0 1px 2px rgba(28,24,50,.05);
  transition:transform .3s cubic-bezier(.2,.7,.3,1), border-color .25s, box-shadow .3s;
}
/* a lit top edge, faint at rest */
.feature::before{
  content:"";position:absolute;top:0;left:16%;right:16%;height:1px;
  background:linear-gradient(90deg,transparent,var(--acc),transparent);
  opacity:.4;transition:opacity .3s;
}
/* the warm wash that arrives on hover */
.feature::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(95% 85% at 100% 0%, var(--acc-soft), transparent 62%);
  opacity:0;transition:opacity .35s;
}
/* the reveal leaves transform:none behind, so the lift has to outrank it */
.feature:hover,
.feature.reveal.in:hover{
  transform:translateY(-4px);
  border-color:var(--acc);
  box-shadow:0 24px 48px -28px rgba(28,24,50,.5);
}
.feature:hover::before{opacity:1}
.feature:hover::after{opacity:1}
/* 1 peach, 2 plum, 3 mint, then round again */
.feature:nth-child(3n+2){--acc:var(--plum);--acc-2:#6B2C55;--acc-soft:rgba(142,59,98,.22)}
.feature:nth-child(3n+3){--acc:var(--mint);--acc-2:#2E8F73;--acc-soft:rgba(127,227,192,.14)}

.feature h3{font-size:17.5px;font-weight:600;letter-spacing:-0.02em;margin:0 0 8px;color:var(--text)}
.feature p{font-size:13.8px;line-height:1.64;color:var(--muted);margin:0}

/* ---------- screenshots ---------- */
.shots{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.shot-fig{margin:0}
.shot-fig img{
  width:100%;height:auto;display:block;border-radius:14px;border:1px solid var(--line);
  box-shadow:var(--shadow);background:var(--surface);
}
.shot-fig.tall img{max-height:420px;object-fit:cover;object-position:top}
.shot-fig figcaption{font-size:12.5px;color:var(--muted);margin-top:10px}
.shot-stack{display:grid;gap:20px}
.shot-fig.tall img{max-height:300px}

/* ---------- steps ---------- */
.steps{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  counter-reset:step;position:relative;
}
/* no gutter arrows: the numbered discs already read in order */
.step{
  --acc:var(--peach);
  --acc-2:#C85A1E;
  --acc-soft:rgba(247,146,87,.16);
  position:relative;z-index:1;
  padding:26px 24px 24px;
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 4px);
  background:
    radial-gradient(130% 100% at 6% -28%, var(--acc-soft), transparent 62%),
    var(--surface);
  box-shadow:0 1px 2px rgba(28,24,50,.05);
  transition:transform .3s cubic-bezier(.2,.7,.3,1), border-color .25s, box-shadow .3s;
}
.step:nth-child(2){--acc:var(--plum);--acc-2:#6B2C55;--acc-soft:rgba(142,59,98,.22)}
.step:nth-child(3){--acc:var(--mint);--acc-2:#2E8F73;--acc-soft:rgba(127,227,192,.14)}
.step::before{
  counter-increment:step;content:counter(step);
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:13px;margin-bottom:15px;
  background:linear-gradient(145deg,var(--acc-2),var(--acc));
  color:#FFFFFF;font-size:15.5px;font-weight:700;letter-spacing:-.01em;
  text-shadow:0 1px 2px rgba(0,0,0,.35);   /* keeps the numeral crisp on the pale end of the gradient */
  box-shadow:0 14px 26px -14px var(--acc-2),
             inset 0 1px 0 rgba(255,255,255,.38),
             inset 0 0 0 1px rgba(255,255,255,.10);
  transition:transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.step:hover,
.step.reveal.in:hover{
  transform:translateY(-4px);
  border-color:var(--acc);
  box-shadow:0 24px 48px -28px rgba(28,24,50,.5);
}
.step:hover::before{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 20px 34px -14px var(--acc-2),
             inset 0 1px 0 rgba(255,255,255,.48),
             inset 0 0 0 1px rgba(255,255,255,.14);
}
.step h3{font-size:16.5px;font-weight:600;letter-spacing:-0.02em;margin:0 0 7px}
.step p{font-size:13.8px;line-height:1.62;color:var(--muted);margin:0}

/* ---------- pricing ---------- */
.price-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  max-width:460px;margin:0 auto;padding:34px 32px;text-align:center;box-shadow:var(--shadow);
}
.price-card img{width:64px;height:64px;border-radius:16px;display:block;margin:0 auto 16px}
.price-card h3{font-size:24px;font-weight:700;letter-spacing:-0.03em;margin:0 0 4px}
.price-card .tagline{
  font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent-text);margin-bottom:16px;
}
.price-card p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 18px}
.price-card .price-row{justify-content:center;margin:0 0 18px}
.price-card .price{font-size:38px}
.price-card .buy-note{margin-top:12px}
.fineprint{
  max-width:640px;margin:26px auto 0;text-align:center;
  font-size:12.5px;line-height:1.6;color:var(--muted);
}

/* ---------- documentation pages ---------- */
.page-head{
  background:
    radial-gradient(460px 300px at 82% -20%, rgba(247,146,87,.30), transparent 62%),
    linear-gradient(150deg,#1C1832,#2A2148);
  color:#FCF9F3;padding:68px 0 60px;
}
.page-head .eyebrow{color:var(--accent-text);margin-bottom:14px}
.page-head h1{
  font-size:clamp(34px,4.6vw,50px);font-weight:700;letter-spacing:-0.04em;
  line-height:1.06;margin:0 0 12px;color:#FCF9F3;
}
.page-head .lede-sub{
  font-size:16.5px;line-height:1.6;color:rgba(252,249,243,.76);
  max-width:58ch;margin:0;
}

.doc{padding:56px 0 72px}
.doc h2{
  font-size:24px;font-weight:700;letter-spacing:-0.025em;text-align:left;
  margin:44px 0 10px;
}
.doc h2:first-child{margin-top:0}
.doc h3{font-size:16.5px;font-weight:600;margin:26px 0 6px}
.doc p,.doc li{font-size:15px;line-height:1.72;color:var(--muted)}
.doc p{margin:0 0 14px}
.doc ul,.doc ol{padding-left:20px;margin:10px 0 16px}
/* changelog groups */
.release h3{
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent-text);margin:20px 0 4px;
}
.doc li{margin-bottom:7px}
/* a section jumped to by link must clear the fixed menu bar */
.doc h2[id],.doc [id]:target{scroll-margin-top:calc(var(--mb-h, 34px) + 18px)}
.doc strong{color:var(--text);font-weight:600}
.doc a{color:var(--accent-text);font-weight:600;border-bottom:1px solid rgba(168,74,22,.35)}
.doc a:hover{border-bottom-color:var(--peach)}
.doc .note{
  background:var(--band);border:1px solid var(--line);border-radius:12px;
  padding:14px 18px;margin:20px 0;
}
.doc .note p{margin:0;font-size:14px}
.doc code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;
  background:var(--band);border:1px solid var(--line);border-radius:6px;padding:1px 6px;
  color:var(--text);
}
.doc .updated{font-size:12.5px;color:var(--muted);margin-top:40px}

/* ---------- faq ---------- */
.faq details{border-bottom:1px solid var(--line);padding:16px 0}
.faq summary{
  font-size:16px;font-weight:600;letter-spacing:-0.015em;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:baseline;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent-text);font-size:19px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq p{font-size:14.5px;line-height:1.68;color:var(--muted);margin:10px 0 0}

/* ---------- changelog ---------- */
.release{border-left:2px solid var(--peach-l);padding:0 0 2px 20px;margin:0 0 34px}
.release .rel-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.release .ver{font-size:20px;font-weight:700;letter-spacing:-0.02em}
.release .date{
  font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--accent-text);
}
.release ul{padding-left:18px;margin:8px 0 0}
.release li{font-size:14.2px;line-height:1.62;color:var(--muted);margin-bottom:5px}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);padding:52px 0 44px;background:var(--canvas)}
.foot{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.foot-links{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
/* keyboard escape hatch: hidden until it has focus */
.skip{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--peach);color:#2A1533;
  font-weight:700;font-size:13px;letter-spacing:.01em;
  padding:11px 18px;border-radius:0 0 10px 0;
  box-shadow:0 10px 24px -12px rgba(12,8,22,.6);
}
.skip:focus{left:0}

.foot-links a{
  position:relative;
  font-size:13.5px;font-weight:500;color:var(--muted);
  padding-bottom:4px;
  transition:color .18s;
}
/* a hairline underline at rest, so they read as links before you point at them */
.foot-links a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:currentColor;opacity:.68;
  transform-origin:left;
  transition:opacity .18s, background-color .18s, transform .25s;
}
.foot-links a:hover{
  color:var(--accent-text);
  text-shadow:0 0 14px rgba(247,146,87,.55);   /* a small glow, so the target answers back */
}
.foot-links a:hover::after{opacity:1;background:var(--accent-text)}
.foot-links a:focus-visible{color:var(--accent-text)}
.foot .bookend{font-size:13px;color:var(--muted)}
.foot .bookend a{
  color:var(--text);font-weight:600;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-decoration-color:rgba(252,249,243,.45);
  text-underline-offset:3px;
  transition:color .18s, text-decoration-color .18s, text-shadow .18s;
}
/* the same affordance the footer links have, so it reads as a link in a sentence */
.foot .bookend a:hover,
.foot .bookend a:focus-visible{
  color:var(--accent-text);
  text-decoration-color:var(--accent-text);
  text-shadow:0 0 14px rgba(247,146,87,.55);
}
.foot .copy{font-size:12px;color:var(--muted);opacity:.8;max-width:60ch}

/* ---------- reveal, only when JS runs ---------- */
.reveal{opacity:1;transform:none}
.js .reveal{
  opacity:0;transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1);
}
.js .reveal.in{opacity:1;transform:none}
.d1{transition-delay:.05s}.d2{transition-delay:.1s}.d3{transition-delay:.15s}
.d4{transition-delay:.2s}.d5{transition-delay:.25s}.d6{transition-delay:.3s}

@media (max-width:900px){
  .product-grid{grid-template-columns:1fr;gap:32px}
  .hero-art{order:-1}
  .hero-art img{max-width:300px;transform:none}
  .product-card{padding:40px 28px}
  .feature-grid,.steps,.shots{grid-template-columns:1fr}
  .shots .wide{grid-column:auto}
}
@media (max-width:720px){
  .nav-link{display:none}
  .burger{display:grid}
  .nav{height:62px}
  section{padding:64px 0}
  .wrap,.wrap-narrow{padding:0 20px}
}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  .btn:hover,.feature:hover{transform:none}
}


/* ==========================================================================
   Refinement pass: mint and plum together, depth instead of flat paper.

   Mint was doing almost nothing. Here it becomes the second voice: the
   secondary action, the step numbers, the status dots, the edge of the
   pricing card, the border that appears on hover. Plum supplies weight, so
   the two read as a pair rather than mint being a garnish.
   ======================================================================== */

:root{
  --mint-deep:#1F7A5E;      /* mint dark enough to be text on paper */
  --plum-deep:#3A2A63;
  --grad-plum:linear-gradient(140deg,#2A1B4A,#5B4A8A);
  --grad-mint:linear-gradient(140deg,#8FEACB,#3FB594);
}

html[data-theme="moonlit"]{ --mint-deep:#7FE3C0; }

/* ---------- the page is not a flat color ---------- */
body{
  background-color:#FBF7EF;
  background-image:
    radial-gradient(900px 640px at 6% -8%, rgba(247,146,87,.20), transparent 62%),
    radial-gradient(860px 640px at 98% 2%, rgba(127,227,192,.28), transparent 60%),
    radial-gradient(1100px 760px at 50% 114%, rgba(91,74,138,.20), transparent 68%);
  background-attachment:fixed;
}
html[data-theme="moonlit"] body{
  background-color:#120F22;
  background-image:
    radial-gradient(900px 640px at 6% -8%, rgba(247,146,87,.18), transparent 62%),
    radial-gradient(860px 640px at 98% 2%, rgba(127,227,192,.16), transparent 60%),
    radial-gradient(1100px 760px at 50% 114%, rgba(91,74,138,.50), transparent 68%);
}

/* a fine grain so the gradients do not band */
body::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:3;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:140px 140px;
  mix-blend-mode:multiply;
}
html[data-theme="moonlit"] body::after{opacity:.06;mix-blend-mode:overlay}

/* ---------- nav sits on glass ---------- */
nav{background:color-mix(in srgb,var(--canvas) 72%,transparent);border-bottom:1px solid var(--line)}

/* ---------- hero card ---------- */
.product-card{
  border:1px solid rgba(252,249,243,.09);
  background:
    radial-gradient(620px 440px at 90% -12%, rgba(247,146,87,.40), transparent 60%),
    radial-gradient(560px 460px at -6% 112%, rgba(127,227,192,.32), transparent 62%),
    linear-gradient(152deg,#1C1832 0%,#2A1F4C 48%,#3B2A63 100%);
  box-shadow:0 60px 120px -60px rgba(28,24,50,.65), 0 0 0 1px rgba(28,24,50,.05);
}
.product-card::before{
  content:"";position:absolute;top:0;left:12%;right:12%;height:2px;border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--peach),var(--mint),transparent);
  opacity:.85;
}

/* the screenshot keeps its own proportions, always */
.hero-art img{
  width:100%;max-width:360px;height:auto;aspect-ratio:744 / 792;
  object-fit:contain;object-position:center;
}

/* ---------- mint as the second action ---------- */
.btn-mint{
  background:rgba(127,227,192,.16);
  color:#E8FFF8;
  border-color:rgba(127,227,192,.62);
}
.btn-mint:hover{
  background:rgba(127,227,192,.22);
  border-color:var(--mint);
  color:#FFFFFF;
}
html[data-theme="moonlit"] .btn-mint{color:#D6FFF2}

/* ---------- status pills in the hero ---------- */
.hero-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.pill{
  display:inline-flex;align-items:center;gap:7px;
  font-size:11.5px;font-weight:600;letter-spacing:.01em;
  padding:6px 12px;border-radius:999px;
  border:1px solid rgba(252,249,243,.20);
  color:rgba(252,249,243,.86);
  background:rgba(252,249,243,.04);
}
.pill i{width:6px;height:6px;border-radius:2px;background:var(--mint);display:block}

/* ---------- feature cards get the brand's icon treatment ---------- */
.feature .ico{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,var(--acc-2),var(--acc));
  color:#FCF9F3;
  margin-bottom:16px;
  box-shadow:0 14px 26px -14px var(--acc-2),
             inset 0 1px 0 rgba(255,255,255,.35),
             inset 0 0 0 1px rgba(255,255,255,.10);
  transition:transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.feature:hover .ico{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 20px 34px -14px var(--acc-2),
             inset 0 1px 0 rgba(255,255,255,.45),
             inset 0 0 0 1px rgba(255,255,255,.14);
}
.feature .ico svg{width:19px;height:19px;stroke-width:1.8}

/* kickers alternate voice by band */
section.band .kicker{color:var(--mint-deep)}

/* ---------- steps ---------- */


/* ---------- screenshots ---------- */
.shot-fig img{border-radius:14px;border:1px solid var(--line);box-shadow:var(--shadow)}
.shot-fig:hover img{transform:translateY(-2px);transition:transform .25s}
.shot-fig.tall img{max-height:300px}

/* ---------- pricing: a gradient edge, not a plain box ---------- */
.price-card{
  border:1px solid transparent;
  background-image:linear-gradient(var(--surface),var(--surface)),
                   linear-gradient(140deg,var(--mint),var(--plum) 55%,var(--peach));
  background-origin:border-box;
  background-clip:padding-box,border-box;
  box-shadow:0 40px 80px -50px rgba(91,74,138,.75);
}
#pricing{
  background-image:linear-gradient(180deg,rgba(127,227,192,.12),rgba(127,227,192,0) 70%);
}
html[data-theme="moonlit"] #pricing{
  background-image:linear-gradient(180deg,rgba(127,227,192,.10),transparent 70%);
}

/* ---------- faq ---------- */
.faq summary:hover{color:var(--plum)}
html[data-theme="moonlit"] .faq summary:hover{color:var(--mint)}

/* ---------- footer edge ---------- */
footer{border-top:0;position:relative}
footer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(91,74,138,.45),rgba(127,227,192,.55),transparent);
}

/* ---------- links get mint, not just peach ---------- */
.doc a:hover{color:var(--mint-deep)}
.nav-link:hover{opacity:1}
.nav-link::after{background:linear-gradient(90deg,var(--peach),var(--mint))}

/* ---------- dark tuning ---------- */
html[data-theme="moonlit"] .price-card{
  background-image:linear-gradient(var(--surface),var(--surface)),
                   linear-gradient(140deg,var(--mint),var(--plum) 55%,var(--peach));
}


/* ---------- mint carries the alternate bands ----------
   Sand stays as the card and note surface; the full-width bands go mint, so
   the page alternates paper / mint / paper and mint is structural, not a dot. */
section.band{
  background:linear-gradient(180deg,#F1F8F3 0%,#EAF4EE 100%);
  border-top:1px solid rgba(63,181,148,.16);
  border-bottom:1px solid rgba(63,181,148,.16);
}
html[data-theme="moonlit"] section.band{
  background:linear-gradient(180deg,rgba(127,227,192,.06),rgba(91,74,138,.10));
  border-top:1px solid rgba(127,227,192,.12);
  border-bottom:1px solid rgba(127,227,192,.12);
}
section.band .feature{background:rgba(255,255,255,.9)}
html[data-theme="moonlit"] section.band .feature{background:var(--surface)}

/* a thin mint-to-plum rule under section headings, as a repeated motif */
.section-head h2{position:relative;padding-bottom:14px}
.section-head h2::after{
  content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:44px;height:3px;border-radius:2px;
  background:linear-gradient(90deg,var(--mint),var(--plum));
}


/* Any <img> carrying width and height attributes gets those as presentational
   CSS. Overriding only width squeezes the image; height must always follow. */
.shot-fig img,.hero-art img,.price-card img{height:auto}
.shot-fig.tall img{height:300px}
