/* Plumón — plumon.app site stylesheet
   Tokens are the locked Plumón brand colors (apps/plumon/design/*-flow-2026-07-04.html)
   plus two site-only neutrals: --paper (warm off-white) and --muted-ink (plum-biased grey). */
:root{
  --plum-dark:#2F2648; --plum:#3E3360; --lavender:#ECE8F4; --coral:#FF6B4A;
  --coral-soft:rgba(255,107,74,.14); --stage:#121016; --ink:#241030; --muted:#9a90b0;
  --paper:#FAF8FC; --paper-line:#e6e0ee; --muted-ink:#5c5473; --card:#ffffff;
  /* Darkened coral for text on light backgrounds only (buttons/icons keep --coral) —
     #FF6B4A on --paper measures ~2.7:1, fails WCAG AA; this measures ~5.2:1. */
  --coral-text:#B8431E;
  --radius-frame:20px; --radius-pill:999px;
  --maxw:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden;max-width:100%}
body{margin:0;background:var(--paper);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.5}
img,svg,iframe{display:block;max-width:100%}
a{color:inherit}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;min-width:0}
/* Grid/flex items default to min-width:auto, which refuses to shrink below content
   size and causes horizontal-scroll "blowout" on narrow viewports. Reset it on every
   direct child of a grid/flex row this stylesheet defines. */
header.site .wrap > *,
footer.site .wrap > *,
.hero > *, .hero-visual,
.feature-copy, .feature-visual,
.ai-strip > *,
.mini-grid > *, .trust-grid > *,
.teaser .lead-copy, .teaser .lead-demo{min-width:0}
h1,h2,h3{margin:0;font-weight:800;letter-spacing:-0.02em;text-wrap:balance}
p{margin:0}
:focus-visible{outline:2.5px solid var(--coral);outline-offset:2px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--coral-text);margin:0 0 14px}
.eyebrow.on-dark{color:#ffb59f}

/* ---------- nav ---------- */
header.site{position:sticky;top:0;z-index:20;background:rgba(18,16,22,.86);backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08)}
header.site .wrap{display:flex;align-items:center;gap:28px;height:64px}
.wordmark{font-size:19px;font-weight:800;letter-spacing:-.01em;color:#fff;text-decoration:none;flex:none}
.wordmark .o{color:var(--coral)}
nav.links{display:flex;gap:26px;margin-left:8px;flex:1}
nav.links a{font-size:14.5px;font-weight:600;color:var(--muted);text-decoration:none;transition:color .15s}
nav.links a:hover,nav.links a[aria-current="page"]{color:#fff}
.mobilenav{display:none;margin-left:8px;flex:1}
.mobilenav summary{list-style:none;color:var(--muted);font-size:14.5px;font-weight:600;cursor:pointer;padding:12px 0;white-space:nowrap}
.mobilenav summary::-webkit-details-marker{display:none}
.mobilenav summary::after{content:" \25BE"}
.mobilenav[open] summary::after{content:" \25B4"}
.mobilenav nav{display:flex;flex-direction:column;gap:2px;padding:8px 28px 16px}
/* Open menu drops BELOW the 64px bar with its own solid backing, instead of
   overflowing inside the fixed-height header and painting over the hero. */
.mobilenav[open] nav{position:absolute;top:64px;left:0;right:0;background:var(--plum-dark);
  border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 18px 40px -20px rgba(0,0,0,.6);z-index:30}
.mobilenav nav a{font-size:15px;font-weight:600;color:var(--lavender);text-decoration:none;padding:12px 4px;
  border-top:1px solid rgba(255,255,255,.08)}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:var(--radius-pill);font-weight:700;
  font-size:14.5px;padding:11px 20px;text-decoration:none;border:1px solid transparent;cursor:pointer;
  transition:transform .12s, box-shadow .12s, background .12s}
.btn:active{transform:translateY(1px)}
.btn.coral{background:var(--coral);color:var(--ink)}
.btn.coral:hover{box-shadow:0 10px 24px -8px rgba(255,107,74,.55)}
.btn.ghost-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.28)}
.btn.ghost-dark:hover{border-color:#fff}
.btn.ghost-light{background:transparent;color:var(--plum-dark);border-color:var(--paper-line)}
.btn.ghost-light:hover{border-color:var(--plum-dark)}
.btn.sm{padding:8px 16px;font-size:13.5px;min-height:44px}

/* ---------- stage (dark) / paper (light) bands ---------- */
.stage-band{background:radial-gradient(1000px 620px at 18% -12%, #2a2140 0%, var(--stage) 62%);color:var(--lavender)}
.paper-band{padding:96px 0}
.section-head{max-width:62ch;margin-bottom:56px}
.section-head h2{font-size:38px;color:var(--plum-dark);line-height:1.14}
.section-head p{margin-top:16px;font-size:17px;color:var(--muted-ink);line-height:1.6}

/* ---------- reusable mini app-window chrome (for any static illustrative frame) ---------- */
.appframe{position:relative;border-radius:var(--radius-frame);overflow:hidden;background:var(--stage);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06)}
.appframe .topbar{position:relative;height:38px;background:var(--plum-dark);display:flex;align-items:center;gap:9px;padding:0 12px;
  border-bottom:1px solid rgba(255,255,255,.06)}
.appframe .lights{display:flex;gap:6px}
.appframe .lights i{width:9px;height:9px;border-radius:50%;display:block}
.appframe .lights .r{background:#ff5f57}.appframe .lights .y{background:#febc2e}.appframe .lights .g{background:#28c840}
.appframe .snap{position:absolute;left:50%;transform:translateX(-50%);background:var(--plum);color:var(--lavender);font-size:11px;font-weight:600;
  padding:4px 10px;border-radius:7px}

/* ---------- real animated product demos (embedded self-contained HTML) ---------- */
.demo{border-radius:var(--radius-frame);overflow:hidden;background:#15111d;
  box-shadow:0 30px 64px -24px rgba(47,38,72,.32), 0 0 0 1px rgba(255,255,255,.06)}
/* Height is set per-demo at runtime (the embedded demo reports its true content
   height via postMessage; the page listener sets the iframe height to match).
   min-height is only a pre-JS fallback so the frame never collapses; it sits
   just under the shortest demo so the runtime height always wins. */
.demo iframe{display:block;width:100%;border:0;min-height:520px;background:#15111d}
.demo-caption{font-size:13px;color:var(--muted-ink);margin-top:12px}

/* ---------- feature blocks ---------- */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;margin-bottom:104px}
.feature:last-child{margin-bottom:0}
.feature.reverse .feature-copy{order:2}
.feature.reverse .feature-visual{order:1}
.feature-copy .ficon{width:44px;height:44px;border-radius:12px;background:var(--coral-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.feature-copy .ficon svg{width:22px;height:22px;stroke:var(--coral)}
.feature-copy h2{font-size:26px;color:var(--plum-dark);line-height:1.25;margin-bottom:12px}
.feature-copy p{font-size:16.5px;color:var(--muted-ink);line-height:1.65;max-width:44ch}
.feature-copy ul{margin:14px 0 0;padding-left:20px;color:var(--muted-ink);font-size:15.5px;line-height:1.7}

.ai-strip{margin-top:8px;border-top:1px solid var(--paper-line);padding-top:64px;display:grid;
  grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.ai-strip h2{font-size:24px;color:var(--plum-dark);margin-bottom:12px}
.ai-strip p{font-size:16.5px;color:var(--muted-ink);line-height:1.65;max-width:46ch}

/* ---------- privacy (dark, dramatic) ---------- */
.privacy-hero{background:var(--stage);color:var(--lavender);padding:104px 0 90px}
.privacy-hero .inner{max-width:760px}
.privacy-hero h1{font-size:44px;color:#fff;line-height:1.1}
.privacy-hero p.lede{margin-top:20px;font-size:18px;color:#cfc6e6;max-width:60ch;line-height:1.65}
.trust-grid{margin-top:44px;display:grid;grid-template-columns:repeat(2,1fr);gap:20px 32px}
.trust-item{display:flex;gap:14px;align-items:flex-start}
.trust-item .tick{flex:none;width:26px;height:26px;border-radius:50%;background:var(--coral-soft);
  display:flex;align-items:center;justify-content:center;margin-top:2px}
.trust-item .tick svg{width:13px;height:13px;stroke:var(--coral)}
.trust-item h2{font-size:16px;font-weight:700;color:#fff;margin:0 0 4px}
.trust-item p{font-size:14.5px;color:var(--muted);line-height:1.55}

/* ---------- prose (privacy policy, longer explanations) ---------- */
.prose{max-width:68ch}
.prose h2{font-size:24px;color:var(--plum-dark);margin:40px 0 14px}
.prose h2:first-child{margin-top:0}
.prose p{font-size:16px;color:var(--muted-ink);line-height:1.7;margin-bottom:14px}
.prose ul{color:var(--muted-ink);font-size:16px;line-height:1.75;padding-left:20px}
.prose li{margin-bottom:6px}
.prose strong{color:var(--ink)}

/* ---------- FAQ (native details/summary, touch-safe, no JS) ---------- */
.faq{border-top:1px solid var(--paper-line)}
.faq details{border-bottom:1px solid var(--paper-line);padding:20px 0}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  gap:16px;font-size:17px;font-weight:700;color:var(--plum-dark)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;font-weight:400;color:var(--coral);flex:none;
  transition:transform .15s}
.faq details[open] summary::after{content:"\2212"}
.faq .a{margin-top:14px;font-size:15.5px;color:var(--muted-ink);line-height:1.7;max-width:66ch}

/* ---------- closing CTA band (used on index, features, privacy) ---------- */
.cta-band{padding:104px 0;text-align:center}
.cta-band h2{font-size:32px;color:var(--plum-dark)}
.cta-band p{margin-top:12px;font-size:16px;color:var(--muted-ink)}
.cta-band .btn{margin-top:26px}

/* ---------- download / closing ---------- */
.download-hero{padding:100px 0 40px;text-align:center}
.download-hero h1{font-size:40px;color:var(--plum-dark);max-width:20ch;margin:0 auto}
.download-hero p.lede{margin:18px auto 0;font-size:17px;color:var(--muted-ink);max-width:48ch;line-height:1.6}
.download-hero .cta-row{margin-top:34px;display:flex;flex-direction:column;align-items:center;gap:10px}
.download-hero .req{font-size:13.5px;color:var(--muted-ink);margin:0}
.bmc{margin-top:38px;font-size:14px;color:var(--muted-ink)}
.bmc a{color:var(--plum-dark);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.specs{max-width:640px;margin:70px auto 0}
.specs h2{font-size:20px;color:var(--plum-dark);margin-bottom:18px}
.specs dl{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;font-size:15px}
.specs dt{color:var(--muted-ink);font-weight:600}
.specs dd{margin:0;color:var(--ink)}
.changelog{max-width:640px;margin:60px auto 0;text-align:left}
.changelog h2{font-size:20px;color:var(--plum-dark);margin-bottom:14px}
.changelog li{font-size:15px;color:var(--muted-ink);line-height:1.7;margin-bottom:6px}

footer.site{background:var(--plum-dark);color:var(--muted);padding:44px 0}
footer.site .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px}
footer.site .wordmark{font-size:16px}
footer.site nav{display:flex;gap:22px;flex-wrap:wrap}
footer.site nav a{font-size:13.5px;color:var(--muted);text-decoration:none}
footer.site nav a:hover{color:#fff}
footer.site .made{font-size:13px;color:var(--muted)}
footer.site .made a{color:#d9d2ec;text-decoration:underline;text-underline-offset:3px}

/* ---------- 404 ---------- */
.notfound{padding:130px 0;text-align:center}
.notfound .code{font-size:15px;font-weight:700;letter-spacing:.08em;color:var(--coral);text-transform:uppercase}
.notfound h1{font-size:34px;color:var(--plum-dark);margin-top:10px}
.notfound p{margin-top:14px;font-size:16px;color:var(--muted-ink)}
.notfound .btn{margin-top:26px}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto !important}}

@media (max-width:880px){
  .hero{grid-template-columns:1fr !important;padding:64px 0 56px}
  .hero h1{font-size:36px !important}
  .feature,.ai-strip{grid-template-columns:1fr}
  .feature.reverse .feature-copy,.feature.reverse .feature-visual{order:initial}
  .trust-grid{grid-template-columns:1fr}
  nav.links{display:none}
  .mobilenav{display:block}
  .section-head h2{font-size:30px}
  .privacy-hero h1{font-size:32px}
  .download-hero h1{font-size:30px}
}
