/* Warp Notes marketing site — shared styles.
   Tokens and primitives lifted verbatim from the original single-page index.html
   (commit 57a2285) so the look is unchanged; everything below the PRIMITIVES
   banner is new and additive. Every page links this file; nothing re-declares a
   token locally. */

/* ---------------------------------------------------------------- TOKENS -- */
:root{
  --bg:#0A0A0C; --surface:#141519; --surface2:#1C1E25; --border:#282A33;
  --text:#F5F6F8; --dim:#A0A6B0; --muted:#5F6672;
  --accent:#5B7CFA; --accent2:#7C97FF; --accentSoft:#1C2340; --accentText:#AFC0FF;
  --success:#4ADE80; --radius:16px; --maxw:1080px;
}

/* ------------------------------------------------------------ PRIMITIVES -- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.btn{display:inline-block;background:var(--accent);color:#fff;font-weight:700;padding:14px 24px;border-radius:12px;border:none;cursor:pointer;font-size:16px;transition:transform .12s ease,background .2s}
.btn:hover{background:var(--accent2);transform:translateY(-1px)}
.btn.ghost{background:var(--surface2);border:1px solid var(--border)}
.btn.ghost:hover{background:var(--border)}
.eyebrow{color:var(--accentText);font-weight:700;font-size:13px;letter-spacing:1.5px;text-transform:uppercase}
.muted{color:var(--muted)} .dim{color:var(--dim)}

header{position:sticky;top:0;z-index:20;background:rgba(10,10,12,.8);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px}
.logo .mark{width:30px;height:30px;border-radius:9px;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:16px}

.hero{padding:80px 0 44px;text-align:center;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;left:50%;top:8%;width:120%;height:70%;transform:translateX(-50%);
  background:radial-gradient(closest-side,rgba(91,124,250,.20),transparent 70%);pointer-events:none;z-index:-1}
.hero h1{font-size:clamp(36px,6.4vw,62px);line-height:1.06;font-weight:800;letter-spacing:-1.4px;margin:18px auto 0;max-width:13ch}
.hero p.sub{font-size:clamp(17px,2.4vw,21px);color:var(--dim);max-width:50ch;margin:20px auto 0}
.stores{margin-top:32px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero .micro{font-size:14px;color:var(--muted);margin-top:14px}

section{padding:64px 0}
h2{font-size:clamp(26px,4vw,38px);font-weight:800;letter-spacing:-.5px;text-align:center;max-width:22ch;margin:0 auto}
.lead{color:var(--dim);text-align:center;max-width:54ch;margin:16px auto 0;font-size:18px}

.agitate{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.agitate blockquote{max-width:58ch;margin:0 auto;font-size:clamp(19px,2.6vw,25px);line-height:1.5;text-align:center}
.agitate .after{color:var(--dim);text-align:center;margin-top:22px;font-size:17px}

.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:44px}
.step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:26px}
.step .n{width:36px;height:36px;border-radius:10px;background:var(--accentSoft);color:var(--accentText);display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:14px}
.step h3{font-size:19px;margin-bottom:6px}
.step p{color:var(--dim);font-size:15px}

.feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:40px}
.feat li{list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:22px}
.feat b{font-weight:700;display:block;margin-bottom:6px;font-size:17px}
.feat span{color:var(--dim);font-size:15px;display:block}

.privacy{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.privacy ul{list-style:none;max-width:720px;margin:36px auto 0;display:grid;gap:14px}
.privacy li{display:flex;gap:12px;align-items:flex-start;color:var(--dim)}
.privacy li::before{content:"🔒";flex:none;filter:grayscale(1) brightness(1.6)}
.privacy li b{color:var(--text)}

.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:40px;max-width:800px;margin-left:auto;margin-right:auto}
.plan{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:30px;text-align:center}
.plan.hero-plan{border:2px solid var(--accent)}
.plan .tag{display:inline-block;background:var(--accentSoft);color:var(--accentText);font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.plan .amt{font-size:44px;font-weight:800;margin:14px 0 2px}
.plan .amt span{font-size:17px;color:var(--muted);font-weight:600}
.plan ul{list-style:none;text-align:left;margin:20px 0;display:grid;gap:10px}
.plan ul li{color:var(--dim);display:flex;gap:10px;font-size:15px}
.plan ul li::before{content:"✓";color:var(--success);font-weight:800}

.faq{max-width:720px;margin:40px auto 0;display:grid;gap:12px}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:0 20px}
.faq summary{cursor:pointer;padding:18px 0;font-weight:700;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--muted);font-size:20px}
.faq details[open] summary::after{content:"–"}
.faq p{padding:0 0 18px;color:var(--dim)}

.closer{background:linear-gradient(180deg,var(--surface) 0%,var(--bg) 100%);border-top:1px solid var(--border);text-align:center}
footer{border-top:1px solid var(--border);padding:32px 0;text-align:center;color:var(--muted);font-size:14px}
footer a{color:var(--accentText)}
@media(max-width:600px){ section{padding:48px 0} .hero{padding:52px 0 28px} }

/* ================================================================ ADDED == */

/* --- header nav ---------------------------------------------------------- */
.nav{display:flex;align-items:center;gap:26px}
.nav a.link{color:var(--dim);font-size:15px;font-weight:600;transition:color .15s}
.nav a.link:hover{color:var(--text)}
.nav a.link[aria-current="page"]{color:var(--text)}
@media(max-width:760px){ .nav a.link{display:none} }

/* --- screenshots --------------------------------------------------------- */
/* Raw device captures. The rounding and shadow frame.py bakes into the store
   images is done here in CSS instead, so the source stays a clean capture. */
.shot{display:block;width:100%;height:auto;border-radius:22px;border:1px solid var(--border);
  box-shadow:0 24px 60px rgba(0,0,0,.55)}
.shot.flat{border-radius:14px;box-shadow:0 18px 44px rgba(0,0,0,.45)}

.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:22px;margin-top:44px;
  max-width:940px;margin-left:auto;margin-right:auto}
.shots figure{margin:0}
.shots figcaption{color:var(--dim);font-size:14px;margin-top:14px;text-align:center;line-height:1.45}
.shots figcaption b{color:var(--text);display:block;font-size:15px;margin-bottom:2px}

/* Text beside a picture. Image first in the DOM on mobile only when .flip. */
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;margin-top:48px}
.split .copy h3{font-size:clamp(21px,3vw,27px);font-weight:800;letter-spacing:-.4px;margin-bottom:12px}
.split .copy p{color:var(--dim);font-size:16px;margin-bottom:14px}
.split .copy p:last-child{margin-bottom:0}
.split .art{max-width:300px;justify-self:center}
.split .art.wide{max-width:100%}
@media(max-width:820px){
  .split{grid-template-columns:1fr;gap:32px}
  .split .art{max-width:260px}
}

/* --- prose pages (security, about) --------------------------------------- */
.doc{max-width:760px;margin:0 auto;padding:56px 20px 72px}
.doc h1{font-size:clamp(30px,5vw,44px);font-weight:800;letter-spacing:-1px;line-height:1.1}
.doc .meta{color:var(--muted);margin-top:14px;font-size:15px}
.doc h2{font-size:23px;font-weight:800;margin:44px 0 6px;letter-spacing:-.3px;text-align:left;max-width:none}
.doc h3{font-size:17px;font-weight:700;margin:26px 0 6px}
.doc p{margin:14px 0;color:var(--dim)}
.doc strong{color:var(--text)}
.doc a{color:var(--accentText);text-decoration:underline;text-underline-offset:3px}
.doc ul.cards{margin:18px 0;padding:0;list-style:none;display:grid;gap:12px}
.doc ul.cards li{color:var(--dim);background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px}
.doc ul.plain{margin:14px 0 14px 22px;display:grid;gap:8px}
.doc ul.plain li{color:var(--dim)}

/* A fact table an IT reviewer can skim. Scrolls on its own rather than
   forcing the page sideways. */
.tablewrap{overflow-x:auto;margin:20px 0;border:1px solid var(--border);border-radius:14px}
table.facts{border-collapse:collapse;width:100%;font-size:15px;min-width:520px}
table.facts th,table.facts td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--border);vertical-align:top}
table.facts thead th{background:var(--surface);color:var(--text);font-weight:700;font-size:13px;
  letter-spacing:.6px;text-transform:uppercase}
table.facts tbody th{color:var(--text);font-weight:700;white-space:nowrap;width:1%}
table.facts td{color:var(--dim)}
table.facts tr:last-child th,table.facts tr:last-child td{border-bottom:none}

.callout{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);
  border-radius:12px;padding:18px 20px;margin:24px 0}
.callout p{margin:0;color:var(--dim)}
.callout p+p{margin-top:10px}
.callout b{color:var(--text)}

/* --- misc ---------------------------------------------------------------- */
.backlink{display:inline-block;color:var(--dim);font-size:15px;font-weight:600}
.backlink:hover{color:var(--text)}
.centered{text-align:center}
.rule{border:none;border-top:1px solid var(--border);margin:48px 0}

/* --- links inside body copy ---------------------------------------------- */
/* The global `a{color:inherit;text-decoration:none}` is right for nav, cards
   and buttons, and wrong for a link inside a sentence — it renders one as
   plain dim text with nothing to say it is clickable. The CRM-sync link in the
   homepage FAQ was invisible for exactly this reason. These are the places
   prose actually links out from. */
.faq p a, .feat span a, .privacy a, .plan ul li a, .proof a{
  color:var(--accentText);text-decoration:underline;text-underline-offset:3px}
.faq p a:hover, .feat span a:hover, .privacy a:hover, .plan ul li a:hover, .proof a:hover{color:var(--text)}

/* The privacy section's hand-off to /security — the claims above it are only
   worth making if the receipts are one tap away. */
.privacy .receipts{max-width:720px;margin:26px auto 0;color:var(--dim);font-size:15px}

/* --- plan cards ---------------------------------------------------------- */
/* Who a tier is for, said before its bullets, so Pro reads as a choice rather
   than as Business with things taken away. */
.plan .who{color:var(--dim);font-size:15px;margin-top:14px;text-align:left}

/* A bullet naming what a tier does NOT include. `.plan ul li::before` puts a
   green ✓ on every line, which on this one would be a lie. */
.plan ul li.not{color:var(--muted)}
.plan ul li.not::before{content:"—";color:var(--muted);font-weight:800}

/* Adding a tenth feature left one card alone at the end of a 3-up row, which
   reads as a mistake rather than as emphasis. Let a last card that starts its
   own row run the full width — scoped to `3n+1` so this stops applying the
   moment an eleventh card fills the row properly. The grid tops out at three
   columns (3×280 + 2×16 fits the 1040px content box; four never do), so the
   only width this fires at is the one where the orphan exists. */
@media(min-width:912px){ .feat li:nth-child(3n+1):last-child{grid-column:1/-1} }

/* Adding the "who it's for" line made the two cards' bullet lists different
   heights, which left a pool of dead space under the Business CTA. Let the
   bullet list absorb the slack so both CTAs sit at the bottom of their card.
   `.tag` is an inline-block pill and would stretch edge to edge under the
   default `align-items:stretch`, so it centres itself explicitly. */
.plan{display:flex;flex-direction:column}
.plan .tag{align-self:center}
.plan ul{flex:1}

/* --- the proof section --------------------------------------------------- */
/* Sits between the privacy block (surface) and pricing, so it keeps the page
   background and floats the review on a card of its own. */
.proof .review{max-width:680px;margin:36px auto 0;background:var(--surface);
  border:1px solid var(--border);border-radius:16px;padding:28px 30px;text-align:center}
.proof .review blockquote{font-size:clamp(17px,2.1vw,21px);line-height:1.55}
.proof .review blockquote::before{content:"\201C"}
.proof .review blockquote::after{content:"\201D"}
.proof .review figcaption{margin-top:18px;color:var(--dim);font-size:15px}
/* Not --success: a green star reads as a status tick, not a rating. */
.proof .stars{color:var(--text);letter-spacing:3px;font-size:14px}
.proof .standing{max-width:660px;margin:30px auto 0;color:var(--dim);
  font-size:16px;text-align:center}
/* `.wrap`'s `padding:0 20px` beats `section{padding:64px 0}` on specificity, so
   a `section.wrap` has no vertical padding at all and the page spaces itself
   off heading margins. This one ends on a paragraph, so it needs its own. */
.proof{padding-bottom:56px}
