/* ============================================================
   Seoul Aesthetica — Apple-style Medical Design System
   ============================================================ */

:root {
  /* Colors */
  --bg: #FFFFFF;
  --card: #F2F2F7;
  --card-2: #FAFAFC;
  --line: #E5E5EA;
  --line-2: #D1D1D6;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #86868B;
  --muted-2: #8E8E93;
  --blue: #0A84FF;
  --blue-dark: #0060D9;
  --blue-tint: #E7F0FF;
  --green: #34C759;
  --amber: #FF9F0A;
  --pink: #FF2D55;

  /* Radii (Apple scale) */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;

  /* Type */
  --sans: "SF Pro Display", -apple-system, "Inter", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --text: "SF Pro Text", -apple-system, "Inter", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadow — used sparingly */
  --glass-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 40px -20px rgba(10, 30, 80, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.003em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================= Navigation ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.brand-mark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
}
.brand-zh { color: var(--muted); font-size: 13px; margin-left: 2px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-2);
}
.nav-links a {
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font-weight: 400;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: #000; }

/* ================= Generic ================= */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 14px 0 0;
  max-width: 820px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 640px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-family: var(--text);
  font-weight: 400;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost {
  color: var(--blue);
  padding: 14px 0;
}
.btn-ghost:hover { gap: 12px; }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; }

.chev {
  width: 14px; height: 14px;
  transition: transform 0.2s var(--ease);
}

/* ================= Hero ================= */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 132, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 132, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: 600px;
}
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 24px; }
.hero-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(56px, 7.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.hero-title .accent {
  font-weight: 500;
  background: linear-gradient(180deg, var(--ink) 0%, #3A3A3C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .blue {
  color: var(--blue);
  font-weight: 400;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 28px 0 0;
  max-width: 480px;
}
.glass-card {
  margin-top: 40px;
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--glass-shadow);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 520px;
}
.glass-card-num {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.glass-card-num sup {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  margin-left: 2px;
  top: -1em;
}
.glass-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.glass-card-tags span { display: inline-flex; align-items: center; }
.glass-card-tags span + span::before {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
  margin: 0 10px;
  display: inline-block;
}
.hero-cta-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.hero-meta b { color: var(--ink); font-weight: 500; }

/* Hero visual (face scan) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: radial-gradient(ellipse at 50% 55%, #F5F8FF 0%, #FFFFFF 60%);
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-visual svg { width: 100%; height: 100%; display: block; }
.scan-chip {
  position: absolute;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink);
  box-shadow: 0 8px 22px -10px rgba(10,30,80,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}
.scan-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.2);
  animation: pulse 2s var(--ease) infinite;
}
.scan-chip.green::before { background: var(--green); box-shadow: 0 0 0 3px rgba(52,199,89,0.2); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.scan-chip-1 { top: 18%; left: 8%; }
.scan-chip-2 { top: 42%; right: 8%; }
.scan-chip-3 { bottom: 18%; left: 14%; }

.hero-serial {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.hero-serial-r {
  position: absolute;
  right: 16px; top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 6px;
}

/* ================= Marquee logo / trust ================= */
.trust {
  padding: 70px 0 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}
.trust-cell:last-child { border-right: none; }
.trust-num {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.trust-num sup {
  font-size: 20px;
  color: var(--blue);
  font-weight: 400;
  margin-left: 2px;
  top: -1.3em;
}
.trust-label {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.trust-mono {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

/* ================= Process ================= */
.process-track {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.process-track::before {
  /* animated dashed line */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  width: var(--progress, 0%);
  transition: width 1.4s var(--ease-out);
}
.process-step {
  padding: 32px 28px 0 0;
  position: relative;
}
.process-step + .process-step { padding-left: 28px; border-left: 1px solid var(--line); }
.process-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.process-icon {
  margin-top: 20px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
}
.process-title {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.process-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 240px;
}

/* ================= Technology (dark-ish section) ================= */
.tech {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tech-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}
.tech-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.tech-badge {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--green);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tech-badge::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}
.tech-device {
  margin-top: 28px;
  height: 180px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #F7F9FC 0%, #EEF2F8 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.tech-card-name {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.tech-card-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.tech-card-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.tech-specs {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tech-spec-k {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tech-spec-v {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  margin-top: 2px;
  font-weight: 400;
}

/* ================= Services / Bento ================= */
.bento {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.bento-item {
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-item:hover {
  transform: scale(1.005);
  border-color: var(--blue);
  box-shadow: 0 20px 40px -24px rgba(10, 30, 80, 0.18);
  z-index: 2;
}
.bento-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bento-title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin-top: auto;
}
.bento-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 280px;
}
.bento-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.bento-item .arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.bento-item:hover .arrow {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: rotate(-45deg);
}

/* Bento spans */
.b-contour { grid-column: span 2; grid-row: span 2; }
.b-eye     { grid-column: span 1; grid-row: span 1; }
.b-skin    { grid-column: span 1; grid-row: span 1; }
.b-nose    { grid-column: span 2; grid-row: span 1; }
.b-body    { grid-column: span 1; grid-row: span 1; }
.b-anti    { grid-column: span 1; grid-row: span 1; }
.b-contour { background: #fff; color: var(--ink); }

/* Inside tiles: diagrams */
.tile-svg { position: absolute; pointer-events: none; }

/* ================= Before/After ================= */
.ba-wrap {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ba-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
}
.ba-view {
  position: relative;
  aspect-ratio: 3/4;
  user-select: none;
  touch-action: none;
  overflow: hidden;
  cursor: ew-resize;
}
.ba-pane {
  position: absolute;
  inset: 0;
}
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 10px 30px rgba(0,0,0,0.15);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  pointer-events: none;
  color: var(--ink);
}
.ba-knob svg { width: 14px; height: 14px; }
.ba-label {
  position: absolute;
  top: 14px;
  padding: 4px 10px;
  border-radius: 980px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  color: var(--ink);
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; color: var(--blue); }

.ba-meta {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.ba-meta-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ba-meta-doctor {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-family: var(--mono);
}
.ba-meta-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* ================= FAQ ================= */
.faq {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--blue); }
.faq-plus {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item[open] .faq-q { color: var(--blue); }
.faq-a {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 720px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item[open] .faq-a {
  max-height: 320px;
  padding: 0 0 28px;
}
.faq-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  margin-right: 20px;
}

/* ================= Final CTA ================= */
.final-cta {
  text-align: center;
  padding: 160px 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at center top, #F5F8FF 0%, #FFFFFF 55%);
}
.final-cta .kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.final-cta h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.final-cta h2 b { font-weight: 500; color: var(--blue); }
.final-cta .sub {
  color: var(--muted);
  font-size: 17px;
  margin-top: 22px;
}
.final-cta .buttons {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= Footer ================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 13px; color: var(--ink-2); }
.footer li a:hover { color: var(--blue); }
.footer-brand p {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

/* ================= Scroll reveal ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ================= Tweaks panel ================= */
.tweaks {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 100;
  width: 280px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
  overflow: hidden;
  display: none;
}
.tweaks.open { display: block; }
.tweaks-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks-head h5 {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.tweaks-head span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tweaks-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tweak-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tweak-row label {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tweak-swatches {
  display: flex; gap: 8px;
}
.tweak-sw {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
  position: relative;
}
.tweak-sw.active { border-color: var(--ink); }
.tweak-sw:hover { transform: scale(1.08); }
.tweak-seg {
  display: flex;
  background: var(--card);
  border-radius: var(--r-sm);
  padding: 3px;
  gap: 2px;
}
.tweak-seg button {
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-2);
  transition: all 0.2s var(--ease);
}
.tweak-seg button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ================= Responsive ================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 4/3; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(2) { border-right: none; }
  .trust-cell { border-bottom: 1px solid var(--line); }
  .trust-cell:nth-last-child(-n+2) { border-bottom: none; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-step { padding: 32px 20px 32px 0; }
  .process-step:nth-child(3) { border-left: none; padding-left: 0; border-top: 1px solid var(--line); }
  .tech-grid, .ba-wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .b-contour, .b-nose { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
}
