/* ADB website theme. Monochrome enterprise look, light/dark, no external assets. */
:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #f2f2f2;
  --fg: #0a0a0a;
  --fg-2: #333333;
  --muted: #5f5f5f;
  --border: #e6e6e6;
  --border-2: #d4d4d4;
  --card: #ffffff;
  --grid-line: rgba(0, 0, 0, .055);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.12);
  --a1: #00a88f;
  --a2: #2563eb;
  --a3: #7c3aed;
  --ok: #0f9d58;
  --pilot: #2563eb;
  --soon: #8a8a8a;
  --logo-a: #0a7cb4;
  --logo-b: #0b3a6a;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --bg-3: #141414;
  --fg: #ededed;
  --fg-2: #c8c8c8;
  --muted: #a1a1a1;
  --border: #242424;
  --border-2: #333333;
  --card: #0a0a0a;
  --grid-line: rgba(255, 255, 255, .06);
  --shadow: 0 0 0 1px rgba(255,255,255,.02), 0 12px 32px -16px rgba(0,0,0,.8);
  --a1: #2ee6c5;
  --a2: #60a5fa;
  --a3: #a78bfa;
  --ok: #3ddc84;
  --pilot: #60a5fa;
  --soon: #8f8f8f;
  --logo-a: #4fb0e6;
  --logo-b: #e8f2fa;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--a2); outline-offset: 2px; border-radius: 6px;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.narrow-left { max-width: 760px; margin-bottom: 40px; }

/* Type scale */
.display-1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.045em; font-weight: 700; line-height: 1.02; }
.display-2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; font-weight: 680; }
.display-3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.55; margin-top: 18px; max-width: 46rem; }
.eyebrow { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.gradient-text {
  background: linear-gradient(92deg, var(--a1), var(--a2) 50%, var(--a3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 550; font-size: .95rem;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; cursor: pointer;
}
.btn-sm { height: 32px; padding: 0 14px; font-size: .85rem; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--fg-2); }
.btn-ghost { background: var(--bg); color: var(--fg); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--bg-3); }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-3); }
.link-arrow { font-weight: 550; border-bottom: 1px solid var(--border-2); }
.link-arrow:hover { border-color: var(--fg); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.logo-mark { flex: none; display: block; }
.logo-mark .lm-a { fill: var(--logo-a); }
.logo-mark .lm-b { fill: var(--logo-b); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .01em; }
.nav { flex: 1; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 6px 12px; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover { color: var(--fg); background: var(--bg-3); }
.nav a.is-active { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-btn { display: none; }
:root[data-theme="dark"] .i-sun, :root:not([data-theme="dark"]) .i-moon { display: none; }

/* Grid background + glow */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; border-bottom: 1px solid var(--border); }
.hero-glow {
  position: absolute; left: 50%; top: -220px; width: 1000px; height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a2) 22%, transparent), transparent),
              radial-gradient(closest-side at 30% 60%, color-mix(in srgb, var(--a1) 18%, transparent), transparent),
              radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--a3) 16%, transparent), transparent);
  filter: blur(20px); opacity: .9;
}
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-actions.left { justify-content: flex-start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; margin-bottom: 28px;
  border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; color: var(--muted); background: var(--bg);
}
.pill:hover { border-color: var(--border-2); color: var(--fg); }
.pill-tag { background: var(--fg); color: var(--bg); border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 600; }
.key-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 36px; font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.key-row li { display: inline-flex; align-items: center; gap: 8px; }
.key-dot { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(var(--a1), var(--a2)); }

/* Terminal */
.terminal {
  margin: 56px auto 0; width: 100%; max-width: 760px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.terminal-bar em { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--muted); }
.terminal-body { margin: 0; padding: 18px 20px; font-size: .86rem; line-height: 1.75; overflow-x: auto; color: var(--fg-2); }
.terminal-body span { display: inline; }
.t-cmd { color: var(--fg); font-weight: 600; }
.t-ok { color: var(--ok); }
.t-info { color: var(--muted); }
.terminal figcaption { padding: 0 20px 14px; font-size: .78rem; }

/* Sections */
.section { padding: 96px 0; border-bottom: 1px solid var(--border); position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-more { margin-top: 32px; }
.page-hero { position: relative; overflow: hidden; padding: 88px 0 64px; border-bottom: 1px solid var(--border); }
.page-hero .container { position: relative; }
.error-hero .hero-actions { justify-content: center; }

/* Grids and cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.bordered-grid { gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.bordered-grid .cell { padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 0 -1px -1px 0; }
.cell-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; min-height: 36px; }
.cell-title { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.cell p:last-child { margin-bottom: 0; }
.card-icon {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--fg);
}
.card-icon.lg { width: 48px; height: 48px; border-radius: 12px; }
.cards { gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card .eyebrow { margin-bottom: 6px; font-size: .7rem; }
.card-title { font-size: 1.12rem; margin-bottom: 8px; }
.card .muted { font-size: .92rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 550; margin-top: 8px; }
.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .2s; }
.chip { display: inline-block; font-family: var(--mono); font-size: .72rem; padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--bg); }

/* Status */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 550; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); white-space: nowrap; }
.status .dot { width: 6px; height: 6px; border-radius: 50%; }
.status-tersedia { color: var(--ok); } .status-tersedia .dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.status-pilot { color: var(--pilot); } .status-pilot .dot { background: var(--pilot); }
.status-segera { color: var(--soon); } .status-segera .dot { background: var(--soon); }
.legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 48px; font-size: .88rem; }
.legend li { display: inline-flex; align-items: center; gap: 10px; }

/* Lists */
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .94rem; }
.checks .icon { flex: none; margin-top: 3px; color: var(--a1); }
.checks-lg li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
.checks-lg li:last-child { border-bottom: 0; }
.checks-lg strong { display: block; }
.badges-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); counter-reset: s; }
.step { padding: 28px 24px; border-right: 1px solid var(--border); position: relative; }
.step:last-child { border-right: 0; }
.step-num { display: inline-block; font-size: .8rem; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; margin-bottom: 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 28px 24px 28px 0; border-right: 1px solid var(--border); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat dt { font-size: .85rem; }
.stat dd { margin: 0; }
.stat-value { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15; margin-top: 6px !important; }
.stat-note { font-size: .82rem; margin-top: 6px !important; }
.footnote { font-size: .8rem; margin-top: 20px; max-width: 760px; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 620px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-2); }
.compare tbody th { font-weight: 550; width: 28%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-ours { background: color-mix(in srgb, var(--a2) 6%, transparent); color: var(--fg); }
.compare thead .is-ours { color: var(--fg); }
.compare td:not(.is-ours) { color: var(--muted); }

/* Split + panel */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.split-reverse > :first-child { order: 2; }
.split .section-head { margin-bottom: 24px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 24px 26px; }
.panel .eyebrow { margin-bottom: 8px; }
.panel-evidence { background: linear-gradient(180deg, color-mix(in srgb, var(--a1) 5%, var(--card)), var(--card)); }
.stack { display: grid; gap: 16px; }

/* Prose */
.prose { color: var(--fg-2); font-size: 1.02rem; }
.prose h2 { font-size: 1.55rem; margin: 2.2em 0 .6em; color: var(--fg); }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; color: var(--fg); }
.prose > :first-child { margin-top: 0; }
.prose ul { margin: 0 0 1rem; }
.prose ul li { position: relative; padding-left: 20px; margin: 6px 0; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 2px; background: var(--border-2); }
.prose ol { counter-reset: o; margin: 0 0 1rem; }
.prose ol li { counter-increment: o; position: relative; padding-left: 30px; margin: 8px 0; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: 1px; font: .78rem var(--mono); width: 20px; height: 20px; border: 1px solid var(--border); border-radius: 5px; display: grid; place-items: center; color: var(--muted); }
.prose a { border-bottom: 1px solid var(--border-2); }
.prose a:hover { border-color: var(--fg); }
.prose strong { color: var(--fg); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--bg-3); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
.prose blockquote { margin: 1.5em 0; padding: 14px 18px; border-left: 2px solid var(--a2); background: var(--bg-2); border-radius: 0 8px 8px 0; color: var(--fg-2); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Products page */
.product-group + .product-group { margin-top: 72px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.group-head p { margin: 0; max-width: 520px; text-align: right; font-size: .94rem; }
.product-hero { padding-top: 56px; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 36px; }
.crumbs a:hover { color: var(--fg); }
.product-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.product-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-shot-section { padding-top: 40px; }
.card-thumb { margin: -24px -24px 20px; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-3); border-radius: var(--radius) var(--radius) 0 0; }
.card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .card-thumb img { transform: scale(1.02); }
.card-thumb.empty { display: grid; place-items: center; color: var(--muted); background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); }
.product-shot { margin: 0; }
.product-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--bg-3); }
.product-shot figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }

/* CTA */
.cta-band { border-bottom: 0; }
.cta-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  padding: 48px; border: 1px solid var(--border); border-radius: 16px; background: var(--card);
}
.cta-card .muted { margin: 12px 0 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-glow { position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--a2) 18%, transparent), transparent); pointer-events: none; }

/* Form (Grav form plugin markup) */
.form-panel { padding: 28px; }
.form-field { margin-bottom: 18px; }
.form-label label, .form-label { display: block; font-size: .86rem; font-weight: 550; margin-bottom: 6px; color: var(--fg); }
.form-label .required, .required { color: var(--a2); }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--fg); background: var(--bg);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 12px; transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a2) 18%, transparent); }
.form-field .form-description, .form-extra-wrapper, .form-help { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-field .checkboxes label { font-size: .9rem; }
.form-errors, .form-field .form-errors, .notices.red, .notices.error { color: #d93025; font-size: .85rem; margin-top: 6px; }
.notices { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 16px; font-size: .92rem; }
.notices.green, .notices.success { border-color: color-mix(in srgb, var(--ok) 40%, var(--border)); color: var(--ok); }
.buttons { margin-top: 8px; }
.form-panel button[type="submit"], .form-panel .button {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--fg); color: var(--bg); font: inherit; font-weight: 600; cursor: pointer;
}
.form-panel button[type="submit"]:hover { background: var(--fg-2); }
.form-honeypot, .form-field.form-honeypot, input[name="data[honeypot]"] { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 340px; font-size: .88rem; }
.footer-h { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer-links li { margin: 8px 0; color: var(--muted); }
.footer-links a { color: var(--fg-2); }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.footer-legal { flex-basis: 100%; margin: 0; max-width: 820px; line-height: 1.6; }

/* Reveal on scroll (progressive: only when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat:nth-child(3) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse > :first-child { order: 0; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .hide-sm { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 20px; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 32px; }
  .group-head { flex-direction: column; align-items: flex-start; }
  .group-head p { text-align: left; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 56px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-right: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Language switcher */
.lang { position: relative; }
.lang > summary { list-style: none; }
.lang > summary::-webkit-details-marker { display: none; }
.lang-btn { width: auto; padding: 0 10px; gap: 6px; display: inline-flex; align-items: center; font-size: .75rem; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 210px; padding: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: .9rem; color: var(--fg-2); }
.lang-menu a .mono { font-size: .72rem; color: var(--muted); width: 22px; }
.lang-menu a:hover { background: var(--bg-3); color: var(--fg); }
.lang-menu a.is-active { color: var(--fg); font-weight: 600; }

/* CJK typography: native fonts, no negative tracking, phrase-aware line breaks */
:lang(ja) { --font: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; }
:lang(ko) { --font: ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", "Malgun Gothic", sans-serif; }
:lang(zh-Hans) { --font: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif; }
:lang(ja) body, :lang(ko) body, :lang(zh-Hans) body { font-family: var(--font); line-height: 1.75; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ja) .display-1, :lang(ko) .display-1, :lang(zh-Hans) .display-1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.2; }
:lang(ja) .eyebrow, :lang(zh-Hans) .eyebrow { letter-spacing: .04em; }
:lang(ja) { word-break: auto-phrase; line-break: strict; }
:lang(zh-Hans) { line-break: strict; }
:lang(ko) { word-break: keep-all; line-break: strict; }
@media (max-width: 860px) { .lang-menu { right: -44px; } }
