/* ==========================================================================
   Zolabs website design system (Nov 2026)
   Loaded LAST on every website page, after site.css and any page styles, so
   these tokens and rules win. The app (frontend/src) does not use this file.

   Mood: warm editorial. A quiet stone background, near-black ink, and one
   accent, the purple from the Zolabs logo. Based on the "AI Startup Landing
   Page Playbook" (Claude Doc, Nov 2026).

   Rules
   - One accent (#5A2296). Spend it on the main button, links and one
     highlighted phrase per heading. Nowhere else.
   - No gradient text, no gradient buttons, no glows. Gradients only as faint
     atmosphere behind the hero.
   - Three type roles: Familjen Grotesk for headlines and big numbers,
     Hanken Grotesk for everything else, JetBrains Mono for eyebrows and
     labels. No italics.
   - One corner radius family: 8px for buttons, inputs and cards; 12px for big
     panels. Pills only for tags.
   - Cards use a 1px border, not drop shadows. Hover changes the border.
   - Motion: short fade-and-rise (300ms). Nothing bounces or lifts.
   - The name is always "Zolabs" in text. The logo is a lowercase wordmark;
     don't set the name in an uppercase style (eyebrows, table heads).
   ========================================================================== */

:root {
  /* Brand */
  --accent:#5A2296; --accent-hover:#4B1C7D; --accent-soft:#F2ECF8; --accent-line:#D9C8EC;

  /* Warm neutrals (one family) */
  --bg:#F7F6F2; --paper:#FFFFFF; --stone-2:#EFEDE7; --stone-3:#E6E3DB;
  --line:#E2DED5; --line-strong:#CFCAC0;
  --ink:#151513; --ink-2:#1F1E1B;
  --ink-900:#1A1A18; --ink-700:#3D3A35; --ink-500:#5F5B54; --ink-400:#85817A;

  /* Remap the old site.css tokens so every existing component follows */
  --violet-50:#F6F1FB; --violet-100:#F2ECF8; --violet-200:#E4D7F1; --violet-300:#C9B1E3;
  --violet-400:#9C74C9; --violet-500:#7A43B3; --violet-600:#5A2296; --violet-700:#5A2296;
  --violet-800:#4B1C7D; --violet-900:#3B1662; --violet-950:#24103D;
  --zl-magenta:#5A2296;
  --aurora-1:#5A2296; --aurora-2:#7A43B3; --aurora-3:#3B1662;
  --surface:var(--bg); --surface-2:var(--stone-2); --surface-3:var(--stone-3); --border:var(--line);

  /* Icon chips: one quiet style instead of six colours */
  --c-violet:var(--accent); --c-violet-bg:var(--accent-soft);
  --c-blue:var(--accent);   --c-blue-bg:var(--accent-soft);
  --c-emerald:var(--accent);--c-emerald-bg:var(--accent-soft);
  --c-pink:var(--accent);   --c-pink-bg:var(--accent-soft);
  --c-sky:var(--accent);    --c-sky-bg:var(--accent-soft);
  --c-amber:var(--accent);  --c-amber-bg:var(--accent-soft);

  --g-primary:var(--accent);
  --g-aurora:linear-gradient(115deg,#5A2296,#7A43B3);

  --r-sm:6px; --r-md:8px; --r-lg:12px; --r-xl:12px;
  --sh-sm:none; --sh-md:0 1px 2px rgba(21,21,19,.05);
  --sh-lg:0 1px 2px rgba(21,21,19,.05),0 8px 24px -12px rgba(21,21,19,.12);
  --sh-xl:0 16px 40px -16px rgba(21,21,19,.22);
  --sh-purple:none; --sh-glass:none;
  --ring:rgba(90,34,150,.35);

  --display:'Familjen Grotesk','Hanken Grotesk',system-ui,sans-serif;
  --sans:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI','Nirmala UI','Noto Sans',sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
}

body{background:var(--bg);color:var(--ink-900);font-family:var(--sans)}
::selection{background:var(--accent-line)}

/* ---------- Type ---------- */
.display,.h2,.page-hero h1,.cta h2{font-family:var(--display);font-weight:600}
.display{font-size:clamp(2.7rem,5.2vw,4.4rem);line-height:1.02;letter-spacing:-.035em;margin:18px 0 22px}
.h2{font-size:clamp(2rem,3.5vw,2.9rem);line-height:1.08;letter-spacing:-.03em;margin-bottom:16px}
.page-hero h1{font-size:clamp(2.3rem,4.2vw,3.5rem);line-height:1.05;letter-spacing:-.035em}
.cta h2{font-size:clamp(2.2rem,4vw,3.2rem);line-height:1.06;letter-spacing:-.035em}
h3{letter-spacing:-.01em}
.btn,.nav,.lead,.section-lead{font-family:var(--sans)}
/* The one highlighted phrase: accent ink. No gradient, no italics. */
.text-aurora,.text-aurora-light{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--accent);font-style:normal}
.text-aurora-light{color:#D9C8EC}
.lead{color:var(--ink-500)}
.section-lead{color:var(--ink-500)}
.eyebrow{font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.1em;color:var(--ink-500);gap:8px}
.eyebrow::before{width:6px;height:6px;border-radius:1px;background:var(--accent)}
.eyebrow-light{color:#C9C5BC}
.eyebrow-light::before{background:#C9B1E3}
.text-link{color:var(--accent);font-weight:600}
.text-link:hover{color:var(--accent-hover)}

/* ---------- Buttons: flat, one radius, no lift ---------- */
.btn{border-radius:var(--r-md);font-weight:600;height:42px;transition:background .15s,color .15s,border-color .15s}
.btn-lg{height:48px;padding:0 22px;font-size:15.5px}
.btn:active,.btn:hover{transform:none}
.btn-primary{background:var(--accent);color:#fff;box-shadow:none}
.btn-primary:hover{background:var(--accent-hover);filter:none;box-shadow:none}
.btn-outline{background:var(--paper);color:var(--ink-900);border-color:var(--line-strong);box-shadow:none;backdrop-filter:none}
.btn-outline:hover{border-color:var(--ink-900);color:var(--ink-900)}
.btn-ghost{color:var(--ink-700)}
.btn-ghost:hover{background:var(--stone-2);color:var(--ink-900)}
.btn-soft{background:var(--stone-2);color:var(--ink-900)}
.btn-white{background:#fff;color:var(--ink-900);box-shadow:none}
.btn-white:hover{background:#F2F0EA;box-shadow:none}
.btn-glass{background:transparent;border-color:rgba(255,255,255,.35);backdrop-filter:none}
.btn-glass:hover{background:rgba(255,255,255,.08)}

/* ---------- Header ---------- */
.nav.is-scrolled{background:rgba(247,246,242,.88);border-bottom-color:var(--line);box-shadow:none}
.nav-link,.nav-trigger{color:var(--ink-700);border-radius:var(--r-md)}
.nav-link:hover,.nav-trigger:hover,.nav-item.is-open .nav-trigger,.nav-link[aria-current="page"]{background:var(--stone-2);color:var(--ink-900)}
.nav-panel{border-color:var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-xl)}
.nav-panel-list a:hover,.nav-panel-list a:focus-visible{background:var(--bg)}
.nav-intro{background:var(--bg);border:1px solid var(--line)}
.nav-intro-eyebrow{color:var(--ink-500)}
.nav-intro-title{font-family:var(--display);font-weight:600;font-size:1.2rem;line-height:1.2;letter-spacing:-.02em}
.nav-intro-link{color:var(--accent)}
.nav-promo{border:1px solid var(--line);background:var(--bg)}
.nav-promo:hover{border-color:var(--line-strong);background:var(--bg)}
.nav-promo .nav-promo-tag{color:var(--accent)}
.mobile-menu{background:var(--paper);border-color:var(--line);border-radius:var(--r-lg)}
.mobile-menu>a:hover{background:var(--bg);color:var(--ink-900)}

/* ---------- Hero ---------- */
.hero-bg{background:var(--bg)}
.grid-dots{background-image:linear-gradient(rgba(21,21,19,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(21,21,19,.045) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(80% 70% at 50% 0%,#000 30%,transparent 80%);mask-image:radial-gradient(80% 70% at 50% 0%,#000 30%,transparent 80%)}
.demo-glow{display:none}
.hero-proof [data-lucide],.hero-proof svg{background:var(--paper);border:1px solid var(--line);color:var(--ink-700)}
.hp-promise svg{color:var(--accent)}
.announce{background:var(--paper);border-color:var(--line)}
.announce-tag{background:var(--accent)}

/* The live-call demo reads as product UI, not a glowing card */
.sim{background:var(--paper);backdrop-filter:none;-webkit-backdrop-filter:none;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-xl)}
.sim-call{background:var(--ink)}
.sim-call::before{display:none}
.sim-avatar-ai{background:var(--accent)}
.sim-extract-title{color:var(--ink-500)}
.sim-langs{background:var(--stone-2)}

/* ---------- Sections and cards ---------- */
.section{padding:112px 0}
.section-tint{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-tint .hp-team,.section-tint .hp-steps li,.section-tint .trust-card,.section-tint .hp-fit-yes,.section-tint .hp-price,.section-tint .hp-reach,.section-tint .problem-card{background:var(--bg)}
.problem-card,.trust-card,.hp-team,.hp-steps li,.persona-panel,.trail-card,.hp-reach,.hp-fit-yes,.hp-price,.hp-table-wrap,.faq details,.plan,.lang-facts{border-color:var(--line);border-radius:var(--r-lg);box-shadow:none}
.problem-card:hover,.trust-card:hover,.hp-team:hover,.hp-team:target{transform:none;box-shadow:none;border-color:var(--line-strong)}
.pc-icon{border-radius:var(--r-md)}
.trust-card>svg{background:var(--accent-soft);color:var(--accent);box-shadow:none;border-radius:var(--r-md)}
.check-list svg,.hp-fit-yes svg{background:var(--accent-soft);color:var(--accent)}
.persona-panel::before{display:none}
.faq details[open]{border-color:var(--line-strong);box-shadow:none}
.faq summary svg{color:var(--ink-500)}

/* Proof strip */
.hp-proof{background:var(--bg);border-color:var(--line)}
.hp-proof-title{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.1em}
.hp-stats dd{font-family:var(--display);font-weight:600;font-size:2.8rem;letter-spacing:-.035em;color:var(--ink-900);line-height:1.1}
.hp-stats dt{font-size:14px}

/* Comparison table */
.hp-table thead th{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.06em;text-transform:none;color:var(--ink-500)}
.hp-table .hp-us{background:var(--accent-soft)}
.hp-table thead .hp-us{color:var(--accent)}
.hp-step-no{color:var(--accent)}
.hp-steps h3{font-weight:650}
.hp-reach li::before{background:var(--stone-2)}
.hp-reach li:last-child::before{background:var(--accent-line)}
.hp-sample{font-family:var(--mono);font-weight:500;background:var(--stone-2)}

/* Language chips */
.lang-chips li,.lang-chip{box-shadow:none}

/* Closing band: solid ink, no aurora */
.cta{background:var(--ink);border-radius:var(--r-lg);box-shadow:none}
.cta-aurora{display:none}

/* Footer */
.footer{background:var(--ink);color:#BDB9B0}
.footer-privacy{color:#D9C8EC}

/* Inner pages */
.page-hero{background:var(--bg)}
.plan-featured{border-color:var(--accent-line);box-shadow:none}
.plan .plan-price{color:var(--accent)}
.plan li::before{border-color:var(--accent)}

/* ---------- Motion: short and calm ---------- */
.rise{animation:zl-rise .4s var(--ease) both;animation-delay:var(--d,0s)}
@keyframes zl-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.reveal{opacity:1;transform:translateY(8px);transition:transform .3s var(--ease)}
.reveal.is-visible{transform:none}
@media (prefers-reduced-motion:reduce){.rise{animation:none}.reveal{transform:none;transition:none}}

@media (max-width:600px){
  .display{font-size:clamp(2.4rem,10.5vw,2.9rem)}
  .h2{font-size:clamp(2rem,8.5vw,2.5rem)}
  .section{padding:80px 0}
  .hp-stats dd{font-size:2.4rem}
}

/* Eyebrows and small labels in sentence case, so the name never shows as "ZOLABS" */
.eyebrow,.hp-proof-title,.nav-intro-eyebrow{text-transform:none;letter-spacing:.02em}

/* ---------- Spacing (tightened 2026-11-19) ----------
   Sections were 112px top and bottom plus a 56px gap under each heading, so
   short sections were half padding. One rhythm now: 80px between sections on
   desktop, 56px on phones, 36px under a heading. */
.section{padding:80px 0}
.section-head{margin-bottom:36px}
.h2{margin-bottom:12px}
.section-more{margin-top:28px}
.hero{padding-top:calc(var(--nav-h) + 40px)}
.hero-grid{padding-bottom:64px}
.hp-proof{padding:28px 0 36px}
.hp-proof-title{margin-bottom:16px}
.hp-stats{margin-top:24px}
.split{gap:56px}
.faq-wrap{gap:48px}
.cta-section{padding:0 0 80px}
.cta{padding:64px 40px}
.hp-price-section{padding:56px 0}
.hp-price{padding:32px 36px}
/* Fit: heading on the left, the lists on the right, instead of a centred stack */
.hp-fit-wrap{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr);gap:48px;align-items:start}
.hp-fit-wrap .section-head{margin-bottom:0}
.hp-fit-wrap .hp-fit{margin:0;max-width:none}
@media (max-width:960px){.hp-fit-wrap{grid-template-columns:1fr;gap:24px}}
@media (max-width:600px){
  .section{padding:56px 0}
  .section-head{margin-bottom:28px}
  .hero-grid{padding-bottom:48px}
  .hp-price-section{padding:48px 0}
  .cta-section{padding-bottom:56px}
  .cta{padding:48px 24px}
}

/* ---------- Text colour and size (2026-11-19) ----------
   Two text tones only:
   - Reading text (paragraphs, card text, table cells, FAQ answers): --text,
     near-black, about 14:1 on the stone background.
   - Meta text (eyebrows, captions, stat labels, table column labels, menu
     descriptions, footer): --ink-500 grey.
   Reading text is never below 16px on desktop. */
:root{--text:#2A2824}
.lead,.section-lead,.page-hero .lead,.hp-team p,.hp-steps p,.trust-card p,.problem-card p,
.faq details p,.hp-note,.hp-fit-no p,.hp-fit-yes li,.check-list li,.hp-table td,.hero-proof li,
.plan p,.plan li,.post-body p,.post-body li,.prose p,.prose li{color:var(--text)}
.hp-fit-no strong{color:var(--ink-900)}

.lead{font-size:1.2rem;line-height:1.6}
.section-lead{font-size:1.125rem;line-height:1.6}
.hero-proof li{font-size:15.5px}
.hp-promise{font-size:1.05rem}
.hp-team h3,.trust-card h3,.hp-steps h3{font-size:1.15rem}
.hp-team p,.hp-steps p,.trust-card p,.problem-card p{font-size:16px;line-height:1.55}
.hp-stats dt{font-size:15px}
.hp-reach p{font-size:15px}
.faq summary{font-size:17px}
.faq details p{font-size:16.5px;line-height:1.6}

/* Comparison table: bigger cells, labels stay small and grey */
.hp-table{font-size:16.5px}
.hp-table th,.hp-table td{padding:18px 24px;line-height:1.45}
.hp-table tbody th{font-weight:600;color:var(--ink-900)}
.hp-table thead th{font-size:13px;color:var(--ink-500)}
.hp-table td.hp-us{color:var(--ink-900);font-weight:600}
.hp-note{font-size:16.5px}

@media (max-width:600px){
  .lead{font-size:1.1rem}
  .section-lead{font-size:1.05rem}
  .hp-table{font-size:15px}
  .hp-table th,.hp-table td{padding:14px 14px}
}
