/*
   ══ releases ══════════════════════════════════════════════════════════════════════════════════

   releases.html's own CSS, lifted verbatim out of its inline <style> block. ADR-0063 / CODE-01.
   Rule order is byte-for-byte what it was inline.
   Rules shared by all 24 marketing pages are in glance-base.css, linked immediately before
   this file. Both sit exactly where the <style> block used to, so glance-motion.css and
   glance-identity.css still come after and still win.
*/

:root{
    /* WHITE IS THE DEFAULT. It used to be dark unless the OS asked for light, which meant
       most visitors met a near-black page. Dark is a choice, not one we make for them. */
    --bg:#f5f2ea; --panel:#fffdf8; --panel2:#ece5d7; --text:#191712; --muted:#5f5a50;
    --line:#ddd6c8; --accent:#c5311d; --accent2:#c08a2e; --good:#1f7a52;
    --shadow:0 10px 40px rgba(20,40,90,.10);
  }
  @media (prefers-color-scheme: light){
    :root:not([data-theme]){--bg:#f5f2ea;--panel:#fffdf8;--panel2:#ece5d7;--text:#191712;--muted:#5f5a50;
      --line:#ddd6c8;--shadow:0 10px 40px rgba(20,40,90,.10);}
  }

  body{margin:0;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
  .wrap{max-width:760px;margin:0 auto;padding:0 22px}
  a{color:inherit}
  .btn{display:inline-block;background:linear-gradient(135deg,#c5311d,#a8321f);
    color:#fff;font-weight:600;padding:15px 30px;border-radius:12px;text-decoration:none;border:0;
    box-shadow:var(--shadow);transition:transform .15s;cursor:pointer;font:inherit;font-weight:600}
  .btn:hover{transform:translateY(-2px)}

  /* top nav (matches index.html) */
  .nav{display:flex;align-items:center;justify-content:space-between;
    max-width:960px;margin:0 auto;padding:18px 22px}
  .brand{display:flex;align-items:center;gap:11px;text-decoration:none}
  .brand .nm{font-weight:700;font-size:22px;letter-spacing:-.03em}
  .nav-links{display:flex;align-items:center;gap:20px;font-size:14px}
  .nav-links a{color:var(--muted);text-decoration:none}

  .nav-links a:hover{color:var(--text)}
  .nav-links a.active{color:var(--text)}

  @media(max-width:560px){.nav-links .hideSm{display:none}}

  header{padding:44px 0 14px;text-align:center}
  .eyebrow{color:var(--ink-accent2);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:13px}
  h1{font-size:clamp(30px,5.6vw,48px);line-height:1.08;margin:16px 0 12px;letter-spacing:-.02em}
  .sub{font-size:clamp(17px,2.6vw,20px);color:var(--muted);max-width:600px;margin:0 auto}

  section{padding:22px 0}
  .cat{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);
    font-weight:700;margin:26px 0 10px}

  details{background:var(--panel);border:1px solid var(--line);border-radius:14px;
    padding:2px 20px;margin-bottom:12px;transition:border-color .15s}
  details[open]{border-color:var(--ink-accent2)}
  summary{list-style:none;cursor:pointer;padding:17px 0;font-weight:600;font-size:16.5px;
    display:flex;align-items:center;justify-content:space-between;gap:14px}
  summary::-webkit-details-marker{display:none}
  summary .chev{flex:none;width:20px;height:20px;color:var(--muted);transition:transform .2s}
  details[open] summary .chev{transform:rotate(180deg);color:var(--ink-accent2)}
  details .a{padding:0 0 18px;color:var(--muted);font-size:15.5px}
  details .a a{color:var(--ink-accent2);text-decoration:none}

  .cta{background:var(--panel);border:1px solid var(--line);border-radius:18px;
    padding:30px;text-align:center;margin-top:12px;box-shadow:var(--shadow)}
  .cta h2{margin:0 0 8px;font-size:22px}
  .cta p{margin:0 0 18px;color:var(--muted)}

  footer{padding:50px 0 70px;font-size:14px}
  footer a{color:var(--ink-accent2)}
  .nav-links .more{position:relative;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;gap:4px}
  .nav-links .more:hover,.nav-links .more:focus-within{color:var(--text)}
  .nav-links .more .chev{font-size:11px}
  .nav-links .more .menu{position:absolute;right:0;top:160%;background:var(--panel);border:1px solid var(--line);
    border-radius:12px;padding:7px;display:none;flex-direction:column;min-width:176px;box-shadow:var(--shadow);z-index:30}
  .nav-links .more:hover .menu,.nav-links .more:focus-within .menu{display:flex}
  .nav-links .menu a{padding:9px 12px;border-radius:8px;white-space:nowrap;color:var(--muted)}
  .nav-links .menu a:hover{background:var(--panel2);color:var(--text)}

  /* ---- responsive pass: phones & tablets ---- */
  @media(max-width:900px){
    .nav{padding:12px 16px}
    .wrap{padding:0 16px}
    section{padding:36px 0}
  }
  @media(max-width:640px){
    /* The nav collapses to brand + Log in; the footer carries the full sitemap. */
    .nav-links{gap:10px}
    header{padding:36px 0 40px}
    h1{font-size:clamp(28px,8vw,38px)}
    .sub{font-size:17px}
    .cta-row{flex-direction:column;align-items:stretch}
    .cta-row .btn{text-align:center;width:100%}
    .cards>*{flex-basis:100%;max-width:100%}
    .kpis{grid-template-columns:repeat(2,1fr)}
    .tiers,.plans,.jobs,.cmp-grid{grid-template-columns:1fr}
    table{font-size:14px}
    .mock{padding:14px}
  }
  @media(max-width:400px){
    .kpis{grid-template-columns:1fr}
  }

  /* Text-only ink. The brand mint (#c08a2e) measures 1.7:1 on white and the blue
     3.2:1 — both fail as text. Buttons keep the bright brand colours; text uses these. */

  @media (prefers-color-scheme: light){
    :root{--ink-accent:#c5311d;--ink-accent2:#a8321f;--muted:#4d566a}
  }
  .eyebrow{color:var(--ink-accent2)}

  /* Explicit theme choice beats the system preference. */
  :root[data-theme="light"]{--bg:#f5f2ea;--panel:#fffdf8;--panel2:#ece5d7;--text:#191712;
    --muted:#4d566a;--line:#ddd6c8;--shadow:0 10px 40px rgba(20,40,90,.10);
    --ink-accent:#c5311d;--ink-accent2:#a8321f}
  :root[data-theme="dark"]{--ink-accent:#d9705e;--ink-accent2:#c08a2e;--good:#5fcf9a;
    --bg:#17140f;--panel:#211d16;--panel2:#2a251c;--text:#f2ede2;
    --muted:#a89e8c;--line:#38322a;--shadow:0 10px 40px rgba(0,0,0,.45);
    --ink-accent:#c5311d;--ink-accent2:#c08a2e}

  /* Phone tap targets. A link 16px tall is a miss waiting to happen — Apple and Google both
     say ~44px. The text stays the same size; the TAPPABLE BOX grows. */

  /* Tap targets on a phone (WCAG 2.5.5). Vertical padding on a link grows the TAPPABLE BOX
     without moving anything: on an inline link it doesn't change the line height at all, and
     on a standalone one it lifts a 28px target to a thumb-sized 44px. Buttons already have
     their own padding and are excluded. */

  /* "Log in" in the nav was 33px — one pixel under the threshold, and it's the single most
     important link on the page for a returning user. */

  /* Tablets show the FULL nav (a phone collapses it to brand + Log in), so those links need
     tap targets too — and the phone-only breakpoint never reached them. Touch is touch,
     whether the screen is 390px or 834px. */

  /* ── Footer ──────────────────────────────────────────────────────────────
     It listed six links and left out Iris, Compare, Reviews and the release notes — half the
     site. A footer is where people go when the page they're on didn't answer them; it should be
     the map, not a formality. */

  /* The column headers were the same muted grey as the links beneath them, so the footer read as
     one undifferentiated list of sixteen things. A header has to look like a header. */

  /* Spans the full footer width — it was capped at 78ch and stopped short of the
     columns above it, which made it read as a stray note pinned to the side rather
     than part of the footer. */

  /* Phones. The footer had collapsed to ONE centred column: sixteen links stacked down the screen
     with 32px of air between them, so the last thing anyone saw before leaving was a minute of
     scrolling. Most people are on a phone, so this is the layout that matters most.

     Two columns, left-aligned, tight. A footer is a map you scan, not prose you read — and you
     cannot scan a centred single column, because your eye has no edge to run down. Tap targets
     stay at 44px; the spacing comes out of the padding around the text, not the text itself. */

  /* ── Language switcher ───────────────────────────────────────────────────
     Same place and weight as the theme toggle, because that's what it is: a preference you flip. */

  /* Arabic mirrors the document; these are the few things that were hard-coded to the left. */

  /* utilities — one-off inline styles moved here (lint: no-inline-styles) */
  .u-m0a{margin:0 auto}
  .u-mxa{margin-left:auto;margin-right:auto}.u-mt12{margin-top:12px}.u-mt22{margin-top:22px}
  .u-mt44{margin-top:44px}
  .u-mt26a{margin:26px auto 0}.u-mhead30{margin:0 auto 30px}.u-mhead18{margin:0 auto 18px}
  .u-max62{max-width:62ch}

  .u-grid240{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
