/* Benten marketing site. One stylesheet for every page.
   Colours follow the Benten catalogue: navy #0b1730 to #15305a, orange #f28c28, Inter. */

:root {
  --navy-0: #0b1730;
  --navy-1: #102445;
  --navy-2: #15305a;
  --navy-3: #1f4277;
  --line-dark: #2b4c7e;
  --orange: #f28c28;
  --orange-ink: #a24f0a;      /* orange for text on light backgrounds (5.6:1 on white) */
  --orange-soft: rgba(242, 140, 40, .14);
  --sky: #8ebbe8;

  --paper: #f4f6fa;
  --white: #ffffff;
  --ink: #0f1f3a;
  --ink-2: #3d4f6b;
  --ink-3: #56667f;
  --line: #d8e0ec;

  --d-ink: #ffffff;
  --d-ink-2: #c6d4e7;
  --d-ink-3: #9fb2cc;

  --ok-ink: #16704a;   --ok-bg: #e2f3ea;
  --plan-ink: #245c99; --plan-bg: #e5eef8;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 23, 48, .06), 0 12px 32px -12px rgba(11, 23, 48, .22);
  --shadow-lg: 0 2px 4px rgba(11, 23, 48, .08), 0 40px 80px -30px rgba(11, 23, 48, .45);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 16px;
  --wrap: 1200px;
}

@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--orange-ink); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--orange); }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-0); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(216, 224, 236, .8);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .js .menu-btn {
    display: inline-flex; margin-left: auto; align-items: center; gap: 8px;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 15px; cursor: pointer;
  }
  .menu-btn .bars { width: 18px; height: 12px; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; }
  .menu-btn .bars::before { top: 0; } .menu-btn .bars span { top: 5px; } .menu-btn .bars::after { bottom: 0; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; box-shadow: 0 20px 30px -20px rgba(11,23,48,.3);
  }
  .js .nav.open { display: flex; }
  .js .nav a:not(.btn) { padding: 12px 10px; font-size: 17px; }
  .js .nav .btn { margin: 8px 0 0; justify-content: center; }
  html:not(.js) .header-row { flex-wrap: wrap; padding: 8px 0; }
  html:not(.js) .nav { flex-wrap: wrap; margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--orange); color: var(--navy-0); box-shadow: 0 8px 20px -10px rgba(242,140,40,.9); }
.btn-primary:hover { background: #f59a3e; transform: translateY(-1px); }
.btn-dark { background: var(--navy-0); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b9c6da; }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost { color: #fff; border-color: rgba(198,212,231,.45); }
.dark .btn-ghost:hover, .alt .btn-ghost:hover { border-color: #fff; }
.alt .btn-ghost { color: #fff; border-color: rgba(198,212,231,.45); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Common type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-ink); display: inline-flex; align-items: center; gap: 10px;
}
.dark .eyebrow { color: var(--orange); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.dark .lede { color: var(--d-ink-2); }
.muted { color: var(--ink-3); }
.dark .muted { color: var(--d-ink-3); }
.small { font-size: 14px; line-height: 1.5; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.paper { background: var(--paper); }
.dark { background: var(--navy-0); color: var(--d-ink); }
.section.dark { background:
    radial-gradient(900px 500px at 100% 0%, rgba(80, 120, 180, .22), transparent 60%),
    linear-gradient(170deg, var(--navy-1) 0%, var(--navy-0) 70%); }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 860px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.sec-index {
  display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase;
}
.sec-index::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dark .sec-index { color: var(--d-ink-3); }
.dark .sec-index::after { background: var(--line-dark); }
.sec-index b { color: var(--orange-ink); font-weight: 600; }
.dark .sec-index b { color: var(--orange); }

/* ---------- Status badges (same wording and colours as the catalogue) ---------- */
.status {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-ok { color: var(--ok-ink); background: var(--ok-bg); }
.s-plan { color: var(--plan-ink); background: var(--plan-bg); }
.dark .s-ok { color: #5ad6a0; background: rgba(63, 185, 132, .16); }
.dark .s-plan { color: #a9cdf1; background: rgba(142, 187, 232, .16); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(800px 480px at 88% 10%, rgba(242, 140, 40, .13), transparent 62%),
  radial-gradient(700px 520px at 70% 90%, rgba(45, 108, 176, .12), transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero::before { /* fine engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(21,48,90,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(21,48,90,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; gap: 48px; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.035em; margin: 20px 0 22px; }
.hero h1 em { display: block; }
.hero h1, .hero h1 em { text-wrap: pretty; }
.hero .lede { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

.facts { position: relative; border-top: 1px solid var(--line); display: grid; gap: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 26px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .fact { border-bottom: 0; padding: 30px 28px 34px; border-left: 1px solid var(--line); } .fact:first-child { border-left: 0; padding-left: 0; } }
.fact b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--navy-2); line-height: 1.1; }
.fact b i { font-style: normal; color: var(--orange-ink); }
.fact span { color: var(--ink-2); font-size: 16px; }

/* Hero device stage */
.stage { position: relative; padding: 0 0 12% 10%; }
.stage .orbit {
  position: absolute; right: -6%; top: -8%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(242, 140, 40, .55); pointer-events: none;
}
.stage .orbit::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); top: 14%; left: 12%; box-shadow: 0 0 0 6px rgba(242,140,40,.18); }
.stage .browser { position: relative; box-shadow: var(--shadow-lg); }
.stage .phone { position: absolute; left: 0; bottom: 0; width: 31%; min-width: 118px; box-shadow: var(--shadow-lg); }
.stage .chip {
  position: absolute; right: -2%; bottom: 4%; max-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.4; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start;
}
.stage .chip b { display: block; color: var(--ink); font-size: 14px; }
.stage .chip .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--ok-bg); color: var(--ok-ink); display: grid; place-items: center; }
@media (max-width: 560px) { .stage { padding: 0 0 18% 6%; } .stage .chip { display: none; } }

.cycle { position: relative; }
.cycle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .9s ease; }
.cycle img.on { opacity: 1; }
.cycle-ctl {
  position: absolute; z-index: 3; left: calc(31% + 12px); bottom: 6px;
  display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; cursor: pointer; box-shadow: var(--shadow);
}
.js .cycle-ctl { display: inline-flex; }
.cycle-ctl svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .cycle-ctl { left: auto; right: 0; bottom: -4px; } }

/* ---------- Device frames (pure CSS) ---------- */
.browser { border-radius: 14px; background: #fff; border: 1px solid #cfd8e6; overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #eef2f8; border-bottom: 1px solid #dbe3ee; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d3e1; }
.browser .bar i:nth-child(1) { background: #f2a0a0; } .browser .bar i:nth-child(2) { background: #f3cf7c; } .browser .bar i:nth-child(3) { background: #97d4ad; }
.browser .bar span {
  margin: 0 auto; transform: translateX(-20px);
  font-size: 11.5px; font-weight: 600; color: var(--ink-3); background: #fff; border: 1px solid #dbe3ee; border-radius: 6px; padding: 2px 14px; max-width: 60%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser .screen { aspect-ratio: 16 / 10; background: #f4f6fa; position: relative; }
.browser .screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.dark .browser { border-color: #2b4c7e; }

.phone {
  position: relative; border-radius: 15% / 7%; background: var(--navy-0); padding: 3.2%;
  border: 1px solid #2b3f63;
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 12%; background: #24365a; border-radius: 0 3px 3px 0;
}
.phone .screen { position: relative; aspect-ratio: 390 / 844; border-radius: 12.5% / 5.8%; overflow: hidden; background: #fff; }
.phone .screen::after { /* dynamic island */
  content: ""; position: absolute; z-index: 2; top: 1.6%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.4%; background: var(--navy-0); border-radius: 999px;
}
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen .status-bar { position: absolute; inset: 0 0 auto; height: 6%; background: #fff; z-index: 1; }
.phone .screen .status-bar + img, .phone .screen .status-bar ~ .cycle { position: absolute; top: 6%; left: 0; right: 0; bottom: 0; height: auto; }

.kiosk { width: 100%; max-width: 640px; margin: 0 auto; }
.kiosk .head { border-radius: 18px; background: #1b2740; padding: 14px; border: 1px solid #33466b; box-shadow: var(--shadow-lg); position: relative; }
.kiosk .head::after { /* camera */
  content: ""; position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #3b5079;
}
.kiosk .screen { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: #0f1f3a; }
.kiosk .screen > img { width: 100%; height: 100%; object-fit: cover; }
.kiosk .neck { width: 15%; height: 70px; margin: 0 auto; background: linear-gradient(90deg, #22314f, #33466b 50%, #22314f); }
.kiosk .foot { width: 52%; height: 16px; margin: 0 auto; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #33466b, #1b2740); }
.kiosk .shadow { width: 64%; height: 14px; margin: 4px auto 0; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); }

/* ---------- Channels showcase (tabs) ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 -4px 36px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: transparent; border: 1px solid var(--line-dark); color: var(--d-ink-2);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.tab:hover { color: #fff; border-color: var(--d-ink-3); }
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy-0); }
html:not(.js) .tabs { display: none; }

.panel { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .panel { grid-template-columns: 5fr 7fr; gap: 64px; } }
html:not(.js) .panel + .panel { margin-top: 80px; }
.js .panel[hidden] { display: none; }
.panel h3 { font-size: clamp(26px, 2.8vw, 34px); margin: 14px 0 14px; }
.panel .k { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }
.dots { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.dots li { position: relative; padding-left: 26px; color: var(--d-ink-2); }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.light-list li { color: var(--ink-2); }

.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb {
  border: 1px solid var(--line-dark); background: rgba(19, 42, 78, .6); color: var(--d-ink-2); border-radius: 10px; padding: 8px 12px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.thumb:hover { color: #fff; border-color: var(--d-ink-3); }
.thumb[aria-pressed="true"] { color: #fff; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
html:not(.js) .thumbs { display: none; }
.frame-stack { position: relative; }
.frame-stack .browser .screen > img { transition: opacity .35s ease; }
.phones { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); align-items: flex-end; }
.phones .phone { width: min(32%, 250px); }
.phones .phone:nth-child(2) { transform: translateY(-28px); }
.caption { margin-top: 16px; font-size: 13px; color: var(--d-ink-3); font-family: var(--mono); }
.paper .caption, .light .caption { color: var(--ink-3); }

/* Watch illustration */
.watches { display: flex; justify-content: center; gap: clamp(18px, 5vw, 48px); flex-wrap: wrap; }
.watch { width: 210px; position: relative; padding: 46px 0; }
.watch .strap { position: absolute; left: 22%; right: 22%; background: linear-gradient(90deg, #172846, #23395e 50%, #172846); }
.watch .strap.t { top: 0; height: 60px; border-radius: 14px 14px 4px 4px; }
.watch .strap.b { bottom: 0; height: 60px; border-radius: 4px 4px 14px 14px; }
.watch .case { position: relative; z-index: 1; aspect-ratio: 41 / 49; border-radius: 34%/30%; background: #24324d; padding: 10px; border: 1px solid #3a4d73; box-shadow: var(--shadow-lg); }
.watch .case::after { content: ""; position: absolute; right: -7px; top: 26%; width: 7px; height: 20%; border-radius: 0 6px 6px 0; background: #3a4d73; }
.watch .face { height: 100%; border-radius: 28%/24%; background: #000; color: #fff; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.watch .face .t { color: var(--orange); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.watch .face .v { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.watch .face .s { color: #9fb2cc; font-size: 11px; }
.watch .face .act { margin-top: auto; background: #1d2c47; border-radius: 999px; padding: 7px 10px; text-align: center; font-weight: 700; font-size: 11.5px; }
.watch.round .case { border-radius: 50%; aspect-ratio: 1; padding: 9px; }
.watch.round .face { border-radius: 50%; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.watch.round .face .act { margin-top: 6px; }

/* Assistant illustration */
.chat { max-width: 520px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); }
.chat .top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat .top img { width: 30px; height: 30px; border-radius: 8px; }
.chat .top b { font-size: 15px; }
.chat .top span { margin-left: auto; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; margin-bottom: 10px; }
.bubble.me { margin-left: auto; background: var(--navy-2); color: #fff; border-bottom-right-radius: 5px; }
.bubble.ai { background: var(--paper); border-bottom-left-radius: 5px; }
.bubble.ai b { color: var(--navy-2); }
.bubble.ar { direction: rtl; text-align: right; font-family: var(--font); }
.chat .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- Why cards ---------- */
.why { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why article { background: #fff; padding: 32px 28px 34px; display: grid; gap: 10px; align-content: start; }
.why .n { font-family: var(--mono); font-size: 13px; color: var(--orange-ink); font-weight: 600; }
.why h3 { font-size: 21px; letter-spacing: -.015em; }
.why p { color: var(--ink-2); margin: 0; font-size: 16px; }

.pull { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 16px; padding-left: 26px; border-left: 4px solid var(--orange); max-width: 900px; }
.pull blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.pull p { color: var(--ink-2); margin: 0; }
.dark .pull p { color: var(--d-ink-2); }

/* ---------- Product family ---------- */
.fam-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 18px; }
.fam-head h3 { font-size: 22px; }
.fam-head p { margin: 0; color: var(--ink-3); font-size: 15px; }
.family { display: grid; gap: 16px; margin-bottom: 48px; }
@media (min-width: 700px) { .family { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .family { grid-template-columns: repeat(3, 1fr); } }
.prod {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c3cfe1; }
.prod .row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.prod .row h4 { flex: 1 1 220px; }
.prod h4 { font-size: 20px; letter-spacing: -.015em; }
.prod p { margin: 0; color: var(--ink-2); font-size: 16px; }
.prod .go { font-size: 14px; font-weight: 700; color: var(--navy-2); display: inline-flex; gap: 6px; align-items: center; }
.prod .go::after { content: "→"; transition: transform .2s ease; }
.prod:hover .go::after { transform: translateX(3px); }
.prod.flag { background: linear-gradient(150deg, var(--navy-2), var(--navy-0) 75%); color: #fff; border-color: var(--navy-2); overflow: hidden; }
.prod.flag p { color: var(--d-ink-2); }
.prod.flag .go { color: var(--orange); }
.prod.flag .s-ok { color: #5ad6a0; background: rgba(63, 185, 132, .18); }
.prod.flag .mini { margin: 6px -24px -22px 24px; border-radius: 10px 0 0 0; overflow: hidden; border: 1px solid #2b4c7e; border-right: 0; border-bottom: 0; }
.prod.flag .mini img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: top left; }
@media (min-width: 700px) { .prod.flag { grid-column: span 2; grid-row: span 2; } }
.prod.planned { background: transparent; border-style: dashed; border-color: #b9c6da; }
.prod.planned:hover { background: #fff; }

/* ---------- Journeys ---------- */
.journeys { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .journeys { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .journeys { grid-template-columns: repeat(3, 1fr); } }
.journeys section { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .journeys section { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (min-width: 640px) and (max-width: 999px) { .journeys section:nth-child(2n+1) { border-left: 0; padding-left: 0; } }
@media (min-width: 1000px) { .journeys section:nth-child(3n+1) { border-left: 0; padding-left: 0; } }
.journeys h3 { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.journeys ul { list-style: none; display: grid; gap: 7px; }
.journeys li { color: var(--ink-2); font-size: 16px; line-height: 1.45; padding-left: 18px; position: relative; }
.journeys li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--navy-3); }
.planned-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; color: var(--ink-2); font-size: 16px; }

/* ---------- Back office spotlight ---------- */
.spot { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .spot > :first-child { position: sticky; top: 96px; } }
@media (min-width: 1000px) { .spot { grid-template-columns: 7fr 5fr; gap: 64px; } }
.spot .browser { box-shadow: var(--shadow-lg); }
.cap-list { list-style: none; display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.cap-list li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.cap-list li b { color: var(--ink); font-size: 15.5px; }
@media (max-width: 520px) { .cap-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Architecture ---------- */
.arch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(14px, 3vw, 34px); box-shadow: var(--shadow); }
.arch svg { width: 100%; height: auto; font-family: var(--font); }
.arch .tall { display: none; }
@media (max-width: 760px) { .arch .wide { display: none; } .arch .tall { display: block; max-width: 420px; margin: 0 auto; } }
.arch .legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.arch .legend span { display: inline-flex; align-items: center; gap: 8px; }
.arch .legend i { width: 18px; height: 12px; border-radius: 3px; display: inline-block; }
.svg-benten { fill: var(--navy-2); }
.svg-benten-2 { fill: var(--navy-0); }
.svg-chip { fill: #1f4277; }
.svg-bank { fill: #fff7ee; stroke: var(--orange); stroke-width: 1.5; }
.svg-chan { fill: var(--paper); stroke: #c4d0e2; stroke-width: 1.2; }
.svg-dc { fill: none; stroke: #9fb0c8; stroke-width: 1.4; stroke-dasharray: 6 6; }
.svg-flow { stroke: var(--navy-3); stroke-width: 1.6; fill: none; }
.svg-flow-o { stroke: var(--orange); stroke-width: 2; fill: none; }
.t-w { fill: #fff; font-weight: 700; }
.t-w2 { fill: #c6d4e7; font-weight: 500; }
.t-d { fill: var(--ink); font-weight: 700; }
.t-d2 { fill: var(--ink-2); font-weight: 500; }
.t-o { fill: var(--orange-ink); font-weight: 700; font-family: var(--mono); letter-spacing: .06em; }
.t-m { fill: var(--ink-3); font-family: var(--mono); letter-spacing: .05em; }

.found { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 700px) { .found { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .found { grid-template-columns: repeat(3, 1fr); } }
.found article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.found .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-ink); }
.found .ico svg { width: 24px; height: 24px; }
.found h3 { font-size: 19px; letter-spacing: -.01em; }
.found p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec-grid article { border: 1px solid var(--line-dark); background: rgba(19, 42, 78, .55); border-radius: var(--radius); padding: 26px 24px; }
.sec-grid h3 { font-size: 18px; margin-bottom: 14px; color: #fff; }
.sec-grid .dots { margin: 0; gap: 9px; }
.sec-grid .dots li { font-size: 15.5px; line-height: 1.5; }

/* ---------- Engagement ---------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: 16px; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--orange-ink);
  display: block; margin-bottom: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.engage-top { display: grid; gap: 16px; margin-bottom: 46px; }
@media (min-width: 900px) { .engage-top { grid-template-columns: repeat(3, 1fr); } }
.engage-top article { padding: 24px 0 0; border-top: 2px solid var(--navy-2); }
.engage-top article:nth-child(2) { border-color: var(--orange); }
.engage-top h3 { font-size: 20px; margin-bottom: 8px; }
.engage-top p { color: var(--ink-2); margin: 0; font-size: 16px; }
.sub-h { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 22px; }

/* ---------- Contact ---------- */
.downloads { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 760px) { .downloads { grid-template-columns: 1fr 1fr; } }
.dl { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.dl:hover { border-color: var(--navy-3); box-shadow: var(--shadow); }
.dl .doc { flex: none; width: 46px; height: 58px; border-radius: 6px; background: linear-gradient(160deg, var(--navy-2), var(--navy-0)); position: relative; box-shadow: 0 6px 14px -8px rgba(11,23,48,.6); }
.dl .doc::after { content: "PDF"; position: absolute; left: 6px; bottom: 7px; font-size: 10px; font-weight: 800; color: var(--orange); letter-spacing: .05em; }
.dl .doc::before { content: ""; position: absolute; top: 8px; left: 7px; right: 7px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; box-shadow: 0 6px 0 rgba(255,255,255,.25), 0 12px 0 rgba(255,255,255,.18); }
.dl > span:nth-child(2) { color: var(--ink); }
.dl b { display: block; font-size: 17px; }
.dl > span:nth-child(2) > span { display: block; font-size: 14px; color: var(--ink-3); }
.dl .arrow { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.dl .arrow svg { width: 18px; height: 18px; }

.contact-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; } }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow); }
.card-form.alt { background: linear-gradient(165deg, var(--navy-2), var(--navy-0) 80%); color: #fff; border-color: var(--navy-2); }
.card-form h3 { font-size: 26px; margin-bottom: 8px; }
.card-form > p { color: var(--ink-2); margin-bottom: 22px; font-size: 16px; }
.card-form.alt > p { color: var(--d-ink-2); }
.fields { display: grid; gap: 16px; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.alt .field label, .alt .field legend { color: #fff; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.alt .field .opt { color: var(--d-ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #b9c6da; background: #fff; color: var(--ink); font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(242, 140, 40, .35); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b42318; }
.alt .field input, .alt .field select, .alt .field textarea { border-color: #4b6898; }
.hint { font-size: 13px; color: var(--ink-3); }
.alt .hint { color: var(--d-ink-3); }
.err { font-size: 13.5px; color: #b42318; font-weight: 600; }
.alt .err { color: #ffb4a8; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check label {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1.5px solid #b9c6da; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--ink); user-select: none;
}
.check label::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #8ea0bb; background: #fff; flex: none; }
.check input:checked + label { border-color: var(--navy-2); background: #eef3fa; }
.check input:checked + label::before { background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--navy-2); }
.check input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-foot { display: grid; gap: 14px; margin-top: 22px; }
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); background: var(--paper); border-radius: 10px; padding: 12px 14px; }
.alt .notice { background: rgba(255,255,255,.08); color: var(--d-ink-2); }
.notice svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--orange-ink); }
.alt .notice svg { color: var(--orange); }
.form-status { font-size: 14.5px; font-weight: 600; color: var(--ok-ink); min-height: 1.4em; }
.alt .form-status { color: #7ee2b4; }
.form-status.bad { color: #b42318; }
.alt .form-status.bad { color: #ffb4a8; }
.or-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.or-links a, .link-btn { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-size: inherit; }
.mailline { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 16px; color: var(--ink-2); }
.mailline a { font-weight: 700; color: var(--ink); }

/* ---------- Closing band ---------- */
.closing { position: relative; overflow: hidden; }
.closing .wrap { position: relative; display: grid; gap: 26px; justify-items: start; }
.closing h2 { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; letter-spacing: -.035em; }
.closing .ring { position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; border: 1.5px dashed rgba(242,140,40,.45); }
.closing .ring.two { right: -40px; top: -60px; width: 360px; height: 360px; border-style: solid; border-color: rgba(142,187,232,.18); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-0); color: var(--d-ink-2); padding: 64px 0 34px; font-size: 15px; }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h2 { font-size: 13px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--d-ink-3); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--d-ink-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: 13.5px; color: var(--d-ink-3); }
@media (min-width: 860px) { .foot-base { grid-template-columns: auto 1fr; gap: 24px; } .foot-base p:last-child { text-align: right; } }
.foot-base p { margin: 0; }

/* ---------- Products page ---------- */
.page-hero { background: linear-gradient(180deg, #fff, var(--paper)); padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -.035em; margin: 18px 0 18px; max-width: 18ch; }
.legend-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.jump a:hover { border-color: var(--navy-3); color: var(--ink); }
.pblock { display: grid; gap: 28px; padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .pblock { grid-template-columns: 5fr 7fr; gap: 64px; } }
.pblock .meta { display: grid; gap: 14px; align-content: start; }
.pblock h2 { font-size: clamp(28px, 3.4vw, 40px); }
.pblock .one { font-size: 19px; color: var(--ink-2); margin: 0; }
.pblock ul.dots li { color: var(--ink-2); }
.pblock .dots { margin: 0; }
.pblock .body { display: grid; gap: 22px; align-content: start; }
.pblock .body .browser { box-shadow: var(--shadow); }
.pblock .tagline { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; }

/* Simple prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; margin-bottom: 1em; }

/* ---------- Reveal motion (only when JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .rv.in { opacity: 1; transform: none; }
  .stage .orbit { animation: spin 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .closing, .cycle-ctl, .tabs, .thumbs { display: none !important; }
  .section.dark, .dark { background: #fff !important; color: #000 !important; }
}
