/* ==========================================================================
   Slateframe Digital — site styles
   ========================================================================== */

:root {
  --navy-950: #0B1120;
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --white: #FFFFFF;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-100: #DBEAFE;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --gutter: 24px;
  --section: 112px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--slate-300);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--white); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
p, li, dd, summary { text-wrap: balance; }
.case-body p, .qa-a p, .faq-item .answer p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--white); color: var(--navy-900); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 12px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-500); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--blue-100); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--navy-700); }
.btn-ghost:hover { border-color: var(--slate-400); background: rgba(255, 255, 255, .04); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-400); font-weight: 600;
  transition: gap .2s ease, color .2s ease;
}
.text-link:hover { color: var(--blue-300); gap: 12px; }
.text-link svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Header — floating pill
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  max-width: var(--container); margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 12px 0 22px;
  background: rgba(15, 23, 42, .78);
  border: 1px solid rgba(51, 65, 85, .9);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled .header-bar { background: rgba(15, 23, 42, .92); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }

.brand { display: flex; align-items: center; flex: none; }
.brand img, .brand .logo-svg { display: block; height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: var(--slate-300);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.main-nav a[aria-current="page"] { color: var(--white); background: var(--navy-800); }

.header-cta { flex: none; }
.header-cta .btn { border-radius: 999px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--navy-800); border: 1px solid var(--navy-700); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--white);
  transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  pointer-events: auto;
  display: none;
  max-width: var(--container); margin: 10px auto 0;
  background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: var(--radius-lg);
  padding: 12px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .8);
}
.mobile-panel a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px; border-radius: 12px; font-size: 18px; font-weight: 600; color: var(--white);
}
.mobile-panel a.m-link[aria-current="page"] { background: var(--navy-800); }
.mobile-panel a.m-link svg { width: 18px; height: 18px; color: var(--slate-500); }
.mobile-panel .btn { margin-top: 8px; }
.nav-open .mobile-panel { display: block; }

/* --------------------------------------------------------------------------
   Shared section pieces
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; position: relative; }
.section-alt { background: var(--navy-950); border-top: 1px solid var(--navy-800); border-bottom: 1px solid var(--navy-800); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-400);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  border-top: 3px solid var(--blue-500); border-left: 3px solid var(--blue-500); border-top-left-radius: 3px;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; font-size: clamp(34px, 4.2vw, 50px); }
.section-head p { margin-top: 18px; font-size: 20px; color: var(--slate-400); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head.split > div { max-width: 700px; }

.blue { color: var(--blue-500); }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 16px + 96px) 0 104px;
  background:
    radial-gradient(900px 620px at 85% 40%, rgba(37, 99, 235, .22), transparent 62%),
    var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-top { position: relative; }
.hero-grid { position: relative; margin-top: 48px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(30, 41, 59, .7); border: 1px solid var(--navy-700);
  font-size: 15px; font-weight: 600; color: var(--slate-300);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 130, 246, .22); margin-left: 4px; }

.hero h1 { margin-top: 26px; font-size: clamp(44px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -0.045em; }
.hero-lead { font-size: 21px; line-height: 1.6; color: var(--slate-400); max-width: 520px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; font-weight: 600; color: var(--slate-300); }
.hero-meta li { display: flex; align-items: flex-start; gap: 10px; }
.hero-meta svg { width: 22px; height: 22px; margin-top: 2px; color: var(--blue-500); flex: none; }

/* Code-to-site visual */
.build-visual { position: relative; height: 470px; }
.editor {
  position: absolute; left: 0; top: 0; width: 70%;
  background: var(--navy-950); border: 1px solid var(--navy-700); border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  background: rgba(30, 41, 59, .6); border-bottom: 1px solid var(--navy-800);
}
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--navy-700); }
.window-bar .file { margin-left: 12px; font-family: var(--mono); font-size: 13px; color: var(--slate-400); }
.code { padding: 20px 0 26px; font-family: var(--mono); font-size: 14px; line-height: 1.85; color: var(--slate-300); }
.code-line { display: flex; white-space: pre; }
.code-line .ln { width: 46px; flex: none; padding-right: 16px; text-align: right; color: var(--navy-700); user-select: none; }
.tok-tag { color: #60A5FA; }
.tok-attr { color: #93C5FD; }
.tok-str { color: #86EFAC; }
.tok-txt { color: #F8FAFC; }
.tok-com { color: var(--slate-500); }
.caret { display: inline-block; width: 8px; height: 17px; margin-left: 2px; background: var(--blue-500); vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js .code-line { opacity: 0; transform: translateX(-6px); }
.js .build-visual.is-typing .code-line { animation: line-in .35s ease forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
@keyframes line-in { to { opacity: 1; transform: none; } }

.browser {
  position: absolute; right: 0; bottom: 0; width: 64%;
  background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9); overflow: hidden;
}
.browser .window-bar { background: var(--navy-800); border-bottom-color: var(--navy-700); }
.url-pill {
  margin-left: 12px; flex: 1; max-width: 300px; height: 26px; border-radius: 7px;
  background: var(--navy-900); border: 1px solid var(--navy-700);
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  font-size: 12.5px; font-weight: 500; color: var(--slate-400); white-space: nowrap; overflow: hidden;
}
.url-pill svg { width: 12px; height: 12px; flex: none; color: #22C55E; }
.url-pill > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.js .browser { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s ease, transform .7s ease; transition-delay: 1.3s; }
.js .build-visual.is-typing .browser { opacity: 1; transform: none; }

.visual-tag {
  position: absolute; left: 4%; bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 14px;
  background: var(--white); color: var(--navy-900); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8);
  font-size: 15px; font-weight: 700; line-height: 1.25;
}
.visual-tag .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-600); color: var(--white); display: grid; place-items: center; flex: none; }
.visual-tag .ic svg { width: 20px; height: 20px; }
.visual-tag small { display: block; font-size: 13px; font-weight: 500; color: var(--slate-500); }
.js .visual-tag { opacity: 0; transform: translateY(10px); transition: opacity .6s ease 2s, transform .6s ease 2s; }
.js .build-visual.is-typing .visual-tag { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */
.stats { padding: 0 0 var(--section); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--navy-800); border-radius: var(--radius-lg); background: rgba(30, 41, 59, .35);
}
.stat { padding: 34px 32px; }
.stat + .stat { border-left: 1px solid var(--navy-800); }
.stat strong { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.stat > span { display: block; max-width: 230px; margin-top: 12px; font-size: 16px; line-height: 1.45; color: var(--slate-400); text-wrap: balance; }

/* --------------------------------------------------------------------------
   Bento grid
   -------------------------------------------------------------------------- */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "scratch scratch mobile"
    "fast own mobile"
    "seo forms person";
}
.tile {
  position: relative; overflow: hidden;
  background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
}
.tile h3 { font-size: 23px; letter-spacing: -0.02em; }
.tile p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--slate-400); }
.tile-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 24px;
  display: grid; place-items: center; background: rgba(37, 99, 235, .14); color: var(--blue-400); flex: none;
}
.tile-icon svg { width: 24px; height: 24px; }

.t-scratch { grid-area: scratch; background: linear-gradient(135deg, #1E3A8A 0%, var(--blue-600) 100%); border-color: transparent; flex-direction: row; align-items: center; gap: 32px; }
.t-scratch .tile-copy { flex: 1; }
.t-scratch h3 { font-size: 30px; }
.t-scratch p { color: var(--blue-100); font-size: 18px; }
.t-scratch .tile-icon { background: rgba(255, 255, 255, .14); color: var(--white); }
.scratch-art { flex: none; width: 230px; }
.scratch-art .ln { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .22); margin-bottom: 12px; }
.scratch-art .ln.b { background: rgba(255, 255, 255, .55); }
.scratch-art .ln:last-child { margin-bottom: 0; }

.t-mobile { grid-area: mobile; }
.mini-phone {
  margin: 28px auto 0; width: 170px; flex: 1; min-height: 250px;
  border: 7px solid var(--navy-950); border-bottom: 0; border-radius: 28px 28px 0 0;
  background: var(--navy-900); padding: 14px 12px 0; margin-bottom: -32px;
}
.mini-phone .bar { height: 10px; width: 46%; border-radius: 5px; background: var(--navy-700); }
.mini-phone .hero-b { margin-top: 14px; height: 74px; border-radius: 10px; background: linear-gradient(135deg, #1E3A8A, var(--blue-600)); }
.mini-phone .row { margin-top: 10px; height: 34px; border-radius: 8px; background: var(--navy-800); border: 1px solid var(--navy-700); }
.mini-phone .call { margin-top: 10px; height: 30px; border-radius: 8px; background: var(--blue-600); }

.t-fast { grid-area: fast; }
.t-own { grid-area: own; }
.t-seo { grid-area: seo; }
.t-forms { grid-area: forms; }
.t-person { grid-area: person; }

.speed { margin-top: 22px; }
.own-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.own-chips > span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--navy-900); border: 1px solid var(--navy-700); font-size: 14px; font-weight: 600; color: var(--slate-200);
}
.own-chips svg { width: 16px; height: 16px; color: #22C55E; }
.speed-track { height: 8px; border-radius: 4px; background: var(--navy-900); overflow: hidden; }
.speed-fill { height: 100%; width: 96%; border-radius: 4px; background: linear-gradient(90deg, var(--blue-600), #22C55E); }

/* --------------------------------------------------------------------------
   Pricing cards (home preview + pricing page)
   -------------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius-lg);
  padding: 34px 32px 32px;
}
.price-card.is-featured { background: var(--navy-950); border: 2px solid var(--blue-600); padding: 33px 31px 31px; box-shadow: 0 30px 60px -30px rgba(37, 99, 235, .55); }
.badge {
  position: absolute; top: -15px; left: 32px;
  padding: 6px 14px; border-radius: 999px; background: var(--blue-600); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.price-card h3 { font-size: 22px; letter-spacing: -0.02em; }
.price-card .for { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--slate-400); min-height: 72px; }
.price-amount { margin-top: 24px; display: flex; align-items: baseline; gap: 10px; }
.price-amount strong { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.price-amount > span { font-size: 16px; font-weight: 600; color: var(--slate-400); }
.price-card .delivery {
  margin-top: 18px; display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px; background: rgba(37, 99, 235, .14);
  font-size: 14px; font-weight: 600; color: var(--blue-300);
}
.price-card .delivery svg { width: 16px; height: 16px; }
.price-card ul { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--navy-700); display: grid; gap: 14px; }
.price-card li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--slate-300); }
.price-card li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--blue-500); }
.price-card .btn { margin-top: auto; }
.price-card ul + .btn { margin-top: 32px; }
.price-card .card-foot { margin-top: auto; padding-top: 32px; }

.below-cards { margin-top: 36px; display: flex; justify-content: center; }

/* --------------------------------------------------------------------------
   Featured work
   -------------------------------------------------------------------------- */
.work-feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0;
  background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: 28px; overflow: hidden;
}
.work-shot {
  position: relative; padding: 48px 0 48px 48px;
  background: radial-gradient(500px 360px at 30% 30%, rgba(132, 204, 22, .16), transparent 70%), var(--navy-950);
  display: flex; align-items: center;
}
.work-shot .browser { position: relative; width: 100%; right: auto; bottom: auto; border-radius: 14px 0 0 14px; border-right: 0; }
.js .work-shot .browser { opacity: 1; transform: none; transition: none; }
.work-shot .phone-shot {
  position: absolute; right: 28px; bottom: 28px; width: 132px;
  border: 6px solid #020617; border-radius: 24px; overflow: hidden; background: #020617;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9);
}
.work-shot .phone-shot img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 17px; }
.work-copy { padding: 52px 48px; display: flex; flex-direction: column; }
.work-copy .client { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A3E635; }
.work-copy h3 { margin-top: 14px; font-size: 32px; letter-spacing: -0.03em; line-height: 1.15; }
.work-copy > p { margin-top: 16px; font-size: 18px; color: var(--slate-400); }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--slate-300); }
.check-list li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--blue-500); }
.work-copy .text-link { margin-top: 32px; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 56px; right: -28px; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--navy-700));
}
.step-num {
  position: relative; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--navy-900); border: 2px solid var(--blue-600);
  font-size: 22px; font-weight: 800; color: var(--white);
}
.section-alt .step-num { background: var(--navy-950); }
.step h3 { margin-top: 26px; font-size: 22px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; max-width: 31ch; font-size: 17px; line-height: 1.55; color: var(--slate-400); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-layout .section-head .btn { margin-top: 30px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--navy-700); border-radius: var(--radius); background: var(--navy-800); transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--blue-600); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; font-size: 19px; font-weight: 700; color: var(--white); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--navy-900); }
.faq-item summary .pm::before, .faq-item summary .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--blue-400); border-radius: 2px; transition: transform .25s ease;
}
.faq-item summary .pm::after { transform: rotate(90deg); }
.faq-item[open] summary .pm::after { transform: rotate(0deg); }
.faq-item .answer { padding: 0 24px 24px; font-size: 17px; line-height: 1.65; color: var(--slate-400); }
.faq-item .answer p + p { margin-top: 12px; }
.faq-item .answer strong { color: var(--slate-200); font-weight: 600; }

/* --------------------------------------------------------------------------
   FAQ page (topic sidebar + numbered question list)
   -------------------------------------------------------------------------- */
.faq-page { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 6px; }
.faq-side-label { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.faq-side > a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  font-size: 16px; font-weight: 600; color: var(--slate-300); border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.faq-side > a svg { width: 18px; height: 18px; flex: none; color: var(--slate-500); transition: color .2s ease; }
.faq-side > a > span { flex: 1; }
.faq-side > a em {
  font-style: normal; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center; background: var(--navy-800); font-size: 13px; font-weight: 700; color: var(--slate-400);
}
.faq-side > a:hover { color: var(--white); background: rgba(255, 255, 255, .04); }
.faq-side > a[aria-current="true"] { color: var(--white); background: var(--navy-800); border-color: var(--navy-700); }
.faq-side > a[aria-current="true"] svg { color: var(--blue-400); }
.faq-side > a[aria-current="true"] em { background: var(--blue-600); color: var(--white); }
.faq-side-card {
  margin-top: 18px; padding: 22px; border-radius: var(--radius); background: var(--navy-950); border: 1px solid var(--navy-800);
  display: flex; flex-direction: column; gap: 6px;
}
.faq-side-card strong { font-size: 17px; color: var(--white); }
.faq-side-card > span { font-size: 15px; line-height: 1.5; color: var(--slate-400); }
.faq-side-card .btn { margin-top: 12px; }

.faq-groups { display: grid; gap: 64px; }
.faq-group { scroll-margin-top: 110px; }
.faq-group-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--blue-600); }
.faq-group-head .tile-icon { margin: 0; width: 44px; height: 44px; }
.faq-group-head .tile-icon svg { width: 22px; height: 22px; }
.faq-group-head h2 { font-size: 26px; letter-spacing: -0.02em; }
.qa { border-bottom: 1px solid var(--navy-800); scroll-margin-top: 110px; }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; align-items: center; gap: 16px;
  padding: 24px 4px; color: var(--white);
}
.qa summary::-webkit-details-marker { display: none; }
.qa-num { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--blue-400); }
.qa-q { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; transition: color .2s ease; }
.qa summary:hover .qa-q { color: var(--blue-300); }
.qa-chev {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--navy-700); color: var(--slate-400); transition: transform .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.qa-chev svg { width: 16px; height: 16px; }
.qa[open] .qa-chev { transform: rotate(90deg); background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.qa-a { padding: 0 52px 26px 64px; font-size: 17px; line-height: 1.7; color: var(--slate-400); }
.qa-a p + p { margin-top: 12px; }
.qa-a strong { color: var(--slate-200); font-weight: 600; }

/* --------------------------------------------------------------------------
   Privacy policy
   -------------------------------------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 120px; }
.legal-toc ol { counter-reset: toc; display: grid; gap: 4px; }
.legal-toc li { counter-increment: toc; text-wrap: wrap; }
.legal-toc a {
  display: flex; gap: 12px; padding: 8px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--slate-400);
  transition: color .2s ease, background-color .2s ease;
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 22px; font-family: var(--mono); font-size: 13px; line-height: 21px; color: var(--slate-500); }
.legal-toc a:hover { color: var(--white); background: var(--navy-800); }
.legal { max-width: 760px; }
.legal-summary { padding: 32px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--navy-700); border-left: 4px solid var(--blue-600); }
.legal-summary h2 { font-size: 22px; letter-spacing: -0.02em; }
.legal-summary .legal-list { margin-top: 16px; }
.legal-section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--navy-800); scroll-margin-top: 110px; }
.legal-section h2 { font-size: 26px; letter-spacing: -0.02em; }
.legal-section p { margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--slate-400); text-wrap: pretty; }
.legal a:not(.btn) { color: var(--blue-400); font-weight: 600; }
.legal a:not(.btn):hover { color: var(--blue-300); }
.legal strong { color: var(--slate-200); font-weight: 600; }
.legal-list { margin-top: 16px; display: grid; gap: 10px; }
.legal-list li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.6; color: var(--slate-300); text-wrap: pretty; }
.legal-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-500); }
.legal-list.plain li { padding-left: 0; }
.legal-list.plain li::before { display: none; }
.footer-bottom a { color: var(--slate-400); transition: color .2s ease; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .sep { margin: 0 10px; }

/* --------------------------------------------------------------------------
   CTA panel
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px;
  padding: 64px; border-radius: 28px;
  background: linear-gradient(120deg, #1E3A8A 0%, var(--blue-600) 70%);
}
.cta-panel::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px;
  border-top: 22px solid rgba(255, 255, 255, .1); border-right: 22px solid rgba(255, 255, 255, .1); border-top-right-radius: 40px;
}
.cta-panel h2 { font-size: clamp(32px, 3.8vw, 46px); }
.cta-panel p { margin-top: 16px; font-size: 20px; color: var(--blue-100); max-width: 560px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; min-width: 300px; }
.cta-actions .btn-ghost { border-color: rgba(255, 255, 255, .45); }
.cta-actions .btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 16px + 88px) 0 80px;
  background: radial-gradient(800px 480px at 90% 0%, rgba(37, 99, 235, .2), transparent 62%), var(--navy-900);
  border-bottom: 1px solid var(--navy-800);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { margin-top: 18px; font-size: clamp(42px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1.05; max-width: 860px; }
.page-hero .lead { margin-top: 22px; font-size: 21px; color: var(--slate-400); max-width: 680px; }

/* --------------------------------------------------------------------------
   Pricing page
   -------------------------------------------------------------------------- */
.pkg-list { display: grid; gap: 20px; }
.pkg {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 260px; gap: 32px; align-items: start;
  padding: 36px; border-radius: var(--radius-lg);
  background: var(--navy-800); border: 1px solid var(--navy-700);
}
.pkg.is-featured { border: 2px solid var(--blue-600); background: var(--navy-950); padding: 35px; }
.pkg-num {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--navy-900); border: 1px solid var(--navy-700);
  font-size: 24px; font-weight: 800; color: var(--blue-400);
}
.pkg.is-featured .pkg-num { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.pkg-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pkg-title h3 { font-size: 26px; letter-spacing: -0.02em; }
.pkg-title .badge { position: static; }
.pkg .for { margin-top: 8px; font-size: 17px; color: var(--slate-400); }
.pkg ul { margin-top: 22px; display: grid; gap: 12px; }
.pkg li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--slate-300); }
.pkg li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--blue-500); }
.pkg li strong { color: var(--white); font-weight: 600; }
.pkg-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.pkg-side .amount { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.pkg-side .note { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--slate-400); }
.pkg-side .delivery {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px; background: rgba(37, 99, 235, .14);
  font-size: 14px; font-weight: 600; color: var(--blue-300); white-space: nowrap;
}
.pkg-side .delivery svg { width: 16px; height: 16px; }
.pkg-side .btn { margin-top: 24px; width: 100%; }

.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.care-grid .price-card .for { min-height: 0; }
.fine-print { margin-top: 28px; font-size: 16px; color: var(--slate-400); text-align: center; }
.fine-print strong { color: var(--slate-200); font-weight: 600; }

.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.term {
  padding: 32px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--navy-700);
}
.term .big { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.term h3 { margin-top: 16px; font-size: 20px; letter-spacing: -0.01em; }
.term p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--slate-400); }

/* --------------------------------------------------------------------------
   Work page
   -------------------------------------------------------------------------- */
.case-hero-shot {
  position: relative; margin-top: 56px; padding: 56px 56px 0;
  border-radius: 28px 28px 0 0; overflow: hidden;
  background: radial-gradient(600px 400px at 30% 20%, rgba(132, 204, 22, .16), transparent 70%), var(--navy-950);
  border: 1px solid var(--navy-800); border-bottom: 0;
}
.case-hero-shot .browser { position: relative; width: 100%; right: auto; bottom: auto; border-radius: 16px 16px 0 0; border-bottom: 0; }
.js .case-hero-shot .browser { opacity: 1; transform: none; transition: none; }
.case-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--navy-800); border-radius: 0 0 28px 28px; background: var(--navy-800);
}
.case-meta div { padding: 28px 32px; }
.case-meta div + div { border-left: 1px solid var(--navy-700); }
.case-meta dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.case-meta dd { margin: 8px 0 0; font-size: 18px; font-weight: 600; color: var(--white); line-height: 1.4; }

.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.case-body h2 { font-size: 32px; letter-spacing: -0.03em; }
.case-body h2:not(:first-child) { margin-top: 56px; }
.case-body p { margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--slate-400); }
.case-body .check-list { margin-top: 22px; }
.page-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-chips li {
  padding: 8px 14px; border-radius: 10px; background: var(--navy-800); border: 1px solid var(--navy-700);
  font-size: 15px; font-weight: 600; color: var(--slate-300);
}
.case-aside { position: sticky; top: 120px; }
.case-aside .phone-frame {
  width: 260px; margin: 0 auto; border: 9px solid #020617; border-radius: 40px; overflow: hidden; background: #020617;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9);
}
.case-aside .phone-frame img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 31px; }
.case-aside .caption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--slate-500); }

.next-slot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px;
  padding: 44px 48px; border-radius: var(--radius-lg);
  border: 2px dashed var(--navy-700); background: rgba(30, 41, 59, .3);
}
.next-slot h2 { font-size: 30px; letter-spacing: -0.03em; }
.next-slot p { margin-top: 10px; font-size: 18px; color: var(--slate-400); }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.about-copy h2 { font-size: clamp(32px, 3.6vw, 44px); margin-top: 16px; }
.about-copy p { margin-top: 18px; font-size: 19px; line-height: 1.7; color: var(--slate-400); }
.about-copy p strong { color: var(--white); font-weight: 600; }
.signature-card {
  position: relative; padding: 44px; border-radius: 28px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border: 1px solid var(--navy-700);
}
.signature-card .mark { width: 72px; height: 72px; }
.signature-card blockquote { margin: 28px 0 0; font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; color: var(--white); }
.signature-card .who { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--navy-700); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.signature-card .who strong { display: block; font-size: 18px; color: var(--white); }
.signature-card .who div > span { font-size: 15px; color: var(--slate-400); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value { display: flex; gap: 22px; padding: 32px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--navy-700); }
.value .tile-icon { margin-bottom: 0; }
.value h3 { font-size: 21px; letter-spacing: -0.02em; }
.value p { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--slate-400); }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--navy-700);
  transition: border-color .2s ease;
}
a.contact-card:hover { border-color: var(--blue-600); }
.contact-card .tile-icon { margin: 0; }
.contact-card small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.contact-card strong { display: block; margin-top: 4px; font-size: 19px; font-weight: 700; color: var(--white); word-break: break-word; }
.next-steps { margin-top: 32px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--navy-800); background: var(--navy-950); }
.next-steps h2 { font-size: 22px; letter-spacing: -0.02em; }
.next-steps ol { margin-top: 22px; display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { position: relative; padding-left: 46px; font-size: 17px; line-height: 1.55; color: var(--slate-400); counter-increment: ns; }
.next-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(37, 99, 235, .16); color: var(--blue-300); font-size: 15px; font-weight: 800;
}
.next-steps li strong { color: var(--white); font-weight: 600; }

.form-card { padding: 44px; border-radius: 28px; background: var(--navy-800); border: 1px solid var(--navy-700); }
.form-card h2 { font-size: 30px; letter-spacing: -0.03em; }
.form-card > p { margin-top: 10px; font-size: 17px; color: var(--slate-400); }
.form-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--slate-200); }
.req { color: var(--blue-400); }
.strong-link { color: var(--white); font-weight: 600; white-space: nowrap; }
.form-actions .small a { color: var(--slate-300); font-weight: 600; white-space: nowrap; }
.field label .opt { font-weight: 500; color: var(--slate-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px;
  background: var(--navy-900); border: 1.5px solid var(--navy-700); color: var(--white);
  font-size: 17px; line-height: 1.4; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 20px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.form-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-actions .small { font-size: 14px; color: var(--slate-500); text-align: center; }
.hidden-field { display: none; }

/* --------------------------------------------------------------------------
   Simple centered pages (thank you, 404)
   -------------------------------------------------------------------------- */
.center-page {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 16px + 64px) var(--gutter) 96px;
  background: radial-gradient(700px 480px at 50% 0%, rgba(37, 99, 235, .22), transparent 65%), var(--navy-900);
}
.center-page .inner { max-width: 640px; }
.center-page .big-icon { width: 84px; height: 84px; margin: 0 auto; border-radius: 24px; display: grid; place-items: center; background: var(--blue-600); color: var(--white); }
.center-page .big-icon svg { width: 40px; height: 40px; }
.center-page .code-404 { font-size: clamp(96px, 16vw, 160px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--white); }
.center-page .code-404 > span { color: var(--blue-500); }
.center-page h1 { margin-top: 28px; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.04em; }
.center-page p { margin-top: 18px; font-size: 20px; color: var(--slate-400); }
.center-page .actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 80px 0 40px; background: var(--navy-950); border-top: 1px solid var(--navy-800); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand img, .footer-brand .logo-svg { display: block; height: 42px; width: auto; }
.footer-brand p { margin-top: 20px; font-size: 16px; line-height: 1.65; color: var(--slate-400); max-width: 340px; }
.footer-col h2 { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.footer-col ul { margin-top: 20px; display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 16px; color: var(--slate-300); line-height: 1.5; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-col .price { color: var(--slate-500); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.dash { margin: 0 .08em; letter-spacing: 0; }
.stat strong .dash, .price-amount .dash, .term .big .dash { margin: 0 .1em; }
.section:not(.section-alt) + .cta-section { padding-top: 0; }
.footer-bottom {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--navy-800);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 15px; color: var(--slate-500);
}

/* --------------------------------------------------------------------------
   Phone call bar
   -------------------------------------------------------------------------- */
.call-bar { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .build-visual { max-width: 720px; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "scratch scratch" "mobile fast" "mobile own" "seo forms" "person person"; }
  .work-feature { grid-template-columns: 1fr; }
  .work-shot { padding: 40px 0 40px 40px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step::before { display: none; }
  .faq-layout .section-head { position: static; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .case-body { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
  .case-aside .phone-frame { width: 240px; }
}

@media (max-width: 960px) {
  :root { --section: 88px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-bar { padding: 0 10px 0 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--navy-800); }
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 28px; }
  .price-card .for { min-height: 0; }
  .care-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; gap: 28px; }
  .cta-panel { grid-template-columns: 1fr; padding: 48px; }
  .cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .pkg { grid-template-columns: 64px minmax(0, 1fr); }
  .pkg-side { grid-column: 2; text-align: left; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--navy-700); }
  .pkg-side .btn { width: auto; }
  .terms-grid { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-meta div:nth-child(3) { border-left: 0; }
  .case-meta div:nth-child(n + 3) { border-top: 1px solid var(--navy-700); }
  .case-body { grid-template-columns: 1fr; }
  .case-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-page { grid-template-columns: 1fr; gap: 40px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-toc { display: none; }
  .faq-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .faq-side-label, .faq-side-card { display: none; }
  .faq-side > a { border-color: var(--navy-700); padding: 10px 14px; }
  .next-slot { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 640px) {
  :root { --section: 72px; --gutter: 20px; --header-h: 62px; }
  body { font-size: 17px; }
  p, li, dd { text-wrap: pretty; }
  .about-copy p { text-wrap: balance; }
  .contact-card { padding: 18px; gap: 14px; }
  .contact-card strong { font-size: 16px; }
  .site-footer { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom)); }
  .site-header { top: 10px; padding: 0 12px; }
  .brand img, .brand .logo-svg { height: 34px; }
  .hero { padding: calc(var(--header-h) + 10px + 56px) 0 72px; }
  .hero h1 { font-size: 44px; }
  .hero h1 br { display: none; }
  .hero-lead { font-size: 19px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .build-visual { height: auto; }
  .editor { display: none; }
  .browser { position: relative; width: 100%; }
  .visual-tag { position: relative; left: auto; bottom: auto; margin-top: -26px; margin-left: 16px; display: inline-flex; }
  .stat { padding: 26px 22px; }

  .stat strong { font-size: 30px; white-space: nowrap; }
  .stat > span { font-size: 15px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 18px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "scratch" "mobile" "fast" "own" "seo" "forms" "person"; }
  .tile { padding: 28px 24px; }
  .t-scratch { flex-direction: column; align-items: flex-start; }
  .t-scratch h3 { font-size: 26px; }
  .scratch-art { display: none; }
  .price-card { padding: 30px 24px 26px; }
  .price-card.is-featured { padding: 29px 23px 25px; }
  .badge { left: 24px; }
  .work-shot { padding: 28px 0 28px 24px; }
  .work-shot .phone-shot { width: 96px; right: 16px; bottom: 16px; border-width: 4px; border-radius: 18px; }
  .work-shot .phone-shot img { border-radius: 14px; }
  .work-copy { padding: 36px 24px; }
  .work-copy h3 { font-size: 27px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .faq-item summary { padding: 20px; font-size: 18px; }
  .faq-item .answer { padding: 0 20px 22px; }
  .cta-panel { padding: 40px 24px; border-radius: var(--radius-lg); }
  .cta-panel::after { width: 160px; height: 160px; border-width: 16px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .page-hero { padding: calc(var(--header-h) + 10px + 56px) 0 56px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero .lead { font-size: 19px; }
  .pkg { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px; }
  .pkg.is-featured { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 27px 23px; }
  .pkg-num { width: 52px; height: 52px; font-size: 20px; border-radius: 14px; }
  .pkg-side { grid-column: auto; padding-top: 22px; }
  .pkg-side .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
  .pkg-title h3 { font-size: 23px; }
  .case-hero-shot { margin-top: 40px; padding: 24px 24px 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .case-meta { grid-template-columns: 1fr; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .case-meta div + div { border-left: 0; border-top: 1px solid var(--navy-700); }
  .case-meta div { padding: 20px 24px; }
  .case-body h2 { font-size: 27px; }
  .next-slot { padding: 32px 24px; }
  .next-slot .btn { width: 100%; }
  .signature-card { padding: 32px 24px; }
  .signature-card blockquote { font-size: 22px; }
  .value { flex-direction: column; gap: 18px; padding: 28px 24px; }
  .form-card { padding: 32px 22px; border-radius: var(--radius-lg); }
  .form-grid { grid-template-columns: 1fr; }
  .next-steps { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-col ul { margin-top: 16px; }
  .footer-col.pages-col ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
  .footer-col.packages-col li a { display: flex; justify-content: space-between; gap: 16px; }
  .section-head.center { text-align: left; margin-left: 0; }
  .footer-bottom { flex-direction: column; margin-top: 48px; }
  .center-page .actions .btn { width: 100%; }
  .faq-side { flex-direction: column; }
  .faq-groups { gap: 48px; }
  .faq-group-head h2 { font-size: 23px; }
  .qa summary { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 12px; padding: 20px 0; }
  .qa-q { font-size: 17px; }
  .qa-a { padding: 0 0 22px 44px; font-size: 16px; }
  .legal-summary { padding: 26px 22px; }
  .legal-section { margin-top: 40px; padding-top: 40px; }
  .legal-section h2 { font-size: 23px; }
  .legal-section p, .legal-list li { font-size: 17px; }
  .footer-bottom .sep { display: none; }
  .footer-bottom p:last-child { display: flex; flex-direction: column; gap: 12px; }

  .call-bar {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 17, 32, .94); border-top: 1px solid var(--navy-800);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .call-bar .btn { flex: 1; min-height: 52px; padding: 0 12px; font-size: 16px; }
}

@media (max-width: 480px) {
  .cta-panel { padding: 36px 20px; }
  .cta-actions .btn { font-size: 16px; padding: 0 16px; }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { display: flex; align-items: center; gap: 18px; padding: 22px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--navy-800); }
  .stat strong { flex: none; width: 138px; font-size: 30px; }
  .stat > span { margin-top: 0; max-width: none; text-wrap: pretty; }
}

@media (max-width: 360px) {
  .cta-actions .btn svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .code-line, .js .browser, .js .visual-tag { opacity: 1 !important; transform: none !important; }
  .caret { animation: none; }
}
