@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0a1630;
  --ink-soft: #33405e;
  --muted: #56607a;
  --ground: #ffffff;
  --panel: #f6f8fb;
  --line: #e3e7ef;
  --line-strong: #cdd4e2;
  --accent: #2440d8;
  --accent-deep: #1a30a8;
  --accent-tint: #eef1ff;
  --signal: #ff5a36;
  --band: #2440d8;
  --band-ink: #ffffff;
  --band-muted: #dde3ff;
  --band-line: rgba(255, 255, 255, 0.28);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-shot: 0 24px 48px -16px rgba(10, 22, 48, 0.22), 0 4px 12px -4px rgba(10, 22, 48, 0.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

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

a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }

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

h1, h2, h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip:focus, .skip:hover { top: 12px; color: #fff; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--ink); background: var(--panel); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.lang:hover { background: var(--panel); color: var(--ink); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-sm { min-height: 38px; padding: 0 16px; font-size: 15px; }

/* Hero */

.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 6vw, 88px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 4.2vw, 52px);
  letter-spacing: -0.04em;
  max-width: 17ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.lede {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 50ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.reassure {
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
}

/* Product shots */

.shots {
  position: relative;
  aspect-ratio: 1.12;
  min-width: 0;
}

.shot {
  position: absolute;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-shot);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.shot-bar span { margin-left: 8px; }
.shot img { width: 100%; }

.shot-back { top: 0; left: 0; width: 84%; }
.shot-front { bottom: 0; right: 0; width: 66%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.tag-live::before { background: var(--signal); }
.tag-soon::before { background: var(--line-strong); }

.shot .tag {
  position: absolute;
  right: 12px;
  top: 42px;
}

/* Sections */

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section + .section { padding-top: 0; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); }
.section-head p {
  margin-top: 16px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
}
.service:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.service h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.3; }
.service p { color: var(--muted); font-size: 16px; max-width: 42ch; }

/* Process line (signature) */

.process {
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--panel);
  border-radius: calc(var(--radius) + 6px);
}
.process h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.035em;
}
.process > p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 18px;
}

.flow {
  --progress: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.flow::before,
.flow::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 12px;
  right: calc(25% - 30px);
  height: 2px;
  border-radius: 2px;
}
.flow::before { background: var(--line-strong); }
.flow::after {
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(var(--progress));
  transition: transform 1.6s var(--ease-out);
}

.step { position: relative; padding-top: 40px; }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  --dot: var(--accent);
  padding: 4px;
  background-color: var(--dot);
  background-clip: content-box;
  border: 2px solid var(--dot);
  transition: border-color 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.step:last-child::before {
  --dot: var(--signal);
}
.step-num {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step:last-child .step-num { color: #c2401f; }
.step h4 {
  margin: 4px 0 6px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.step p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.js .flow:not(.is-drawn) { --progress: 0; }
.js .flow:not(.is-drawn) .step::before {
  --dot: var(--line-strong);
  background-color: transparent;
}

.ai-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.ai-split div { padding: 24px 32px 0 0; }
.ai-split div + div { padding: 24px 0 0 32px; border-left: 1px solid var(--line-strong); }
.ai-split strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.ai-split p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Training band */

.band {
  background: var(--band);
  color: var(--band-ink);
  border-radius: 28px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.band h2 { font-size: clamp(32px, 3.6vw, 46px); color: #fff; }
.band .band-lede {
  margin-top: 16px;
  font-size: 18px;
  color: var(--band-muted);
  max-width: 40ch;
}
.band .actions { margin-top: 32px; }
.band .btn-primary { background: #fff; color: var(--band); }
.band .btn-primary:hover { background: var(--accent-tint); color: var(--accent-deep); }

.formats { display: grid; }
.format {
  padding: 22px 0;
  border-top: 1px solid var(--band-line);
}
.format:first-child { padding-top: 0; border-top: 0; }
.format h3 { font-size: 20px; color: #fff; letter-spacing: -0.02em; line-height: 1.3; }
.format p { margin-top: 6px; font-size: 16px; color: var(--band-muted); }

.learn {
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--band-line);
  list-style: none;
  display: grid;
  gap: 10px;
}
.learn li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: var(--band-ink);
}
.learn li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-3px);
}

/* Products */

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s;
}
a.product { color: inherit; text-decoration: none; }
a.product:hover { box-shadow: var(--shadow-shot); transform: translateY(-3px); border-color: var(--line-strong); color: inherit; }

.product-media {
  background: var(--panel);
  padding: 28px 28px 0;
  border-bottom: 1px solid var(--line);
}
.product-media img {
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}
.product-body { padding: 28px; display: grid; gap: 10px; }
.product-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.product-title img { width: 36px; height: 36px; border-radius: 9px; }
.product-title h3 { font-size: 24px; letter-spacing: -0.03em; }
.product-title .tag { margin-left: auto; }
.product-body p { color: var(--muted); font-size: 16px; }
.product-link {
  margin-top: 6px;
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
a.product:hover .product-link svg { transform: translateX(3px); }
.product-note { font-size: 14px; color: var(--muted); }

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 72px);
}
.about h2 { font-size: clamp(28px, 3vw, 38px); }
.about p { font-size: 19px; color: var(--ink-soft); max-width: 52ch; }
.about p + p { margin-top: 16px; }

/* Contact */

.contact {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  background: var(--accent-tint);
  border-radius: 28px;
}
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.04em; }
.contact > p {
  margin: 16px auto 0;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.contact .actions { justify-content: center; }
.contact-lines {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 15px;
  color: var(--muted);
}
.contact-lines a { font-weight: 500; }

/* Footer */

.site-footer {
  margin-top: clamp(72px, 10vw, 120px);
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-row a { color: var(--ink-soft); text-decoration: none; }
.footer-row a:hover { color: var(--accent); text-decoration: underline; }
.legal-line { max-width: 60ch; }

/* Legal page */

.legal {
  max-width: 760px;
  padding-top: clamp(40px, 6vw, 72px);
}
.legal h1 { font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -0.04em; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { font-size: 24px; letter-spacing: -0.025em; margin-top: 48px; line-height: 1.25; }
.legal p, .legal li { font-size: 17px; color: var(--ink-soft); max-width: 68ch; }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; }
.legal li + li { margin-top: 6px; }
.officer {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.officer p { margin-top: 2px; color: var(--ink); }
.officer strong { font-weight: 650; }

/* Responsive */

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .lede { max-width: 46ch; }
  .shots { max-width: 640px; }
  .band { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .service,
  .service:nth-child(even) { padding: 26px 0; border-left: 0; }
  .flow { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
  .flow::before,
  .flow::after { display: none; }
  .step { padding-top: 0; }
  .step::before { left: -40px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -29px;
    top: 24px;
    bottom: -28px;
    width: 2px;
    background: var(--accent);
    transform-origin: center top;
    transform: scaleY(var(--progress));
    transition: transform 0.5s var(--ease-out);
    transition-delay: var(--delay, 0s);
  }
  .ai-split { grid-template-columns: 1fr; }
  .ai-split div,
  .ai-split div + div { padding: 20px 0 0; border-left: 0; }
  .ai-split div + div { margin-top: 20px; border-top: 1px solid var(--line-strong); }
  .products { grid-template-columns: 1fr; }
  .product-media { padding: 20px 20px 0; }
  .product-body { padding: 22px; }
  .band, .contact { border-radius: 20px; }
  .site-footer .footer-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .header-row { gap: 12px; height: 64px; }
  .brand span { font-size: 16px; }
  .header-actions .btn-sm { padding: 0 14px; font-size: 14px; }
  .header-actions .btn-sm .long { display: none; }
  .actions .btn { width: 100%; }
}

@media (min-width: 481px) {
  .header-actions .btn-sm .short { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
