/* AscendyX — one-page site for business owners
   Plain CSS, no framework. Colours come from the logo:
   blue wordmark + orange X on deep navy. */

:root {
  --bg: #070b16;
  --bg-alt: #0a1020;
  --surface: #0f1729;
  --surface-2: #141e34;
  --line: rgba(148, 170, 205, 0.14);
  --line-strong: rgba(148, 170, 205, 0.26);
  --text: #eef2f8;
  --text-soft: #c3cbd9;
  --muted: #8f9bb2;
  --blue: #2f9ff3;
  --blue-rgb: 47, 159, 243;
  --orange: #f7a21b;
  --orange-hi: #ffb640;
  --orange-rgb: 247, 162, 27;
  --on-orange: #1d1203;
  --ok: #3dd8b5;
  --err: #ff7a7a;

  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Space Grotesk", var(--sans);

  --r: 14px;
  --r-sm: 10px;
  --nav-h: 68px;
  --gutter: 20px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  /* no background here: html paints it, so the fixed .flow layer can sit behind the sections */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
::selection { background: rgba(var(--orange-rgb), 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.ic { width: 18px; height: 18px; flex-shrink: 0; }
.small { font-size: 0.78em; color: var(--muted); font-weight: 500; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

.skip {
  position: fixed; top: -80px; left: 16px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: var(--orange); color: var(--on-orange); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .ic { width: 17px; height: 17px; transition: transform .18s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--on-orange); box-shadow: 0 8px 24px -10px rgba(var(--orange-rgb), 0.7); }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(var(--blue-rgb), 0.7); background: rgba(var(--blue-rgb), 0.08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7, 11, 22, 0.9); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 148px; margin-left: -9px; } /* logo file has side padding */
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a:not(.btn) { color: var(--text-soft); text-decoration: none; font-weight: 500; font-size: 15.5px; transition: color .15s ease; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-cta-menu { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
/* Alternate sections fade in and out instead of starting at a hard line, so
   the page background (and the fixed .flow layer) runs through unbroken */
.section-alt { background: linear-gradient(rgba(19, 31, 58, 0), rgba(19, 31, 58, 0.5) 180px, rgba(19, 31, 58, 0.5) calc(100% - 180px), rgba(19, 31, 58, 0)); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.kicker { color: var(--orange); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(30px, 2.6vw + 16px, 46px); }
.sec-sub { color: var(--text-soft); margin-top: 14px; font-size: 18px; }
/* Key phrases in longer copy are picked out in orange */
mark { background: none; color: var(--orange); }
.sec-sub a { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 104px;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(var(--blue-rgb), 0.18), transparent 70%),
    radial-gradient(35% 40% at 0% 45%, rgba(var(--orange-rgb), 0.09), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 10%, transparent 75%);
  opacity: 0.5;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: 6px; color: var(--text-soft); font-size: 14px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.03); margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 3.6vw + 12px, 62px); letter-spacing: -0.03em; }
.hl { background: linear-gradient(90deg, var(--orange), var(--orange-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-soft); font-size: clamp(18px, 0.5vw + 15px, 20px); margin-top: 24px; max-width: 590px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 26px; color: var(--muted); font-size: 15px; }
.hero-notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes .ic { width: 16px; height: 16px; color: var(--ok); }

.proof {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.proof::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(140deg, rgba(var(--blue-rgb), 0.5), transparent 35%, transparent 65%, rgba(var(--orange-rgb), 0.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.proof-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.proof-list { display: grid; }
.proof-item { display: flex; flex-direction: column-reverse; padding: 18px 0; border-bottom: 1px solid var(--line); }
.proof-item dd { font-family: var(--head); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -0.03em; }
.proof-item:nth-child(1) dd { color: var(--orange); }
.proof-item:nth-child(2) dd { color: var(--blue); }
.proof-item:nth-child(3) dd { color: var(--ok); }
.proof-item dt { color: var(--text-soft); font-size: 15px; margin-top: 8px; }
.proof-link { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; }
.proof-link .ic { color: var(--orange); }
.proof-link:hover { color: var(--orange-hi); }

/* ---------- Pains ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.pain h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 16px; }
.pain p { color: var(--text-soft); font-size: 16px; }
.pain .fix { display: flex; align-items: center; gap: 8px; margin: 18px 0 6px; padding-top: 16px; border-top: 1px dashed var(--line-strong); color: var(--ok); font-family: var(--head); font-weight: 600; font-size: 17px; }
.pain .fix .ic { width: 17px; height: 17px; flex: none; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .2s ease, transform .2s ease; }
.svc:hover { border-color: rgba(var(--blue-rgb), 0.45); }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.svc-num { font-family: var(--head); color: var(--blue); font-weight: 700; font-size: 15px; }
.svc-price { color: var(--muted); font-size: 14.5px; }
.svc-price b { color: var(--text); font-weight: 600; font-size: 17px; }
.svc h3 { font-size: 22px; margin-bottom: 10px; }
.svc > p { color: var(--text-soft); font-size: 16px; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--text-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232f9ff3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks b { color: var(--text); font-weight: 600; }
.svc-bundle {
  justify-content: center;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--orange-rgb), 0.22), transparent 60%), var(--surface-2);
  border-color: rgba(var(--orange-rgb), 0.4);
}
.svc-bundle:hover { border-color: rgba(var(--orange-rgb), 0.7); }
.svc-bundle .bundle-tag { color: var(--orange); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.svc-bundle .bundle-big { color: var(--text); font-family: var(--head); font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 10px; }
.svc-bundle p:not(.bundle-tag):not(.bundle-big) { color: var(--text-soft); margin-bottom: 22px; }
.svc-bundle .btn { align-self: flex-start; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
/* The boxed letter is the first letter of the step name: [A]udit */
.step-l { display: grid; place-items: center; flex: none; width: 34px; height: 34px; margin-right: 2px; border-radius: 9px; font-family: var(--head); font-weight: 700; font-size: 21px; color: var(--on-orange); background: linear-gradient(135deg, var(--orange-hi), var(--orange)); }
.step:nth-child(even) .step-l { background: linear-gradient(135deg, #5db6f7, var(--blue)); color: #04121f; }
.step h3 { display: flex; align-items: center; font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 15px; line-height: 1.5; }

/* ---------- Work ---------- */
.sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.site { display: block; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.site:hover { border-color: rgba(var(--blue-rgb), 0.55); transform: translateY(-3px); }
.shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0c111d; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.site:hover .shot img { transform: scale(1.04); }
.shot { position: relative; }
.shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.site.playing .shot video { opacity: 1; }
.play-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(7, 11, 22, 0.78); border: 1px solid var(--line-strong); color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; transition: opacity .25s ease; }
.play-badge::before { content: ""; width: 0; height: 0; border-left: 7px solid var(--orange); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.site.playing .play-badge { opacity: 0; }
.site-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; }
.site-meta b { font-weight: 600; font-size: 15.5px; }
.site-meta span { color: var(--muted); font-size: 13.5px; text-align: right; }
.docs { margin-top: 40px; padding: 24px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.docs-h { font-weight: 600; flex-shrink: 0; }
.subbrand { margin-top: 32px; color: var(--text-soft); font-size: 15.5px; }
.subbrand a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.subbrand a:hover { color: var(--blue); }
.docs-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.docs-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); text-decoration: none; font-size: 15.5px; padding: 6px 0; }
.docs-list a:hover { color: var(--text); }
.docs-list .ic { color: var(--orange); width: 17px; height: 17px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; }
.plan h3 { font-size: 24px; }
.plan-for { color: var(--text-soft); font-size: 15.5px; margin-top: 8px; min-height: 4.8em; }
.plan-price { font-family: var(--head); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 22px 0 24px; line-height: 1; }
.plan-price .from { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.plan-price .per { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .ticks { margin-bottom: 30px; flex: 1; }
.plan-pop { background: linear-gradient(180deg, rgba(var(--orange-rgb), 0.08), transparent 40%), var(--surface-2); border-color: rgba(var(--orange-rgb), 0.55); box-shadow: 0 30px 70px -40px rgba(var(--orange-rgb), 0.55); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--orange); color: var(--on-orange); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.addon { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: 18px; border: 1px dashed var(--line-strong); background: rgba(var(--blue-rgb), 0.05); }
.addon-tag { color: var(--blue); font-weight: 600; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.addon h3 { font-size: 20px; margin-bottom: 6px; }
.addon p:not(.addon-tag) { color: var(--text-soft); font-size: 15.5px; }
.fine { color: var(--muted); font-size: 14.5px; margin-top: 22px; }
.swipe-hint { display: none; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin: -18px 0 4px; }
.swipe-hint .ic { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-in .sec-head { margin-bottom: 0; }
.faqs { display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.faq[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq p { padding: 0 22px 20px; color: var(--text-soft); font-size: 16px; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(40% 45% at 85% 60%, rgba(var(--blue-rgb), 0.12), transparent 70%), radial-gradient(30% 35% at 5% 40%, rgba(var(--orange-rgb), 0.07), transparent 70%); }
.contact-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 2.6vw + 16px, 46px); }
.contact-facts { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.contact-facts li { display: flex; align-items: center; gap: 12px; color: var(--text-soft); }
.contact-facts .ic { color: var(--orange); }
.contact-facts a { color: var(--text); text-decoration: none; }
.contact-facts a:hover { color: var(--orange-hi); }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text-soft); transition: color .15s ease, border-color .15s ease; }
.socials a:hover { color: var(--text); border-color: rgba(var(--blue-rgb), 0.7); }

.form { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--text-soft); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-size: 16px; /* 16px stops iOS zooming into fields */
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238f9bb2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: #5d6a82; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.2); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field-err { color: var(--err); font-size: 13.5px; min-height: 0; }
.field-err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 14px; border-radius: var(--r-sm); border: 1px dashed rgba(var(--orange-rgb), 0.4); background: rgba(var(--orange-rgb), 0.05); font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--orange); }
.check small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 15px; text-align: center; min-height: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--err); }
.form-fine { color: var(--muted); font-size: 13.5px; text-align: center; }
.form-fine a { color: var(--text-soft); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(19, 31, 58, 0.5); padding: 56px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 380px; }
.foot-brand img { width: 136px; margin: 0 0 14px -8px; }
.foot-brand p { color: var(--muted); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-content: start; }
.foot-links a { color: var(--text-soft); text-decoration: none; font-size: 15px; padding: 4px 0; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--text); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Legal dialogs ---------- */
.legal { margin: auto; width: min(720px, calc(100% - 32px)); max-height: min(86vh, 860px); padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9); }
.legal::backdrop { background: rgba(3, 6, 14, 0.75); backdrop-filter: blur(4px); }
.legal[open] { display: flex; flex-direction: column; }
.legal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.legal-head h2 { font-size: 24px; }
.legal-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); }
.legal-body { overflow-y: auto; padding: 8px 24px 28px; overscroll-behavior: contain; }
.legal-body h3 { font-size: 17px; margin: 22px 0 6px; }
.legal-body p { color: var(--text-soft); font-size: 15.5px; }
.legal-body a { color: var(--blue); }
.legal-date { color: var(--muted) !important; font-size: 14px !important; margin-top: 14px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); font-size: 15px; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-in { gap: 44px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .sites { grid-template-columns: repeat(3, 1fr); }
  .sites .site:nth-child(n+7) { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 80px; }
  .hero-in { grid-template-columns: 1fr; }
  .proof { max-width: 560px; }
  .proof-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .proof-item { border-bottom: 0; padding: 14px 0 6px; }
  .proof-item dd { font-size: 38px; }
  .proof-item dt { font-size: 14px; }
  .pains { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .plan-for { min-height: 4.8em; }
  .addon { flex-direction: column; align-items: flex-start; }
  .faq-in, .contact-in { grid-template-columns: 1fr; gap: 36px; }

  /* Work and plans become swipeable rows that peek at the next card */
  .sites, .plans {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding: 0 var(--gutter);
    gap: 16px;
  }
  .sites::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .sites { grid-auto-columns: 40%; }
  .plans { grid-auto-columns: 46%; padding-top: 18px; }
  .sites > *, .plans > * { scroll-snap-align: start; }
  .sites .site:nth-child(n+7) { display: block; }
  .swipe-hint { display: flex; }

  /* Menu collapses into a drop-down panel */
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-left)) 22px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .nav.open { background: var(--bg); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links a:not(.btn) { padding: 15px 4px; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-cta-menu { display: inline-flex; margin-top: 18px; min-height: 50px; font-size: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .sec-head { margin-bottom: 32px; }
  .sec-sub { font-size: 16.5px; }
  .eyebrow { font-size: 12.5px; margin-bottom: 20px; }
  .lead { margin-top: 18px; }
  .hero-ctas { flex-direction: column; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-notes { gap: 8px 16px; font-size: 14px; }
  .proof { padding: 22px 20px; }
  .proof-list { grid-template-columns: 1fr; gap: 0; }
  .proof-item { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .proof-item dd { font-size: 32px; min-width: 96px; }
  .proof-item dt { margin-top: 0; font-size: 14.5px; line-height: 1.4; }
  .pain, .svc, .plan { padding: 24px 22px; }
  .pain h3 { font-size: 19px; margin-bottom: 10px; }

  /* Services: title, one line and price on phones; the full lists stay on larger screens */
  .services { grid-template-columns: 1fr; gap: 12px; }
  .svc-top { margin-bottom: 10px; }
  .svc h3 { font-size: 20px; margin-bottom: 6px; }
  .svc > p { margin-bottom: 0; font-size: 15.5px; }
  .svc .ticks { display: none; }
  .svc-bundle .bundle-big { font-size: 44px; margin: 4px 0 6px; }
  .svc-bundle p:not(.bundle-tag):not(.bundle-big) { margin-bottom: 18px; }

  /* Process becomes a compact list */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 1fr; column-gap: 16px; align-items: center; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .step:last-child { border-bottom: 0; }
  .step-l { width: 30px; height: 30px; font-size: 19px; border-radius: 8px; }
  .step h3 { font-size: 19px; margin: 0 0 4px; }
  .step p { font-size: 15px; }

  .sites, .plans { gap: 12px; }
  .sites { grid-auto-columns: 78%; }
  .plans { grid-auto-columns: 86%; }
  .plan-for { min-height: 0; }
  .site-meta { padding: 12px 14px; }
  .docs { padding: 20px; gap: 12px; margin-top: 24px; }
  .docs-list { flex-direction: column; gap: 4px; }
  .plan-price { font-size: 40px; margin: 18px 0 20px; }
  .plan .ticks { gap: 7px; margin-bottom: 24px; }
  .addon { padding: 22px; }
  .addon .btn { width: 100%; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq p { padding: 0 18px 18px; font-size: 15.5px; }
  .form { padding: 22px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .brand img { width: 128px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }

  /* Sticky bottom call to action, hidden while the form is on screen */
  .mobile-cta {
    display: inline-flex; position: fixed; z-index: 90;
    left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-cta.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .footer { padding-bottom: 96px; }
  .toast { bottom: 84px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 34px; }
  .proof-item dd { font-size: 28px; min-width: 84px; }
  .sites { grid-auto-columns: 84%; }
  .plans { grid-auto-columns: 90%; }
}

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