/* =========================================================================
   Luminous Software Studio — shared stylesheet (single file, no build step)
   -------------------------------------------------------------------------
   HOW TO EDIT
   • Colors, spacing, radius, type: change the tokens in :root below.
   • Dark theme: the matching tokens live in the dark blocks (search "DARK").
   • Everything else is plain, commented CSS. No frameworks, no @import.

   THEMING MODEL
   • Default follows the operating system (prefers-color-scheme).
   • A header button can force light/dark; that choice is stored in
     localStorage and applied as data-theme="light|dark" on <html>, which
     overrides the system preference. See assets/js/main.js.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS — LIGHT (default)
   ------------------------------------------------------------------------- */
:root {
  /* Neutrals (kept calm so the teal accent can glow) */
  --bg:          #fbfdfd;   /* page background            */
  --bg-soft:     #eef4f4;   /* subtle panels / strips     */
  --surface:     #ffffff;   /* cards, elevated surfaces   */
  --border:      #e0e9e8;   /* hairline borders           */
  --text:        #0f1e1d;   /* primary text               */
  --text-soft:   #475856;   /* secondary text             */
  --text-faint:  #7a8b89;   /* captions, meta             */

  /* Teal / aqua accent */
  --accent:      #0f766e;   /* links, button text — AA on light   */
  --accent-hover:#0b5e57;
  --accent-2:    #14b8a6;   /* aqua — gradients & glow            */
  --accent-3:    #22d3ee;   /* cyan — brightest glow stop         */
  --ring:        #0f766e;   /* focus ring                         */

  /* Primary button: a luminous teal→cyan gradient with dark text.
     Reads well on both light and dark pages. */
  --btn-bg: linear-gradient(135deg, #14b8a6 0%, #22d3ee 100%);
  --btn-fg: #052623;

  /* The soft "luminous" glow behind hero / section headers */
  --glow: radial-gradient(60% 60% at 50% 0%,
            rgba(34, 211, 238, 0.20) 0%,
            rgba(20, 184, 166, 0.14) 38%,
            rgba(251, 253, 253, 0) 74%);

  /* Typography — system stack only, no web fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans",
               sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  --text-xs:   0.8125rem;   /* 13px */
  --text-sm:   0.9375rem;   /* 15px */
  --text-base: 1.0625rem;   /* 17px */
  --text-lg:   1.25rem;     /* 20px */
  --text-xl:   1.5rem;      /* 24px */
  --text-2xl:  2rem;        /* 32px */
  --text-3xl:  2.6rem;      /* 42px */
  --text-4xl:  3.4rem;      /* 54px */
  --leading-tight: 1.15;
  --leading-normal: 1.65;

  /* Spacing scale */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;    --space-9: 6rem;

  /* Radius */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(9, 30, 28, 0.05);
  --shadow-md: 0 6px 22px rgba(9, 30, 28, 0.08);
  --shadow-lg: 0 18px 46px rgba(9, 30, 28, 0.13);
  --shadow-glow: 0 12px 38px rgba(20, 184, 166, 0.28);

  /* Layout */
  --container: 1120px;
  --container-narrow: 760px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.25s;

  color-scheme: light;
}

/* -------------------------------------------------------------------------
   2. DESIGN TOKENS — DARK
   Applied when (a) the OS is dark and the user hasn't forced light, or
   (b) the user forced dark via the toggle. Kept in one reusable block.
   ------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #08110f;
    --bg-soft:    #0d1a18;
    --surface:    #10201d;
    --border:     #21332f;
    --text:       #ecf5f3;
    --text-soft:  #aabcb9;
    --text-faint: #778986;

    --accent:     #2dd4bf;   /* brighter teal — AA on dark */
    --accent-hover:#5eead4;
    --accent-2:   #14b8a6;
    --accent-3:   #22d3ee;
    --ring:       #2dd4bf;

    --glow: radial-gradient(60% 60% at 50% 0%,
              rgba(45, 212, 191, 0.22) 0%,
              rgba(34, 211, 238, 0.12) 40%,
              rgba(8, 17, 15, 0) 74%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 22px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 12px 38px rgba(45, 212, 191, 0.30);

    color-scheme: dark;
  }
}
/* User forced dark (overrides system) — same values as above. */
:root[data-theme="dark"] {
  --bg:         #08110f;
  --bg-soft:    #0d1a18;
  --surface:    #10201d;
  --border:     #21332f;
  --text:       #ecf5f3;
  --text-soft:  #aabcb9;
  --text-faint: #778986;

  --accent:     #2dd4bf;
  --accent-hover:#5eead4;
  --accent-2:   #14b8a6;
  --accent-3:   #22d3ee;
  --ring:       #2dd4bf;

  --glow: radial-gradient(60% 60% at 50% 0%,
            rgba(45, 212, 191, 0.22) 0%,
            rgba(34, 211, 238, 0.12) 40%,
            rgba(8, 17, 15, 0) 74%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 22px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 12px 38px rgba(45, 212, 191, 0.30);

  color-scheme: dark;
}

/* -------------------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@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;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}
p { text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }

/* Accessible keyboard focus, everywhere */
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--accent); color: #fff;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   4. LAYOUT HELPERS
   ------------------------------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }
.stack > * + * { margin-top: var(--space-4); }

.eyebrow {
  display: inline-block; font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--space-3);
}
.section-title { font-size: var(--text-2xl); }
.section-lead { font-size: var(--text-lg); color: var(--text-soft); max-width: 60ch; }

/* -------------------------------------------------------------------------
   5. HEADER / NAV
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-4);
  height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: var(--space-3); flex: none; }
.brand__logo { height: 34px; width: auto; }
/* Text wordmark is the fallback if the logo image fails to load. */
.brand__text {
  display: none; font-weight: 700; font-size: var(--text-lg);
  letter-spacing: -0.02em; color: var(--text);
}
.brand__text span { color: var(--accent); }
.brand--noimg .brand__logo { display: none; }
.brand--noimg .brand__text { display: inline-flex; gap: 0.35ch; }

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: var(--space-1);
}
.nav a {
  color: var(--text-soft); font-size: var(--text-sm); font-weight: 500;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }

/* Theme toggle + hamburger share a round, quiet button style */
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center;
  justify-content: center; background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--bg-soft); border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }

.nav-toggle { display: none; }  /* shown on mobile */

/* Theme toggle: show moon in light mode (click → dark), sun in dark mode. */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun  { display: block; }
}
:root[data-theme="dark"]  .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"]  .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin-left: 0; padding: var(--space-3);
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--space-3) var(--space-4); font-size: var(--text-base); }
}

/* -------------------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: inherit; font-weight: 600; line-height: 1;
  padding: 0.85em 1.5em; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-glow); }
.btn--primary:hover { color: var(--btn-fg); }
.btn--ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border); box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--text); border-color: var(--accent); }

/* "Get it on Google Play" placeholder badge (self-contained, no image needed) */
.play-badge {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: 0.7em 1.25em; border-radius: var(--radius-md);
  background: #0b0d0c; color: #fff; border: 1px solid #2a2f2d; box-shadow: var(--shadow-md);
}
.play-badge:hover { color: #fff; transform: translateY(-2px); }
.play-badge svg { width: 26px; height: 26px; flex: none; }
.play-badge__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.play-badge__text small { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.82; }
.play-badge__text strong { font-size: var(--text-lg); font-weight: 600; }

/* -------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
.hero { position: relative; padding-block: var(--space-9) var(--space-8); text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 640px;
  background: var(--glow); pointer-events: none; z-index: -1;
}
.hero__title { font-size: var(--text-4xl); max-width: 18ch; margin-inline: auto; }
.hero__title .accent {
  background: linear-gradient(120deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: var(--text-lg); color: var(--text-soft); max-width: 58ch; margin: var(--space-5) auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-6); }

/* -------------------------------------------------------------------------
   8. VALUES STRIP ("What we believe") — inline-SVG icons, no image files
   ------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.value {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm);
}
.value__icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius-md); background: var(--bg-soft); color: var(--accent);
  margin-bottom: var(--space-3);
}
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.value p { font-size: var(--text-sm); color: var(--text-soft); }

/* -------------------------------------------------------------------------
   9. PRODUCT CARDS (home grid)
   ------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
/* Use on the grid when there are only two apps, to keep it balanced/centered. */
.product-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-inline: auto; }
.product-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.product-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.product-card__body h3 a { color: var(--text); }
.product-card__body h3 a:hover { color: var(--accent); }
.product-card__body p { color: var(--text-soft); font-size: var(--text-sm); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* -------------------------------------------------------------------------
   10. PILLS / TAGS
   ------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.3em 0.75em; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-soft);
}
.pill--accent { color: #0b5e57; background: #cffafe; border-color: #a5f3f0; }
.pill--beta   { color: #7a5b00; background: #fff4d6; border-color: #ffe6a1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pill--accent { color: #7df3e6; background: #0c2c2a; border-color: #17514b; }
  :root:not([data-theme="light"]) .pill--beta   { color: #ffd873; background: #33290f; border-color: #574614; }
}
:root[data-theme="dark"] .pill--accent { color: #7df3e6; background: #0c2c2a; border-color: #17514b; }
:root[data-theme="dark"] .pill--beta   { color: #ffd873; background: #33290f; border-color: #574614; }

/* -------------------------------------------------------------------------
   11. IMAGE PLACEHOLDERS
   Real assets go in /assets/img/. These boxes hold the correct aspect ratio
   and look intentional until you drop the real screenshots in. Each has a
   matching HTML comment with the exact <img> to paste in.
   ------------------------------------------------------------------------- */
.ph {
  display: grid; place-items: center; width: 100%;
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent-2) 14%, var(--surface)),
      color-mix(in srgb, var(--accent-3) 14%, var(--surface)));
  color: var(--text-faint); font-size: var(--text-xs); letter-spacing: 0.04em;
  text-transform: uppercase; text-align: center; padding: var(--space-4);
  border-radius: inherit;
}
.ph span {
  border: 1px dashed color-mix(in srgb, var(--accent-2) 50%, transparent);
  border-radius: var(--radius-md); padding: var(--space-2) var(--space-3);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.ph--thumb  { aspect-ratio: 16 / 10; }
.ph--phone  { aspect-ratio: 1080 / 2340; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide   { aspect-ratio: 16 / 9; }

/* -------------------------------------------------------------------------
   12. PRODUCT DETAIL PAGE
   ------------------------------------------------------------------------- */
.product-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8);
  align-items: center; padding-block: var(--space-8);
}
.product-hero__art {
  max-width: 300px; margin-inline: auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.product-hero h1 { font-size: var(--text-3xl); }
.product-hero__lead { font-size: var(--text-lg); color: var(--text-soft); margin-top: var(--space-4); }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); align-items: center; }

.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.feature-list li {
  display: flex; gap: var(--space-3); padding: var(--space-4);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.feature-list .ficon {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: var(--radius-pill); background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent);
}
.feature-list .ficon svg { width: 17px; height: 17px; }
.feature-list h3 { font-size: var(--text-base); margin-bottom: 2px; }
.feature-list p { font-size: var(--text-sm); color: var(--text-soft); }

/* Grouped feature blocks (Society Manage) */
.feature-group { margin-top: var(--space-6); }
.feature-group > h3 {
  font-size: var(--text-lg); display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.feature-group > h3 .ficon {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-md);
  background: var(--bg-soft); color: var(--accent);
}
.feature-group > h3 .ficon svg { width: 20px; height: 20px; }
.feature-group ul { margin: 0; padding-left: 1.2em; color: var(--text-soft); }
.feature-group li { margin-top: var(--space-2); }
.feature-group li strong { color: var(--text); font-weight: 600; }

/* Screenshot gallery (portrait phone shots) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.gallery figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.gallery figcaption { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); color: var(--text-faint); }

/* Data / permissions callout (OAuth-facing) */
.data-use {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm);
}
.data-use + .data-use { margin-top: var(--space-5); }
.data-use h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); display: flex; align-items: center; gap: var(--space-2); }
.data-use h3 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.data-use dl { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.data-use dt { font-weight: 600; margin-bottom: 2px; }
.data-use dd { color: var(--text-soft); font-size: var(--text-sm); margin: 0; }

/* Small "note" band for placeholder / fill-in scaffolds */
.note {
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
  background: var(--bg-soft); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5); font-size: var(--text-sm); color: var(--text-soft);
}
.note strong { color: var(--text); }

/* -------------------------------------------------------------------------
   13. PROSE / LEGAL (privacy, about) + in-page table of contents
   ------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-7); scroll-margin-top: 84px; }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-6); scroll-margin-top: 84px; }
.prose ul, .prose ol { color: var(--text-soft); }
.prose li + li { margin-top: var(--space-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-soft);
  padding: 0.15em 0.4em; border-radius: var(--radius-sm);
}

.toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm);
}
.toc h2 { font-size: var(--text-base); margin: 0 0 var(--space-3); text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.toc ol { margin: 0; }
.toc a { text-decoration: none; }

.updated {
  display: inline-block; font-size: var(--text-sm); color: var(--text-faint);
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 0.35em 0.9em;
}

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); align-items: center; }

/* CTA band */
.cta {
  text-align: center; background: var(--glow), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6); box-shadow: var(--shadow-md);
}
.cta h2 { font-size: var(--text-2xl); }
.cta p { color: var(--text-soft); max-width: 50ch; margin: var(--space-3) auto var(--space-5); }

/* -------------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  padding-block: var(--space-7); margin-top: var(--space-9);
}
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-6); }
.site-footer h4 {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-faint); margin-bottom: var(--space-3);
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer a { color: var(--text-soft); font-size: var(--text-sm); }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand p { color: var(--text-soft); font-size: var(--text-sm); max-width: 36ch; margin-top: var(--space-3); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between;
  align-items: center; margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid var(--border); font-size: var(--text-xs); color: var(--text-faint);
}

/* -------------------------------------------------------------------------
   15. 404
   ------------------------------------------------------------------------- */
.error-page { text-align: center; padding-block: var(--space-9); }
.error-page__code {
  font-size: clamp(5rem, 18vw, 9rem); line-height: 1;
  background: linear-gradient(120deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------------------------------------------------------------------------
   16. REVEAL ON SCROLL (progressive enhancement; JS adds .is-visible)
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }        /* never hide if JS is off */
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* -------------------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .values { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-hero, .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .product-hero__art { grid-row: 1; max-width: 240px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --text-4xl: 2.5rem; --text-3xl: 2rem; --text-2xl: 1.6rem; }
  .values, .product-grid, .feature-list { grid-template-columns: 1fr; }
  .section { padding-block: var(--space-8); }
  .site-footer__grid { grid-template-columns: 1fr; }
}
