/* ADVARNA — site styles
   Visual language: measuring instruments. Ruler ticks, crop marks, monospace readouts. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/assets/fonts/jetbrains-mono.woff2) format('woff2');
}

:root {
  --ink-950: #07111d;
  --ink-900: #0b1726;
  --ink-800: #11223a;
  --ink-700: #1a2f4a;
  --slate: #2c3e50;
  --text: #16212e;
  --muted: #566577;
  --line: #dfe5ec;
  --line-strong: #c9d3de;
  --paper: #f4f6f8;
  --paper-2: #eaeef2;
  --white: #fff;
  --blue: #54b9ff;
  --blue-soft: #e5f4ff;
  --blue-ink: #0b6fb8;
  --orange: #ff8c42;
  --orange-ink: #b9530f;
  --green: #2c9a63;
  --green-soft: #e4f4ec;

  --font-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 76px;
  --shadow-sm: 0 1px 2px rgb(11 23 38 / .06), 0 1px 1px rgb(11 23 38 / .04);
  --shadow: 0 10px 30px -12px rgb(11 23 38 / .18), 0 2px 6px rgb(11 23 38 / .05);
  --shadow-lg: 0 30px 60px -20px rgb(11 23 38 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  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; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; font-stretch: 108%; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--blue); color: var(--ink-900); }

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.hl { color: var(--blue-ink); }
.hl-green { color: var(--green); }

/* ---------- buttons ---------- */

.btn {
  --btn-h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--btn-h); padding: 0 1.25em;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --btn-h: 38px; padding: 0 1em; font-size: .88rem; }
.btn-lg { --btn-h: 54px; padding: 0 1.5em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--ink-900); box-shadow: 0 6px 18px -8px rgb(84 185 255 / .8); }
.btn-primary:hover { background: #77c8ff; }
.btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .35); background: rgb(255 255 255 / .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .1); }
.btn-outline { color: var(--ink-900); border-color: var(--line-strong); background: var(--white); }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-light { background: var(--white); color: var(--ink-900); }
.btn-light:hover { background: var(--blue-soft); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--blue-ink); text-decoration: none; }
.text-link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- motifs ---------- */

/* Ruler: minor tick every 8px, major every 80px. */
.ruler {
  height: 14px;
  background:
    linear-gradient(to right, currentColor 1px, transparent 1px) 0 0 / 80px 14px repeat-x,
    linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 8px 6px repeat-x;
  opacity: .22;
}

/* Crop marks in the four corners of a framed image. */
.crop { position: absolute; inset: 10px; pointer-events: none; }
.crop::before, .crop::after {
  content: ''; position: absolute; inset: 0;
  --c: rgb(255 255 255 / .9); --l: 14px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.crop::after { display: none; }
.crop--lg { inset: 16px; }
.crop--lg::before { --l: 22px; --w: 2px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-index { color: var(--blue-ink); font-weight: 700; }
.eyebrow-rule { width: 36px; height: 1px; background: currentColor; opacity: .5; }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue); animation: pulse 2s var(--ease) infinite; }
.pulse--orange { background: var(--orange); }
.pulse--orange::after { border-color: var(--orange); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* Scroll reveal (only when JS is running). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse::after { animation: none; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-overlay { position: fixed; inset: 0 0 auto; background: transparent; backdrop-filter: none; border-bottom-color: rgb(255 255 255 / .12); }
.site-header.is-overlay.is-scrolled { background: rgb(255 255 255 / .94); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; display: block; width: 168px; flex: none; }
.brand-logo { width: 100%; height: auto; transition: opacity .3s; }
.brand-logo--light { position: absolute; inset: 0; opacity: 0; }
.is-overlay:not(.is-scrolled):not(.is-open) .brand-logo--light { opacity: 1; }
.is-overlay:not(.is-scrolled):not(.is-open) .brand-logo--dark { opacity: 0; }

.main-nav { margin-inline: auto; }
.main-nav-list { display: flex; align-items: center; gap: 4px; }
.main-nav-list > li { position: relative; display: flex; align-items: center; }
.main-nav-list > li > a {
  display: block; padding: 10px 12px;
  font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--text);
  border-radius: var(--radius-sm); transition: color .2s, background-color .2s;
}
.main-nav-list > li > a:hover { color: var(--blue-ink); background: var(--paper); }
.is-overlay:not(.is-scrolled) .main-nav-list > li > a { color: rgb(255 255 255 / .86); }
.is-overlay:not(.is-scrolled) .main-nav-list > li > a:hover { color: var(--white); background: rgb(255 255 255 / .08); }
.submenu-toggle { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; padding: 0; border: 0; background: none; color: inherit; border-radius: var(--radius-sm); }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.is-overlay:not(.is-scrolled) .submenu-toggle { color: rgb(255 255 255 / .86); }
.has-submenu.is-open .submenu-toggle .icon { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(640px, 90vw); padding: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.submenu::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-submenu.is-open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.submenu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.submenu-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); text-decoration: none; transition: background-color .15s; }
.submenu-item:hover { background: var(--paper); }
.submenu-thumb { width: 56px; height: 42px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); flex: none; }
.submenu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.submenu-name { display: block; font-weight: 700; font-size: .88rem; letter-spacing: .01em; }
.submenu-sub { display: block; font-size: .8rem; color: var(--muted); }
.submenu-all { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--blue-ink); }
.submenu-all .icon { width: 1em; height: 1em; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; }
.lang-switch a { padding: 5px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); transition: color .2s, background-color .2s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--ink-900); color: var(--white); }
.is-overlay:not(.is-scrolled):not(.is-open) .lang-switch--header { border-color: rgb(255 255 255 / .25); }
.is-overlay:not(.is-scrolled):not(.is-open) .lang-switch--header a { color: rgb(255 255 255 / .7); }
.is-overlay:not(.is-scrolled):not(.is-open) .lang-switch--header a[aria-current] { background: var(--white); color: var(--ink-900); }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink-900); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.is-open .nav-toggle-open { display: none; }
.is-open .nav-toggle-close { display: block; }
.is-overlay:not(.is-scrolled):not(.is-open) .nav-toggle { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .25); color: var(--white); }

.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .main-nav, .lang-switch--header, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .site-header.is-open { background: var(--white); border-bottom-color: var(--line); }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    display: block; overflow-y: auto; padding: 24px 0 40px;
    background: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .is-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-nav-list > li { border-bottom: 1px solid var(--line); }
  .mobile-nav-list > li > a { display: block; padding: 16px 0; font-size: 1.25rem; font-weight: 600; font-stretch: 108%; text-decoration: none; }
  .mobile-subnav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 0 0 16px; }
  .mobile-subnav a { display: block; padding: 6px 0; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); text-decoration: none; }
  .lang-switch--mobile { margin-top: 24px; font-size: .85rem; }
  .lang-switch--mobile a { padding: 8px 16px; }
}
@media (max-width: 420px) { .brand { width: 140px; } }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 0;
  color: var(--white); background: var(--ink-950);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; opacity: .55; }
.hero-video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s; }
.hero-video.is-ready { opacity: 1; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(7 17 29 / .94) 0%, rgb(7 17 29 / .78) 45%, rgb(7 17 29 / .35) 100%),
    linear-gradient(0deg, rgb(7 17 29 / .9) 0%, transparent 35%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgb(84 185 255 / .6) 1px, transparent 1px), linear-gradient(90deg, rgb(84 185 255 / .6) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 14px 7px 12px; margin-bottom: 28px;
  border: 1px solid rgb(84 185 255 / .35); border-radius: 999px; background: rgb(84 185 255 / .08);
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #bfe3ff;
}
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; font-stretch: 112%; max-width: 15ch; }
.hero-title .hl { color: var(--blue); }
.hero-sub { margin-top: 26px; max-width: 54ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: rgb(255 255 255 / .74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.readout {
  position: relative;
  padding: 22px 22px 0;
  border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(17 34 58 / .72), rgb(7 17 29 / .72));
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7);
  overflow: hidden;
}
.readout-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px dashed rgb(255 255 255 / .18); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.readout-live { color: var(--orange); animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .readout-live { animation: none; } }
.readout-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.readout-row dt { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.readout-row dt span { display: block; margin-top: 2px; font-size: .68rem; color: rgb(84 185 255 / .85); letter-spacing: .04em; }
.readout-row dd { font-size: 1.45rem; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout-trace { width: calc(100% + 44px); height: 54px; margin: 6px -22px 0; }
.readout-trace path { fill: none; stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: trace 3s var(--ease) .6s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .readout-trace path { animation: none; stroke-dashoffset: 0; } }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 56px; padding-bottom: 120px; }
.hero-connect { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: rgb(255 255 255 / .75); }
.hero-connect span { margin-right: 14px; padding-right: 14px; border-right: 1px solid rgb(255 255 255 / .2); color: rgb(255 255 255 / .45); text-transform: uppercase; }
.hero-connect i { font-style: normal; margin: 0 8px; color: var(--blue); }
.hero-scroll { display: grid; place-items: center; width: 30px; height: 48px; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; flex: none; }
.hero-scroll span { width: 2px; height: 10px; background: var(--white); border-radius: 2px; animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .readout { max-width: 520px; }
  .readout-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .readout-list { grid-template-columns: 1fr; }
  .readout-row dd { font-size: 1.2rem; }
  .hero-scroll { display: none; }
  .hero-foot { padding-bottom: 96px; }
  .hero-connect span { display: block; border: 0; margin: 0 0 6px; padding: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- pillars ---------- */

.pillars { position: relative; z-index: 2; margin-top: -72px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.pillar { position: relative; padding: 34px 32px 36px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue-ink); }
.pillar:nth-child(2) .pillar-icon { background: #fff1e7; color: var(--orange-ink); }
.pillar:nth-child(3) .pillar-icon { background: var(--green-soft); color: var(--green); }
.pillar-icon .icon { width: 24px; height: 24px; }
.pillar-index { position: absolute; top: 34px; right: 32px; font-family: var(--font-mono); font-size: .75rem; color: var(--line-strong); }
.pillar-title { font-size: 1.2rem; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */

.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.025em; font-stretch: 110%; }
.section-title--sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.subsection-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 28px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- products ---------- */

.section--products { background: var(--paper); padding-top: clamp(96px, 10vw, 136px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
  font-size: .86rem; font-weight: 500; color: var(--muted);
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--ink-900); }
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.product-card:not(.product-card--custom):hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card[hidden] { display: none; }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media .crop { opacity: 0; transition: opacity .3s, inset .3s var(--ease); inset: 18px; }
.product-card:hover .product-media .crop { opacity: 1; inset: 12px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-ink); }
.product-ref { color: var(--line-strong); }
.product-name { margin-top: 10px; font-size: 1.15rem; letter-spacing: .005em; font-stretch: 112%; }
.product-name a { text-decoration: none; }
.product-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-name a:focus-visible { outline: none; }
.product-card:has(.product-name a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.product-sub { margin-top: 2px; font-size: .9rem; font-weight: 500; color: var(--slate); }
.product-desc { margin: 12px 0 16px; font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.product-specs { margin-top: auto; padding-top: 16px; }
.product-specs div:first-child { border-top: 1px solid var(--line); }
.product-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .8rem; }
.product-specs dt { color: var(--muted); }
.product-specs dd { font-family: var(--font-mono); font-weight: 600; font-size: .78rem; text-align: right; white-space: nowrap; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.product-card--compact .product-foot { margin-top: auto; }
.tech-list { display: flex; flex-wrap: wrap; gap: 4px; }
.tech-list li { padding: 3px 7px; border-radius: 4px; background: var(--paper); font-family: var(--font-mono); font-size: .64rem; font-weight: 500; color: var(--slate); letter-spacing: .02em; }
.product-link { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-900); flex: none; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.product-link .icon { width: 16px; height: 16px; }
.product-card:hover .product-link { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }

.product-card--custom { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.product-card--custom::before {
  content: ''; position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgb(84 185 255 / .7) 1px, transparent 1px), linear-gradient(90deg, rgb(84 185 255 / .7) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(160deg, #000, transparent 70%);
}
.custom-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 24px; }
.custom-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: rgb(84 185 255 / .14); color: var(--blue); }
.custom-icon .icon { width: 24px; height: 24px; }
.product-card--custom h3 { margin-top: auto; padding-top: 32px; font-size: 1.45rem; line-height: 1.15; }
.product-card--custom p { margin: 12px 0 24px; font-size: .92rem; color: rgb(255 255 255 / .68); }
.product-card--custom .btn { align-self: flex-start; }

.product-card--compact .product-body { padding-bottom: 20px; }

@media (max-width: 1180px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
}

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-intro > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 1.04rem; max-width: 60ch; }
.about-intro .about-lead { margin-top: 28px; color: var(--text); font-size: 1.2rem; line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--ink-900); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 18px 16px 0 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat dd { font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink-900); }
.stat dt { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.about-side { position: sticky; top: calc(var(--header-h) + 32px); }
.quote {
  position: relative; padding: 40px 36px 36px;
  background: var(--ink-900); color: var(--white); border-radius: var(--radius-lg);
  overflow: hidden;
}
.quote::before { content: '“'; position: absolute; top: -28px; right: 18px; font-size: 11rem; line-height: 1; font-weight: 800; color: var(--blue); opacity: .2; }
.quote::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; color: var(--white);
  background:
    linear-gradient(to right, currentColor 1px, transparent 1px) 0 0 / 60px 14px repeat-x,
    linear-gradient(to right, currentColor 1px, transparent 1px) 0 100% / 6px 6px repeat-x;
  opacity: .25; }
.quote blockquote p { position: relative; font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.22; font-weight: 600; font-stretch: 108%; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 24px; padding-bottom: 12px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

.section--about .subsection-title { margin-top: clamp(64px, 8vw, 104px); }
.dna-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dna { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .25s, box-shadow .3s; }
.dna:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.dna-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dna-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--paper); color: var(--ink-900); }
.dna-icon .icon { width: 22px; height: 22px; }
.dna-index { font-family: var(--font-mono); font-size: .75rem; color: var(--blue-ink); }
.dna h4 { font-size: 1.15rem; margin-bottom: 10px; }
.dna p { font-size: .94rem; color: var(--muted); }

.csr {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  margin-top: 20px; padding: 28px 32px;
  border-radius: var(--radius-lg); background: var(--green-soft); border: 1px solid #cbe8d8;
}
.csr-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: var(--white); }
.csr-icon .icon { width: 26px; height: 26px; }
.csr h3 { font-size: 1.25rem; margin-bottom: 8px; }
.csr p { color: #36584a; max-width: 92ch; }
.csr strong { color: var(--text); }
.csr-flag { display: flex; width: 54px; height: 36px; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); }
.csr-flag i { flex: 1; }
.csr-flag i:nth-child(1) { background: #1d4fa3; }
.csr-flag i:nth-child(2) { background: #fff; }
.csr-flag i:nth-child(3) { background: #e1263a; }

@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .dna-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 18px; }
  .csr { grid-template-columns: 1fr; padding: 24px; }
  .csr-flag { display: none; }
}

/* ---------- use cases ---------- */

.section--usecases { background: var(--paper); }
.usecases-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.usecases-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--ink-900); }
.usecases-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.usecases-figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(7 17 29 / .88) 0%, rgb(7 17 29 / .1) 60%); }
.usecases-figure figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 32px; color: var(--white); }
.usecases-figure figcaption p { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; font-stretch: 108%; line-height: 1.15; margin-bottom: 20px; max-width: 16ch; }
.usecases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.usecase { display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .25s, box-shadow .3s; }
.usecase:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.usecase-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: var(--radius); background: var(--ink-900); color: var(--blue); }
.usecase-icon .icon { width: 22px; height: 22px; }
.usecase h3 { font-size: 1.15rem; margin-bottom: 10px; }
.usecase p { font-size: .92rem; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 20px; }
.tag-list li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; color: var(--slate); }
.usecase .text-link { margin-top: auto; }
@media (max-width: 1000px) { .usecases-layout { grid-template-columns: 1fr; } .usecases-figure { min-height: 340px; } }
@media (max-width: 640px) { .usecases-grid { grid-template-columns: 1fr; } .usecase { padding: 24px; } }

/* ---------- platform ---------- */

.section--platform { background: var(--ink-950); color: var(--white); overflow: hidden; }
.platform-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgb(84 185 255 / .16), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgb(255 140 66 / .08), transparent 70%); }
.section--platform .eyebrow { color: rgb(255 255 255 / .55); }
.section--platform .eyebrow-index, .section--platform .hl { color: var(--blue); }
.section--platform .section-lead { color: rgb(255 255 255 / .66); margin-top: 20px; }
.platform-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.soon { margin-top: 36px; padding: 24px; border: 1px dashed rgb(255 140 66 / .45); border-radius: var(--radius-lg); background: rgb(255 140 66 / .05); }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.soon p:not(.soon-badge) { color: rgb(255 255 255 / .74); font-size: .95rem; margin-bottom: 20px; }

.dash { position: relative; }
.dash-label { position: absolute; top: -30px; right: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .4); }
.dash-window { border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); background: linear-gradient(180deg, #13263f, #0c1a2c); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(84 185 255 / .06) inset; overflow: hidden; font-family: var(--font-mono); }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.dash-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.dash-bar span { margin-left: 10px; font-size: .7rem; color: rgb(255 255 255 / .5); letter-spacing: .06em; }
.dash-body { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 12px; padding: 14px; }
.dash-map, .dash-alert, .dash-chart, .dash-list { border: 1px solid rgb(255 255 255 / .08); border-radius: var(--radius); background: rgb(255 255 255 / .02); }
.dash-map { position: relative; grid-row: span 2; padding: 12px; }
.dash-map-title, .dash-chart-title { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
.dash-map-svg { width: 100%; margin-top: 10px; }
.dash-river { fill: none; stroke: rgb(84 185 255 / .35); stroke-width: 6; stroke-linecap: round; }
.dash-bridge { fill: none; stroke: rgb(255 255 255 / .45); stroke-width: 1.5; }
.dot { fill: var(--blue); stroke: rgb(84 185 255 / .3); stroke-width: 6; }
.dot--alert { fill: var(--orange); stroke: rgb(255 140 66 / .3); animation: dotpulse 1.6s ease-in-out infinite; }
@keyframes dotpulse { 50% { stroke-width: 12; } }
@media (prefers-reduced-motion: reduce) { .dot--alert { animation: none; } }
.dash-count { display: block; margin-top: 8px; font-size: .7rem; color: rgb(255 255 255 / .55); }
.dash-count b { font-size: 1.3rem; color: var(--white); margin-right: 4px; }
.dash-alert { display: flex; gap: 10px; align-items: center; padding: 12px; border-color: rgb(255 140 66 / .4); background: rgb(255 140 66 / .08); }
.dash-alert-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgb(255 140 66 / .2); flex: none; }
.dash-alert b { display: block; font-size: .74rem; color: var(--orange); font-weight: 600; }
.dash-alert span { font-size: .68rem; color: rgb(255 255 255 / .6); }
.dash-list { padding: 6px 12px; }
.dash-list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .7rem; color: rgb(255 255 255 / .75); }
.dash-list li + li { border-top: 1px solid rgb(255 255 255 / .06); }
.dash-list em { margin-left: auto; font-style: normal; color: rgb(255 255 255 / .45); }
.dash-list .ok, .dash-list .warn { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.dash-list .warn { background: var(--orange); }
.dash-chart { position: relative; grid-column: 1 / -1; padding: 12px; }
.dash-chart svg { width: 100%; height: 110px; margin-top: 8px; }
.dash-chart .grid { stroke: rgb(255 255 255 / .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash-chart .threshold { stroke: var(--orange); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.dash-chart .area { fill: rgb(84 185 255 / .12); }
.dash-chart .line { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dash-threshold { position: absolute; right: 14px; top: 36px; font-size: .62rem; color: var(--orange); letter-spacing: .06em; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid rgb(255 255 255 / .12); }
.feature { padding: 32px 32px 32px 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.feature:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgb(255 255 255 / .12); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: var(--radius); border: 1px solid rgb(84 185 255 / .3); color: var(--blue); }
.feature-icon .icon { width: 21px; height: 21px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { font-size: .92rem; color: rgb(255 255 255 / .6); }

@media (max-width: 1000px) {
  .platform-grid { grid-template-columns: 1fr; }
  .dash { margin-top: 32px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature:not(:nth-child(3n+1)) { padding: 28px 24px 28px 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 24px; border-left: 1px solid rgb(255 255 255 / .12); }
}
@media (max-width: 600px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-map { grid-row: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding: 24px 0; border-left: 0; }
}

/* ---------- contact ---------- */

.section--contact { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info .section-lead { margin-top: 20px; }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); background: var(--ink-900); color: var(--blue); flex: none; }
.contact-icon .icon { width: 19px; height: 19px; }
.contact-label { display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { display: block; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue-ink); }
.contact-list address { font-weight: 500; }
.hours { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.hours h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 12px; }
.hours h3 .icon { color: var(--blue-ink); width: 18px; height: 18px; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: .92rem; }
.hours dt { color: var(--muted); }
.hours dd { font-family: var(--font-mono); font-size: .85rem; font-weight: 600; }

.form-card { position: relative; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue), var(--blue) 60%, var(--orange)); }
.form-head { margin-bottom: 24px; }
.form-head h3 { font-size: 1.5rem; }
.form-head p { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; }
.req { color: var(--orange-ink); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper);
  font-size: .95rem; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #8a97a6; }
.field input:hover, .field textarea:hover { border-color: #aab7c5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); background: var(--white); box-shadow: 0 0 0 4px rgb(84 185 255 / .2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 22px 0; font-size: .85rem; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent-box { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--white); color: transparent; transition: background-color .15s, border-color .15s, color .15s; }
.consent-box .icon { width: 14px; height: 14px; stroke-width: 3; }
.consent input:checked + .consent-box { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent a { color: var(--blue-ink); font-weight: 600; }
.form-error { margin-bottom: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecec; color: #9b2222; font-size: .88rem; }
.form-error a { font-weight: 600; }
.btn .spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { padding: 40px 8px; text-align: center; }
.form-success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.success-icon .icon { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { margin: 10px auto 28px; color: var(--muted); max-width: 40ch; }

@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer { position: relative; background: var(--ink-950); color: rgb(255 255 255 / .7); padding: 72px 0 32px; font-size: .92rem; }
.ruler--footer { position: absolute; top: 0; left: 0; right: 0; color: var(--blue); opacity: .3; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-logo { display: block; width: 160px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.footer-social { display: flex; gap: 8px; margin-top: 24px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .16); border-radius: var(--radius-sm); color: var(--white); transition: background-color .2s, border-color .2s, color .2s; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--ink-900); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-title { margin-bottom: 16px; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.footer-col li + li { margin-top: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-soon { color: rgb(255 255 255 / .45); }
.footer-soon em { margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: rgb(255 255 255 / .08); font-family: var(--font-mono); font-size: .62rem; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; font-size: .82rem; color: rgb(255 255 255 / .45); }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgb(255 255 255 / .1); }
.footer-tagline { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; }
.footer-top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: rgb(255 255 255 / .7); }
.footer-top:hover { color: var(--blue); }
.footer-top .icon { width: 15px; height: 15px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- cookie ---------- */

.cookie {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 20px;
  max-width: 760px; margin-inline: auto; padding: 16px 18px 16px 22px;
  background: var(--ink-900); color: rgb(255 255 255 / .8);
  border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  font-size: .85rem;
  animation: cookie-in .5s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--blue); }
.cookie .btn { flex: none; }
@keyframes cookie-in { from { transform: translateY(20px); opacity: 0; } }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; } }

/* ---------- product page ---------- */

.pd-hero { padding: 28px 0 clamp(56px, 7vw, 88px); background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-ink); }
.breadcrumb [aria-current] { color: var(--text); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); margin-top: 28px; align-items: start; }
.pd-figure { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.pd-figure img { width: 100%; height: 100%; object-fit: cover; }
.pd-figure-tag { position: absolute; left: 28px; bottom: 26px; padding: 5px 10px; border-radius: 4px; background: rgb(7 17 29 / .7); backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--white); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb { width: 96px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
.pd-thumb img { aspect-ratio: 4 / 3; object-fit: cover; }
.pd-thumb[aria-pressed="true"], .pd-thumb:hover { opacity: 1; border-color: var(--blue); }
.pd-range { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-ink); }
.pd-title { margin-top: 18px; font-size: clamp(2.3rem, 4.6vw, 3.8rem); letter-spacing: -0.02em; font-stretch: 115%; line-height: 1; }
.pd-sub { margin-top: 10px; font-size: 1.15rem; font-weight: 600; color: var(--blue-ink); }
.pd-summary { margin-top: 18px; font-size: 1.08rem; color: var(--muted); max-width: 52ch; }
.pd-tech { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.pd-tech-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tech-list--lg li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; font-size: .74rem; border: 1px solid var(--line); background: var(--white); }
.tech-list--lg .icon { width: 13px; height: 13px; color: var(--blue-ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pd-keyspecs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--ink-900); }
.pd-keyspecs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 12px 0 0; }
.pd-keyspecs div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.pd-keyspecs dd { font-family: var(--font-mono); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-900); }
.pd-keyspecs dt { font-size: .78rem; color: var(--muted); }

.pd-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.pd-tabs .container { display: flex; gap: 28px; }
.pd-tabs a { position: relative; padding: 16px 0; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--muted); transition: color .2s; }
.pd-tabs a:hover { color: var(--text); }
.pd-tabs a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue-ink); }
.pd-tabs a[aria-current] { color: var(--text); }

.pd-section-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pd-section-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 80px); }
.pd-section--specs { background: var(--paper); }
.pd-intro { font-size: 1.12rem; margin-bottom: 28px; max-width: 64ch; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; font-size: .95rem; }
.feature-list .icon { width: 20px; height: 20px; color: var(--green); stroke-width: 2.5; margin-top: 1px; }
.spec-groups { display: grid; gap: 20px; }
.spec-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-group h3 { padding: 16px 20px; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--paper)); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 13px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 40%; font-weight: 500; color: var(--muted); }
.spec-table td { font-family: var(--font-mono); font-size: .86rem; font-weight: 500; color: var(--ink-900); }
.spec-table tr:hover { background: var(--paper); }

.cta-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--ink-900); color: var(--white); overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; opacity: .2;
  background-image: linear-gradient(rgb(84 185 255 / .7) 1px, transparent 1px), linear-gradient(90deg, rgb(84 185 255 / .7) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin-top: 8px; color: rgb(255 255 255 / .7); }
.section--related { padding-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1000px) {
  .pd-grid, .pd-section-grid { grid-template-columns: 1fr; }
  .pd-section-grid > div:first-child { position: static; }
}
@media (max-width: 760px) {
  .feature-list { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
  .spec-table th, .spec-table td { padding: 12px 16px; }
}
@media (max-width: 480px) {
  .pd-keyspecs { grid-template-columns: 1fr; }
  .pd-keyspecs div + div { padding-left: 0; border-left: 0; border-top: 1px dashed var(--line); padding-bottom: 12px; }
  .pd-actions .btn { flex: 1 1 100%; }
}

/* ---------- legal ---------- */

.legal-hero { padding: 28px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-title { margin-top: 36px; font-size: clamp(2rem, 4.4vw, 3.4rem); font-stretch: 110%; max-width: 20ch; }
.legal-updated { margin-top: 14px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: 56px 96px; }
.legal-toc nav { position: sticky; top: calc(var(--header-h) + 32px); }
.legal-toc-title { margin-bottom: 14px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { border-left: 1px solid var(--line); }
.legal-toc a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .86rem; line-height: 1.35; text-decoration: none; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-toc a span { font-family: var(--font-mono); font-size: .74rem; color: var(--blue-ink); }
.legal-toc a:hover, .legal-toc a[aria-current] { color: var(--text); border-left-color: var(--blue-ink); }
.legal-body { max-width: 760px; font-size: 1rem; }
.legal-body > p { margin-bottom: 16px; font-size: 1.08rem; }
.legal-section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.legal-body > p + .legal-section { margin-top: 24px; }
.legal-section h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.legal-num { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--blue-ink); }
.legal-section h3 { margin: 24px 0 10px; font-size: 1.08rem; }
.legal-section p { margin-bottom: 12px; color: #334152; }
.legal-section ul { margin: 12px 0 16px; }
.legal-section li { position: relative; padding-left: 22px; margin-bottom: 8px; color: #334152; }
.legal-section li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 1.5px; background: var(--blue-ink); }
.legal-card { margin: 14px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.legal-card p { margin: 0; }
.legal-body a { color: var(--blue-ink); font-weight: 500; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { display: none; } }

/* ---------- 404 ---------- */

.notfound { padding: clamp(80px, 14vw, 160px) 0; }
.notfound-inner { max-width: 720px; text-align: center; }
.notfound-code { font-family: var(--font-mono); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em; color: var(--paper-2); -webkit-text-stroke: 1.5px var(--line-strong); }
.notfound h1 { margin-top: 12px; font-size: clamp(2rem, 4vw, 2.8rem); }
.notfound p { margin-top: 14px; color: var(--muted); }
.notfound-en { font-size: .9rem; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- print ---------- */

@media print {
  .site-header, .site-footer, .cookie, .pd-tabs, .hero-media, .legal-toc { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
