/* Medtrax — production site styles
 * Source: design_handoff_medtrax_site/design/styles.css
 * Changes vs handoff:
 *   - @import Google Fonts removed → self-hosted via /css/fonts.css
 *   - Instrument Serif removed (not used in production)
 *   - data-display="serif" handler removed
 *   - Added: mobile hamburger menu, focus-visible outlines, form states
 *   - Kept: blue + alt accent variants (cheap, A/B-friendly)
 */

:root {
  /* base palette */
  --bg: #faf9f6;
  --bg-elev: #ffffff;
  --bg-mute: #f3f1ec;
  --ink: #0c0a09;
  --ink-2: #292524;
  --ink-3: #57534e;
  --ink-4: #a8a29e;
  --line: #e7e5e0;
  --line-strong: #d6d3ce;

  /* accent — tweakable */
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: rgba(29, 78, 216, 0.08);
  --accent-line: rgba(29, 78, 216, 0.22);

  /* status */
  --ok: #137a4d;
  --warn: #b45309;
  --danger: #b91c1c;

  /* type */
  --font-sans: 'Geist', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --font-display: 'Geist', system-ui, sans-serif;

  /* radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(12, 10, 9, 0.04), 0 1px 1px rgba(12, 10, 9, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(12, 10, 9, 0.10), 0 2px 6px -2px rgba(12, 10, 9, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(12, 10, 9, 0.18), 0 6px 16px -8px rgba(12, 10, 9, 0.08);

  /* layout */
  --container: 1240px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0a09;
    --bg-elev: #16130f;
    --bg-mute: #1b1814;
    --ink: #faf9f6;
    --ink-2: #e7e5e0;
    --ink-3: #a8a29e;
    --ink-4: #57534e;
    --line: #2a2622;
    --line-strong: #3a3530;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
}

[data-theme="dark"] {
  --bg: #0c0a09;
  --bg-elev: #16130f;
  --bg-mute: #1b1814;
  --ink: #faf9f6;
  --ink-2: #e7e5e0;
  --ink-3: #a8a29e;
  --ink-4: #57534e;
  --line: #2a2622;
  --line-strong: #3a3530;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body { background: var(--bg); min-height: 100vh; }

a { color: inherit; text-decoration: none; }

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

/* focus-visible — deliberate, never on mouse clicks */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

/* a11y helper */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ───────── typography ───────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.028em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.18; letter-spacing: -0.02em; font-weight: 500; }
.h4 { font-size: 18px; line-height: 1.3; font-weight: 500; }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 60ch;
  text-wrap: pretty;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-3); }

/* ───────── header ───────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
}
.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 26px; height: 26px;
  display: inline-grid;
  place-items: center;
  color: var(--accent);
}
.brand-mark svg { display: block; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-primary a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: background .15s ease, color .15s ease;
}
.nav-primary a:hover { background: var(--bg-mute); color: var(--ink); }
.nav-primary a[aria-current="page"],
.nav-primary a.active {
  color: var(--ink);
}
.nav-primary a[aria-current="page"]::after,
.nav-primary a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 4px;
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* mobile menu trigger */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle:hover { background: var(--bg-mute); border-color: var(--line); }
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
body[data-menu="open"] .menu-toggle .icon-open { display: none; }
body[data-menu="open"] .menu-toggle .icon-close { display: block; }

/* theme toggle (sun / moon) — visible at all viewports */
.theme-toggle {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.theme-toggle:hover { background: var(--bg-mute); border-color: var(--line); color: var(--ink); }
.theme-toggle svg { display: block; }
/* Icon visibility — defaults assume LIGHT (show moon → click goes dark) */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
/* When OS prefers dark AND no manual override: show sun (click goes light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
/* Explicit user choice always wins */
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px 28px 32px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
  z-index: 49;
  display: none;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--bg-mute); color: var(--ink); }
.mobile-menu .mm-section {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 12px 6px;
}
.mobile-menu .mm-actions {
  display: flex; gap: 8px; padding: 14px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.mobile-menu .mm-actions .btn { flex: 1; justify-content: center; }
body[data-menu="open"] .mobile-menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
body[data-menu="open"] { overflow: hidden; }

@media (max-width: 860px) {
  .nav-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 520px) {
  .nav-actions .btn-primary { display: none; }
}

/* ───────── buttons ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-align: left;
  background: none;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}
.btn-secondary {
  background: var(--bg-elev);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-mute); color: var(--ink); }

.btn-lg { padding: 13px 22px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }

.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ───────── section / container ───────── */

.section {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}

.divider { height: 1px; background: var(--line); }

/* ───────── badges / pills ───────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink-2);
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.badge-accent {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.badge-soon { border-style: dashed; }
.badge-soon .dot { background: var(--warn); }

/* ───────── cards ───────── */

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--line-strong); }

.card-link { display: block; color: inherit; cursor: pointer; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ───────── grid utilities ───────── */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ───────── scroll reveal ───────── */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ───────── footer ───────── */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-meta {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ───────── hero (home) ───────── */

.hero {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; }
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.hero-meta .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-4);
}

/* ───────── product UI mock ───────── */

.ui-mock {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  color: var(--ink);
  position: relative;
  isolation: isolate;
}
.ui-mock-bar {
  height: 36px;
  background: var(--bg-mute);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}
.ui-mock-bar .traffic {
  display: flex; gap: 6px;
}
.ui-mock-bar .traffic span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong);
}
.ui-mock-bar .addr {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: 0.02em;
}

.ui-app {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}
.ui-side {
  border-right: 1px solid var(--line);
  background: var(--bg);
  padding: 16px 12px;
}
.ui-side .side-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 13px;
  margin-bottom: 14px;
  padding: 0 8px;
}
.ui-side .side-brand .sb-mark {
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
}
.ui-nav { display: grid; gap: 2px; }
.ui-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--ink-3);
  cursor: default;
}
.ui-nav a.active { background: var(--bg-mute); color: var(--ink); font-weight: 500; }
.ui-nav .ico {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: .35;
}
.ui-nav a.active .ico { opacity: 1; background: var(--accent); }

.ui-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 14px 10px 6px;
}

.ui-main {
  padding: 18px 20px;
  background: var(--bg-elev);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  overflow: hidden;
}
.ui-h {
  display: flex; align-items: center; justify-content: space-between;
}
.ui-h h4 {
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em;
}
.ui-h .ui-sub { color: var(--ink-3); font-size: 12px; }
.ui-pill {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--bg-mute);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--font-mono);
}

.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ui-kpi {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.ui-kpi .k {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.ui-kpi .v {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.ui-kpi .d {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ok);
}

.ui-sched {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  grid-template-columns: 56px repeat(3, 1fr);
}
.ui-sched .col-h {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-mute);
}
.ui-sched .col-h.time { background: var(--bg-mute); }
.ui-sched .slot {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 38px;
  padding: 6px;
  position: relative;
  font-size: 11px;
}
.ui-sched .slot.time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  text-align: right;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
.ui-evt {
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 11px;
  line-height: 1.3;
  position: absolute;
  inset: 4px 6px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.ui-evt strong { font-weight: 500; display: block; color: inherit; }
.ui-evt span { color: var(--ink-3); font-size: 10px; }
.ui-evt.green { border-color: rgba(19,122,77,0.25); background: rgba(19,122,77,0.08); color: var(--ok); }
.ui-evt.green span { color: var(--ink-3); }
.ui-evt.gray { border-color: var(--line-strong); background: var(--bg-mute); color: var(--ink-2); }
.ui-evt.gray span { color: var(--ink-3); }

/* product card */
.product-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 380px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.product-card .pc-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.product-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.product-card .pc-sub { color: var(--ink-3); font-size: 14.5px; line-height: 1.5; flex: 1; }
.product-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.product-card li {
  display: flex; align-items: center; gap: 8px;
}
.product-card li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.product-card .pc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
}
.product-card .pc-link .arrow { transition: transform .15s ease; }
.product-card:hover .pc-link .arrow { transform: translateX(3px); }
.product-card[data-soon="true"] {
  background: var(--bg-mute);
  border-style: dashed;
}
.product-card[data-soon="true"] .pc-mark { background: var(--bg); color: var(--ink-3); }
.product-card[data-soon="true"] ul li::before { background: var(--ink-4); }

/* feature row */
.feature {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 56px 1fr 2fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; gap: 12px; }
}
.feature .feat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  padding-top: 6px;
}
.feature h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.feature p { color: var(--ink-3); font-size: 15px; line-height: 1.55; margin: 8px 0 0; max-width: 56ch; }

/* tech band */
.tech-band {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-elev);
}
.tech-item {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--ink-3);
}
.tech-item strong { color: var(--ink); font-weight: 500; }

/* FAQ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-3);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
  max-width: 64ch;
}

/* CTA band */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px);
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; }
.cta-band p { color: var(--ink-3); margin: 14px 0 0; font-size: 16px; }
.cta-band .form {
  display: grid;
  gap: 10px;
  position: relative;
}
.cta-band .form .row { display: flex; gap: 8px; }
.cta-band .form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
  width: 100%;
}
.cta-band .form input:focus { border-color: var(--ink-2); }
.cta-band .form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.cta-band .form input[aria-invalid="true"] {
  border-color: var(--danger);
}
.cta-band .form-meta {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-4);
  margin-top: 2px;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 8px;
  display: none;
}
.form-status[data-state="success"] {
  display: block;
  background: rgba(19,122,77,0.08);
  border: 1px solid rgba(19,122,77,0.25);
  color: var(--ok);
}
.form-status[data-state="error"] {
  display: block;
  background: rgba(185,28,28,0.08);
  border: 1px solid rgba(185,28,28,0.25);
  color: var(--danger);
}
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* product page hero */
.prod-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}
.prod-hero h1 { margin-top: 12px; }
.prod-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
}

/* spec list */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec-list .spec {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.spec-list .spec:nth-child(2n) { border-right: none; }
.spec h4 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.spec p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
@media (max-width: 720px) {
  .spec-list { grid-template-columns: 1fr; }
  .spec-list .spec { border-right: none; }
}

/* helper */
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.mt-6 { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
