/* ============================================================
   SIAM GPT Co., Ltd. — site design system
   Brand: cloud-wave blue #0092D5 → teal #00A9A2
   Display: Outfit · Body: DM Sans · Mono: JetBrains Mono
   Radius scale: cards 18px, buttons 999px, chips 6px
   ============================================================ */

:root {
  --brand: #0092D5;
  --brand-deep: #0072AE;
  --brand-teal: #00A9A2;
  --brand-soft: rgba(0, 146, 213, .09);
  --brand-line: rgba(0, 146, 213, .25);

  --ink: #0B1B2B;
  --ink-2: #16304A;
  --body: #52677C;
  --muted: #7E93A6;

  --bg: #FFFFFF;
  --bg-soft: #F4F8FC;
  --bg-tint: #EDF4FA;
  --line: #E2EAF2;
  --line-soft: #EEF3F8;

  /* dark panels (Token Factory / footer) */
  --d-bg: #06131F;
  --d-bg-2: #0A1B2B;
  --d-surface: #0E2334;
  --d-surface-2: #12293C;
  --d-line: rgba(255, 255, 255, .10);
  --d-line-strong: rgba(255, 255, 255, .18);
  --d-text: #E9F2F9;
  --d-muted: #9BB1C4;
  --d-dim: #6C8399;
  --d-accent: #35BFF0;
  --d-accent-soft: rgba(53, 191, 240, .13);

  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 6px;
  --nav-h: 76px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, .05), 0 8px 24px rgba(11, 27, 43, .05);
  --shadow-md: 0 2px 6px rgba(11, 27, 43, .06), 0 18px 48px rgba(11, 27, 43, .09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  background: var(--bg);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
::selection { background: rgba(0, 146, 213, .22); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 28px rgba(11, 27, 43, .07); border-color: transparent; }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  padding: 9px 14px; border-radius: 999px; transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-links a.is-active { color: var(--brand); font-weight: 600; }
.nav-links a.nav-new { display: inline-flex; align-items: center; gap: 7px; }
.nav-new span {
  font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-teal));
  padding: 2px 6px; border-radius: var(--r-sm); line-height: 1.5;
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; cursor: pointer; position: relative;
}
.nav-toggle i {
  position: absolute; left: 11px; right: 11px; height: 1.8px; background: var(--ink);
  border-radius: 2px; transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle i:nth-child(1) { top: 15px; }
.nav-toggle i:nth-child(2) { top: 20px; }
.nav-toggle i:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-teal) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(0, 146, 213, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 146, 213, .34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-line); color: var(--brand); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 27, 43, .22); }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .35); }
.btn-outline-dark { background: transparent; color: var(--d-text); border-color: var(--d-line-strong); }
.btn-outline-dark:hover { border-color: var(--d-accent); color: var(--d-accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--brand); font-size: .96rem;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- section furniture ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-soft), #fff); }

.eyebrow {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-teal));
}
.eyebrow-center { justify-content: center; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.section-head h2 { margin-top: 16px; }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.72; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 92px) 0 clamp(60px, 8vw, 100px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(0, 169, 162, .16), transparent 62%),
    radial-gradient(760px 520px at 12% 4%, rgba(0, 146, 213, .16), transparent 60%),
    linear-gradient(180deg, #F7FBFE 0%, #FFFFFF 72%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { margin: 20px 0 6px; }
.hero-tagline {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 500; color: var(--ink-2); line-height: 1.4; margin-bottom: 20px;
}
.hero p.lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.store-badges img { height: 44px; width: auto; }
.store-badges a { transition: transform .18s ease, opacity .18s ease; opacity: .95; }
.store-badges a:hover { transform: translateY(-2px); opacity: 1; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::after {
  content: ""; position: absolute; z-index: -1; inset: 8% 6% 4%;
  background: radial-gradient(closest-side, rgba(0, 146, 213, .26), transparent 72%);
  filter: blur(18px);
}
.hero-visual img { max-height: 560px; width: auto; filter: drop-shadow(0 30px 60px rgba(11, 27, 43, .18)); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.hero-facts .dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-teal)); flex: none; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 62px); background: linear-gradient(180deg, #F3F9FD, #fff); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-top: 14px; }
.page-hero p { margin-top: 16px; max-width: 680px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--ink-2); font-weight: 500; }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.card h3 { margin-bottom: 14px; }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0, 146, 213, .12), rgba(0, 169, 162, .14));
  color: var(--brand); margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }

.tick-list { display: grid; gap: 11px; }
.tick-list li { display: flex; gap: 11px; font-size: .96rem; line-height: 1.6; }
.tick-list li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.dark .tick-list li strong, .dark-alt .tick-list li strong { color: var(--d-text); }
.tick-list li::before {
  content: ""; flex: none; margin-top: 9px; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-teal));
}

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split-media img { border-radius: var(--r-lg); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 2px solid var(--brand-line); padding-left: 18px; }
.stat b { display: block; white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.1; }
.stat span { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ---------- chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line); background: #fff;
  padding: 6px 13px; border-radius: var(--r-sm);
}
.chip-dark { color: var(--d-text); border-color: var(--d-line-strong); background: rgba(255, 255, 255, .04); }

/* ---------- token factory promo (light pages) ---------- */
.tf-promo { position: relative; overflow: hidden; background: var(--d-bg); color: var(--d-text); }
.tf-promo::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 84% 8%, rgba(53, 191, 240, .18), transparent 60%),
    radial-gradient(620px 400px at 6% 92%, rgba(0, 169, 162, .16), transparent 62%);
}
.tf-promo .container { position: relative; }
.tf-promo h2, .tf-promo h3 { color: var(--d-text); }
.tf-promo p { color: var(--d-muted); }
.tf-promo .eyebrow { color: var(--d-accent); }
.tf-promo .eyebrow::before { background: linear-gradient(90deg, var(--d-accent), var(--brand-teal)); }
.tf-promo-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.badge-new {
  display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #06131F;
  background: linear-gradient(135deg, #6FD6F5, var(--brand-teal));
  padding: 5px 11px; border-radius: var(--r-sm); margin-bottom: 20px;
}

/* ---------- code card ---------- */
.code-card {
  background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
}
.code-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--d-line); background: rgba(255, 255, 255, .02);
  font-family: var(--font-mono); font-size: .76rem;
}
.code-head .method { color: #06131F; background: var(--d-accent); padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.code-head .path { color: var(--d-text); }
.code-head .auto { margin-left: auto; color: var(--d-dim); letter-spacing: .1em; font-size: .68rem; }
.code-body { padding: 20px; overflow-x: auto; }
.code-body code {
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.85; color: var(--d-text);
  white-space: pre; display: block;
}
.code-body .ln { display: inline-block; width: 26px; color: var(--d-dim); user-select: none; }
.tk-key { color: #7FD8F7; } .tk-str { color: #8FE3C4; } .tk-pun { color: var(--d-muted); } .tk-bool { color: #F0B44A; }
.code-meta { padding: 16px 20px; border-top: 1px solid var(--d-line); display: grid; gap: 8px; font-size: .84rem; color: var(--d-muted); }
.code-meta b { color: var(--d-text); font-weight: 600; }

/* ---------- dark sections (token factory page) ---------- */
.dark { background: var(--d-bg); color: var(--d-muted); }
.dark-alt { background: var(--d-bg-2); color: var(--d-muted); }
.dark h1, .dark h2, .dark h3, .dark h4,
.dark-alt h1, .dark-alt h2, .dark-alt h3, .dark-alt h4 { color: var(--d-text); }
.dark .eyebrow, .dark-alt .eyebrow { color: var(--d-accent); }
.dark .eyebrow::before, .dark-alt .eyebrow::before { background: linear-gradient(90deg, var(--d-accent), var(--brand-teal)); }
.dark .card, .dark-alt .card {
  background: var(--d-surface); border-color: var(--d-line); color: var(--d-muted);
}
.dark .card:hover, .dark-alt .card:hover { border-color: var(--d-accent-soft); box-shadow: 0 20px 46px rgba(0, 0, 0, .4); }
.dark .stat b, .dark-alt .stat b { color: var(--d-text); }
.dark .stat, .dark-alt .stat { border-color: var(--d-line-strong); }
.dark .stat span, .dark-alt .stat span { color: var(--d-dim); }
.dark .tick-list li, .dark-alt .tick-list li { color: var(--d-muted); }

.tf-hero { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 104px) 0 clamp(56px, 7vw, 92px); }
.tf-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(820px 520px at 80% 0%, rgba(53, 191, 240, .2), transparent 62%),
    radial-gradient(680px 460px at 4% 24%, rgba(0, 169, 162, .15), transparent 60%);
}
.tf-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(var(--d-line) 1px, transparent 1px), linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 420px at 62% 34%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 420px at 62% 34%, #000, transparent 78%);
}
.tf-hero .container { position: relative; z-index: 1; }
.tf-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tf-hero h1 { color: var(--d-text); margin: 18px 0 20px; }
.tf-hero .accent { background: linear-gradient(135deg, #6FD6F5, var(--brand-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* pipeline diagram */
.pipeline { display: grid; gap: 14px; }
.pipe-node {
  border: 1px solid var(--d-line); border-radius: var(--r-md); padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  display: flex; align-items: center; gap: 14px;
}
.pipe-node .tag {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--d-accent); border: 1px solid var(--d-accent-soft); background: var(--d-accent-soft);
  padding: 3px 8px; border-radius: 4px; flex: none;
}
.pipe-node b { color: var(--d-text); font-weight: 600; font-size: .96rem; display: block; }
.pipe-node small { color: var(--d-dim); font-size: .82rem; }
.pipe-arrow { text-align: center; color: var(--d-dim); font-size: .9rem; line-height: 1; }

/* numbered feature list */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.num-grid.four { grid-template-columns: repeat(4, 1fr); }
.num-item { border-top: 1px solid var(--line); padding-top: 20px; }
.dark .num-item, .dark-alt .num-item { border-color: var(--d-line); }
.num-item .n {
  font-family: var(--font-mono); font-size: .78rem; color: var(--brand); letter-spacing: .1em; display: block; margin-bottom: 12px;
}
.dark .num-item .n, .dark-alt .num-item .n { color: var(--d-accent); }
.num-item h3 { font-size: 1.06rem; margin-bottom: 9px; }
.num-item p { font-size: .94rem; }

/* model table */
.table-wrap { overflow-x: auto; border: 1px solid var(--d-line); border-radius: var(--r-lg); background: var(--d-surface); }
.model-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.model-table th {
  text-align: left; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--d-dim); font-weight: 500;
  padding: 15px 20px; border-bottom: 1px solid var(--d-line);
}
.model-table td { padding: 15px 20px; border-bottom: 1px solid var(--d-line); font-size: .93rem; color: var(--d-muted); }
.model-table tr:last-child td { border-bottom: none; }
.model-table tr:hover td { background: rgba(255, 255, 255, .025); }
.model-table .rank { font-family: var(--font-mono); color: var(--d-dim); font-size: .82rem; }
.model-table .m-name { color: var(--d-text); font-weight: 600; display: block; }
.model-table .m-vendor { font-size: .8rem; color: var(--d-dim); }
.bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; min-width: 90px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--d-accent), var(--brand-teal)); }
.m-avatar {
  width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--d-accent);
  background: var(--d-accent-soft); border: 1px solid var(--d-line);
}
.m-cell { display: flex; align-items: center; gap: 12px; }

/* layered stack */
.layer { border: 1px solid var(--d-line); border-radius: var(--r-lg); padding: 24px; background: var(--d-surface); }
.layer + .layer-arrow { text-align: center; color: var(--d-dim); padding: 10px 0; font-size: 1rem; }
.layer-label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--d-dim); margin-bottom: 18px;
}
.layer-items { display: grid; gap: 16px; }
.layer-items.two { grid-template-columns: repeat(2, 1fr); }
.layer-items.three { grid-template-columns: repeat(3, 1fr); }
.layer-item { border: 1px solid var(--d-line); border-radius: var(--r-md); padding: 20px; background: rgba(255, 255, 255, .02); }
.layer-item .kicker { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: var(--d-accent); text-transform: uppercase; }
.layer-item h3 { font-size: 1.02rem; margin: 10px 0 8px; }
.layer-item p { font-size: .9rem; color: var(--d-muted); }

/* flow rows */
.flow-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start;
  border: 1px solid var(--d-line); border-radius: var(--r-md); padding: 20px 22px; background: rgba(255, 255, 255, .02);
}
.flow-row .flow-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--d-accent); padding-top: 3px; }
.flow-row h3 { font-size: 1rem; margin-bottom: 10px; }
.flow-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-tags span { font-size: .82rem; color: var(--d-muted); border: 1px solid var(--d-line); border-radius: var(--r-sm); padding: 4px 10px; }
.flow-sep { text-align: center; color: var(--d-dim); padding: 8px 0; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab {
  font-family: var(--font-body); font-size: .88rem; font-weight: 500; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--d-line);
  background: transparent; color: var(--d-muted); transition: all .18s ease;
}
.tab:hover { color: var(--d-text); border-color: var(--d-line-strong); }
.tab[aria-selected="true"] { background: var(--d-accent-soft); border-color: var(--d-accent); color: var(--d-accent); font-weight: 600; }
.tab-panel[hidden] { display: none; }

/* quote cards */
.quote { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff; }
.quote .mark { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--brand-line); }
.quote p { margin: 12px 0 20px; color: var(--ink-2); font-size: .98rem; }
.quote footer { font-size: .86rem; color: var(--muted); }
.quote footer b { display: block; color: var(--ink); font-weight: 600; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0092D5 0%, #00A9A2 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); }
.cta-band .container { position: relative; text-align: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* contact blocks */
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.contact-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card .card-icon { margin-bottom: 0; }
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card a { color: var(--brand); font-weight: 500; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }

/* prose (privacy policy) */
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose p + p { margin-top: -2px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); }
.prose a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #9AA5B1; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 34px; margin-bottom: 20px; }
.footer-brand p { font-size: .92rem; color: #8B98A5; max-width: 320px; }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 11px; }
.site-footer a { color: #9AA5B1; font-size: .93rem; transition: color .18s ease; }
.site-footer a:hover { color: #fff; }
.footer-store { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-store img { height: 34px; width: auto; }
.footer-bottom {
  margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .86rem; color: #78838F;
}

/* ---------- cookie banner ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(11, 27, 43, .97); color: #DCE5EE; padding: 16px 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .22);
}
.cookie-bar[hidden] { display: none; }
.cookie-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-inner p { font-size: .88rem; margin: 0; max-width: 720px; color: #C6D2DE; }
.cookie-inner a { color: #6FD6F5; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .num-grid, .num-grid.four { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layer-items.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .container, .container-narrow { width: min(100% - 40px, 720px); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 22px; gap: 4px;
    box-shadow: 0 20px 40px rgba(11, 27, 43, .1); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: var(--r-md); }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .hero-grid, .split, .tf-promo-grid, .tf-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 380px; }
  .flow-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cols-4, .cols-3, .cols-2, .num-grid, .num-grid.four, .stat-row, .layer-items.two, .layer-items.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card { padding: 24px 22px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .store-badges img { height: 40px; }
}

/* ---------- industry tab panels ---------- */
.ind-panel { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 24px; }
.ind-visual {
  border: 1px solid var(--d-line); border-radius: var(--r-lg); padding: 24px;
  background: linear-gradient(160deg, rgba(53, 191, 240, .10), rgba(255, 255, 255, .02));
  display: flex; flex-direction: column; justify-content: space-between; min-height: 190px;
}
.ind-visual .code {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--d-accent);
  border: 1px solid var(--d-accent-soft); background: var(--d-accent-soft);
  padding: 4px 10px; border-radius: 4px; align-self: flex-start;
}
.ind-visual .cap { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--d-dim); line-height: 1.7; }
.ind-col {
  border: 1px solid var(--d-line); border-radius: var(--r-lg); padding: 24px; background: rgba(255, 255, 255, .02);
}
.ind-col h4 {
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--d-dim); margin-bottom: 16px; font-weight: 700;
}
.ind-col.solution { border-color: var(--d-accent-soft); background: rgba(53, 191, 240, .05); }
.ind-line { display: flex; gap: 12px; font-size: .93rem; color: var(--d-muted); margin-bottom: 12px; line-height: 1.55; }
.ind-line b { font-family: var(--font-mono); font-size: .74rem; color: var(--d-accent); padding-top: 3px; flex: none; }
.value-box { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--d-line); }
.value-box span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; color: var(--d-dim); }
.value-box p { font-size: .93rem; color: var(--d-text); margin-top: 8px; }

/* ---------- security matrix ---------- */
.matrix { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.matrix span {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--d-muted);
  border: 1px dashed var(--d-line-strong); border-radius: var(--r-sm); padding: 7px 12px;
}
.matrix-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--d-dim); text-transform: uppercase; }

@media (max-width: 900px) {
  .ind-panel { grid-template-columns: 1fr; }
  .ind-visual { min-height: 0; flex-direction: row; align-items: center; gap: 16px; }
}
