/* ============================================================
   339STUDIO — Design System (dark + mint accent)
   ใช้ร่วมกันทุกหน้า
   ============================================================ */

:root {
  --bg: #0B0F14;
  --surface: #10161D;
  --surface-2: #151D26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #E9EEF4;
  --muted: #9AA8B5;
  --faint: #6B7886;
  --accent: #2BD9A8;
  --accent-ink: #06150F;
  --line-green: #06C755;
  --font-main: 'IBM Plex Sans Thai', 'Noto Sans Thai', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --glow: color-mix(in oklab, var(--accent) 14%, transparent);
  --accent-soft: color-mix(in oklab, var(--accent) 10%, transparent);
  --accent-border: color-mix(in oklab, var(--accent) 35%, transparent);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; text-wrap: pretty; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
p { text-wrap: pretty; }

.container { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); display: inline-block; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head p { color: var(--muted); margin-top: 14px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 6px 28px var(--glow), 0 0 0 4px var(--accent-soft); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { box-shadow: 0 6px 24px rgba(6, 199, 85, 0.35); transform: translateY(-1px); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: var(--font-mono); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop > .drop-trigger {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav > a:hover, .nav-drop > .drop-trigger:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav > a.active, .nav-drop.active > .drop-trigger { color: var(--accent); }
.nav-drop { position: relative; }
.nav-drop .caret { transition: transform 0.2s ease; }
.nav-drop:hover .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 280px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--muted);
  transition: background 0.12s ease, color 0.12s ease;
}
.drop-menu a:hover { background: var(--accent-soft); color: var(--text); }
.drop-menu .drop-all { color: var(--accent); font-weight: 600; }
.drop-menu hr { border: none; border-top: 1px solid var(--line); margin: 8px 6px; }
.header-cta { margin-left: 4px; padding: 10px 22px; font-size: 15px; }

.hamburger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger i { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; }
body.menu-open .hamburger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger i:nth-child(2) { opacity: 0; }
body.menu-open .hamburger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 89;
  background: var(--bg);
  padding: 24px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
}
body.menu-open .mobile-drawer { display: flex; }
body.menu-open { overflow: hidden; }
.mobile-drawer > a {
  padding: 14px 12px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer > a.active { color: var(--accent); }
.mobile-drawer .m-group { border-bottom: 1px solid var(--line); }
.mobile-drawer .m-group > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 12px;
  cursor: pointer;
}
.mobile-drawer .m-sub { display: none; padding: 0 12px 14px; }
.mobile-drawer .m-group.open .m-sub { display: block; }
.mobile-drawer .m-sub a { display: block; padding: 10px 12px; color: var(--muted); font-size: 16px; }
.mobile-drawer .m-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

main { padding-top: 68px; }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-link { display: block; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.card-link:hover { transform: translateY(-4px); border-color: var(--accent-border); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent-soft); }
.card-more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- icon chip ---------- */
.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-chip svg { stroke: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 80% -10%, var(--glow), transparent 70%),
    radial-gradient(520px 380px at 8% 110%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
}
.hero .container { position: relative; }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-block: 1px solid var(--line);
  padding: 36px 0;
}
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-mono); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; color: var(--accent); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- pain list ---------- */
.pain-item { display: flex; gap: 16px; align-items: flex-start; }
.pain-item .x {
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, #ff6b6b 50%, transparent);
  color: #ff8484;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: var(--font-mono);
}
.pain-item p { color: var(--muted); font-size: 16px; }
.pain-item b { color: var(--text); display: block; margin-bottom: 2px; }

/* ---------- checklist ---------- */
.check-list li { display: flex; gap: 13px; align-items: flex-start; padding: 9px 0; color: var(--muted); }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list b { color: var(--text); }

/* ---------- pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .tier { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-card .amount { font-family: var(--font-mono); font-size: clamp(30px, 3vw, 38px); font-weight: 700; line-height: 1.2; }
.price-card .amount small { font-size: 15px; color: var(--muted); font-weight: 400; font-family: var(--font-main); }
.price-card .per { color: var(--faint); font-size: 14px; margin-bottom: 18px; }
.price-card .check-list { flex: 1; margin-bottom: 22px; }
.price-card .check-list li { font-size: 15px; padding: 7px 0; }
.price-card.featured { border-color: var(--accent-border); background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 8%, var(--surface-2)), var(--surface)); box-shadow: 0 0 0 1px var(--accent-soft), 0 20px 50px rgba(0, 0, 0, 0.45); }
.badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; transition: transform 0.2s ease; flex: none; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA8B5' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { min-height: 120px; resize: vertical; }
.pdpa-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.pdpa-row input { margin-top: 5px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.pdpa-row a { color: var(--accent); text-decoration: underline; }
.form-success {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.form-success b { color: var(--accent); font-size: 19px; display: block; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15.5px; }
.form-error { color: #ff8484; font-size: 14px; display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -40%, var(--glow), transparent 75%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #090D11; margin-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 16px; color: var(--text); }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .logo { font-size: 22px; }
.footer-brand p { margin-top: 12px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--faint); font-size: 13.5px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- floating LINE + sticky CTA ---------- */
.line-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--line-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(6, 199, 85, 0.4);
  transition: transform 0.18s ease;
}
.line-float:hover { transform: scale(1.08); }
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 81;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: 15.5px; }

/* ---------- reveal micro-animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
  [data-reveal].revealed { opacity: 1; transform: none; }
}

/* ---------- article / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 44px 0 16px; }
.prose h3 { font-size: clamp(18px, 2vw, 22px); margin: 32px 0 12px; }
.prose p { color: var(--muted); margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 4px; color: var(--muted); }
.prose ul li { padding: 4px 0 4px 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol li { padding: 4px 0 4px 34px; position: relative; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 7px; width: 23px; height: 23px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent); font-family: var(--font-mono); font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 8px 0 8px 22px; margin: 24px 0; color: var(--text); font-size: 18px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); }
.prose td { color: var(--muted); }
.prose img { border-radius: var(--radius); margin: 24px 0; }

/* ---------- misc ---------- */
.photo-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback { background: linear-gradient(135deg, var(--surface-2), color-mix(in oklab, var(--accent) 12%, var(--surface))); min-height: 240px; }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 3px 12px;
}
.divider { border: none; border-top: 1px solid var(--line); }

/* filter pills */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-bar button:hover { color: var(--text); border-color: var(--accent-border); }
.filter-bar button.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

/* steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 18px; text-align: center; }
.step .num {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.steps-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 15%, var(--accent-border) 85%, transparent);
}

/* breadcrumb */
.crumbs { font-size: 13.5px; color: var(--faint); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .sticky-cta { display: flex; }
  .line-float { bottom: calc(72px + env(safe-area-inset-bottom)); right: 16px; width: 52px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body { padding-bottom: 70px; }
}
