/* masonmoose.com: shared styles for every page. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* ---------- Theme tokens ---------- */
:root,
:root[data-theme="dark"] {
  --bg: #07050f;
  --bg-2: #0d0a1c;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --border: rgba(255, 255, 255, .085);
  --border-strong: rgba(255, 255, 255, .18);
  --ink: #f4f1ff;
  --muted: #a8a1c6;
  --faint: #8a83a8;
  --accent: #8b6cff;
  --accent-2: #b9a6ff;
  --coral: #ff8a73;
  --glow-1: rgba(124, 92, 255, .42);
  --glow-2: rgba(255, 128, 104, .22);
  --glow-3: rgba(76, 46, 160, .55);
  --grid-line: rgba(255, 255, 255, .045);
  --spot: rgba(139, 108, 255, .16);
  --grad-text: linear-gradient(92deg, #c9bbff 0%, #f3a9cf 30%, #ffb59e 55%, #c9bbff 100%);
  --btn-bg: #f4f1ff;
  --btn-ink: #0d0a1c;
  --nav-bg: rgba(7, 5, 15, .66);
  --screen-bg: #120e22;
  --screen-card: rgba(255, 255, 255, .06);
  --screen-ink: #f4f1ff;
  --screen-muted: #9d96bb;
  --cta-bg: linear-gradient(150deg, #1a1236 0%, #0f0a20 60%);
  --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbfaff;
  --bg-2: #f3f0fc;
  --surface: rgba(255, 255, 255, .72);
  --surface-2: #ffffff;
  --border: #e6e0f3;
  --border-strong: #cfc4ea;
  --ink: #18112e;
  --muted: #5d5680;
  --faint: #6f6890;
  --accent: #5b3fd1;
  --accent-2: #5b3fd1;
  --coral: #d5614c;
  --glow-1: rgba(124, 92, 255, .22);
  --glow-2: rgba(255, 128, 104, .16);
  --glow-3: rgba(167, 139, 250, .22);
  --grid-line: rgba(65, 41, 131, .06);
  --spot: rgba(91, 63, 209, .09);
  --grad-text: linear-gradient(92deg, #412983 0%, #7c3aed 30%, #d5614c 60%, #412983 100%);
  --btn-bg: #2f1e5b;
  --btn-ink: #ffffff;
  --nav-bg: rgba(251, 250, 255, .78);
  --screen-bg: #f7f5ff;
  --screen-card: #ffffff;
  --screen-ink: #18112e;
  --screen-muted: #6b6588;
  --cta-bg: linear-gradient(150deg, #2f1e5b 0%, #412983 100%);
  --shadow-lg: 0 40px 80px -30px rgba(47, 30, 91, .35);
  color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
h1, h2, h3 {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  letter-spacing: -.028em;
  line-height: 1.08;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Background: drifting glows and a fading grid ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg .blob { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.bg .b1 { background: radial-gradient(circle, var(--glow-1), transparent 62%); top: -38vmax; left: -22vmax; animation: drift1 28s ease-in-out infinite alternate; }
.bg .b2 { background: radial-gradient(circle, var(--glow-2), transparent 62%); top: -30vmax; right: -30vmax; animation: drift2 34s ease-in-out infinite alternate; }
.bg .b3 { background: radial-gradient(circle, var(--glow-3), transparent 62%); top: 55vh; left: 25vw; animation: drift3 40s ease-in-out infinite alternate; }
.bg .grid {
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 75%);
}
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-12vmax, 14vmax) scale(.95); } }
@keyframes drift3 { to { transform: translate(-18vmax, -12vmax) scale(1.15); } }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.scrolled { background: var(--nav-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); }
.nav .bar { display: flex; align-items: center; gap: 12px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--border); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 9px; text-decoration: none; color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle,
.motion-toggle {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  transition: border-color .2s, background-color .2s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.theme-toggle:hover { border-color: var(--border-strong); transform: rotate(-15deg); }
.motion-toggle:hover { border-color: var(--border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.motion-toggle svg { width: 15px; height: 15px; }
[data-theme="dark"] .theme-toggle .i-moon,
[data-theme="light"] .theme-toggle .i-sun { display: none; }
.motion-toggle .i-play,
.paused .motion-toggle .i-pause { display: none; }
.paused .motion-toggle .i-play { display: block; }
/* Nothing moves (reduce motion is on, or the page script never ran), so the pause button would do nothing */
html:not(.motion) .motion-toggle { display: none; }
@media (max-width: 820px) { .nav-links { display: none; } .theme-toggle { margin-left: auto; } }
.nav .btn { white-space: nowrap; }
/* Phones: a tighter header so the name, both round buttons and "Contact" fit on one line */
@media (max-width: 430px) {
  .nav .bar { gap: 8px; }
  .brand { gap: 8px; }
  .theme-toggle, .motion-toggle { width: 36px; height: 36px; }
  .nav .btn-sm { padding: 9px 13px; }
  .nav .nav-us { display: none; }
}
/* Very narrow phones: the logo tile already reads "MASON MOOSE"; keep the name for screen readers only */
@media (max-width: 380px) {
  .nav .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 .96rem/1 "Inter", system-ui, sans-serif;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background-color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 10px 34px -10px var(--glow-1); }
.btn-primary:hover { box-shadow: 0 16px 44px -10px var(--glow-1); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--border-strong); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
/* overflow-x: clip keeps the rotating rings and hanging labels from widening the page on narrow phones */
.hero { position: relative; padding: 64px 0 104px; overflow-x: hidden; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: .86rem; color: var(--muted);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulse 2.6s infinite; }
.eyebrow b { color: var(--ink); font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 760; margin: 24px 0 22px; }
.grad {
  background: var(--grad-text); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 12s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 50ch; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; color: var(--faint); font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent-2); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 36px 0 72px; } }

/* Load-in: headline words rise one by one (motion only).
   The hidden start state lives only in the keyframes, so stopping animations (reduce motion) shows everything. */
.motion .split .w { display: inline-block; animation: wordIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 65ms + 120ms); }
.motion .rise { animation: riseIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, .5s); }
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 400px) { .eyebrow .eb-long { display: none; } }
@media (min-width: 401px) { .eyebrow .eb-short { display: none; } }
.eyebrow { white-space: nowrap; }

/* ---------- Hero illustration: floating phone ---------- */
.hero-art { position: relative; height: 600px; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed var(--border-strong); }
.ring.r1 { width: 440px; height: 440px; animation: spin360 60s linear infinite; }
.ring.r2 { width: 580px; height: 580px; border-style: solid; border-color: var(--border); animation: spin360 90s linear infinite reverse; }
.ring .sat { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.ring.r2 .sat { background: var(--coral); box-shadow: 0 0 16px var(--coral); top: auto; bottom: -5px; }
@keyframes spin360 { to { transform: rotate(360deg); } }
.glow-disc { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, var(--glow-1), transparent 65%); filter: blur(20px); }

.device { position: relative; }
.phone {
  position: relative; width: 272px; height: 556px; border-radius: 46px; padding: 11px;
  background: linear-gradient(155deg, #3a3158 0%, #15101f 45%, #0b0813 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 4px rgba(0, 0, 0, .5), var(--shadow-lg), 0 0 120px -30px var(--glow-1);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(.5deg); } }
.notch { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--screen-bg); color: var(--screen-ink);
  padding: 50px 15px 16px; display: flex; flex-direction: column; gap: 11px;
  font-size: 12px;
}
.screen .s-top { display: flex; align-items: center; justify-content: space-between; }
.screen .s-top b { font: 700 19px/1 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.screen .s-top small { display: block; color: var(--screen-muted); font-size: 11px; margin-bottom: 3px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #8b6cff, #ff8a73); }
.s-card { background: var(--screen-card); border-radius: 16px; padding: 13px; box-shadow: 0 0 0 1px rgba(127, 110, 180, .12); }
.s-card .row { display: flex; justify-content: space-between; align-items: baseline; }
.s-card small { color: var(--screen-muted); font-size: 10.5px; }
.s-card strong { font: 700 22px/1.1 "Inter Tight", sans-serif; letter-spacing: -.02em; }
.s-card .up { color: #34d399; font-weight: 600; font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #a48bff, #6d4fe0); transform-origin: bottom; }
.bars i:nth-child(6) { background: linear-gradient(180deg, #ffb09e, #ff7a63); }
.motion .bars i { animation: grow 4.5s cubic-bezier(.2, .8, .2, 1) infinite; animation-delay: calc(var(--n) * 90ms); }
@keyframes grow { 0% { transform: scaleY(.08); } 22%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.08); } }
.task { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px; background: var(--screen-card); box-shadow: 0 0 0 1px rgba(127, 110, 180, .12); font-weight: 500; }
.task .meta { margin-left: auto; color: var(--screen-muted); font-size: 10.5px; }
.check { width: 18px; height: 18px; border-radius: 6px; border: 1.6px solid rgba(127, 110, 180, .55); display: grid; place-items: center; flex: none; }
.task.done .check { background: #8b6cff; border-color: #8b6cff; }
.check svg { width: 12px; height: 12px; color: #fff; stroke-dasharray: 20; stroke-dashoffset: 0; }
.motion .task.done .check svg { animation: tick 4.5s ease-in-out infinite; }
@keyframes tick { 0%, 15% { stroke-dashoffset: 20; } 30%, 100% { stroke-dashoffset: 0; } }
.toast {
  position: absolute; left: 14px; right: 14px; bottom: 16px;
  display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 14px;
  background: rgba(20, 15, 36, .92); color: #fff; font-weight: 500; font-size: 11.5px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.toast .ok { width: 20px; height: 20px; border-radius: 50%; background: #34d399; display: grid; place-items: center; flex: none; }
.toast .ok svg { width: 12px; height: 12px; color: #062d1f; }
.motion .toast { animation: toast 6s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes toast { 0%, 8% { transform: translateY(140%); opacity: 0; } 18%, 72% { transform: none; opacity: 1; } 84%, 100% { transform: translateY(140%); opacity: 0; } }

/* Labels hang off the phone's edge and overlap only its frame */
.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; font-size: .84rem; font-weight: 600; white-space: nowrap;
  background: var(--nav-bg); border: 1px solid var(--border-strong); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  animation: bob 6s ease-in-out infinite;
}
.chip .ci { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.chip .ci svg { width: 15px; height: 15px; }
.chip.c1 { top: 5%; right: calc(100% - 20px); animation-delay: -1s; }
.chip.c1 .ci { background: linear-gradient(135deg, #8b6cff, #5b3fd1); }
.chip.c2 { top: 38%; left: calc(100% - 20px); animation-delay: -3s; }
.chip.c2 .ci { background: linear-gradient(135deg, #34d399, #059669); }
.chip.c3 { bottom: 16%; left: calc(100% - 20px); animation-delay: -4.5s; }
.chip.c3 .ci { background: linear-gradient(135deg, #ff9b85, #e5604a); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 920px) { .hero-art { height: 560px; } .ring.r2 { display: none; } }
@media (max-width: 600px) { .chip.c1 { right: auto; left: -12px; } .chip.c2 { left: auto; right: -12px; } .chip.c3 { display: none; } }
@media (max-width: 480px) { .hero-art { zoom: .86; } .ring.r1 { width: 360px; height: 360px; } }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); padding: 18px 0; overflow: hidden; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
.track span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.track svg { width: 18px; height: 18px; color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.head { margin-bottom: 52px; max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.head h2 { font-size: clamp(2rem, 4.3vw, 3.1rem); font-weight: 720; margin: 14px 0 16px; }
.head p { color: var(--muted); font-size: 1.1rem; }

/* Reveal on scroll (motion only). Blocks hide only once site.js is running (.reveal-ready),
   so a slow or failed script never leaves content invisible. */
.motion .reveal { transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.motion.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(26px); }

/* ---------- Cards with a cursor spotlight ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s;
}
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-strong); }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 22px; background: linear-gradient(140deg, #8b6cff, #4c2fb0); box-shadow: 0 10px 24px -10px var(--glow-1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ico svg { width: 22px; height: 22px; }
.ico.coral { background: linear-gradient(140deg, #ff9b85, #d5614c); }
.ico.teal { background: linear-gradient(140deg, #5eead4, #0f9488); }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; font-weight: 680; }
.card p { color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- How we work: a line that draws itself ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 34px; }
.steps-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--coral)); transform-origin: left; transform: scaleX(1); }
.motion .steps-line span { transition: transform 1.8s cubic-bezier(.65, 0, .35, 1) .2s; }
.motion.reveal-ready .steps:not(.in) .steps-line span { transform: scaleX(0); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -40px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.step .num { font: 600 .8rem/1 "Inter", sans-serif; color: var(--accent-2); letter-spacing: .1em; }
.step h3 { font-size: 1.18rem; margin: 12px 0 8px; font-weight: 680; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 30px; }
  .steps-line { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .steps-line span { transform-origin: top; }
  .motion.reveal-ready .steps:not(.in) .steps-line span { transform: scaleY(0); }
  .step::before { top: 4px; left: -34px; }
}

/* ---------- Contact card with a travelling glow border ---------- */
.cta-card { position: relative; isolation: isolate; border-radius: 30px; padding: 76px 32px; text-align: center; overflow: hidden; background: var(--cta-bg); color: #fff; }
.cta-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 55%, #b9a6ff 70%, #ff9b85 82%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: angle 7s linear infinite;
}
@keyframes angle { to { --ang: 360deg; } }
.cta-card::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: 50%; top: -340px; transform: translateX(-50%); background: radial-gradient(circle, rgba(139, 108, 255, .45), transparent 62%); }
.cta-card h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 740; margin-bottom: 14px; }
.cta-card p { color: #cfc6ee; font-size: 1.1rem; max-width: 46ch; margin: 0 auto 30px; }
.cta-card .btn-primary { background: #fff; color: #1a1236; }
.cta-card a:focus-visible { outline-color: #fff; }
@media (max-width: 420px) {
  .cta-card { padding: 56px 16px; }
  .cta-card .btn { font-size: .86rem; padding: 13px 16px; }
  .cta-card .btn .arrow { display: none; }
}

/* ---------- Privacy notice text ---------- */
.wrap.prose { max-width: 808px; padding-top: 56px; padding-bottom: 104px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 740; margin-bottom: 10px; }
.prose .updated { color: var(--faint); margin-bottom: 36px; }
.prose h2 { font-size: 1.3rem; font-weight: 680; margin: 40px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 1.04rem; line-height: 1.75; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-2); }
.prose p.muted { color: var(--faint); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .95rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 56px 0 64px; color: var(--muted); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-h { font: 650 .78rem/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { margin-top: 14px; max-width: 34ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: .86rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---------- Pause button (WCAG 2.2.2): every endless animation stops where it is ---------- */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
/* The headline's one-time entrance still finishes (frozen part-way it would stay invisible) */
.paused .split .w, .paused .rise { animation-play-state: running !important; }
/* The phone screen rests on its finished picture: full bars, ticked boxes, toast in view */
.paused .bars i, .paused .task .check svg, .paused .toast { animation: none !important; }
/* The trust strip stops, so every promise is laid out in view (as with reduce motion) */
.paused .track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 24px; }
.paused .marquee { -webkit-mask-image: none; mask-image: none; }
.paused .track li[aria-hidden="true"] { display: none; }

/* ---------- Reduced motion: everything still, final states shown ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* The trust strip stops scrolling, so lay every promise out in view instead */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .track { width: auto; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 24px; }
  .track li[aria-hidden="true"] { display: none; }
}
