/* ============================================================================
   Amazia Studio — theamazia.com
   Bold-modernist design system. One stylesheet, no CDNs, no external fonts.
   Self-hosted OFL type, CSP-safe, works offline. Light-first, full dark mode.
   Type: Bricolage Grotesque (display) + Hanken Grotesk (text).
   Palette: electric indigo + hot coral + rich ink on a warm ivory canvas.
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Hanken";
  src: url("/assets/fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens: light (primary designed look) ---------- */
:root {
  --canvas: #f7f4ee;
  --canvas-2: #f1ece1;
  --surface: #ffffff;
  --surface-2: #f4efe6;
  --ink: #17171d;
  --ink-2: #57545e;
  --line: #e6ded0;
  --line-strong: #d8cfbd;

  --primary: #4b2ee6;         /* electric indigo */
  --primary-ink: #4426d6;     /* AA text/link on light */
  --primary-soft: #ece8ff;
  --coral: #ff5436;           /* hot coral */
  --coral-ink: #dd3f1f;       /* coral for large text only */
  --coral-soft: #ffe7df;
  --amber: #ffb020;           /* small tertiary pop */

  --on-primary: #ffffff;      /* text on indigo blocks */
  --on-coral: #1c0d06;        /* text on coral blocks */

  --mark-1: #4b2ee6;
  --mark-2: #ff5436;

  --ring: #4b2ee6;
  --shadow-1: 0 1px 2px rgba(28,20,60,.05), 0 12px 28px rgba(28,20,60,.08);
  --shadow-2: 0 2px 6px rgba(28,20,60,.06), 0 26px 60px rgba(28,20,60,.14);
  --grain-opacity: .5;
  --grain-blend: soft-light;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --maxw: 1180px;

  --f-display: "Bricolage", "Hanken", system-ui, sans-serif;
  --f-text: "Hanken", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0d0d11;
    --canvas-2: #121218;
    --surface: #16161d;
    --surface-2: #1d1d26;
    --ink: #f2efe9;
    --ink-2: #a6a2b0;
    --line: #2a2a35;
    --line-strong: #3a3a48;

    --primary: #8b7bff;
    --primary-ink: #a99cff;
    --primary-soft: #201a3d;
    --coral: #ff6a4d;
    --coral-ink: #ff8368;
    --coral-soft: #33170f;
    --amber: #ffc153;

    --on-primary: #ffffff;
    --on-coral: #1c0d06;

    --mark-1: #8b7bff;
    --mark-2: #ff6a4d;

    --ring: #a99cff;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.5);
    --shadow-2: 0 2px 6px rgba(0,0,0,.45), 0 30px 70px rgba(0,0,0,.6);
    --grain-opacity: .28;
    --grain-blend: overlay;
    color-scheme: dark;
  }
}
/* Explicit override hook (data-theme) mirrors the dark tokens */
:root[data-theme="dark"] {
  --canvas: #0d0d11; --canvas-2: #121218; --surface: #16161d; --surface-2: #1d1d26;
  --ink: #f2efe9; --ink-2: #a6a2b0; --line: #2a2a35; --line-strong: #3a3a48;
  --primary: #8b7bff; --primary-ink: #a99cff; --primary-soft: #201a3d;
  --coral: #ff6a4d; --coral-ink: #ff8368; --coral-soft: #33170f; --amber: #ffc153;
  --on-primary: #ffffff; --on-coral: #1c0d06;
  --mark-1: #8b7bff; --mark-2: #ff6a4d; --ring: #a99cff;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.5);
  --shadow-2: 0 2px 6px rgba(0,0,0,.45), 0 30px 70px rgba(0,0,0,.6);
  --grain-opacity: .28; --grain-blend: overlay; color-scheme: dark;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine film grain over the whole canvas (real texture, not flat). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

a { color: var(--primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; margin: 0; }
.display {
  font-size: clamp(2.9rem, 8.5vw, 6.4rem);
  line-height: .96;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1.05em; }
strong, b { font-weight: 700; }
.text-coral { color: var(--coral-ink); }
.text-primary { color: var(--primary-ink); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-text);
  font-weight: 700; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--primary-ink);
}
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.lede { font-size: clamp(1.12rem, 2vw, 1.42rem); line-height: 1.5; color: var(--ink-2); max-width: 42ch; }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-text); font-weight: 700; font-size: 1.02rem;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--primary); color: var(--on-primary);
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 0 6px 18px rgba(75,46,230,.28);
  min-height: 56px; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(75,46,230,.36); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; fill: currentColor; }
.btn.secondary {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong); box-shadow: none;
}
.btn.secondary:hover { border-color: var(--ink); background: var(--surface-2); box-shadow: none; }
.btn.coral { background: var(--coral); color: var(--on-coral); box-shadow: 0 6px 18px rgba(255,84,54,.3); }
.btn.coral:hover { box-shadow: 0 12px 30px rgba(255,84,54,.4); }
.btn.on-dark { background: #fff; color: #17171d; box-shadow: none; }
.btn.on-dark.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn.on-dark.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brandmark { width: 38px; height: 38px; flex: none; display: block; overflow: visible; }
.brandmark .bm-p { stroke: var(--mark-1); }
.brandmark .bm-c { stroke: var(--mark-2); }
.brandmark .bm-cf { fill: var(--mark-2); }
.brandname { font-family: var(--f-display); font-weight: 800; font-size: 1.36rem; letter-spacing: -0.035em; line-height: 1; }
.brandname i { font-style: normal; font-weight: 500; color: var(--ink-2); margin-left: 4px; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .98rem;
  padding: 9px 14px; border-radius: 999px; position: relative;
}
.nav a:hover { text-decoration: none; background: var(--surface-2); }
.nav a.cta { background: var(--ink); color: var(--canvas); }
.nav a.cta:hover { background: var(--primary); color: #fff; }
.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 14px 18px 20px; box-shadow: var(--shadow-2);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1.06rem; }
  .nav a.cta { margin-top: 6px; text-align: center; }
}

/* ---------- Layout primitives ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 118px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lede { margin-top: .6em; }
.band { position: relative; overflow: hidden; }
.band.indigo { background: var(--primary); color: var(--on-primary); }
.band.indigo .kicker { color: #fff; }
.band.indigo .kicker .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255,255,255,.15); }
.band.indigo .lede, .band.indigo .muted { color: rgba(255,255,255,.82); }
.band.coral { background: var(--coral); color: var(--on-coral); }
.band.coral .kicker { color: var(--on-coral); }
.band.coral .lede { color: rgba(28,13,6,.8); }
.band.ink { background: var(--ink); color: var(--canvas); }

/* FA glyph pattern background (used glyphs only, inline SVG). */
.fa-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: currentColor; opacity: .06; z-index: 0; }
.band.coral .fa-pattern { opacity: .1; }
.section-inner, .band .wrap { position: relative; z-index: 1; }

/* Soft mesh blobs (depth, never flat) */
.mesh { position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; filter: blur(50px); opacity: .8; }
.mesh b { position: absolute; border-radius: 50%; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 8vw, 104px); }
.hero .mesh b.b1 { width: 42vw; height: 42vw; top: -8%; right: -6%; background: radial-gradient(circle, var(--primary), transparent 68%); opacity: .55; }
.hero .mesh b.b2 { width: 34vw; height: 34vw; bottom: -14%; left: -8%; background: radial-gradient(circle, var(--coral), transparent 66%); opacity: .42; }
.hero .mesh b.b3 { width: 22vw; height: 22vw; top: 32%; left: 44%; background: radial-gradient(circle, var(--amber), transparent 70%); opacity: .3; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-copy .display { margin: .16em 0 .28em; }
.hero-copy .display .em { color: var(--coral-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 17px; height: 17px; fill: var(--primary-ink); }

/* Hero device cluster */
.hero-art { position: relative; display: grid; place-items: center; }
.device {
  width: min(280px, 74vw); aspect-ratio: 9 / 19; border-radius: 34px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-2); padding: 9px; position: relative;
  transform: rotate(3deg);
}
.device::before { content:""; position:absolute; top:14px; left:50%; transform:translateX(-50%); width:64px; height:6px; border-radius:99px; background: var(--line-strong); z-index:3; }
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display:block; }
.device-badge {
  position: absolute; z-index: 4; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-1); font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 9px;
}
.device-badge svg { width: 18px; height: 18px; }
.device-badge.tl { top: 6%; left: -10%; }
.device-badge.br { bottom: 8%; right: -8%; }
.device-badge .g { color: var(--primary-ink); }
.device-badge .c { color: var(--coral-ink); }

/* ---------- Marquee strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.strip .item { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); font-size: 1rem; }
.strip .item svg { width: 22px; height: 22px; fill: var(--primary-ink); }

/* ---------- Balanced grids ---------- */
/* Principles: 4 items. Desktop 4-up, tablet 2x2, mobile 1-up. Never an orphan. */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 24px 28px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.principle .num { font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: var(--ink-2); letter-spacing: .04em; }
.principle .picon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-ink); margin: 16px 0 18px;
}
.principle:nth-child(2n) .picon { background: var(--coral-soft); color: var(--coral-ink); }
.principle .picon svg { width: 26px; height: 26px; fill: currentColor; }
.principle h3 { margin-bottom: 8px; }
.principle p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .principle { transition: none; } .principle:hover { transform: none; } }

/* Metrics: 3 items. Desktop 3-up, mobile 1-up (skip 2-col to avoid orphan). */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .metrics { grid-template-columns: 1fr; } }
.metric { padding: 6px 4px; }
.metric .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; }
.band.indigo .metric .big { color: #fff; }
.metric .big .u { color: var(--coral); }
.metric p { margin: 10px 0 0; color: rgba(255,255,255,.82); font-weight: 600; }

/* ---------- Screenshot phones (3-up / 1-up) ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }
.phone {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 10px; box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.phone:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.phone img { border-radius: 18px; width: 100%; aspect-ratio: 660 / 1466; object-fit: cover; }
.phone .cap { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 14px 8px 6px; font-size: 1rem; }
.phone .cap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
@media (prefers-reduced-motion: reduce) { .phone { transition: none; } .phone:hover { transform: none; } }

/* ---------- App showcase (single-app feature panel, asymmetric) ---------- */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden;
}
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.showcase .badge-cat { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); }
.showcase h2 { margin: 16px 0 14px; }
.showcase .feat { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 13px; }
.showcase .feat li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.showcase .feat svg { width: 22px; height: 22px; fill: var(--primary-ink); flex: none; margin-top: 1px; }
.showcase-art { position: relative; display: grid; grid-auto-flow: column; gap: 16px; justify-content: center; }
.showcase-art .phone { width: min(220px, 44vw); }
.showcase-art .phone:nth-child(2) { margin-top: 30px; }
@media (max-width: 520px) { .showcase-art { grid-auto-flow: row; justify-items: center; } .showcase-art .phone:nth-child(2) { margin-top: 0; display: none; } }

/* App icon tile */
.app-mark {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-1); font-size: 2.1rem;
}
.app-mark svg { width: 40px; height: 40px; fill: #fff; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .wrap { max-width: 760px; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: clamp(52px, 7vw, 80px) 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--ink-2); font-size: .98rem; max-width: 34ch; margin-top: 14px; }
.footer-brand .brandname { font-size: 1.24rem; }
.fcol strong { display: block; font-family: var(--f-display); font-weight: 700; margin-bottom: 14px; font-size: 1rem; }
.fcol nav { display: grid; gap: 10px; }
.fcol nav a { color: var(--ink-2); font-weight: 600; }
.fcol nav a:hover { color: var(--ink); text-decoration: none; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Document / prose pages ---------- */
.doc { padding: clamp(44px, 6vw, 84px) 0 clamp(60px, 8vw, 96px); position: relative; }
.doc .wrap { max-width: 860px; }
.prose h1 { margin: .2em 0 .3em; }
.prose h2 { margin: 1.7em 0 .5em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin: 1.5em 0 .4em; }
.prose p, .prose li { color: var(--ink); }
.doc .updated { color: var(--ink-2); font-weight: 600; margin-bottom: 1.4em; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 22px; }
.back-link svg { width: 16px; height: 16px; fill: currentColor; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; margin: 1.6em 0; }
.toc strong { font-family: var(--f-display); display: block; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 34px; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 8px; }
.callout { background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent); border-radius: var(--r-md); padding: 20px 24px; margin: 1.4em 0; }
.callout p { margin: 0; }
.pill { display: inline-block; font-family: var(--f-text); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--coral-soft); color: var(--coral-ink); padding: 4px 10px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
.identity-line { font-weight: 700; font-family: var(--f-display); }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: .88em; }

.table-scroll { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.data-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .98rem; }
.data-table th, .data-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--surface-2); font-family: var(--f-display); font-weight: 700; }
.data-table tr:last-child td { border-bottom: none; }

.faq { display: grid; gap: 12px; margin: 1.2em 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-family: var(--f-display); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary-ink); font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .body { padding: 0 22px 20px; color: var(--ink-2); }
.faq .body p { margin: 0; }

.field { margin: 1.4em 0; max-width: 460px; }
.field label { display: block; font-weight: 700; margin-bottom: 9px; }
.field select {
  width: 100%; font-family: var(--f-text); font-size: 1.05rem; font-weight: 600;
  padding: 15px 18px; border-radius: var(--r-sm); border: 2px solid var(--line-strong);
  background: var(--surface); color: var(--ink); min-height: 56px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2357545e'%3E%3Cpath d='M12 16 6 10h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 22px;
}
.field select:focus-visible { border-color: var(--primary); }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 26px; }
.info-card .chip { width: 48px; height: 48px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; margin-bottom: 14px; }
.info-card .chip svg { width: 24px; height: 24px; fill: currentColor; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { margin: 0 0 .4em; color: var(--ink-2); }
.info-card p.big { color: var(--ink); font-weight: 700; font-family: var(--f-display); font-size: 1.15rem; }

/* Mission / Vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.6em 0 2em; }
@media (max-width: 720px) { .mv-grid { grid-template-columns: 1fr; } }
.mv { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 32px; }
.mv .chip { width: 56px; height: 56px; border-radius: 16px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.mv.warm .chip { background: var(--coral); color: var(--on-coral); }
.mv .chip svg { width: 28px; height: 28px; fill: currentColor; }
.mv h3 { font-size: 1.5rem; margin-bottom: 10px; }
.mv p { margin: 0; color: var(--ink-2); }

/* Values list */
.stand-list { list-style: none; margin: 1.2em 0 2em; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .stand-list { grid-template-columns: 1fr 1fr; } }
.stand-list li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.stand-list .badge { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.stand-list li:nth-child(2n) .badge { background: var(--coral-soft); color: var(--coral-ink); }
.stand-list .badge svg { width: 23px; height: 23px; fill: currentColor; }
.stand-list .k { display: block; font-family: var(--f-display); font-weight: 700; margin-bottom: 3px; }
.stand-list div p, .stand-list div { color: var(--ink-2); }
.stand-list .k { color: var(--ink); }

/* App-page hero */
.app-hero { display: flex; align-items: center; gap: 22px; margin: 8px 0 6px; flex-wrap: wrap; }
.app-hero .app-cat { display: block; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); margin-bottom: 6px; }
.app-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }

/* ---------- Scroll-enter reveal (CSS-only, view timeline) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); animation: reveal-in linear both; animation-timeline: view(); animation-range: entry 4% cover 26%; }
  @keyframes reveal-in { to { opacity: 1; transform: none; } }
}

/* ============================================================================
   Font Awesome Pro (hosted kit) integration + duotone brand coloring
   ========================================================================== */
.fa-duotone, .fa-sharp-duotone {
  --fa-primary-color: currentColor;
  --fa-secondary-color: var(--coral);
  --fa-secondary-opacity: .34;
}
svg.svg-inline--fa, .svg-inline--fa { height: 1em; width: auto; vertical-align: -0.1em; }
.hero-meta i { font-size: 18px; color: var(--primary-ink); }
.strip .item i { font-size: 22px; color: var(--primary-ink); }
.principle .picon i { font-size: 25px; }
.btn i { font-size: 1rem; }
.btn i.svg-inline--fa { height: 1em; }
.device-badge i { font-size: 17px; }
.device-badge .g i, .device-badge.g i { color: var(--primary-ink); }
.showcase .feat i { font-size: 20px; color: var(--primary-ink); }
.info-card .chip i { font-size: 23px; }
.mv .chip i { font-size: 27px; }
.stand-list .badge i { font-size: 22px; }
.app-mark i { font-size: 38px; color: #fff; }
.app-mark .fa-duotone { --fa-secondary-color: #fff; --fa-secondary-opacity: .45; }
.back-link i { font-size: 15px; }
.faq summary i { font-size: 16px; color: var(--primary-ink); }
.nav-toggle i { font-size: 20px; }
.band.indigo .fa-pattern, .band.coral .fa-pattern { color: currentColor; }
.kicker i { font-size: .92em; }

/* ============================================================================
   Motion: animated accents (GPU-friendly, reduced-motion safe)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero .mesh b { animation: floaty 16s ease-in-out infinite; }
  .hero .mesh b.b2 { animation-duration: 20s; animation-direction: reverse; }
  .hero .mesh b.b3 { animation-duration: 24s; }
  @keyframes floaty {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(0,-4%,0) scale(1.06); }
  }
  .kicker .dot { animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { 0%,100%{ box-shadow: 0 0 0 3px var(--coral-soft);} 50%{ box-shadow: 0 0 0 7px transparent;} }
  .device { animation: tilt 9s ease-in-out infinite; }
  @keyframes tilt { 0%,100%{ transform: rotate(3deg) translateY(0);} 50%{ transform: rotate(1.6deg) translateY(-8px);} }
}

/* ============================================================================
   Contact form
   ========================================================================== */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .96rem; }
.form-field label .req { color: var(--coral-ink); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--f-text); font-size: 1.02rem; color: var(--ink);
  background: var(--canvas); border: 2px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 14px 16px; width: 100%; min-height: 54px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-field .err { color: var(--coral-ink); font-size: .88rem; font-weight: 600; min-height: 1em; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.form-note { color: var(--ink-2); font-size: .92rem; margin: 0; }
.form-status { border-radius: var(--r-md); padding: 20px 24px; margin-top: 4px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.form-status.bad { background: var(--coral-soft); border: 1px solid color-mix(in srgb, var(--coral) 34%, transparent); }
.form-status h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.form-status.ok h3 i { color: var(--primary-ink); }
.form-status.bad h3 i { color: var(--coral-ink); }
.form-status p { margin: 0; color: var(--ink-2); }

.contact-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-cols { grid-template-columns: 1fr; } }
.contact-aside .info-card { margin-bottom: 16px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1em; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--canvas); padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; text-decoration: none; }
