/* =========================================================================
   MainStreetSitesUS site mockup: plain CSS, no build step.
   Themes are driven by custom properties on html[data-theme].
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 68px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: rgba(255,255,255,.035);
  --surface-solid: #0f1117;
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.085);
  --border-strong: rgba(255,255,255,.16);
  --text: #f3f5f9;
  --muted: #a6aebd;
  --faint: #8a93a3;
  --accent: #a99dff;
  --accent-solid: #7c6bff;
  --grad: linear-gradient(92deg, #b9afff 0%, #8fb8ff 45%, #5fe3ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,123,255,.22), rgba(61,220,255,.12));
  --glow-a: rgba(124,107,255,.38);
  --glow-b: rgba(61,220,255,.22);
  --good: #4ade9b;
  --bad: #ff7a85;
  --warn-bg: rgba(255,196,87,.12);
  --warn-text: #ffd27a;
  --nav-bg: rgba(7,8,11,.62);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 100px -30px rgba(0,0,0,.85);
  --btn-bg: #f3f5f9;
  --btn-text: #07080b;
  --btn-glow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 30px -6px rgba(140,125,255,.55);
  --ring: #b9afff;
  --grid-line: rgba(255,255,255,.05);
  --input-bg: rgba(255,255,255,.04);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f9;
  --bg-2: #eef0f4;
  --surface: rgba(255,255,255,.75);
  --surface-solid: #ffffff;
  --surface-2: rgba(10,12,20,.04);
  --border: rgba(12,14,24,.09);
  --border-strong: rgba(12,14,24,.18);
  --text: #0a0c12;
  --muted: #4a5262;
  --faint: #5d6576;
  --accent: #4f37e8;
  --accent-solid: #5b45f0;
  --grad: linear-gradient(92deg, #4b2fe0 0%, #3a55e6 45%, #0b7ea6 100%);
  --grad-soft: linear-gradient(135deg, rgba(91,69,240,.12), rgba(11,126,166,.08));
  --glow-a: rgba(124,107,255,.28);
  --glow-b: rgba(61,200,255,.22);
  --good: #0f7a4a;
  --bad: #c42a3a;
  --warn-bg: #fff3d6;
  --warn-text: #7a4b00;
  --nav-bg: rgba(246,247,249,.7);
  --shadow: 0 1px 2px rgba(12,14,24,.04), 0 18px 40px -22px rgba(12,14,24,.22);
  --shadow-lg: 0 40px 90px -36px rgba(20,22,50,.35);
  --btn-bg: #0a0c12;
  --btn-text: #ffffff;
  --btn-glow: 0 0 0 1px rgba(10,12,18,.9), 0 10px 26px -8px rgba(79,55,232,.55);
  --ring: #4f37e8;
  --grid-line: rgba(12,14,24,.06);
  --input-bg: #ffffff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.reduce-motion { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-solid); color: #fff; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--btn-glow); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--btn-glow), 0 14px 40px -10px var(--glow-a); }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.btn--sm { --h: 38px; padding: 0 15px; font-size: 14.5px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; }
.nav::before {
  content: ""; position: absolute; inset: 0; background: var(--nav-bg);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .4s;
}
.nav.is-scrolled::before { border-bottom-color: var(--border); }
.nav__inner { position: relative; height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.02em; border-radius: 10px; }
.brand__mark { width: 32px; height: 30px; display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.brand__mark .vp-s0 { stop-color: #8b7bff; }
.brand__mark .vp-s1 { stop-color: #3ddcff; }
[data-theme="light"] .brand__mark .vp-s0 { stop-color: #5b45f0; }
[data-theme="light"] .brand__mark .vp-s1 { stop-color: #0b7ea6; }
.nav__links { display: none; margin-left: auto; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__cta { display: none; }
.theme-toggle, .menu-btn {
  position: relative; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; color: var(--text);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.theme-toggle:hover, .menu-btn:hover { border-color: var(--text); }
.theme-toggle:active, .menu-btn:active { transform: scale(.94); }
.theme-toggle .ico, .menu-btn .ico { position: absolute; width: 18px; height: 18px; transition: transform .45s var(--ease), opacity .3s; }
html[data-theme="dark"] .ico--sun { opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="dark"] .ico--moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-theme="light"] .ico--sun { opacity: 0; transform: rotate(90deg) scale(.5); }
html[data-theme="light"] .ico--moon { opacity: 1; transform: rotate(0) scale(1); }
.menu-btn .ico--close { opacity: 0; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] .ico--menu { opacity: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .ico--close { opacity: 1; transform: none; }
.mobile-menu { position: relative; border-bottom: 1px solid var(--border); }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.mobile-menu nav { position: relative; display: grid; gap: 2px; padding-block: 8px 20px; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 18px; font-weight: 550; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 8px; }
  .nav__cta { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}
@media (min-width: 600px) and (max-width: 959px) { .nav__cta { display: inline-flex; } }

/* ---------- Common section ---------- */
.section { position: relative; padding-block: 80px; }
.section--tight { padding-block: 64px; }
@media (min-width: 960px) { .section { padding-block: 100px; } .section--tight { padding-block: 64px; } }
.section__head { max-width: 760px; margin-bottom: 48px; }
@media (min-width: 960px) { .section__head { margin-bottom: 64px; } }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px !important; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section__title { font-size: clamp(34px, 5.4vw, 58px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.section__title--sm { font-size: clamp(28px, 3.6vw, 40px); }
.section__lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 620px; text-wrap: pretty; }
.fineprint { margin-top: 22px; font-size: 13.5px; color: var(--faint); }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 550; border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface); }
.tag--accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--grad-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 56px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding-top: 88px; } }
.hero__bg { position: absolute; inset: -10% 0 0; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .9; }
.orb--a { width: 620px; height: 620px; left: 50%; top: -260px; transform: translateX(-70%); background: radial-gradient(circle, var(--glow-a), transparent 65%); animation: float-a 16s var(--ease) infinite alternate; }
.orb--b { width: 520px; height: 520px; right: -160px; top: 120px; background: radial-gradient(circle, var(--glow-b), transparent 65%); animation: float-b 18s var(--ease) infinite alternate; }
@keyframes float-a { to { transform: translate(-55%, 40px) scale(1.08); } }
@keyframes float-b { to { transform: translate(-60px, -30px) scale(.95); } }
.grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1040px) { .hero__inner { grid-template-columns: 1.08fr .92fr; gap: 40px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 500; color: var(--muted);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); }
.hero__title { margin-top: 26px; font-size: clamp(44px, 8.4vw, 86px); font-weight: 680; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.pill__sep { opacity: .45; margin: 0 4px; }
@media (max-width: 420px) { .pill { font-size: 12.5px; } }
.hero__lead { margin-top: 26px; font-size: clamp(17.5px, 1.9vw, 20px); line-height: 1.55; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .hero__ctas .btn { width: 100%; } }
.hero__ticks { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--muted); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks .ico { color: var(--good); width: 16px; height: 16px; stroke-width: 2.6; }

/* Hero visual */
.hero__visual { position: relative; height: 440px; max-width: 560px; width: 100%; margin-inline: auto; }
@media (min-width: 1040px) { .hero__visual { height: 520px; } }
.hv-browser {
  position: absolute; left: 0; top: 30px; width: 88%; border-radius: 20px; overflow: hidden;
  background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transform-origin: left center;
}
.hv-browser__bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.hv-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.hv-url { margin-left: 12px; flex: 1; max-width: 220px; height: 22px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 11px; display: flex; align-items: center; padding: 0 10px; color: var(--faint); font-family: var(--mono); }
.hv-browser__body { padding: 18px 20px 22px; }
.hv-nav { display: flex; align-items: center; gap: 10px; }
.hv-logo { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #ff9fd1, #ffb86b); }
.hv-line { height: 7px; border-radius: 4px; background: var(--border-strong); }
.w20 { width: 20%; } .w14 { width: 12%; }
.hv-btn { margin-left: auto; font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--text); color: var(--bg); }
.hv-hero { margin-top: 22px; padding: 26px 22px; border-radius: 14px; background: radial-gradient(120% 140% at 0% 0%, rgba(255,159,209,.28), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(255,184,107,.22), transparent 55%), var(--surface-2); border: 1px solid var(--border); }
.hv-eyebrow { display: block; font-size: 10.5px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hv-h { display: block; margin-top: 8px; font-size: 25px; font-weight: 680; line-height: 1.05; letter-spacing: -.035em; }
.hv-row { display: flex; gap: 8px; margin-top: 16px; }
.hv-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 8px 13px; border-radius: 999px; background: var(--text); color: var(--bg); }
.hv-cta .ico { width: 13px; height: 13px; }
.hv-cta--alt { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.hv-cards { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-cards span { height: 62px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.hv-phone {
  position: absolute; right: 0; bottom: 0; width: 210px; height: 400px; border-radius: 38px; padding: 10px;
  background: linear-gradient(160deg, #2a2d36, #0c0d11); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12);
  animation: bob 7s ease-in-out infinite alternate;
}
@media (min-width: 1040px) { .hv-phone { width: 226px; height: 440px; } }
@keyframes bob { to { transform: translateY(-12px); } }
.hv-phone__island { position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.hv-phone__screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: #0d0f15; color: #f3f5f9; padding: 50px 14px 14px; display: flex; flex-direction: column; }
html[data-theme="light"] .hv-phone__screen { background: #fff; color: #0a0c12; }
.hv-small { font-size: 10.5px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.hv-day { font-size: 26px; font-weight: 680; letter-spacing: -.03em; margin-top: 4px; }
.hv-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.hv-slots span { font-size: 11.5px; font-weight: 600; text-align: center; padding: 8px 0; border-radius: 9px; border: 1px solid rgba(127,127,140,.35); }
.hv-slots .is-off { opacity: .4; text-decoration: line-through; border-style: dashed; }
.hv-slots .is-on { background: linear-gradient(135deg, #8b7bff, #3ddcff); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px rgba(124,107,255,.8); }
.hv-field { margin-top: 8px; height: 30px; border-radius: 9px; border: 1px solid rgba(127,127,140,.3); display: flex; align-items: center; padding: 0 10px; }
.hv-slots + .hv-field { margin-top: 14px; }
.hv-field i { font-style: normal; font-size: 10.5px; opacity: .55; }
.hv-confirm { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: rgba(74,222,155,.14); color: #3fd08f; }
html[data-theme="light"] .hv-confirm { color: #0f7a4a; background: rgba(15,122,74,.1); }
.hv-confirm .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.hv-bar { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hv-bar span { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 650; padding: 11px 0; border-radius: 12px; border: 1px solid rgba(127,127,140,.35); }
.hv-bar span:last-child { background: currentColor; }
.hv-bar span:last-child { background: #f3f5f9; color: #0a0c12; border-color: transparent; }
html[data-theme="light"] .hv-bar span:last-child { background: #0a0c12; color: #fff; }
.hv-bar .ico { width: 13px; height: 13px; }
.hv-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite alternate;
}
.hv-chip .ico { width: 15px; height: 15px; color: var(--accent); }
.hv-chip--a { left: -6px; bottom: 70px; animation-delay: -2s; }
.hv-chip--b { right: 150px; top: 0; animation-delay: -4s; }
.hv-chip--c { left: 36%; bottom: 8px; animation-duration: 8s; }
@media (max-width: 600px) {
  .hero__visual { height: 400px; }
  .hv-browser { width: 94%; }
  .hv-phone { width: 180px; height: 340px; right: -4px; border-radius: 34px; }
  .hv-phone__screen { padding: 44px 11px 11px; border-radius: 26px; }
  .hv-day { font-size: 22px; }
  .hv-chip--b { right: auto; left: 8px; top: 0; }
  .hv-chip--c { display: none; }
  .hv-chip--a { bottom: 40px; }
}

/* Marquee */
.marquee { margin-top: 72px; border-block: 1px solid var(--border); padding-block: 20px; overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
@media (min-width: 960px) { .marquee { margin-top: 96px; } }
.marquee__track { display: flex; flex: none; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--faint); letter-spacing: -.01em; }
.marquee li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Case study / before-after ---------- */
.work { overflow-x: clip; background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.case { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1040px) { .case { grid-template-columns: 1fr 420px; gap: 72px; } }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case__title { margin-top: 18px; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.035em; }
.case__lists { margin-top: 32px; display: grid; gap: 28px; }
@media (min-width: 640px) { .case__lists { grid-template-columns: 1fr 1fr; } }
.list-title { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.list-title--bad { color: var(--bad); } .list-title--good { color: var(--good); }
.list { display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.list strong { color: var(--text); font-weight: 600; }
.list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 7px; margin-top: 1px; stroke-width: 2.8; }
.list--bad .ico { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }
.list--good .ico { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }

.ba-wrap { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 9 / 18.5; width: 100%; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #30333d, #0b0c10); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.4);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, var(--glow-a), transparent); opacity: .6; filter: blur(30px); }
.ba__layer { position: absolute; inset: 11px; border-radius: 36px; overflow: hidden; isolation: isolate; z-index: 0; }
.ba__after { z-index: 1; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { z-index: 2; position: absolute; top: 11px; bottom: 11px; left: calc(11px + (100% - 22px) * var(--pos-n, .5)); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 0 18px rgba(255,255,255,.6); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%,-50%); background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.18); display: grid; place-items: center; transition: transform .2s var(--ease), box-shadow .2s; backdrop-filter: blur(6px); }
.ba__knob svg { width: 22px; height: 22px; fill: none; stroke: #0a0c12; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba:hover .ba__knob, .ba.is-dragging .ba__knob { transform: translate(-50%,-50%) scale(1.08); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba.is-focus .ba__knob, .ba:has(.ba__range:focus-visible) .ba__knob { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--ring), 0 8px 24px rgba(0,0,0,.35); }
.ba__chip { position: absolute; top: 28px; z-index: 3; font-size: 11.5px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 5px 10px; border-radius: 999px; pointer-events: none; transition: opacity .25s; }
.ba__chip--before { left: 24px; background: rgba(196,42,58,.92); color: #fff; }
.ba__chip--after { right: 24px; background: rgba(15,122,74,.94); color: #fff; }
.ba__controls { margin: 22px auto 0; display: flex; justify-content: center; gap: 4px; padding: 4px; width: max-content; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); }
.ba__controls button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 550; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.ba__controls button:hover { color: var(--text); }
.ba__controls button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); }
.ba__cap { margin-top: 14px; text-align: center; font-size: 13px; color: var(--faint); }

/* Mock "before" site (fixed light, dated look) */
.m-old { position: absolute; inset: 0; background: #ffffff; color: #333; font-family: Arial, Helvetica, sans-serif; display: flex; flex-direction: column; }
.m-old__top { height: 15%; min-height: 70px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 18px 12px; border-bottom: 1px solid #e3e3e3; }
.m-old__burger { width: 24px; height: 24px; color: #2e88d6; }
.m-broken { position: relative; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #888; border: 1px dashed #c9c9c9; padding: 4px 6px; background: #fafafa; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-broken .ico { width: 13px; height: 13px; color: #aaa; }
.m-broken--logo { font-size: 10px; }
.m-old__hero { position: relative; background: #7d7d7d; padding: 30px 22px; text-align: center; }
.m-old__slogan { display: block; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; }
.m-old__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 16px 6px; }
.m-old__grid .m-broken { height: 46px; justify-content: center; }
.m-old__text { padding: 8px 18px; display: grid; gap: 6px; }
.m-old__text i { height: 6px; background: #e4e4e4; border-radius: 2px; }
.m-old__text i.s { width: 62%; }
.m-old__call { position: relative; margin: 6px 18px; align-self: flex-start; }
.m-old__call > span:first-child { display: inline-block; padding: 9px 20px; background: #2e88d6; color: #fff; font-size: 13px; font-weight: 700; border-radius: 3px; opacity: .9; }
.m-pin { position: absolute; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11.5px/1 var(--font); color: #fff; z-index: 2; }
.m-pin--bad { background: #d6293e; box-shadow: 0 0 0 3px rgba(214,41,62,.25); }
.m-legend { margin: auto 12px 12px; padding: 10px 12px; border-radius: 12px; background: #fff1f2; border: 1px solid #ffd1d6; display: grid; gap: 5px; font: 500 11px/1.3 var(--font); color: #7a1522; }
.m-legend li { display: flex; align-items: center; gap: 8px; }
.m-legend b { width: 17px; height: 17px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #d6293e; color: #fff; font-size: 10px; }

/* Mock "after" site: fictional client brand "Main Street Auto" (own palette, not the studio's).
   All sizes in em; 1em = 1/36 of the phone screen width, so the mock scales as one piece. */
.ba__after { container-type: size; }
.ms { --ms-navy: #0b1b30; --ms-navy-2: #12294a; --ms-acc: #ff6b1a; --ms-acc-2: #ff8a3d; --ms-ink: #0f1a2a; --ms-muted: #5d6878; --ms-line: #e4e8ee; --ms-bg: #f3f5f8;
  position: absolute; inset: 0; font-size: calc(100cqw / 36); font-family: var(--font); color: var(--ms-ink); background: var(--ms-bg); overflow: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: -.005em; }
.ms .ico { width: 1.5em; height: 1.5em; }
.ms__status { position: absolute; top: 0; left: 0; right: 0; height: 3.4em; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: .4em 2.4em 0 2.8em; color: #fff; background: var(--ms-navy); }
.ms__status b { font-size: 1.35em; font-weight: 650; letter-spacing: -.01em; }
.ms__sig { display: flex; align-items: center; gap: .5em; }
.ms__sig svg { height: 1.1em; width: auto; fill: currentColor; }
.ms__bar { position: absolute; top: 3.4em; left: 0; right: 0; height: 5.2em; z-index: 3; display: flex; align-items: center; gap: 1em; padding: 0 1.6em; background: var(--ms-navy); border-bottom: 1px solid rgba(255,255,255,.07); }
.ms__logo { width: 3.2em; height: 3.2em; border-radius: .9em; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(140deg, var(--ms-acc-2), var(--ms-acc)); box-shadow: 0 .4em 1.2em -.3em rgba(255,107,26,.7); }
.ms__logo .ico { width: 1.8em; height: 1.8em; stroke-width: 2.3; }
.ms__brand { display: grid; color: #fff; font-size: 1.55em; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.ms__brand small { font-size: .62em; font-weight: 500; letter-spacing: 0; color: #9fb1c8; margin-top: .15em; }
.ms__menu { margin-left: auto; width: 3.4em; height: 3.4em; border-radius: 1em; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); }
.ms__menu .ico { width: 1.7em; height: 1.7em; }
.ms__viewport { position: absolute; top: 8.6em; left: 0; right: 0; bottom: 0; overflow: hidden; container-type: size; }
.ms__page { padding-bottom: 8.4em; will-change: transform; animation: ms-scroll 24s cubic-bezier(.45,0,.25,1) 2.5s infinite; }
.ba:hover .ms__page, .ba.is-dragging .ms__page, .ba.is-focus .ms__page { animation-play-state: paused; }
@keyframes ms-scroll {
  0%, 14% { transform: translateY(0); }
  24%, 40% { transform: translateY(calc((100cqh - 100%) * .5)); }
  50%, 64% { transform: translateY(calc(100cqh - 100%)); }
  76%, 100% { transform: translateY(0); }
}
.reduce-motion .ms__page { animation: none; }
@media (prefers-reduced-motion: reduce) { .ms__page { animation: none; } }

.ms__hero { position: relative; display: grid; justify-items: start; gap: 1.1em; padding: 2em 1.8em 4.6em; color: #fff; overflow: hidden;
  background: radial-gradient(70% 60% at 100% 0%, rgba(255,107,26,.32), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(56,132,255,.22), transparent 70%), linear-gradient(180deg, var(--ms-navy), var(--ms-navy-2)); }
.ms__hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 .2em, transparent .2em 1.6em); -webkit-mask: linear-gradient(200deg, #000 10%, transparent 70%); mask: linear-gradient(200deg, #000 10%, transparent 70%); }
.ms__hero > * { position: relative; z-index: 1; }
.ms__rating { display: inline-flex; align-items: center; gap: .55em; padding: .45em .9em .45em .7em; border-radius: 99em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); font-size: 1.15em; color: #d9e2ee; }
.ms__rating b { color: #fff; font-weight: 700; }
.ms__stars { display: inline-flex; gap: .1em; color: #ffc233; }
.ms__stars svg { width: 1.05em; height: 1.05em; }
.ms__h1 { font-size: 3.05em; font-weight: 800; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.ms__h1 em { font-style: normal; color: var(--ms-acc-2); }
.ms__loc { display: inline-flex; align-items: center; gap: .45em; font-size: 1.2em; font-weight: 550; color: #c9d5e4; }
.ms__loc .ico { width: 1.2em; height: 1.2em; color: var(--ms-acc-2); }
.ms__open { display: inline-flex; align-items: center; gap: .4em; padding: .2em .65em; margin-right: .3em; border-radius: 99em; background: rgba(34,197,94,.16); color: #6ee7a0; font-weight: 650; }
.ms__open i { width: .55em; height: .55em; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 .25em rgba(52,210,123,.25); }
.ms__sub { font-size: 1.3em; line-height: 1.45; color: #b6c3d4; max-width: 26em; }
.ms__ctas { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .8em; margin-top: .4em; }
.ms__btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; height: 4.4em; border-radius: 1.2em; font-size: 1.3em; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ms__btn .ico { width: 1.15em; height: 1.15em; stroke-width: 2.4; }
.ms__btn--solid { color: #fff; background: linear-gradient(180deg, var(--ms-acc-2), var(--ms-acc)); box-shadow: 0 .6em 1.6em -.6em rgba(255,107,26,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.ms__btn--ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.ms__btn--block { width: 100%; margin-top: 1.2em; }

.ms__trust { position: relative; z-index: 2; margin: -3em 1.4em 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.2em .4em; border-radius: 1.4em; background: #fff; box-shadow: 0 1em 2.4em -1.2em rgba(11,27,48,.35), 0 0 0 1px rgba(11,27,48,.05); }
.ms__trust span { display: grid; justify-items: center; gap: .5em; padding: 0 .5em; text-align: center; }
.ms__trust span + span { border-left: 1px solid var(--ms-line); }
.ms__trust .ico { width: 2.2em; height: 2.2em; padding: .45em; border-radius: .8em; color: var(--ms-acc); background: #fff1e8; stroke-width: 2.1; box-sizing: border-box; }
.ms__trust b { font-size: 1.05em; font-weight: 650; line-height: 1.25; letter-spacing: 0; word-spacing: .05em; color: var(--ms-ink); }

.ms__sec { padding: 2.2em 1.4em 0; }
.ms__h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; font-size: 1.8em; font-weight: 780; letter-spacing: -.035em; margin-bottom: .6em; }
.ms__h2 small { display: inline-flex; align-items: center; gap: .1em; font-size: .62em; font-weight: 650; letter-spacing: 0; color: var(--ms-acc); }
.ms__h2 small .ico { width: 1.1em; height: 1.1em; }
.ms__h2 .ms__muted { color: var(--ms-muted); font-weight: 550; }
.ms__svc { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.ms__svc > span { display: grid; gap: .25em; padding: 1.2em; border-radius: 1.3em; background: #fff; box-shadow: 0 0 0 1px rgba(11,27,48,.06), 0 .5em 1.4em -1em rgba(11,27,48,.3); }
.ms__svc i { width: 3.4em; height: 3.4em; margin-bottom: .6em; border-radius: 1em; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--ms-navy-2), var(--ms-navy)); }
.ms__svc i .ico { width: 1.8em; height: 1.8em; stroke-width: 2; }
.ms__svc b { font-size: 1.35em; font-weight: 700; letter-spacing: -.02em; }
.ms__svc small { font-size: 1.1em; color: var(--ms-muted); line-height: 1.3; }

.ms__book { padding: 1.6em 1.4em 1.4em; border-radius: 1.6em; background: #fff; box-shadow: 0 0 0 1px rgba(11,27,48,.06), 0 .8em 2em -1.2em rgba(11,27,48,.35); }
.ms__book .ms__h2 { font-size: 1.6em; }
.ms__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6em; }
.ms__days span { display: grid; justify-items: center; padding: .6em 0 .7em; border-radius: 1em; font-size: 1.45em; font-weight: 750; letter-spacing: -.02em; border: 1px solid var(--ms-line); }
.ms__days small { font-size: .62em; font-weight: 600; color: var(--ms-muted); letter-spacing: .02em; text-transform: uppercase; }
.ms__days .on { background: var(--ms-navy); border-color: var(--ms-navy); color: #fff; }
.ms__days .on small { color: #9fb1c8; }
.ms__slots { margin-top: 1em; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.ms__slots span { text-align: center; padding: .85em 0; border-radius: 1em; font-size: 1.25em; font-weight: 650; border: 1px solid var(--ms-line); color: var(--ms-ink); }
.ms__slots .off { color: #a8b0bc; background: #f4f6f9; text-decoration: line-through; border-color: transparent; }
.ms__slots .on { color: #fff; background: var(--ms-acc); border-color: var(--ms-acc); box-shadow: 0 .5em 1.2em -.5em rgba(255,107,26,.8); }

.ms__map { position: relative; height: 17em; border-radius: 1.6em 1.6em 0 0; overflow: hidden; background: #e8ecef; box-shadow: 0 0 0 1px rgba(11,27,48,.08); }
.ms__map iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.ms__hours { display: grid; gap: .1em; padding: 1em 1.4em 1.2em; border-radius: 0 0 1.6em 1.6em; background: #fff; box-shadow: 0 0 0 1px rgba(11,27,48,.08), 0 .8em 2em -1.2em rgba(11,27,48,.35); }
.ms__hrow { display: flex; justify-content: space-between; gap: 1em; padding: .45em 0; font-size: 1.2em; color: var(--ms-muted); border-bottom: 1px solid var(--ms-line); }
.ms__hrow b { font-weight: 600; color: var(--ms-ink); }
.ms__hrow--today b::after { content: "Today"; margin-left: .6em; padding: .1em .5em; border-radius: 99em; font-size: .78em; font-weight: 700; color: #15803d; background: #dcfce7; }
.ms__hrow--today span { color: var(--ms-ink); font-weight: 600; }
.ms__dir { display: inline-flex; align-items: center; gap: .45em; margin-top: .8em; font-size: 1.25em; font-weight: 700; color: var(--ms-acc); }
.ms__dir .ico { width: 1.1em; height: 1.1em; }

.ms__foot { margin-top: 2.6em; padding: 2.2em 1.8em 2.4em; display: grid; gap: 1.2em; background: var(--ms-navy); color: #9fb1c8; }
.ms__fbrand { display: flex; align-items: center; gap: .8em; font-size: 1.5em; font-weight: 750; letter-spacing: -.03em; color: #fff; }
.ms__fbrand .ms__logo { font-size: .67em; }
.ms__flinks { display: flex; flex-wrap: wrap; gap: .4em 1.6em; font-size: 1.2em; font-weight: 550; color: #d5deea; }
.ms__copy { font-size: 1.05em; padding-top: 1.1em; border-top: 1px solid rgba(255,255,255,.08); }

.ms__sticky { position: absolute; z-index: 4; left: 1.2em; right: 1.2em; bottom: 1.4em; display: grid; grid-template-columns: 1fr 1.5fr; gap: .7em; padding: .7em; border-radius: 1.8em;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1em 2.4em -1em rgba(11,27,48,.45), 0 0 0 1px rgba(11,27,48,.08); }
.ms__sticky span { display: flex; align-items: center; justify-content: center; gap: .55em; height: 4.2em; border-radius: 1.2em; font-size: 1.3em; font-weight: 700; color: var(--ms-navy); background: #eef1f5; }
.ms__sticky .solid { color: #fff; background: linear-gradient(180deg, var(--ms-acc-2), var(--ms-acc)); }
.ms__sticky .ico { width: 1.15em; height: 1.15em; stroke-width: 2.4; }

/* Metrics */
.metrics { margin-top: 72px; display: grid; gap: 16px; }
@media (min-width: 768px) { .metrics { grid-template-columns: repeat(3, 1fr); } }
.metric { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.metric__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 550; color: var(--muted); }
.metric__label span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.metric__vals { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.metric__vals .ico { color: var(--faint); width: 20px; height: 20px; }
.metric__old { font-size: 22px; font-weight: 550; color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1.5px; letter-spacing: -.03em; }
.metric__new { font-size: 44px; font-weight: 680; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bars { margin-top: 20px; display: grid; gap: 7px; }
.bar { position: relative; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.bar--old::after { background: color-mix(in srgb, var(--bad) 70%, transparent); }
.bar--new::after { background: var(--grad); min-width: 0; }
.js .reveal:not(.in) .bar::after { transform: scaleX(0); }
.metric__foot { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* ---------- Cards / services ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .card--lg { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); } .card--lg { grid-column: span 2; grid-row: span 1; } }
.card, .why__item, .step {
  --mx: 50%; --my: 0%;
  position: relative; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent-solid) 10%, transparent), transparent 45%), var(--surface);
  box-shadow: var(--shadow); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (min-width: 960px) { .card { padding: 34px; } }
.card:hover, .why__item:hover, .step:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: var(--grad-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); margin-bottom: 22px; }
.card__icon .ico { width: 22px; height: 22px; }
.card__title { font-size: 21px; letter-spacing: -.025em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card--lg { background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent-solid) 12%, transparent), transparent 45%), radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--accent-solid) 12%, transparent), transparent 60%), var(--surface); }
.card--lg .card__title { font-size: clamp(24px, 2.6vw, 30px); }
.card--lg p { max-width: 640px; font-size: 16.5px; }
.card__list { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.card__list li { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); background: var(--surface-2); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 28px; overflow: hidden; }
.step__num { display: block; font-size: 15px; font-family: var(--mono); font-weight: 500; color: var(--accent); margin-bottom: 44px; }
.step__num::after { content: ""; display: block; margin-top: 16px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .5; }
.step h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }
.step__tag { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--good); background: color-mix(in srgb, var(--good) 13%, transparent); border: 1px solid color-mix(in srgb, var(--good) 30%, transparent); }

/* ---------- Why ---------- */
.why { display: grid; gap: 16px; }
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why__item h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.025em; }
.why__item p { font-size: 15px; color: var(--muted); }

/* ---------- Placeholders ---------- */

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
@media (min-width: 1040px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } .faq .section__head { position: sticky; top: calc(var(--nav-h) + 40px); margin: 0; } }
.faq__list { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 52px 24px 0; font-size: 18px; font-weight: 580; letter-spacing: -.02em; border-radius: 8px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__icon { position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform .35s var(--ease), background-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%,-50%); border-radius: 2px; }
.faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--surface-2); }
.faq details[open] .faq__icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq__body { padding: 0 52px 26px 0; color: var(--muted); font-size: 16px; }
.faq details[open] .faq__body { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.contact__panel { position: relative; display: grid; gap: 48px; padding: 28px 20px; border-radius: 36px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .contact__panel { padding: 48px; } }
@media (min-width: 1040px) { .contact__panel { grid-template-columns: .95fr 1.05fr; gap: 64px; padding: 64px; } }
.contact__glow { position: absolute; inset: auto -20% -50% -20%; height: 90%; z-index: -1; background: radial-gradient(50% 60% at 30% 50%, var(--glow-a), transparent 70%), radial-gradient(40% 50% at 75% 60%, var(--glow-b), transparent 70%); opacity: .55; filter: blur(30px); }
.contact__list { margin-top: 32px; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.contact__list .ico { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.contact__details { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--border); display: grid; gap: 14px; }
.contact__details div { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact__details dt { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--faint); }
.contact__details dt .ico { width: 16px; height: 16px; }
.contact__details dd { margin: 0; font-size: 15px; font-weight: 500; }

.form-card { display: flex; flex-direction: column; justify-content: center; position: relative; padding: 24px 20px; border-radius: 26px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form { display: grid; gap: 18px; }
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 14px; color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }
.form__status[hidden] { display: none; }
.form__status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; overflow-wrap: anywhere; }
.form__submit .form__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.form.is-sending .form__submit .form__spinner { display: inline-block; }
.form.is-sending .form__submit .ico { display: none; }
.form__submit:disabled { cursor: progress; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 14px; font-weight: 550; }
.req { color: var(--bad); }
.opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--input-bg); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); opacity: .85; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 22%, transparent); border-color: var(--bad); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.select option { background: var(--surface-solid); color: var(--text); }
.field__err { min-height: 0; font-size: 13px; color: var(--bad); font-weight: 500; }
.field__err:empty { display: none; }
.form__fine { font-size: 13px; color: var(--faint); text-align: center; }
.form.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
.form-done { text-align: center; padding: 40px 8px; display: grid; justify-items: center; gap: 14px; outline: none; animation: pop .5s var(--ease); }
.form-done[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.form-done__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #8b7bff, #3ddcff); color: #fff; box-shadow: 0 14px 40px -10px rgba(124,107,255,.8); }
.form-done__icon .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.form-done h3 { font-size: 26px; letter-spacing: -.03em; }
.form-done p { color: var(--muted); max-width: 400px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 64px; }
.footer__inner { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 360px; }
.footer__nav { display: grid; gap: 10px; align-content: start; justify-items: start; font-size: 15px; color: var(--muted); }
.footer__nav a { transition: color .2s; border-radius: 6px; }
.footer__nav a:hover { color: var(--text); }
.footer__h { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer__base { margin-top: 56px; padding-block: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: var(--faint); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

.contact { padding-bottom: 96px; }
@media (min-width: 960px) { .contact { padding-bottom: 120px; } }

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
  .hv-field { display: none; }
  .hv-confirm { font-size: 11px; padding: 9px 10px; white-space: nowrap; gap: 6px; }
  .section { padding-block: 72px; }
  .section--tight { padding-block: 56px; }
  .contact__panel { padding: 28px 16px 16px; border-radius: 28px; }
  .form-card { padding: 20px 16px; border-radius: 20px; }
  .metric { padding: 22px; }
  .metrics { margin-top: 56px; gap: 12px; }
}
@media (max-width: 719px) {
  .why__item { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 22px; }
  .why__item .card__icon { grid-row: span 2; margin-bottom: 0; }
  .why__item h3 { align-self: center; margin-bottom: 4px; }
  .why__item p { grid-column: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Long business name: keep the nav on one row on very small phones */
.nav .brand { min-width: 0; }
.nav .brand__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 374px) {
  .nav__inner { gap: 10px; }
  .nav .brand { gap: 8px; font-size: 15.5px; }
  .nav .brand__mark { width: 28px; height: 26px; }
  .nav__actions { gap: 6px; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (min-width: 1100px) { .plan { padding: 34px 30px 30px; } }
.plan:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.plan--featured {
  border-color: transparent;
  background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
              linear-gradient(140deg, #8b7bff, #3ddcff 60%, color-mix(in srgb, var(--accent) 30%, transparent)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-lg), 0 0 60px -20px var(--glow-a);
}
.plan--featured:hover { border-color: transparent; }
.plan__badge {
  position: absolute; top: -13px; left: 26px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center;
  border-radius: 999px; font-size: 12.5px; font-weight: 650; letter-spacing: -.005em; color: #fff;
  background: linear-gradient(135deg, #5b45f0, #0b6f96); box-shadow: 0 6px 18px -6px rgba(91,69,240,.7);
}
.plan__name { font-size: 22px; letter-spacing: -.025em; }
.plan__desc { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 3em; }
.plan__price { margin-top: 22px; display: grid; gap: 2px; }
.plan__from { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.plan__amount { font-size: clamp(40px, 4.4vw, 48px); font-weight: 680; letter-spacing: -.045em; line-height: 1.05; color: var(--text); }
.plan--featured .plan__amount { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price--inline { margin-top: 6px; display: flex; align-items: baseline; gap: 2px; }
.plan__per { font-size: 17px; font-weight: 550; color: var(--faint); }
.plan__list { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 11px; font-size: 15px; }
.plan__list li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.45; }
.plan__list .ico { width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 6px; stroke-width: 3; color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.plan__note { margin-top: 18px; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 550; color: var(--accent); }
.plan__note .ico { width: 16px; height: 16px; }
/* CTA pinned to the card bottom so buttons line up across plans; 28px minimum gap above it */
.plan > :nth-last-child(2) { margin-bottom: 28px; }
.plan__cta { margin-top: auto; }

.care {
  margin-top: 16px; display: grid; gap: 24px; padding: 28px 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--accent-solid) 10%, transparent), transparent 60%), var(--surface);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .care { grid-template-columns: 1fr 1.6fr .9fr; align-items: center; gap: 36px; padding: 30px 34px; } }
.care__head { display: flex; gap: 18px; align-items: flex-start; }
.care__head .card__icon { margin-bottom: 0; flex: none; }
.care__term { margin-top: 2px; font-size: 13.5px; color: var(--faint); }
.care__list { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 560px) { .care__list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (max-width: 899px) { .care__list { padding-top: 22px; border-top: 1px solid var(--border); } }
.care__extras { display: grid; gap: 10px; }
.care__extras p { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14.5px; }
.care__extras span { color: var(--muted); }
.care__extras strong { font-size: 16px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }

.custom-quote {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  padding: 24px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: var(--surface);
}
@media (min-width: 900px) { .custom-quote { padding: 26px 34px; } }
.custom-quote p { font-size: 17px; color: var(--muted); }
.custom-quote strong { color: var(--text); font-weight: 600; }
@media (max-width: 559px) { .custom-quote .btn { width: 100%; } }

.link-plain { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.link-plain:hover { color: var(--accent); text-decoration-color: currentColor; }
@media (max-width: 479px) { .footer__inner > .footer__nav:last-child { grid-column: 1 / -1; } }
.contact__details dd, .footer__nav a { overflow-wrap: anywhere; }
