/* ============ fluttr.dev — brand system ============ */
/* Palette: Ink Navy surfaces, Cobalt #5B7FFF, Pale Teal #8CC8CC, Success Green #2FA36B */
:root {
  --bg: #0E1420;            /* Surface 0 / Ink Navy */
  --surface-1: #131A26;
  --surface-2: #1B2330;
  --surface-3: #212B39;
  --surface-4: #2A3545;
  --border: #212B39;
  --border-strong: #344154;
  --text: #F7F9FC;          /* Primary */
  --text-2: #DCE4EE;        /* Secondary */
  --muted: #9AA6B2;         /* Tertiary */
  --cobalt: #5B7FFF;
  --cobalt-hover: #6E8DFF;
  --teal: #8CC8CC;
  --green: #2FA36B;
  --radius: 16px;
  --radius-btn: 12px;
  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -0.01em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
main { position: relative; z-index: 1; }

/* ============ background decor: blueprint grid + hairlines ============ */
.bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(220, 228, 238, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(220, 228, 238, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 110% 72% at 50% -8%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 110% 72% at 50% -8%, black 30%, transparent 78%);
}
.bg-diag {
  position: absolute;
  background: repeating-linear-gradient(135deg, rgba(91, 127, 255, 0.10) 0 1px, transparent 1px 26px);
}
.bg-diag-1 {
  width: 780px; height: 620px; top: -80px; right: -160px;
  mask-image: radial-gradient(closest-side at 65% 35%, black, transparent);
  -webkit-mask-image: radial-gradient(closest-side at 65% 35%, black, transparent);
}
.bg-diag-2 {
  width: 640px; height: 560px; bottom: -140px; left: -140px;
  background: repeating-linear-gradient(135deg, rgba(140, 200, 204, 0.08) 0 1px, transparent 1px 26px);
  mask-image: radial-gradient(closest-side at 40% 60%, black, transparent);
  -webkit-mask-image: radial-gradient(closest-side at 40% 60%, black, transparent);
}

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cobalt); color: #fff;
  box-shadow: 0 6px 22px rgba(91, 127, 255, 0.25);
}
.btn-primary:hover { background: var(--cobalt-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(91, 127, 255, 0.32); }
.btn-ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--cobalt); color: var(--text); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(14, 20, 32, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.logo em { font-style: normal; color: var(--cobalt); }
.logo-mark { width: 30px; height: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: flex; background: var(--surface-1); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 3px;
}
.lang-btn { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: all 0.15s; }
.lang-btn.active { background: var(--surface-3); color: var(--text); }

/* ============ hero ============ */
.hero {
  max-width: 1180px; margin: 0 auto; padding: 150px 24px 90px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  min-height: 92vh;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-1); border: 1px solid var(--border-strong);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; color: var(--text-2); font-weight: 500;
  margin-bottom: 26px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(47, 163, 107, 0.8); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(42px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.grad { color: var(--cobalt); }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; gap: 8px; }
.stat strong { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--cobalt); }
.stat span { color: var(--muted); font-size: 13.5px; max-width: 120px; line-height: 1.35; }
.stat-sep { width: 1px; height: 30px; background: var(--border-strong); }

/* ============ phone ============ */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 272px; aspect-ratio: 9 / 19;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 70px rgba(91, 127, 255, 0.10);
  position: relative;
}
.phone-hero { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(0.6deg); } }
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: var(--bg); border-radius: 999px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(170deg, var(--surface-2), var(--bg));
  border-radius: 35px; overflow: hidden; position: relative;
}

/* hero app-ui build loop */
.app-ui { padding: 54px 16px 14px; height: 100%; display: flex; flex-direction: column; gap: 13px; }
.ui-el { opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease, transform 0.55s ease; }
.phone-hero.built .ui-el { opacity: 1; transform: none; }
.phone-hero.built .ui-header { transition-delay: 0.05s; }
.phone-hero.built .ui-cards  { transition-delay: 0.35s; }
.phone-hero.built .ui-chart  { transition-delay: 0.65s; }
.phone-hero.built .ui-list   { transition-delay: 0.95s; }
.phone-hero.built .ui-tabbar { transition-delay: 1.25s; }

.ui-header { display: flex; align-items: center; gap: 10px; }
.ui-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt); flex-shrink: 0; }
.ui-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ui-lines i { display: block; height: 8px; border-radius: 4px; background: var(--surface-4); }
.ui-lines i:last-child { background: var(--surface-3); }

.ui-cards { display: flex; gap: 10px; }
.ui-card { flex: 1; height: 62px; border-radius: 14px; padding: 11px; display: flex; flex-direction: column; gap: 7px; }
.ui-card.c1 { background: rgba(91, 127, 255, 0.14); border: 1px solid rgba(91, 127, 255, 0.4); }
.ui-card.c2 { background: rgba(140, 200, 204, 0.10); border: 1px solid rgba(140, 200, 204, 0.35); }
.ui-card b { width: 44%; height: 9px; border-radius: 5px; background: rgba(247, 249, 252, 0.55); }
.ui-card i { width: 68%; height: 7px; border-radius: 4px; background: rgba(247, 249, 252, 0.2); }

.ui-chart {
  height: 84px; display: flex; align-items: flex-end; gap: 7px;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 14px; padding: 12px;
}
.ui-chart .bar {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: var(--cobalt); height: var(--h);
  transform-origin: bottom; transform: scaleY(0); transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.ui-chart .bar:nth-child(3), .ui-chart .bar:nth-child(6) { background: var(--teal); }
.phone-hero.built .ui-chart .bar { transform: scaleY(1); }
.phone-hero.built .ui-chart .bar:nth-child(1) { transition-delay: 0.75s; }
.phone-hero.built .ui-chart .bar:nth-child(2) { transition-delay: 0.82s; }
.phone-hero.built .ui-chart .bar:nth-child(3) { transition-delay: 0.89s; }
.phone-hero.built .ui-chart .bar:nth-child(4) { transition-delay: 0.96s; }
.phone-hero.built .ui-chart .bar:nth-child(5) { transition-delay: 1.03s; }
.phone-hero.built .ui-chart .bar:nth-child(6) { transition-delay: 1.1s; }
.phone-hero.built .ui-chart .bar:nth-child(7) { transition-delay: 1.17s; }

.ui-list { display: flex; flex-direction: column; gap: 9px; }
.ui-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px;
}
.ui-row span { width: 22px; height: 22px; border-radius: 7px; background: rgba(91, 127, 255, 0.4); flex-shrink: 0; }
.ui-row i { height: 7px; border-radius: 4px; background: var(--surface-4); }

.ui-tabbar {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 999px; padding: 11px 0;
}
.ui-tabbar span { width: 17px; height: 17px; border-radius: 6px; background: var(--surface-4); }
.ui-tabbar span.on { background: var(--cobalt); }

.hero-day-chip {
  position: absolute; bottom: 34px; right: 4%;
  background: rgba(19, 26, 38, 0.92); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; color: var(--muted); font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-day-chip b { color: var(--text); font-family: var(--font-display); }

/* ============ sections shared ============ */
section { position: relative; }
.section-head { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 24px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* ============ timeline ============ */
.process { padding: 110px 0 60px; }
.timeline-wrap {
  max-width: 1080px; margin: 70px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: 380px 1fr; gap: 70px;
}
.timeline-phone-col { position: relative; }
.timeline-phone-col .phone { position: sticky; top: 110px; margin: 0 auto; }
.timeline-day-label {
  position: sticky; top: calc(110px + 272px * 19 / 9 + 18px);
  text-align: center; margin-top: 18px;
  font-family: var(--font-display); font-size: 15px; color: var(--muted); font-weight: 500;
}
.timeline-day-label b { color: var(--text); font-size: 19px; }

/* stacked screens */
.tl-screen {
  position: absolute; inset: 0; padding: 56px 18px 18px;
  opacity: 0; transform: scale(0.96); transition: opacity 0.45s ease, transform 0.45s ease;
  display: flex; flex-direction: column; gap: 12px;
}
[data-day="1"] .tls-1, [data-day="2"] .tls-2, [data-day="3"] .tls-3, [data-day="4"] .tls-4,
[data-day="5"] .tls-5, [data-day="6"] .tls-6, [data-day="7"] .tls-7 { opacity: 1; transform: scale(1); }

/* day 1: doc */
.doc-title { width: 55%; height: 13px; border-radius: 6px; background: var(--cobalt); margin-bottom: 8px; }
.doc-check { display: flex; align-items: center; gap: 10px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 11px; padding: 11px 12px; }
.doc-check span { width: 20px; height: 20px; border-radius: 6px; background: rgba(47, 163, 107, 0.18); color: var(--green); font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-check i { height: 7px; border-radius: 4px; background: var(--surface-4); }
.doc-check.dim { opacity: 0.45; }
.doc-check.dim span { background: var(--surface-3); }

/* day 2: wireframe + palette */
.wire-box { border: 1.5px dashed rgba(91, 127, 255, 0.5); border-radius: 12px; background: rgba(91, 127, 255, 0.05); }
.wb-head { height: 44px; }
.wire-grid { display: flex; gap: 10px; }
.wire-grid .wire-box { flex: 1; height: 58px; }
.wb-tall { height: 96px; }
.palette { display: flex; gap: 10px; margin-top: 4px; }
.palette span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border-strong); }

/* day 3: skeleton shimmer */
.sk { border-radius: 12px; background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-head { height: 46px; }
.sk-row { display: flex; gap: 10px; }
.sk-half { flex: 1; height: 60px; }
.sk-block { height: 90px; }
.sk-line { height: 12px; }
.sk-line.short { width: 60%; }

/* day 4: features */
.ft-head { display: flex; align-items: center; gap: 10px; }
.ft-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--cobalt); }
.ft-head i { flex: 1; height: 9px; border-radius: 5px; background: var(--surface-4); }
.ft-cards { display: flex; gap: 10px; }
.ft-card { flex: 1; height: 56px; border-radius: 13px; }
.ft-card.a { background: rgba(91, 127, 255, 0.14); border: 1px solid rgba(91, 127, 255, 0.4); }
.ft-card.b { background: rgba(140, 200, 204, 0.10); border: 1px solid rgba(140, 200, 204, 0.35); }
.ft-toggle-row { display: flex; align-items: center; gap: 10px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 11px; padding: 11px 12px; }
.ft-toggle-row i { flex: 1; height: 7px; border-radius: 4px; background: var(--surface-4); }
.ft-toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--surface-4); position: relative; flex-shrink: 0; }
.ft-toggle b { position: absolute; top: 2.5px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; opacity: 0.7; }
.ft-toggle.on { background: var(--cobalt); }
.ft-toggle.on b { left: auto; right: 3px; opacity: 1; }
.ft-btn { height: 42px; border-radius: 11px; background: var(--cobalt); margin-top: 4px; }

/* day 5: data */
.db-pulse { width: 46px; height: 46px; border-radius: 14px; background: var(--cobalt); margin-bottom: 6px; animation: dbpulse 1.8s infinite; }
@keyframes dbpulse { 50% { box-shadow: 0 0 0 12px rgba(91, 127, 255, 0.08); } }
.db-row { display: flex; align-items: center; gap: 10px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 11px; padding: 11px 12px; animation: rowin 0.6s both var(--d); }
@keyframes rowin { from { opacity: 0; transform: translateX(14px); } }
.db-row span { width: 20px; height: 20px; border-radius: 7px; background: rgba(140, 200, 204, 0.35); flex-shrink: 0; }
.db-row i { height: 7px; border-radius: 4px; background: var(--surface-4); }
.db-row b { margin-left: auto; width: 26px; height: 12px; border-radius: 6px; background: rgba(47, 163, 107, 0.4); flex-shrink: 0; }

/* day 6: tests */
.test-badge { width: 54px; height: 54px; border-radius: 50%; background: rgba(47, 163, 107, 0.14); border: 2px solid var(--green); color: var(--green); font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 6px auto 10px; }
.test-line { display: flex; align-items: center; gap: 10px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 11px; padding: 12px; }
.test-line i { height: 7px; border-radius: 4px; background: var(--surface-4); }
.test-line .ok { margin-left: auto; color: var(--green); font-size: 13px; font-weight: 700; }

/* day 7: ship */
.tls-7 { align-items: center; justify-content: center; text-align: center; gap: 10px; }
.ship-icon {
  width: 68px; height: 68px; border-radius: 18px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  animation: floaty 4s ease-in-out infinite;
}
.ship-icon svg { width: 38px; height: auto; }
.ship-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.ship-sub { color: var(--muted); font-size: 12.5px; }
.ship-btn { margin-top: 8px; background: var(--cobalt); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 34px; border-radius: 11px; font-family: var(--font-display); }

/* steps column */
.timeline-steps { display: flex; flex-direction: column; gap: 12vh; padding: 6vh 0 24vh; }
.step {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 32px; transition: border-color 0.3s, background 0.3s, transform 0.3s;
  opacity: 0.45;
}
.step.active {
  opacity: 1; background: var(--surface-2); border-color: rgba(91, 127, 255, 0.55);
  transform: translateX(6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--cobalt); margin-bottom: 10px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ============ idea lab ============ */
.idealab { padding: 110px 0; }
.lab-box { max-width: 780px; margin: 48px auto 0; padding: 0 24px; text-align: center; }
.lab-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 11px 20px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: all 0.18s;
}
.cat-chip:hover { background: var(--surface-2); color: var(--text); transform: translateY(-2px); }
.cat-chip.active { background: rgba(91, 127, 255, 0.14); border-color: var(--cobalt); color: var(--text); }
.lab-spin { margin: 0 auto; }
.spin-ico { display: inline-block; }
.lab-spin.spinning .spin-ico { animation: spinwiggle 0.5s ease; }
@keyframes spinwiggle { 30% { transform: rotate(20deg) scale(1.3); } 70% { transform: rotate(-14deg) scale(1.15); } }

.lab-result { margin-top: 34px; text-align: left; }
.lab-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(91, 127, 255, 0.08), rgba(14, 20, 32, 0) 55%), var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: 20px; padding: 34px;
  animation: cardin 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
@keyframes cardin { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.lab-card-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.lab-emoji { font-size: 40px; line-height: 1; }
.lab-card-head h3 { font-size: 24px; margin-bottom: 7px; }
.lab-card-head p { color: var(--muted); font-size: 15.5px; }
.lab-features { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.feature-chip {
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 500; color: var(--text-2);
}
.lab-plan { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 24px; }
.lab-plan-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 13px; color: var(--text); }
.lab-plan-row { display: flex; gap: 16px; padding: 7px 0; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--border); }
.lab-plan-row b { color: var(--teal); font-weight: 600; min-width: 76px; flex-shrink: 0; font-family: var(--font-display); font-size: 13.5px; }
.lab-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ why ============ */
.why { padding: 60px 0 110px; }
.why-grid {
  max-width: 1080px; margin: 50px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.why-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--cobalt); background: var(--surface-2); }
.why-ico { font-size: 30px; margin-bottom: 16px; }
.why-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14.5px; }

/* ============ contact ============ */
.contact { padding: 40px 24px 120px; }
.contact-box {
  position: relative; overflow: hidden;
  max-width: 1020px; margin: 0 auto;
  background: linear-gradient(150deg, rgba(91, 127, 255, 0.10), rgba(14, 20, 32, 0) 50%), var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: 24px; padding: 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.contact-points li { color: var(--text-2); font-size: 15px; font-weight: 500; }

.contact-form { position: relative; }
.contact-fields { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-btn);
  padding: 14px 16px; color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.18);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #697386; }
.contact-form .hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.form-note-success { color: var(--teal); font-weight: 600; }
.form-note-error { color: #f0a35a; font-weight: 600; }
.btn:disabled { opacity: 0.7; cursor: default; transform: none !important; }

/* contact success state */
.contact-success {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 44px 20px;
  opacity: 0; transform: scale(0.94) translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.contact-success.show { opacity: 1; transform: scale(1) translateY(0); }
.success-badge { margin-bottom: 4px; }
.success-circle {
  stroke: var(--cobalt); stroke-width: 3;
  stroke-dasharray: 145; stroke-dashoffset: 145;
  transform-origin: center;
}
.success-check {
  stroke: var(--teal); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
}
.contact-success.show .success-circle { animation: drawCircle 0.55s ease forwards; }
.contact-success.show .success-check { animation: drawCheck 0.35s ease forwards 0.5s; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.contact-success h3 { font-size: 21px; margin: 0; }
.contact-success p { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 320px; }

/* ============ footer ============ */
.footer { border-top: 1px solid var(--border); padding: 44px 24px; position: relative; z-index: 1; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo-footer { font-size: 17px; }
.logo-footer .logo-mark { width: 24px; }
.footer-note { color: var(--muted); font-size: 13.5px; }
.footer-wink { margin-left: auto; color: var(--muted); font-size: 13px; }
.footer-wink a { color: var(--cobalt); font-weight: 600; }
.footer-wink a:hover { text-decoration: underline; }

/* ============ reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: center; min-height: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .hero-day-chip { right: 12%; }
  .nav-links { display: none; }
  .timeline-wrap { grid-template-columns: 1fr; gap: 30px; }
  .timeline-phone-col { display: none; }
  .timeline-steps { gap: 18px; padding: 0; }
  .step { opacity: 1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
  .bg-diag-1 { width: 460px; height: 420px; right: -140px; }
  .bg-diag-2 { display: none; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .nav-inner { gap: 14px; }
  .nav-actions .btn { display: none; }
  .lab-card { padding: 26px 22px; }
  .footer-wink { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
