/* =============================================================================
   glarno - Marketing Site Design System
   Hand-written, framework-free, token-driven CSS.
   -----------------------------------------------------------------------------
   PALETTE (warm, flat, friendly, educational. Cream + ink + pine green + coral.)
   ---------------------------------------------------------------------------
   - Cream       #FBF9F4  warm off-white background (the "paper" of the page).
                          Sections alternate cream and pure white for rhythm.
   - Ink         #1A1B18  near-black warm ink for headlines and body text.
   - Pino        #0F5C4E  pine green. The brand / secondary accent: the logo,
                          links, small accents, trust marks. Calm and trusted.
   - Coral       #EC5E2E  warm punchy orange. The PRIMARY accent for CTAs and
                          key highlights. Drives immediate engagement.
   - Neutral ramp: 9 warm-grey steps (--grey-50 ... --grey-900) for hairlines,
     muted text, surfaces, borders. Greys carry a hint of warmth to sit with
     the cream background rather than fighting it.
   - Semantic: success (Pino family), warning (coral family), danger, info.

   FLAT design: no gradients, minimal shadows. Depth comes from hairline borders
   and generous whitespace, not glow. At most one soft shadow on the floating
   product mockup.

   ---------------------------------------------------------------------------
   FONTS
   ---------------------------------------------------------------------------
   Display / headings : "Schibsted Grotesk" - a clean, friendly grotesk at bold
                        weights. Big, simple, confident headlines.
   Text / UI / body   : "Inter"     - a clean, neutral, highly legible grotesk.
   Mono (mockup data) : "JetBrains Mono" via system-mono fallback.

   These are loaded in each page's <head> (see website/_partials.html) with:

     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link rel="stylesheet"
       href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400..900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap">

   If the network font fails, the friendly system grotesk stack below takes over
   with no layout shift.
   -----------------------------------------------------------------------------
   ACCESSIBILITY: every token pair documented above meets WCAG AA. Visible
   :focus-visible rings everywhere. Motion respects prefers-reduced-motion.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. DESIGN TOKENS
----------------------------------------------------------------------------- */
:root {
  /* --- Core palette --- */
  --paper:           #fbf9f4; /* warm cream background */
  --paper-deep:      #f4f1e8; /* slightly recessed cream for alt sections */
  --ink:             #1a1b18;
  --ink-soft:        #2c2e29;

  /* Pino - pine green (brand / secondary accent: logo, links, trust) */
  --pino-50:   #e9f3ef;
  --pino-100:  #cfe5dd;
  --pino-200:  #a3cdc0;
  --pino-300:  #6fab9a;
  --pino-400:  #3d8675;
  --pino-500:  #166a58;
  --pino-600:  #0f5c4e; /* brand accent (logo green) */
  --pino-700:  #0c4a40;
  --pino-800:  #0a3a32;
  --pino-900:  #072a25;

  /* Coral - warm punchy orange (PRIMARY accent: CTAs, key highlights) */
  --coral-50:  #fdeee7;
  --coral-100: #fbd9cb;
  --coral-200: #f6b49a;
  --coral-300: #f08c64;
  --coral-400: #ef7045;
  --coral-500: #ec5e2e; /* primary accent */
  --coral-600: #d44d20;
  --coral-700: #b03e19;
  --coral-800: #8a3014;

  /* Terracotta aliases kept for backward compatibility (now coral family) */
  --terra-50:  var(--coral-50);
  --terra-100: var(--coral-100);
  --terra-300: var(--coral-300);
  --terra-500: var(--coral-500);
  --terra-600: var(--coral-600);
  --terra-700: var(--coral-700);

  /* Warm neutral ramp (9 steps) */
  --grey-50:  #f5f2ea;
  --grey-100: #ebe6db;
  --grey-200: #ddd6c8;
  --grey-300: #c2bbab;
  --grey-400: #9d9686;
  --grey-500: #797366;
  --grey-600: #5d584d;
  --grey-700: #45413a;
  --grey-800: #2e2b26;
  --grey-900: #1c1a17;

  /* --- Semantic colors (AA against their light tint background) --- */
  --success:        #166a58;
  --success-bg:     #e3f0ea;
  --success-text:   #0c4a40;
  --warning:        #b03e19;
  --warning-bg:     #fbe4d9;
  --warning-text:   #8a3014;
  --danger:         #a8351f;
  --danger-bg:      #f6e0dc;
  --danger-text:    #7a2316;
  --info:           #2c5d6e;
  --info-bg:        #e0edf1;
  --info-text:      #1d4150;

  /* --- Surfaces --- */
  --surface-page:    var(--paper);
  --surface-alt:     #ffffff;       /* pure-white alt sections for rhythm */
  --surface-card:    #ffffff;
  --surface-inverse: var(--pino-800);
  --surface-sunken:  var(--paper-deep);

  /* --- Text --- */
  --text-primary:    var(--ink);
  --text-secondary:  var(--grey-600);
  /* Darkened from --grey-500 (#797366, 4.29:1) to clear WCAG AA (4.5:1) for
     small muted text on the warm paper background. ~4.9:1 on paper. */
  --text-muted:      #6f6a5d;
  --text-on-accent:  #f7f4ee;
  --text-on-dark:    #ece7db;
  --text-link:       var(--pino-700);

  /* --- Borders / hairlines --- */
  --border:          var(--grey-200);
  --border-strong:   var(--grey-300);
  --border-subtle:   rgba(28, 26, 23, 0.07);
  --ring:            var(--coral-500);

  /* --- Type families --- */
  --font-display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-text:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* --- Type scale (fluid where it matters; major-third-ish steps) --- */
  --step-overline: 0.78rem;                                   /* 12.5px */
  --step-sm:       0.875rem;                                  /* 14px */
  --step-base:     1.0625rem;                                 /* 17px body */
  --step-md:       1.1875rem;                                 /* 19px lead */
  --step-lg:       clamp(1.35rem, 1.1rem + 0.9vw, 1.6rem);    /* card titles */
  --step-xl:       clamp(1.7rem, 1.3rem + 1.6vw, 2.25rem);    /* h3 */
  --step-2xl:      clamp(2.1rem, 1.5rem + 2.6vw, 3rem);       /* h2 */
  --step-3xl:      clamp(2.6rem, 1.7rem + 4.4vw, 4.5rem);     /* h1 hero */
  --step-display:  clamp(3rem, 1.8rem + 6vw, 5.75rem);        /* big editorial */

  /* --- Weights --- */
  --w-regular:  400;
  --w-medium:   500;
  --w-semibold: 600;
  --w-bold:     700;

  /* --- Line heights --- */
  --lh-tight:   1.08;
  --lh-snug:    1.22;
  --lh-normal:  1.55;
  --lh-relaxed: 1.72;

  /* --- Letter spacing --- */
  --ls-tight:   -0.02em;
  --ls-snug:    -0.01em;
  --ls-wide:    0.04em;
  --ls-overline: 0.14em;

  /* --- Spacing scale (8px base) --- */
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 6.5rem;   /* 104 */
  --space-12: 8rem;     /* 128 */

  /* --- Section rhythm --- */
  --section-y:       clamp(4rem, 2.5rem + 7vw, 8rem);
  --section-y-tight: clamp(2.75rem, 2rem + 4vw, 5rem);

  /* --- Radii (soft) --- */
  --radius-xs:  0.375rem;
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1.125rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-pill: 999px;

  /* --- Shadows (FLAT design: mostly none; one soft lift for the mockup) --- */
  --shadow-xs:   none;
  --shadow-sm:   none;
  --shadow-md:   none;
  --shadow-lg:   0 12px 32px rgba(28, 26, 23, 0.08);
  --shadow-xl:   0 18px 48px rgba(28, 26, 23, 0.10);
  --shadow-ring: 0 0 0 1px var(--border);

  /* --- Container widths --- */
  --container:       72rem;   /* 1152px standard */
  --container-wide:  80rem;   /* 1280px wide */
  --container-narrow: 46rem;  /* 736px reading width */
  --gutter:          clamp(1.25rem, 0.5rem + 3vw, 2.5rem);

  /* --- Motion --- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   140ms;
  --dur-base:   240ms;
  --dur-slow:   420ms;

  /* --- Header --- */
  --header-h:        4.75rem;
  --header-h-shrunk: 3.85rem;

  --z-header:  100;
  --z-overlay: 200;
}

/* -----------------------------------------------------------------------------
   2. RESET / BASE
----------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-text);
  font-size: var(--step-base);
  line-height: var(--lh-normal);
  font-weight: var(--w-regular);
  color: var(--text-primary);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  min-height: 100vh;
  overflow-x: hidden;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

svg { fill: currentColor; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button { background: none; border: none; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}
a:hover { color: var(--pino-500); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-7) 0;
}

::selection {
  background: var(--coral-200);
  color: var(--coral-800);
}

/* Visible focus ring across the board */
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: calc(var(--z-header) + 10);
  transition: transform var(--dur-base) var(--ease-out);
  font-weight: var(--w-medium);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--paper); }

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHY
----------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  color: var(--text-primary);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-3xl);
  font-weight: 800;
}

h2 {
  font-size: var(--step-2xl);
  font-weight: 800;
  line-height: var(--lh-snug);
}

h3 {
  font-size: var(--step-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
}

h4 {
  font-size: var(--step-lg);
  font-weight: var(--w-bold);
  letter-spacing: var(--ls-snug);
}

p { line-height: var(--lh-relaxed); }
p + p { margin-top: var(--space-4); }

strong, b { font-weight: var(--w-semibold); color: var(--text-primary); }

small { font-size: var(--step-sm); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.display {
  font-family: var(--font-display);
  font-size: var(--step-display);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.lead {
  font-size: var(--step-md);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  font-weight: var(--w-regular);
  max-width: 44ch;
  text-wrap: pretty;
}

.text-muted     { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent    { color: var(--pino-700); }

/* Eyebrow / overline label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-text);
  font-size: var(--step-overline);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--terra-600);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--center::before { display: none; }
.eyebrow--pino { color: var(--pino-600); }

/* -----------------------------------------------------------------------------
   4. LAYOUT UTILITIES
----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight { padding-block: var(--section-y-tight); }
.section--alt    { background: var(--surface-alt); }
.section--sunken { background: var(--surface-sunken); }
.section--dark {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark .lead,
.section--dark .text-secondary { color: var(--pino-100); }

/* Hairline divider between sections (optional) */
.section--bordered { border-top: 1px solid var(--border); }

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-8);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head .lead { margin-top: var(--space-4); }
.section-head h2 { margin-top: var(--space-3); }

/* Grid helpers */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Editorial asymmetric split (text + visual) */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split            { grid-template-columns: 1fr 1fr; }
  .split--text-wide { grid-template-columns: 1.15fr 0.85fr; }
  .split--visual-wide { grid-template-columns: 0.85fr 1.15fr; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

.flow > * + * { margin-top: var(--space-5); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.center { text-align: center; }

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* -----------------------------------------------------------------------------
   5. BUTTONS
----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-text);
  font-size: var(--step-base);
  font-weight: var(--w-semibold);
  line-height: 1;
  letter-spacing: var(--ls-snug);
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn .icon { width: 1.1em; height: 1.1em; }

/* PRIMARY - solid coral, friendly and punchy */
.btn-primary {
  background: var(--coral-500);
  color: #fff;
  border-color: var(--coral-500);
}
.btn-primary:hover {
  background: var(--coral-600);
  color: #fff;
  border-color: var(--coral-600);
  transform: translateY(-1px);
}
.btn-primary:active { background: var(--coral-700); transform: translateY(0); }

/* SECONDARY - outlined green */
.btn-secondary {
  background: transparent;
  color: var(--pino-700);
  border-color: var(--pino-600);
}
.btn-secondary:hover {
  background: var(--pino-600);
  color: #fff;
  border-color: var(--pino-600);
  transform: translateY(-1px);
}

/* TERTIARY - ghost */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 0.95rem;
}
.btn-ghost:hover { color: var(--coral-600); background: var(--coral-50); }

.btn--lg { font-size: var(--step-md); padding: 1.05rem 1.8rem; }
.btn--sm { font-size: var(--step-sm); padding: 0.6rem 1rem; }
.btn--block { display: flex; width: 100%; }

/* Buttons on dark surfaces */
.section--dark .btn-secondary,
.btn-on-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.32);
}
.section--dark .btn-secondary:hover,
.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--w-semibold);
  color: var(--pino-700);
}
.link-arrow .icon { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* -----------------------------------------------------------------------------
   6. SITE HEADER + NAV
----------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-soft),
              border-color var(--dur-base) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft);
}
/* Condensed state - toggled via JS adding .is-scrolled */
.site-header.is-scrolled {
  height: var(--header-h-shrunk);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 2rem;
  height: 2rem;
  color: var(--pino-600);
  flex: none;
}
.brand__name { line-height: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-inline-start: var(--space-4);
}
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: var(--step-sm);
  font-weight: var(--w-medium);
  color: var(--text-secondary);
  letter-spacing: 0;
}
.nav__link:hover { color: var(--ink); background: rgba(28, 26, 23, 0.05); }
.nav__link[aria-current="page"] { color: var(--pino-700); font-weight: var(--w-semibold); }

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 2px;
  background: var(--surface-card);
}
.lang-switch__btn {
  font-size: var(--step-sm);
  font-weight: var(--w-semibold);
  color: var(--text-muted);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  line-height: 1;
  transition: color var(--dur-fast) var(--ease-soft),
              background-color var(--dur-fast) var(--ease-soft);
}
.lang-switch__btn[aria-pressed="true"],
.lang-switch__btn[aria-current="page"] {
  background: var(--pino-600);
  color: var(--text-on-accent);
}
.lang-switch__btn:not([aria-pressed="true"]):not([aria-current="page"]):hover { color: var(--ink); }

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.nav-toggle:hover { background: rgba(28, 26, 23, 0.06); }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }

@media (max-width: 860px) {
  .nav,
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: var(--space-2); }

  /* Mobile nav panel - toggled with [data-nav-open] on <body> */
  .nav--mobile {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--space-5) var(--gutter) var(--space-8);
    background: var(--paper);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out),
                visibility var(--dur-base);
    overflow-y: auto;
    z-index: var(--z-header);
  }
  body[data-nav-open] .nav--mobile {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav--mobile .nav__link {
    font-size: var(--step-md);
    padding: var(--space-4) var(--space-2);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav--mobile .btn { margin-top: var(--space-5); }
}

/* -----------------------------------------------------------------------------
   7. HERO
----------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem) var(--section-y);
  overflow: hidden;
}
/* Calm paper texture - soft warm radial, NO purple-blue wash */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(15, 92, 78, 0.08), transparent 70%),
    radial-gradient(40% 40% at 8% 92%, rgba(180, 83, 42, 0.05), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { margin-top: var(--space-4); }
.hero .lead {
  margin-top: var(--space-5);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  max-width: 38ch;
}
.hero__actions {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__note {
  margin-top: var(--space-4);
  font-size: var(--step-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__note .icon { width: 1.05em; height: 1.05em; color: var(--pino-600); }

/* -----------------------------------------------------------------------------
   8. FEATURE CARDS
----------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-soft);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pino-200);
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--pino-50);
  color: var(--pino-600);
  margin-bottom: var(--space-4);
}
.feature-card__icon .icon { width: 1.5rem; height: 1.5rem; }
.feature-card h4 { margin-bottom: var(--space-2); }
.feature-card p { color: var(--text-secondary); font-size: var(--step-base); }

/* Alternating accent on every 3rd card */
.feature-card--terra .feature-card__icon {
  background: var(--terra-50);
  color: var(--terra-600);
}

/* -----------------------------------------------------------------------------
   9. STEP LIST (how it works - the kernel cycle)
----------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-6);
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps--row { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding-top: var(--space-5);
  border-top: 2px solid var(--border-strong);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--step-md);
  font-weight: var(--w-semibold);
  color: var(--pino-600);
  display: block;
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}
.step h4 { margin-bottom: var(--space-2); }
.step p { color: var(--text-secondary); font-size: var(--step-base); }

/* Vertical numbered flow variant */
.step-flow { display: grid; gap: var(--space-6); }
.step-flow .step-flow__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
}
.step-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background: var(--pino-600);
  color: var(--text-on-accent);
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: var(--step-md);
  flex: none;
}

/* -----------------------------------------------------------------------------
   10. PRICING TABLE
----------------------------------------------------------------------------- */
.pricing {
  display: grid;
  gap: var(--space-5);
  align-items: stretch;
}
@media (min-width: 880px) {
  .pricing { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.price-card:hover { box-shadow: var(--shadow-sm); }

/* Highlighted "most popular" tier */
.price-card--featured {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
  border-color: var(--pino-700);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 880px) {
  .price-card--featured { transform: scale(1.035); }
  .price-card--featured:hover { transform: scale(1.035) translateY(-3px); }
}
.price-card--featured h3,
.price-card--featured .price__amount { color: #fff; }
.price-card--featured .price__period,
.price-card--featured .price__desc,
.price-card--featured .price-feature { color: var(--pino-100); }

.price-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terra-600);
  color: #fff;
  font-size: var(--step-overline);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: var(--step-lg);
  font-weight: var(--w-semibold);
  margin-bottom: var(--space-1);
}
.price__desc {
  font-size: var(--step-sm);
  color: var(--text-secondary);
  min-height: 2.6em;
}
.price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-block: var(--space-5) var(--space-1);
}
.price__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.1rem);
  font-weight: var(--w-semibold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price__period { font-size: var(--step-sm); color: var(--text-muted); }
.price__sub { font-size: var(--step-sm); color: var(--text-muted); }

.price-card .btn { margin-top: var(--space-6); }

.price-features {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
}
.price-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  font-size: var(--step-sm);
  color: var(--text-secondary);
  align-items: start;
  line-height: 1.45;
}
.price-feature .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--pino-500);
  flex: none;
  margin-top: 0.1rem;
}
.price-card--featured .price-feature .icon { color: var(--pino-200); }

/* -----------------------------------------------------------------------------
   11. FAQ ACCORDION
----------------------------------------------------------------------------- */
.faq {
  max-width: var(--container-narrow);
  margin-inline: auto;
  border-top: 1px solid var(--border);
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-lg);
  font-weight: var(--w-medium);
  color: var(--text-primary);
  letter-spacing: var(--ls-snug);
}
.faq__q:hover { color: var(--pino-700); }
.faq__icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--pino-600);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] .faq__icon,
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }

.faq__a {
  overflow: hidden;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}
.faq__a-inner { padding-bottom: var(--space-5); max-width: 60ch; }

/* When using native <details>, animate via grid-rows */
.faq__item[open] .faq__a { animation: faqReveal var(--dur-base) var(--ease-out); }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------------------
   12. TRUST BADGES
----------------------------------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5) var(--space-7);
}
.trust__label {
  width: 100%;
  text-align: center;
  font-size: var(--step-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  letter-spacing: var(--ls-snug);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step-sm);
  font-weight: var(--w-medium);
  color: var(--text-secondary);
}
.trust-badge .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--pino-600);
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: var(--w-semibold);
  color: var(--grey-400);
  letter-spacing: -0.01em;
  transition: color var(--dur-base) var(--ease-soft);
}
.trust-logo:hover { color: var(--grey-600); }

/* -----------------------------------------------------------------------------
   13. TESTIMONIAL
----------------------------------------------------------------------------- */
.testimonial {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1rem + 3vw, 3rem);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.5;
  color: var(--pino-200);
  display: block;
  height: 2rem;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--step-xl);
  line-height: 1.4;
  letter-spacing: var(--ls-snug);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  text-wrap: pretty;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  background: var(--pino-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: var(--w-semibold);
  font-family: var(--font-display);
  flex: none;
}
.testimonial__name { font-weight: var(--w-semibold); color: var(--text-primary); }
.testimonial__role { font-size: var(--step-sm); color: var(--text-muted); }

/* Grid of testimonial placeholders */
.testimonial-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.testimonial-grid .testimonial__quote { font-size: var(--step-lg); }

/* -----------------------------------------------------------------------------
   14. CTA BAND
----------------------------------------------------------------------------- */
.cta-band {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) clamp(1.5rem, 1rem + 4vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 80% 0%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(40% 50% at 12% 100%, rgba(180, 83, 42, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band .lead {
  color: var(--pino-100);
  margin: var(--space-4) auto 0;
  max-width: 46ch;
}
.cta-band__actions {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.cta-band .btn-primary {
  background: var(--paper);
  color: var(--pino-800);
}
.cta-band .btn-primary:hover { background: #fff; color: var(--pino-900); }

/* -----------------------------------------------------------------------------
   15. FOOTER
----------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: var(--space-10) var(--space-7);
}
.site-footer a { color: var(--grey-300); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand__mark { color: var(--pino-300); }
.footer-brand p {
  margin-top: var(--space-4);
  color: var(--grey-400);
  font-size: var(--step-sm);
  max-width: 30ch;
}
.footer-col h5 {
  font-family: var(--font-text);
  font-size: var(--step-overline);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: grid; gap: var(--space-3); }
.footer-col a { font-size: var(--step-sm); }

.footer-bottom {
  margin-top: var(--space-9);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--step-sm);
  color: var(--grey-400);
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--grey-300);
}
.footer-social a:hover { border-color: var(--pino-300); color: #fff; }
.footer-social .icon { width: 1.1rem; height: 1.1rem; }

/* -----------------------------------------------------------------------------
   16. PRODUCT MOCKUPS - shared chrome
----------------------------------------------------------------------------- */
.mockup-frame { position: relative; }

/* --- Phone frame (Oggi Action Inbox) --- */
.phone {
  --phone-w: 19.5rem;
  width: var(--phone-w);
  max-width: 100%;
  margin-inline: auto;
  background: #14110d;
  border-radius: 2.6rem;
  padding: 0.55rem;
  box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}
.phone::before { /* side button */
  content: "";
  position: absolute;
  right: -0.18rem;
  top: 6.5rem;
  width: 0.18rem;
  height: 3.2rem;
  background: #2a2620;
  border-radius: 0 4px 4px 0;
}
.phone__screen {
  background: var(--paper);
  border-radius: 2.1rem;
  overflow: hidden;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.5rem;
  height: 1.15rem;
  background: #14110d;
  border-radius: var(--radius-pill);
  z-index: 4;
}
.phone__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem 0.35rem;
  font-size: 0.72rem;
  font-weight: var(--w-semibold);
  color: var(--ink);
}
.phone__statusbar .icon { width: 0.95rem; height: 0.95rem; }
.phone__statusbar-icons { display: flex; gap: 0.3rem; align-items: center; }

.oggi__header {
  padding: 0.5rem 1.1rem 0.85rem;
}
.oggi__date {
  font-size: 0.7rem;
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--terra-600);
}
.oggi__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 0.1rem;
}
.oggi__summary {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  line-height: 1.4;
}
.oggi__summary b { color: var(--pino-700); }

.oggi__feed {
  padding: 0 0.85rem 1.5rem;
  display: grid;
  gap: 0.7rem;
  max-height: 27rem;
  overflow: hidden;
}

/* Mini action card inside the phone */
.mini-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 0.5rem;
}
.mini-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}
.mini-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.mini-card__icon .icon { width: 1.05rem; height: 1.05rem; }
.mini-card__icon--approval { background: var(--pino-50); color: var(--pino-600); }
.mini-card__icon--money    { background: var(--terra-50); color: var(--terra-600); }
.mini-card__icon--doc      { background: var(--info-bg); color: var(--info-text); }

.mini-card__title {
  font-size: 0.82rem;
  font-weight: var(--w-semibold);
  line-height: 1.25;
  color: var(--text-primary);
}
.mini-card__meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  letter-spacing: 0.01em;
}
.mini-card__actions { display: flex; gap: 0.4rem; }
.mini-card__btn {
  flex: 1;
  font-size: 0.72rem;
  font-weight: var(--w-semibold);
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  background: var(--surface-card);
}
.mini-card__btn--primary {
  background: var(--pino-600);
  color: var(--text-on-accent);
  border-color: var(--pino-600);
}

.oggi__tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.6rem 0.5rem 1rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--paper) 90%, #fff);
}
.oggi__tab {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.oggi__tab .icon { width: 1.25rem; height: 1.25rem; }
.oggi__tab--active { color: var(--pino-700); font-weight: var(--w-semibold); }

/* Confidence chip (shared) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: var(--w-semibold);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.chip--confidence { background: var(--success-bg); color: var(--success-text); }
.chip--risk-low   { background: var(--grey-100); color: var(--grey-700); }
.chip--risk-med   { background: var(--warning-bg); color: var(--warning-text); }
.chip--approval   { background: var(--pino-50); color: var(--pino-700); }

/* -----------------------------------------------------------------------------
   17. APPROVAL CARD MOCKUP (desktop / large detail card)
----------------------------------------------------------------------------- */
.approval-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 30rem;
  width: 100%;
  font-size: var(--step-sm);
}
.approval-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  padding: var(--space-5);
  align-items: start;
  border-bottom: 1px solid var(--border);
}
.approval-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--pino-50);
  color: var(--pino-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.approval-card__icon .icon { width: 1.4rem; height: 1.4rem; }
.approval-card__title {
  font-family: var(--font-display);
  font-size: var(--step-lg);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: var(--ls-snug);
}
.approval-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-2);
}

.approval-card__body { padding: var(--space-5); display: grid; gap: var(--space-5); }
.approval-block__label {
  font-size: var(--step-overline);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  display: block;
}
.approval-block p { color: var(--text-secondary); line-height: var(--lh-normal); }

.approval-context { display: grid; gap: var(--space-2); }
.approval-context li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  align-items: start;
  color: var(--text-secondary);
}
.approval-context .icon { width: 1rem; height: 1rem; color: var(--pino-500); margin-top: 0.2rem; flex: none; }

.approval-actions-list { display: grid; gap: var(--space-3); counter-reset: aaction; }
.approval-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-3);
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.approval-action__num {
  counter-increment: aaction;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--pino-600);
  color: var(--text-on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: var(--w-semibold);
  flex: none;
}
.approval-action__num::before { content: counter(aaction); }
.approval-action__text strong { display: block; color: var(--text-primary); }
.approval-action__preview {
  font-size: var(--step-sm);
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.15rem;
}

.confidence-row {
  display: grid;
  gap: var(--space-2);
}
.confidence-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step-sm);
}
.confidence-row__top b { color: var(--pino-700); }
.confidence-bar {
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--grey-100);
  overflow: hidden;
}
.confidence-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--pino-600);
}

.approval-card__foot {
  padding: var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--surface-sunken);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.approval-card__foot .btn { flex: 1 1 auto; }
.approval-card__foot .btn--sm { min-width: 6rem; }

/* -----------------------------------------------------------------------------
   18. REVEAL-ON-SCROLL
----------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal][data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 320ms; }

/* -----------------------------------------------------------------------------
   19. MISC HELPERS
----------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
.mt-0 { margin-top: 0; }
.badge-dot {
  display: inline-block;
  width: 0.45rem; height: 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--pino-500);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step-sm);
  font-weight: var(--w-medium);
  color: var(--pino-700);
  background: var(--pino-50);
  border: 1px solid var(--pino-100);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}

/* -----------------------------------------------------------------------------
   20. REDUCED MOTION
----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
