/* ==========================================================================
   Sultania Tech
   Theme    : night studio. Near-black ground, violet > pink > orange light
   Type     : Archivo (wide, heavy headlines) + Onest (text)
   Shape    : pill controls, soft 20px panels, hairline borders, glow not shadow
   ========================================================================== */

/* Dark colours. Also applied to the parts that stay dark in the light theme. */
:root, .site-footer, .section--night, .studio-code, .vg-code {
  color-scheme: dark;
  --bg: #08080f;
  --bg-2: #0d0d18;
  --surface: #13131f;
  --surface-2: #1a1a2a;
  --bg-rgb: 8 8 15;
  --surface-rgb: 19 19 31;
  --fg-rgb: 255 255 255;
  --line: rgb(255 255 255 / .09);
  --line-strong: rgb(255 255 255 / .18);
  --text: #f4f3fa;
  --text-2: #bdbbcd;
  --muted: #8f8da3;
  --violet: #8b7bff;
  --pink: #f0509d;
  --orange: #ff8a3d;
  --amber: #ffc24b;
  --mint: #4ade9b;
  --accent-ink: #b9afff;
  --accent-wash: rgb(139 123 255 / .13);
  --accent-edge: rgb(139 123 255 / .28);
  --danger: #ff7b7b;
  --focus: #ffc24b;
  --btn-bg: #ffffff;
  --btn-fg: #08080f;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--pink) 52%, var(--orange) 100%);
  --shadow: 0 24px 50px -28px rgb(0 0 0 / .9);
  --glow: 0 40px 90px -40px rgb(139 123 255 / .45);
}

/* Light colours */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f7fc;
  --bg-2: #efedf8;
  --surface: #ffffff;
  --surface-2: #f4f2fb;
  --bg-rgb: 248 247 252;
  --surface-rgb: 255 255 255;
  --fg-rgb: 22 16 48;
  --line: rgb(22 16 48 / .1);
  --line-strong: rgb(22 16 48 / .2);
  --text: #16102f;
  --text-2: #4b4763;
  --muted: #6d6a84;
  --violet: #6d5cf0;
  --pink: #e23b8e;
  --orange: #f0641a;
  --amber: #9a6200;
  --mint: #0c8558;
  --accent-ink: #5b46e0;
  --accent-wash: rgb(109 92 240 / .09);
  --accent-edge: rgb(109 92 240 / .24);
  --danger: #c62828;
  --focus: #5b46e0;
  --btn-bg: #16102f;
  --btn-fg: #ffffff;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--pink) 52%, var(--orange) 100%);
  --shadow: 0 24px 50px -28px rgb(46 28 110 / .38);
  --glow: 0 40px 90px -40px rgb(109 92 240 / .4);
}

:root {
  --font-display: "Archivo", "Arial Black", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;

  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --text-h3: clamp(1.2rem, 1.12rem + .35vw, 1.4rem);
  --text-h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --text-h1: clamp(2.4rem, 1.5rem + 3.6vw, 4.5rem);
  --text-display: clamp(2.5rem, .9rem + 7.2vw, 6.75rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 220ms;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%;
  line-height: 1.1; letter-spacing: -.02em; text-wrap: balance;
}
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Utilities ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; border-radius: 2px; background: var(--grad); }
.kicker { font-family: var(--font-display); font-size: .7rem; font-weight: 600; font-stretch: 100%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.display { font-size: var(--text-display); font-weight: 800; font-stretch: 118%; line-height: .95; letter-spacing: -.04em; }
.h1 { font-size: var(--text-h1); font-weight: 800; font-stretch: 114%; line-height: 1; letter-spacing: -.035em; }
.h2 { font-size: var(--text-h2); font-weight: 750; font-stretch: 112%; line-height: 1.03; letter-spacing: -.032em; }
.h3 { font-size: var(--text-h3); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: var(--text-lg); line-height: 1.6; color: var(--text-2); max-width: 60ch; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--space-section); }
.section--tint, .section--sheet { background: var(--bg-2); }
.section--night {
  color: var(--text-2);
  background:
    radial-gradient(55% 80% at 12% 0%, rgb(139 123 255 / .2), transparent 62%),
    radial-gradient(45% 70% at 100% 100%, rgb(255 138 61 / .13), transparent 60%),
    var(--bg-2);
}
.section--flush-top { padding-top: 0; }

.section-head { display: grid; justify-items: start; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .h2 { max-width: 20ch; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; column-gap: 4rem; }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
  .section-head--split .lead { justify-self: end; }
}
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .h2, .section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur), border-color var(--dur), box-shadow var(--dur), transform 140ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 0 0 0 rgb(240 80 157 / 0); }
.btn-primary:hover { background: var(--btn-bg); box-shadow: 0 0 0 4px rgb(139 123 255 / .35), 0 14px 40px -10px rgb(240 80 157 / .7); }
.btn-ghost { background: rgb(var(--fg-rgb) / .04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgb(var(--fg-rgb) / .1); border-color: rgb(var(--fg-rgb) / .4); }
.btn-accent { background: var(--grad); color: #08080f; box-shadow: 0 14px 40px -14px rgb(240 80 157 / .8); }
.btn-accent:hover { box-shadow: 0 0 0 4px rgb(var(--fg-rgb) / .16), 0 18px 46px -12px rgb(240 80 157 / .95); }
.btn-light { background: var(--btn-bg); color: var(--btn-fg); }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; color: var(--accent-ink); }
.text-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--dur) var(--ease-out); }
.text-link:hover span { background-size: 100% 1.5px; }
.text-link .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

.inline-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-link:hover { text-decoration-thickness: 2px; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgb(74 222 155 / .12); color: var(--mint);
  font-size: .75rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3; white-space: nowrap;
}
.chip .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.chip--pending { background: rgb(255 194 75 / .14); color: var(--amber); }
.chip--neutral { background: rgb(var(--fg-rgb) / .07); color: var(--text-2); }
.chip--accent { background: var(--grad); color: #08080f; }

/* ---------- Lists ---------- */
.checklist { display: grid; gap: .85rem 1.5rem; }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--text); font-weight: 500; line-height: 1.5; }
.checklist .icon { width: 20px; height: 20px; margin-top: .12em; padding: 4px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-ink); stroke-width: 3; }

/* ---------- Reveal on scroll (JS adds .is-visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-visible),
  .js [data-stagger]:not(.is-visible) > * { opacity: 0; }
  .js [data-reveal].is-visible { animation: rise .7s var(--ease-out) backwards; }
  .js [data-stagger].is-visible > * { animation: rise .6s var(--ease-out) backwards; }
  .js [data-stagger].is-visible > :nth-child(2) { animation-delay: 50ms; }
  .js [data-stagger].is-visible > :nth-child(3) { animation-delay: 100ms; }
  .js [data-stagger].is-visible > :nth-child(4) { animation-delay: 150ms; }
  .js [data-stagger].is-visible > :nth-child(5) { animation-delay: 200ms; }
  .js [data-stagger].is-visible > :nth-child(6) { animation-delay: 250ms; }
  .js [data-stagger].is-visible > :nth-child(n+7) { animation-delay: 300ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================================
   Header, navigation, services menu, mobile menu
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
/* The frosted layer is a pseudo-element so the header never becomes a
   containing block for the fixed mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(var(--bg-rgb) / .78);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity var(--dur) var(--ease-out);
}
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 1; }
.menu-open .site-header::before { background: var(--bg); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); flex: none; }
.brand-mark { width: 36px; height: 36px; margin-right: .7rem; border-radius: 10px; box-shadow: 0 8px 24px -8px rgb(240 80 157 / .7); }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; font-stretch: 116%; letter-spacing: -.03em; line-height: 1; }
.brand-tech { margin-left: .35rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; font-stretch: 116%; letter-spacing: -.03em; line-height: 1; color: var(--text-2); }

/* ---------- Desktop nav ---------- */
.primary-nav { display: none; margin-inline: auto; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.nav-list { display: flex; align-items: center; gap: .15rem; padding: .3rem; border: 1px solid var(--line); border-radius: 999px; background: rgb(var(--fg-rgb) / .03); }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: none;
  font-size: .9375rem; font-weight: 500; color: var(--text-2);
  transition: color var(--dur), background-color var(--dur);
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--text); background: rgb(var(--fg-rgb) / .08); }
.nav-link[aria-current="page"], .nav-link[data-current] { color: var(--text); background: rgb(var(--fg-rgb) / .1); font-weight: 600; }
.nav-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.nav-item.is-open .nav-trigger .icon { transform: rotate(180deg); }

/* ---------- Services menu ---------- */
.mega {
  position: absolute; top: calc(100% - 4px); left: 50%;
  width: min(1040px, 100vw - 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px; gap: 10px; padding: 12px;
  background: rgb(var(--surface-rgb) / .97); border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: var(--shadow), var(--glow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-col { padding: .5rem; }
.mega-col .kicker { padding: .4rem .75rem .6rem; }
.mega-list { display: grid; gap: 2px; }
.mega-link { display: flex; align-items: flex-start; gap: .85rem; padding: .7rem .75rem; border-radius: var(--radius); transition: background-color var(--dur); }
.mega-link:hover, .mega-link[aria-current="page"] { background: rgb(var(--fg-rgb) / .06); }
.mega-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--accent-edge); border-radius: 12px; background: var(--accent-wash); color: var(--accent-ink); }
.mega-icon .icon { width: 20px; height: 20px; }
.mega-title { display: block; font-weight: 600; color: var(--text); line-height: 1.3; }
.mega-desc { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.mega-aside {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; color: var(--text-2);
  background: radial-gradient(120% 90% at 0% 0%, rgb(139 123 255 / .35), transparent 60%), radial-gradient(100% 80% at 100% 100%, rgb(255 138 61 / .28), transparent 60%), var(--surface-2);
}
.mega-aside-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; font-stretch: 108%; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
.mega-aside-text { font-size: .9rem; line-height: 1.55; }
.mega-aside-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-top: auto; font-weight: 600; color: var(--text); }
.mega-aside-link .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.mega-aside-link:hover .icon { transform: translateX(3px); }

/* ---------- Theme switch ---------- */
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; background: rgb(var(--fg-rgb) / .04); color: var(--text); transition: background-color var(--dur), border-color var(--dur); }
.theme-toggle:hover { background: rgb(var(--fg-rgb) / .1); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }

/* ---------- Header actions ---------- */
.header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 0; } }
.header-phone { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .4rem; font-size: .9375rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.header-phone .icon { width: 17px; height: 17px; color: var(--accent-ink); }
.header-phone:hover { color: var(--text); }
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: rgb(var(--fg-rgb) / .04); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle-bars { position: relative; width: 18px; height: 12px; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.menu-toggle-bars::before { top: 1px; }
.menu-toggle-bars::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 5px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: .5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-label { margin: .9rem 0 .6rem; }
.mobile-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-sub a {
  display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .6rem .8rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-size: .92rem; font-weight: 500; line-height: 1.25; color: var(--text);
}
.mobile-sub a[aria-current="page"] { border-color: var(--violet); }
.mobile-sub .icon { width: 20px; height: 20px; color: var(--accent-ink); }
.mobile-links { margin-top: 1rem; border-top: 1px solid var(--line); }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 58px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; font-stretch: 110%; letter-spacing: -.025em; color: var(--text);
}
.mobile-link .icon { width: 20px; height: 20px; color: var(--muted); }
.mobile-link[aria-current="page"] { color: var(--accent-ink); }
.mobile-foot { display: grid; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.mobile-foot .btn { margin-bottom: .5rem; }
.mobile-contact { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--text-2); font-weight: 500; }
.mobile-contact .icon { width: 18px; height: 18px; color: var(--accent-ink); }

/* ==========================================================================
   Home hero + the studio (signature element)
   ========================================================================== */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero { margin-top: calc(var(--header-h) * -1); padding-block: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 55% at 18% 8%, rgb(139 123 255 / .36), transparent 70%),
    radial-gradient(42% 50% at 86% 14%, rgb(240 80 157 / .26), transparent 70%),
    radial-gradient(40% 45% at 62% 78%, rgb(255 138 61 / .16), transparent 70%);
}
.hero-copy { display: grid; justify-items: center; text-align: center; }
.hero-copy .display { margin: 0 0 1.5rem; }
.hero::before { inset: -12%; }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 16s ease-in-out infinite alternate; }
}
@keyframes drift { to { transform: translate3d(4%, 5%, 0) scale(1.12) rotate(4deg); } }
.hero-copy .lead { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-copy .hero-actions { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem; margin-top: 2rem; font-size: .9375rem; color: var(--text-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof .icon { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.4; }

/* The word that changes */
.swap { display: block; }
.swap-word {
  display: inline-block; padding-bottom: .08em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .32s ease-in, transform .45s var(--ease-out), filter .32s ease-in;
}
.swap-word.is-out { opacity: 0; transform: translateY(-.22em); filter: blur(8px); }
.swap-word.is-pre { opacity: 0; transform: translateY(.22em); filter: blur(8px); transition: none; }

/* The studio: five small windows, one for each kind of work */
.studio { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.studio-card {
  --d: 0; min-width: 0;
  padding: 1.1rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 18px;
  background: rgb(var(--surface-rgb) / .88); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.studio-card .kicker { display: block; margin-bottom: .35rem; }
.studio-code { background: var(--surface); color: var(--text-2); }
.studio-title { font-weight: 600; line-height: 1.3; color: var(--text); }
.studio-meta { margin-top: .15rem; font-size: .8125rem; color: var(--muted); }
.studio-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; }
.studio-web { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.studio-code { grid-column: 1 / -1; }
@media (min-width: 720px) { .studio-code { grid-column: auto; } .studio-books { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .studio { display: block; height: 520px; max-width: 1120px; margin-inline: auto; }
  .studio-card {
    position: absolute; z-index: 2;
    transform: translate3d(calc(var(--px, 0) * var(--d) * 1px), calc(var(--py, 0) * var(--d) * 1px), 0);
    transition: transform .6s var(--ease-out);
  }
  .studio-web { z-index: 1; left: 50%; top: 30px; width: 580px; margin-left: -290px; --d: 7; box-shadow: var(--shadow), var(--glow); }
  .studio-chart { left: 0; top: 0; width: 262px; --d: 22; }
  .studio-books { left: 40px; bottom: 30px; width: 270px; --d: -16; }
  .studio-ticket { right: 0; top: 46px; width: 262px; --d: -24; }
  .studio-code { right: 0; bottom: 0; width: 336px; --d: 18; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .studio-card { animation: floaty 8s ease-in-out infinite; }
  .studio-chart { animation-delay: -2s; }
  .studio-books { animation-delay: -5s; }
  .studio-ticket { animation-delay: -3.5s; }
  .studio-code { animation-delay: -6.5s; }
}
@keyframes floaty { 50% { translate: 0 -10px; } }

/* Mini browser window */
.win-bar { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: rgb(var(--fg-rgb) / .03); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--fg-rgb) / .16); }
.win-url { flex: 1; min-width: 0; padding: .3rem .8rem; border-radius: 999px; background: rgb(var(--fg-rgb) / .06); font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { display: grid; gap: 1rem; padding: clamp(1rem, .6rem + 1.4vw, 1.6rem); }
.win-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; align-items: center; }
.win-lines { display: grid; gap: .55rem; }
.win-lines i { display: block; height: 9px; border-radius: 99px; background: rgb(var(--fg-rgb) / .1); }
.win-lines i:nth-child(1) { width: 92%; height: clamp(14px, 10px + 1vw, 22px); background: var(--grad); }
.win-lines i:nth-child(2) { width: 68%; height: clamp(14px, 10px + 1vw, 22px); background: rgb(var(--fg-rgb) / .82); }
.win-lines i:nth-child(3) { width: 84%; margin-top: .35rem; }
.win-lines i:nth-child(4) { width: 60%; }
.win-lines b { display: block; width: 104px; height: 30px; margin-top: .5rem; border-radius: 99px; background: var(--btn-bg); }
.win-art { aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(90% 90% at 20% 15%, var(--violet), transparent 60%), radial-gradient(80% 80% at 90% 90%, var(--orange), transparent 60%), linear-gradient(135deg, #2a1d5c, #5a1d4a); }
.win-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.win-tiles i { display: block; height: clamp(38px, 26px + 2.6vw, 62px); border: 1px solid var(--line); border-radius: 12px; background: rgb(var(--fg-rgb) / .04); }

/* Small chart */
.spark { display: block; width: 100%; height: auto; margin-top: .75rem; }
.spark-line { fill: none; stroke: url(#spark-stroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .spark-line { animation: draw 2.2s var(--ease-out) .5s backwards; }
}
@keyframes draw { from { stroke-dashoffset: 420; } }

/* Code snippet */
.code { display: block; margin: 0; overflow: hidden; font-variant-ligatures: none; font-family: var(--font-mono); font-size: .78rem; line-height: 1.75; color: var(--text-2); white-space: pre; }
.code .t { color: #ff9ec7; }
.code .a { color: var(--accent-ink); }
.code .s { color: var(--amber); }
.code .c { color: var(--muted); }

/* Segmented meter */
.meter { display: flex; gap: 4px; margin-top: .85rem; }
.meter i { flex: 1; height: 8px; border-radius: 99px; background: var(--mint); }

/* Scrolling list of services */
.marquee {
  overflow: hidden; padding-block: 1.25rem; border-block: 1px solid var(--line); background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-track ul { display: flex; flex: none; }
.marquee-track li {
  display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .9vw, 1.9rem); font-weight: 800; font-stretch: 118%;
  letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; color: var(--text);
}
.marquee-track li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgb(var(--fg-rgb) / .45); }
.marquee-track li::after { content: ""; width: .42em; height: .42em; flex: none; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 46s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Home sections
   ========================================================================== */

/* Services bento */
.group-label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.1rem; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-label b { font-weight: 700; color: var(--text); }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.bento + .group-label { margin-top: 3rem; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .svc { grid-column: span 3; }
  .svc--wide { grid-column: span 7; }
  .svc--mid { grid-column: span 5; }
}
.svc {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .6rem; min-width: 0; min-height: 100%;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(139 123 255 / .26), rgb(240 80 157 / .1) 40%, transparent 68%);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.svc:hover, .svc:focus-visible { border-color: rgb(var(--fg-rgb) / .3); transform: translateY(-3px); }
.svc:hover::before, .svc:focus-visible::before { opacity: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--accent-edge); border-radius: 14px; background: var(--accent-wash); color: var(--accent-ink); }
.svc-icon .icon { width: 24px; height: 24px; }
.svc-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease-out), border-color var(--dur); }
.svc-arrow .icon { width: 18px; height: 18px; }
.svc:hover .svc-arrow { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); transform: rotate(45deg); }
.svc-name { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); font-weight: 750; font-stretch: 110%; line-height: 1.1; letter-spacing: -.025em; color: var(--text); }
.svc-desc { max-width: 46ch; font-size: .98rem; line-height: 1.55; color: var(--text-2); }
.svc-vg { margin-top: auto; padding-top: 1.25rem; }

/* Vignettes used in service cards and service page heroes */
.vg-design { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.vg-design i { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); }
.vg-design i:nth-child(1) { background: var(--violet); }
.vg-design i:nth-child(2) { background: var(--pink); }
.vg-design i:nth-child(3) { background: var(--orange); }
.vg-design i:nth-child(4) { background: var(--text); }
.vg-design b { display: grid; place-items: center; height: 44px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 12px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; font-stretch: 118%; color: var(--text); }
.vg-design em { display: grid; place-items: center; height: 44px; padding: 0 1.2rem; border-radius: 99px; background: var(--btn-bg); font-style: normal; font-size: .85rem; font-weight: 600; color: var(--btn-fg); }
@media (min-width: 1000px) { .svc--wide .vg-design i, .svc--wide .vg-design b, .svc--wide .vg-design em { height: 60px; border-radius: 16px; } .svc--wide .vg-design i { width: 60px; } .svc--wide .vg-design b { padding: 0 1.4rem; font-size: 1.7rem; } .svc--wide .vg-design em { padding: 0 1.75rem; border-radius: 99px; font-size: 1rem; } }
.vg-code { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text-2); }
.vg-bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.vg-bars i { flex: 1; height: calc(var(--h) * 1%); border-radius: 8px 8px 3px 3px; background: linear-gradient(to top, rgb(139 123 255 / .35), var(--pink)); }
.vg-bars i:last-child { background: var(--grad); }
.vg-status { display: grid; gap: .5rem; }
.vg-status li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: rgb(var(--fg-rgb) / .03); font-size: .9rem; color: var(--text); }
@media (min-width: 560px) { .svc .vg-status { grid-template-columns: repeat(3, 1fr); } .svc .vg-status li { flex-direction: column; align-items: flex-start; gap: .5rem; } }
.doc .vg-design, .doc .vg-bars, .doc .vg-status, .doc .vg-code { margin: 1.25rem 1.5rem; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-bottom: var(--space-section); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { display: grid; align-content: start; gap: .5rem; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); background: var(--bg); }
.fact-value { width: fit-content; font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem); font-weight: 800; font-stretch: 118%; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact-label { font-size: .95rem; line-height: 1.45; color: var(--text-2); }

/* Split layout + status panel */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .split--reverse > :first-child { order: 2; }
}
.split-copy .h2 { margin: 1.25rem 0 1.5rem; }
.split-copy p + p { margin-top: 1rem; }
.split-copy .checklist { margin: 2rem 0 1.5rem; }

.package { overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--glow); }
.package-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.package-title { margin-top: .2rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; color: var(--text); }
.package-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.package-list li:last-child { border-bottom: 0; }
.doc-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--accent-edge); border-radius: 12px; background: var(--accent-wash); color: var(--accent-ink); }
.doc-icon .icon { width: 20px; height: 20px; }
.package-name { display: block; font-weight: 600; line-height: 1.3; color: var(--text); }
.package-desc { display: block; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.package-foot { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.5rem; background: rgb(var(--fg-rgb) / .03); border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.package-foot .icon { width: 18px; height: 18px; color: var(--accent-ink); }
@media (max-width: 479px) {
  .package-list li { grid-template-columns: auto minmax(0, 1fr); padding-inline: 1rem; }
  .package-list .chip { display: none; }
  .package-head, .package-foot { padding-inline: 1rem; }
}

/* Cards */
.card-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.card p { color: var(--text-2); line-height: 1.6; }
.card p + p { margin-top: -.25rem; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid var(--accent-edge); border-radius: 14px; background: var(--accent-wash); color: var(--accent-ink); }
.card-icon .icon { width: 24px; height: 24px; }
.card--tint { background: var(--surface-2); }
.card-foot { margin-top: auto; padding-top: .5rem; }
.grid-foot { margin-top: 2rem; }

/* Process steps (a true sequence, so they are numbered) */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; padding: 1.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: rgb(var(--bg-rgb) / .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.step-node { display: none; }
.step-num { display: block; width: fit-content; font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; font-stretch: 118%; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 1.25rem 0 .6rem; font-size: 1.3rem; }
.step p { max-width: 42ch; font-size: .98rem; line-height: 1.6; color: var(--text-2); }

/* Why us */
.why-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-item { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.why-item .icon { width: 48px; height: 48px; padding: 12px; border: 1px solid var(--accent-edge); border-radius: 14px; background: var(--accent-wash); color: var(--accent-ink); }
.why-title { margin: 1.5rem 0 .75rem; }
.why-kicker { display: block; font-size: .7rem; font-weight: 600; font-stretch: 100%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.why-word { display: block; margin-top: .3rem; font-size: clamp(1.5rem, 1.3rem + .7vw, 1.9rem); font-weight: 800; font-stretch: 114%; line-height: 1.05; letter-spacing: -.03em; color: var(--text); }
.why-item p { max-width: 36ch; color: var(--text-2); line-height: 1.6; }

/* Testimonials */
.quotes { display: grid; gap: 1rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.quote-mark { display: block; width: fit-content; height: 2.2rem; font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote p { margin-top: 1rem; font-size: clamp(1.2rem, 1.05rem + .55vw, 1.5rem); font-weight: 500; line-height: 1.45; letter-spacing: -.012em; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--grad); color: #08080f; font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
.quote-name { display: block; font-weight: 600; color: var(--text); line-height: 1.3; }
.quote-org { display: block; font-size: .875rem; color: var(--muted); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { margin-top: calc(var(--header-h) * -1); padding-block: calc(var(--header-h) + clamp(2rem, 1rem + 3.5vw, 4.5rem)) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.page-hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .page-hero-grid--visual { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; }
  .page-hero-grid--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 4rem; }
  .page-hero-grid--split .h1 { margin-bottom: 0; }
}
.page-hero-grid--split .hero-actions { margin-top: 2rem; }
.page-hero .h1 { max-width: 17ch; margin: 1.1rem 0 1.5rem; }
.page-hero--wide .h1 { max-width: 22ch; }
.page-hero .lead { max-width: 58ch; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .55rem; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .55rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { display: inline-block; padding-block: .6rem; color: var(--text-2); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--accent-ink); }

/* ---------- Document cards (illustrative) ---------- */
.doc { position: relative; width: 100%; max-width: 500px; margin-inline: auto; overflow: hidden; background: rgb(var(--surface-rgb) / .9); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.doc-wrap { position: relative; width: 100%; max-width: 500px; margin-inline: auto; }
.doc-wrap::before { content: ""; position: absolute; inset: 12% -4% -6% 8%; z-index: -1; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .42; }
.doc-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; padding: 1.25rem 1.5rem 1.1rem; border-bottom: 1px solid var(--line); }
.doc-title { margin-top: .2rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; color: var(--text); }
.doc-rows { padding: .35rem 1.5rem .6rem; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .78rem 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; }
.doc-row:last-child { border-bottom: 0; }
.doc-row dt { color: var(--text-2); }
.doc-row dd { font-size: .92rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.doc-row--sub dt { padding-left: 1rem; color: var(--muted); }
.doc-row--total { margin-top: .35rem; border-top: 1.5px solid var(--text); border-bottom: 0; }
.doc-row--total dt { font-weight: 600; color: var(--text); }
.doc-row--total dd { font-weight: 700; }
.dbl { position: relative; display: inline-block; }
.dbl::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -6px; height: 5px; border-top: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); }
.doc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1rem 1.5rem; background: rgb(var(--fg-rgb) / .03); border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.doc-chart { display: block; width: 100%; height: auto; padding: 1rem 1.5rem 0; }
.doc-chart g { stroke: var(--line-strong); }
.doc-chart text { fill: var(--muted); }
.doc-chart circle:first-of-type { fill: var(--surface); }
@media (max-width: 479px) {
  .doc-head, .doc-foot { padding-inline: 1rem; }
  .doc-rows { padding-inline: 1rem; }
  .doc-chart { padding-inline: 1rem; }
  .doc .vg-design, .doc .vg-bars, .doc .vg-status, .doc .vg-code { margin-inline: 1rem; }
}

/* ---------- Long-form + aside ---------- */
.prose-split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .prose-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 5rem; align-items: start; } }
.prose .h2 { margin: 1.25rem 0 1.5rem; }
.prose p:not([class]) { max-width: 66ch; font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); }
.prose p:not([class]) + p { margin-top: 1.1rem; }
.aside-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border: 1.5px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--glow); }
@media (min-width: 1024px) { .aside-card { position: sticky; top: calc(var(--header-h) + 2rem); } }
.aside-card .h3 { margin: .6rem 0 1.25rem; }
.aside-card .btn { width: 100%; margin-top: 1.75rem; }

/* ---------- Pillars (icon + heading + paragraphs) ---------- */
.pillars { display: grid; gap: 1rem; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pillar { display: grid; gap: 1rem; align-content: start; padding: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pillar p { color: var(--text-2); line-height: 1.7; }
.pillar p + p { margin-top: -.35rem; color: var(--muted); }

/* ---------- Feature rows (icon left, text right) ---------- */
.features { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.feature h3 { margin-bottom: .45rem; }
.feature p { max-width: 62ch; color: var(--text-2); line-height: 1.65; }
@media (min-width: 900px) {
  .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 1rem; }
  .features--3 .feature { grid-template-columns: 1fr; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
}

/* ---------- More services ---------- */
.more-services { display: grid; gap: 1rem; }
@media (min-width: 768px) { .more-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mini-card {
  display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), background-color var(--dur);
}
.mini-card:hover { transform: translateY(-3px); border-color: rgb(var(--fg-rgb) / .3); background: var(--surface-2); }
.mini-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.mini-card-top .card-icon { width: 44px; height: 44px; border-radius: 12px; }
.mini-card-top .card-icon .icon { width: 22px; height: 22px; }
.mini-card-arrow { width: 20px; height: 20px; color: var(--muted); transition: transform var(--dur) var(--ease-out), color var(--dur); }
.mini-card:hover .mini-card-arrow { color: var(--text); transform: translate(2px, -2px); }
.mini-card-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; color: var(--text); }
.mini-card-text { font-size: .92rem; line-height: 1.5; color: var(--muted); }

/* ---------- Growth stages (CFO) ---------- */
.stages { display: grid; gap: 1rem; }
@media (min-width: 768px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stage { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stage-meter { display: flex; gap: 4px; margin-bottom: 1.5rem; }
.stage-meter span { flex: 1; height: 6px; border-radius: 3px; background: var(--line-strong); }
.stage-meter .on { background: var(--grad); }
.stage h3 { margin-bottom: .6rem; }
.stage p { font-size: .96rem; line-height: 1.6; color: var(--text-2); }
.stages-note { max-width: 70ch; margin-top: 2rem; font-size: 1.05rem; color: var(--text-2); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 560px) { .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.industry { display: flex; flex-direction: column; gap: .9rem; min-height: 200px; padding: 1.75rem; background: var(--surface); transition: background-color var(--dur); }
.industry:hover { background: var(--surface-2); }
.industry .icon { width: 26px; height: 26px; color: var(--accent-ink); }
.industry h3 { margin-top: .6rem; font-size: 1.15rem; }
.industry p { font-size: .92rem; line-height: 1.55; color: var(--muted); }
.industry--cta { justify-content: space-between; background: radial-gradient(120% 120% at 0% 0%, rgb(139 123 255 / .4), transparent 60%), radial-gradient(100% 100% at 100% 100%, rgb(255 138 61 / .3), transparent 60%), var(--surface-2); }
.industry--cta:hover { background: radial-gradient(120% 120% at 0% 0%, rgb(139 123 255 / .4), transparent 60%), radial-gradient(100% 100% at 100% 100%, rgb(255 138 61 / .3), transparent 60%), var(--surface-2); }
.industry--cta h3 { margin-top: 0; font-size: 1.35rem; }
.industry--cta p { color: var(--text-2); }
.industry--cta .text-link { color: var(--text); }
@media (min-width: 560px) { .industry--cta { grid-column: span 2; } }
@media (min-width: 900px) { .industry--cta { grid-column: span 1; } }
@media (min-width: 1200px) { .industry--cta { grid-column: span 2; } }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 1rem; align-items: stretch; }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.plan--featured { border: 1.5px solid transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; box-shadow: var(--glow); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 28px; }
.plan .h3 { margin-top: 1rem; }
.plan-title { margin-top: 1.1rem; font-size: clamp(1.75rem, 1.5rem + .9vw, 2.2rem); font-weight: 800; font-stretch: 114%; line-height: 1.05; letter-spacing: -.035em; }
.plan-tagline { margin-top: .65rem; font-size: 1.05rem; font-weight: 500; line-height: 1.4; color: var(--accent-ink); }
.plan-desc { margin: 1.25rem 0 1.75rem; font-size: .98rem; line-height: 1.6; }
.plan .btn { width: 100%; }
.plan-features { display: grid; gap: .8rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.plan-features .plan-features-title { display: block; margin-bottom: .25rem; font-family: var(--font-display); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan-features li { display: flex; gap: .65rem; font-size: .95rem; line-height: 1.5; color: var(--text-2); }
.plan--featured .plan-features li { color: var(--text); }
.plan-features .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--mint); stroke-width: 2.4; }
/* Line the cards up row by row (name, tagline, description, button, list).
   Browsers without subgrid keep the plain stacked layout. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .plans { grid-template-rows: auto auto auto auto auto auto; }
    .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
  }
}

.compare-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 680px; font-size: .95rem; }
.compare caption { padding: 1.25rem 1.5rem; text-align: left; font-weight: 600; color: var(--text); }
.compare th, .compare td { padding: 1rem 1.25rem; border-top: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { padding-left: 1.5rem; text-align: left; }
.compare thead th { border-top: 0; background: rgb(var(--fg-rgb) / .03); font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare td { color: var(--text-2); font-size: .9rem; }
.compare .col-featured { background: rgb(139 123 255 / .09); }
.compare .icon { margin-inline: auto; width: 20px; height: 20px; color: var(--mint); stroke-width: 2.4; }
.compare .none { color: var(--muted); }

.quote-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1rem; padding: 1.5rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(80% 140% at 0% 0%, rgb(139 123 255 / .22), transparent 60%), var(--surface); }
.quote-note p { max-width: 58ch; color: var(--text); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-intro .h2, .faq-intro .lead { margin-top: 1.25rem; }
.faq-intro .text-link { margin-top: 1rem; }
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; } }
.faq { display: grid; gap: .75rem; }
.faq-item { padding-inline: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--dur); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 600; line-height: 1.35; letter-spacing: -.012em; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform var(--dur) var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur); }
.faq-toggle .icon { width: 18px; height: 18px; }
.faq-item summary:hover .faq-toggle { border-color: rgb(var(--fg-rgb) / .5); }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.faq-answer { max-width: 64ch; padding: 0 2.5rem 1.5rem 0; line-height: 1.7; color: var(--text-2); }

/* ---------- Payment methods ---------- */
.pay-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pay-strip p { display: flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--text); }
.pay-strip .icon { width: 20px; height: 20px; color: var(--accent-ink); }
.pay-cards { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-card { padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: 8px; background: rgb(var(--fg-rgb) / .04); font-size: .85rem; font-weight: 600; color: var(--text); }

/* ---------- About ---------- */
.mv-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv-card { display: grid; gap: 1.25rem; align-content: start; padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mv-card--night { border-color: var(--line-strong); background: radial-gradient(110% 100% at 0% 0%, rgb(139 123 255 / .34), transparent 60%), radial-gradient(90% 90% at 100% 100%, rgb(255 138 61 / .22), transparent 60%), var(--surface-2); }
.mv-statement { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; align-items: start; } }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card .h3 { margin-bottom: .4rem; }
.form-intro { margin-bottom: 2rem; color: var(--muted); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-size: .92rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--pink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg);
  font-size: 1rem; line-height: 1.4; color: var(--text);
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #77758c; }
.field input:hover, .field textarea:hover { border-color: rgb(var(--fg-rgb) / .35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgb(139 123 255 / .25); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: rgb(255 123 123 / .06); }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgb(255 123 123 / .2); }
/* Honeypot: off-screen for people, still in the form for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field-error { display: flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 500; color: var(--danger); }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 500; color: var(--danger); }
.form-status:empty { display: none; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: grid; justify-items: start; gap: 1rem; padding: 1rem 0; }
.form-success[hidden] { display: none; }
.form-success .success-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgb(74 222 155 / .14); color: var(--mint); }
.form-success .success-mark .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.form-success p { max-width: 52ch; color: var(--text-2); }

.contact-aside { display: grid; gap: 1rem; }
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card .card-icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-card .card-icon .icon { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; }
.contact-card a, .contact-card p { color: var(--text-2); line-height: 1.55; }
.contact-card a { display: inline-block; padding-block: .15rem; font-weight: 500; word-break: break-word; }
.contact-card a:hover { color: var(--text); }
.next-card { padding: 1.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(110% 100% at 0% 0%, rgb(139 123 255 / .3), transparent 60%), var(--surface-2); color: var(--text-2); }
.next-list { display: grid; gap: 1.1rem; margin-top: 1.25rem; counter-reset: next; }
.next-list li { position: relative; padding-left: 2.6rem; font-size: .95rem; line-height: 1.55; counter-increment: next; }
.next-list li::before {
  content: counter(next); position: absolute; left: 0; top: -.05rem;
  display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--grad); font-size: .8rem; font-weight: 700; color: #08080f;
}
.next-list strong { display: block; color: var(--text); font-weight: 600; }

/* ---------- Legal ---------- */
.legal-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 5rem; align-items: start; } }
.toc { padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 2rem); padding: 0; background: none; border: 0; border-radius: 0; } }
.toc .kicker { display: block; margin-bottom: .75rem; }
.toc ol { display: grid; border-left: 1px solid var(--line-strong); }
.toc a { display: block; margin-left: -1px; padding: .5rem 0 .5rem 1rem; border-left: 2px solid transparent; font-size: .92rem; line-height: 1.4; color: var(--muted); transition: color var(--dur), border-color var(--dur); }
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { border-left-color: var(--pink); color: var(--text); font-weight: 600; }
.legal-body { max-width: 72ch; }
.legal-section { padding-block: 2rem; border-top: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal-section h2 { margin-bottom: 1rem; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -.025em; }
.legal-section p { line-height: 1.75; color: var(--text-2); }
.legal-section p + p { margin-top: 1rem; }
.legal-section ul { display: grid; gap: .6rem; margin: 1rem 0; }
.legal-section li { position: relative; padding-left: 1.5rem; line-height: 1.65; color: var(--text-2); }
.legal-section li::before { content: ""; position: absolute; left: .25rem; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.legal-note { margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--accent-edge); border-radius: var(--radius); background: var(--accent-wash); font-weight: 500; line-height: 1.6; color: var(--text); }

/* ---------- 404 ---------- */
.notfound { position: relative; display: grid; justify-items: center; gap: 1.5rem; padding-block: clamp(4rem, 3rem + 6vw, 8rem); text-align: center; }
.notfound .doc { max-width: 420px; margin-bottom: 1rem; text-align: left; }
.notfound .lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; margin-top: .5rem; }

/* ==========================================================================
   Closing call to action + footer
   ========================================================================== */
.site-footer { position: relative; background: #05050a; color: var(--text-2); }
.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 6rem); background: var(--bg); }
.cta-inner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 2rem; text-align: center;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border: 1px solid var(--line-strong); border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(60% 90% at 10% 0%, rgb(139 123 255 / .55), transparent 62%),
    radial-gradient(55% 90% at 95% 100%, rgb(255 138 61 / .45), transparent 62%),
    radial-gradient(50% 70% at 60% 30%, rgb(240 80 157 / .3), transparent 65%),
    var(--surface);
}
.cta-title { max-width: 18ch; margin-inline: auto; font-size: var(--text-h2); font-weight: 800; font-stretch: 114%; line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.cta-text { max-width: 54ch; margin: 1.25rem auto 0; font-size: var(--text-lg); line-height: 1.6; color: rgb(255 255 255 / .86); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.cta-phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 500; color: #fff; }
.cta-phone .icon { width: 18px; height: 18px; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-main { display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) 3rem; }
@media (min-width: 640px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 2.5rem; } .footer-brand { grid-column: auto; } }
@media (min-width: 640px) and (max-width: 1023px) { .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { max-width: 38ch; margin-top: 1.1rem; font-size: .95rem; line-height: 1.65; }
.footer-title { margin-bottom: .9rem; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: .95rem; color: var(--text-2); transition: color var(--dur); }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: grid; gap: .75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; line-height: 1.55; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--accent-ink); }
.footer-contact a { display: inline-block; padding-block: .1rem; transition: color var(--dur); overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--text); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.legal-links a { display: inline-flex; align-items: center; min-height: 40px; transition: color var(--dur); }
.legal-links a:hover { color: var(--text); }
.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.pay-label { margin-right: .25rem; font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pay { padding: .25rem .55rem; border: 1px solid var(--line); border-radius: 6px; background: rgb(var(--fg-rgb) / .03); font-size: .75rem; font-weight: 600; color: var(--text-2); }
