/* ==========================================================================
   SparkBits — marketing site design system
   Brand: atom + spark. Palette teal -> blue -> purple.
   Author: SparkBits. Single stylesheet, no build step (Hostinger-friendly).
   ========================================================================== */

:root {
  /* Brand */
  --teal: #22d3c5;
  --blue: #3b6ef5;
  --purple: #7c5cf6;
  --indigo: #4f46e5;

  --grad-brand: linear-gradient(120deg, var(--teal) 0%, var(--blue) 48%, var(--purple) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(34,211,197,.16), rgba(59,110,245,.16) 50%, rgba(124,92,246,.16));

  /* Ink / surfaces (light theme) */
  --ink-900: #0b1020;
  --ink-800: #141a2e;
  --ink-700: #1f2740;
  --ink-500: #46506e;
  --ink-400: #6b7596;
  --ink-300: #97a0bd;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-mute: #eef2f9;
  --line: #e6eaf2;
  --card: #ffffff;

  /* Dark sections */
  --night: #0a0e1c;
  --night-2: #0f1428;
  --night-card: rgba(255, 255, 255, .04);
  --night-line: rgba(255, 255, 255, .10);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, .28);
  --shadow-brand: 0 24px 60px -18px rgba(59, 110, 245, .45);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', var(--font-sans);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink-900); overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(59,110,245,.45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.grid { display: grid; gap: 28px; }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.eyebrow--center { justify-content: center; }
.h-display { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.h-section { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-500); }
.text-grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--ink-400); }
.measure { max-width: 56ch; }
.measure-center { max-width: 60ch; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { box-shadow: 0 30px 70px -18px rgba(59,110,245,.6); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-outline { background: transparent; color: var(--ink-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { --pad-y: 17px; --pad-x: 32px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(255,255,255,.9); border-color: var(--line); box-shadow: 0 4px 24px -16px rgba(16,24,40,.4); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -.02em; color: var(--ink-900); }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--blue); }
.brand span.spark { color: var(--ink-900); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: .96rem; color: var(--ink-500);
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink-900); background: var(--bg-mute); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink-800); border-radius: 2px; position: relative; transition: transform .3s, opacity .3s; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); }
.hero::before { /* mesh glow */
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(40% 50% at 18% 16%, rgba(34,211,197,.30), transparent 60%),
    radial-gradient(45% 55% at 82% 8%, rgba(124,92,246,.34), transparent 60%),
    radial-gradient(50% 60% at 60% 90%, rgba(59,110,245,.30), transparent 62%);
  filter: blur(8px); pointer-events: none;
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
.hero .lead { color: rgba(255,255,255,.74); max-width: 48ch; }
.hero__eyebrow { color: #8fe9e0; }
.hero__eyebrow::before { background: var(--teal); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: rgba(255,255,255,.7); font-size: .92rem; }
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 18px; height: 18px; color: var(--teal); }

/* Hero visual: floating product cards */
.hero__visual { position: relative; min-height: 420px; }
.float-card {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 16px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.float-card img { border-radius: 12px; }
.float-1 { width: 60%; left: 60%; top: 0%; z-index: 3; animation: floatY 7s var(--ease) infinite; }
.float-2 { width: 46%; right: 0%; top: 30%; z-index: 4; animation: floatY 8s var(--ease) infinite reverse; }
.float-3 { width: 40%; left: 16%; top: 0; z-index: 2; animation: floatY 9s var(--ease) infinite; }
.float-4 { width: 60%; left: 4%; top: 70%; z-index: 3; animation: floatY 7s var(--ease) infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@media (prefers-reduced-motion: reduce) { .float-1,.float-2,.float-3 { animation: none; } }

/* ---------- Trust / logos strip ---------- */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.trust__row span { font-weight: 600; color: var(--ink-400); font-size: .92rem; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 4px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-400); font-weight: 500; }

/* ---------- Cards & features ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--blue); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-500); margin: 0; font-size: .98rem; }

/* ---------- Product showcase ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.product--rev .product__media { order: 2; }
.product__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--bg-mute); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.product__badge img { width: 26px; height: 26px; border-radius: 7px; }
.product__list { display: grid; gap: 12px; margin: 22px 0 28px; }
.product__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-600, var(--ink-500)); }
.product__list svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 1px; }
.product__media { position: relative; }

/* Phone frame */
.phone {
  position: relative; width: 100%; max-width: 290px; margin-inline: auto;
  border-radius: 40px; padding: 12px; background: linear-gradient(160deg, #1b2238, #0c1020);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 38%; height: 22px; background: #0c1020; border-radius: 0 0 14px 14px; z-index: 2; }
.phone img { border-radius: 30px; width: 100%; }
.phone-stack { position: relative; display: grid; place-items: center; }
.phone-stack .phone { position: relative; }
.phone-stack .phone--back { position: absolute; max-width: 250px; opacity: .9; transform: translate(34%, 8%) rotate(7deg); z-index: 1; filter: saturate(1.05); }
.phone-stack .phone--front { z-index: 2; transform: translateX(-8%); }

/* Browser frame (desktop shots) */
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6dbe6; }
.browser__bar i:nth-child(1){ background:#ff6058;} .browser__bar i:nth-child(2){ background:#ffbd2e;} .browser__bar i:nth-child(3){ background:#28c840;}
.browser img { width: 100%; display: block; }

/* Browser frame tilt + stack for landscape product shots */
.browser--lift { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.browser--lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.browser-stack { position: relative; }
.browser-stack .browser { position: relative; z-index: 2; }
.browser-stack .browser--back { position: absolute; inset: auto -6% -10% 12%; z-index: 1; opacity: .55; transform: scale(.92); filter: blur(.3px); }

/* ---------- Screenshot gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
/* Phone-frame gallery: framed screenshot + caption BELOW the frame (not inside) */
.phone-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px; max-width: 980px; margin-inline: auto; }
.pg-item { margin: 0; text-align: center; }
.pg-item .phone { max-width: 200px; margin-inline: auto; transition: transform .3s var(--ease); }
.pg-item:hover .phone { transform: translateY(-6px); }
.pg-item figcaption { margin-top: 16px; font-size: .9rem; line-height: 1.4; color: var(--ink-400); }
.dark .pg-item figcaption { color: rgba(255,255,255,.66); }
@media (max-width: 480px) { .phone-gallery { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }

.gallery--wide { grid-template-columns: repeat(2, 1fr); }
.gallery--wide .shot img { width: 100%; }
.shot--wide { background: #fff; }
.shot--wide .browser__bar { border-radius: 0; }
@media (max-width: 720px) { .gallery--wide { grid-template-columns: 1fr; } }
.shot { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0c1020; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.shot:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 14px; font-size: .88rem; color: var(--ink-400); background: #fff; }

/* ---------- Section heading block ---------- */
.head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.head--left { margin-left: 0; }
.head .h-section { margin-bottom: 14px; }

/* ---------- Dark section ---------- */
.dark { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: rgba(255,255,255,.72); }
.dark .feature { background: var(--night-card); border-color: var(--night-line); box-shadow: none; }
.dark .feature p { color: rgba(255,255,255,.7); }
.dark .feature__icon { background: rgba(255,255,255,.06); color: var(--teal); }
.dark::before { content:""; position:absolute; inset:auto -10% -40% -10%; height: 80%; background: radial-gradient(50% 60% at 50% 100%, rgba(59,110,245,.28), transparent 70%); pointer-events:none; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); overflow: hidden; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.cta::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 120% at 90% 10%, rgba(255,255,255,.25), transparent 50%); pointer-events:none; }
.cta h2 { color: #fff; position: relative; }
.cta p { color: rgba(255,255,255,.9); position: relative; }
.cta .btn-light { background: #fff; color: var(--ink-900); }
.cta .btn-light:hover { background: #f1f4ff; }

/* ---------- Roadmap / upcoming ---------- */
.timeline { display: grid; gap: 18px; }
.tl { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .3s, transform .3s; }
.tl:hover { transform: translateY(-4px); border-color: rgba(59,110,245,.4); }
.tl__dot { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--blue); }
.tl__dot svg { width: 24px; height: 24px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pill--live { background: rgba(34,211,197,.15); color: #0c9b8f; }
.pill--soon { background: rgba(124,92,246,.14); color: var(--purple); }
.pill--dev { background: rgba(59,110,245,.14); color: var(--blue); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink-900); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,110,245,.12); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .85rem; color: var(--ink-400); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(34,211,197,.12); color: #0c8c81; border: 1px solid rgba(34,211,197,.4); }
.form-status.err { background: #fef2f2; color: #b42318; border: 1px solid #fecdca; }

/* ---------- Contact layout ---------- */
.contact-grid { grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Contact info cards ---------- */
.info { display: grid; gap: 14px; }
.info__item { display: flex; gap: 14px; align-items: flex-start; }
.info__item .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--blue); }
.info__item .ic svg { width: 22px; height: 22px; }
.info__item b { display: block; color: var(--ink-900); font-family: var(--font-display); }
.info__item a, .info__item span { color: var(--ink-500); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand span.spark { color: #fff; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; font-family: var(--font-display); letter-spacing: .02em; }
.footer a { color: rgba(255,255,255,.66); padding: 5px 0; display: inline-block; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.social a:hover { background: var(--grad-brand); }
.social svg { width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--night); color: #fff; position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 84px); }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(40% 60% at 15% 0%, rgba(34,211,197,.22), transparent 60%), radial-gradient(45% 60% at 85% 10%, rgba(124,92,246,.28), transparent 60%); pointer-events:none; }
.page-hero h1 { color: #fff; position: relative; }
.page-hero .lead { color: rgba(255,255,255,.74); position: relative; }
.breadcrumb { position: relative; display: flex; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Mobile nav drawer ---------- */
.nav__drawer { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 340px; order: -1; }
  .product, .product--rev .product__media { grid-template-columns: 1fr; order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__cta { margin-left: auto; }   /* push the hamburger to the right edge */
  .nav__toggle { display: inline-flex; }
  .hero__visual { display: none; }            /* text-focused hero on phones */
  .hero { padding-bottom: clamp(48px, 12vw, 80px); }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .h-display { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .trust { display: none; }   /* decorative industries strip — hidden on phones for a clean flow */
  .browser-stack .browser--back { display: none; }  /* avoid overlap on small screens */
  .phone-stack .phone--back { display: none; }       /* show a single clean phone on mobile */
  .phone-stack .phone--front { transform: none; }
  .nav__drawer { display: block; position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; padding: 16px var(--gutter) 24px; box-shadow: var(--shadow-lg); z-index: 55; }
  body.menu-open .nav__drawer { opacity: 1; transform: none; pointer-events: auto; }
  .nav__drawer a { display: block; padding: 13px 6px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink-800); }
  .nav__drawer .btn { margin-top: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
