/* ==========================================================================
   RicHost — design system
   ========================================================================== */

:root {
  --ink-900: #0b1020;
  --ink-850: #0f1730;
  --ink-800: #131d3a;
  --ink-700: #1d2a4d;
  --ink-500: #46557a;
  --slate-600: #5a6785;
  --slate-500: #7a86a3;
  --slate-300: #aab3c7;

  --surface: #ffffff;
  --surface-2: #f4f7fd;
  --surface-3: #eaf0fb;
  --line: #e2e8f4;
  --line-dark: rgba(255, 255, 255, 0.12);

  --brand-700: #2f56d6;
  --brand-600: #3a64e8;
  --brand-500: #4f7dff;
  --brand-300: #93aeff;
  --brand-100: #e9efff;
  --mint-400: #22d3aa;
  --mint-200: #9df0dc;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(15, 23, 48, 0.06);
  --shadow-md: 0 12px 28px -14px rgba(15, 23, 48, 0.22);
  --shadow-lg: 0 30px 60px -30px rgba(15, 23, 48, 0.35);
  --shadow-glow: 0 20px 50px -22px rgba(79, 125, 255, 0.55);

  --utility-h: 42px;
  --header-main-h: 72px;
  --header-h: calc(var(--utility-h) + var(--header-main-h));
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);

  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-main-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--surface);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.6em;
  color: var(--ink-900);
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.32rem); font-weight: 700; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 50%; top: 8px;
  transform: translate(-50%, -160%);
  z-index: 120;
  padding: 10px 18px;
  background: var(--brand-500);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.ico {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--brand-500);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease), background-color 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }

.btn-primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.btn-dark { --btn-bg: var(--ink-900); }
.btn-dark:hover { box-shadow: 0 18px 40px -20px rgba(11, 16, 32, 0.65); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 20, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.28s var(--ease), background-color 0.28s var(--ease);
  transform: translateZ(0); /* own layer: keeps the blur from flickering on scroll */
}
.site-header.is-stuck {
  background: rgba(8, 10, 18, 0.97);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.8);
}
/* the open drawer must not let the hero blur through the translucent bar */
body.nav-open .site-header {
  background: #090b14;
  backdrop-filter: none;
}
.site-header .brand, .site-header .brand:hover { color: #fff; }

/* utility strip */

.header-utility {
  max-height: var(--utility-h);
  overflow: hidden;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-600) 55%, var(--brand-700));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: max-height 0.32s var(--ease), opacity 0.24s var(--ease), border-color 0.24s var(--ease);
}
.site-header.is-stuck .header-utility {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
/* the strip is clipped so it can collapse on scroll, but an open dropdown must
   still be able to spill over the edge */
.header-utility:has(.select.is-open),
.header-utility.is-spilling { overflow: visible; }

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--utility-h);
}
.utility-promo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.92);
}
.utility-badge {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.utility-tools { display: flex; align-items: center; gap: 8px; }

/* light-on-blue variant for the strip's selects */
.header-utility .select-btn { color: rgba(255, 255, 255, 0.9); }
.header-utility .select-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

/* main row */

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  min-height: var(--header-main-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  flex: none;
}
.brand:hover { color: var(--ink-900); }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  box-shadow: 0 8px 18px -10px rgba(79, 125, 255, 0.9);
}

.main-nav { margin-right: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.nav-link.is-current { color: #fff; }
.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--mint-400));
}

.nav-cta, .nav-login { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.link-login {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.18s var(--ease);
}
.link-login:hover { color: #fff; }

/* ---------- select (language / currency) ---------- */

.select { position: relative; }

.select-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-700);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.select-btn:hover { background: #fff; border-color: var(--line); color: var(--brand-700); }
.select-btn .ico { width: 15px; height: 15px; }
.select-btn .chev { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.select.is-open .select-btn { background: #fff; border-color: var(--brand-300); color: var(--brand-700); }
.select.is-open .select-btn .chev { transform: rotate(180deg); }

.select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 172px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.select-menu-up { top: auto; bottom: calc(100% + 10px); transform: translateY(8px); }
.select-menu.is-left { right: auto; left: 0; }
.select.is-open .select-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.select-option {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-800);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.select-option:hover { background: var(--surface-2); color: var(--brand-700); }
.select-option[aria-selected="true"] {
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 700;
}

/* dark variant inside the footer */

.site-footer .select-btn {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
}
.site-footer .select-btn:hover,
.site-footer .select.is-open .select-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.site-footer .select-menu {
  background: #101a34;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.85);
}
.site-footer .select-option { color: rgba(255, 255, 255, 0.76); }
.site-footer .select-option:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.site-footer .select-option[aria-selected="true"] { background: rgba(79, 125, 255, 0.22); color: #fff; }

/* ---------- burger ---------- */

.burger {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, 0.1); }
.burger span {
  display: block;
  width: 21px; height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.26s var(--ease), opacity 0.18s var(--ease), width 0.26s var(--ease);
}
.burger span:nth-child(3) { width: 14px; margin-right: 9.5px; }
.burger:hover span:nth-child(3) { width: 21px; margin-right: auto; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) {
  width: 21px;
  margin-right: auto;
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(104px, 10vw, 150px);
  background: linear-gradient(180deg, #07090f 0%, #0a0d18 58%, #0c1120 100%);
  color: #fff;
  text-align: left;
}
/* colour tints live on their own composited layer so scrolling never
   repaints the huge gradient in visible tiles */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 50% -6%, rgba(97, 78, 255, 0.2), transparent 62%),
    radial-gradient(700px 420px at 86% 18%, rgba(34, 211, 170, 0.08), transparent 60%);
  pointer-events: none;
  transform: translateZ(0);
}
.hero-glow {
  position: absolute;
  left: 68%; top: -260px;
  width: 980px; height: 980px;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(circle, rgba(104, 92, 255, 0.2), rgba(79, 125, 255, 0.09) 42%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
}
.hero-title {
  color: #fff;
  margin-bottom: 0.5em;
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
}
.hero-lede {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  color: rgba(255, 255, 255, 0.76);
}

/* soft light pooling behind the preview column */
.hero-demo { position: relative; }
.hero-demo::before {
  content: "";
  position: absolute;
  inset: -14% -18%;
  background: radial-gradient(closest-side, rgba(79, 125, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-height: 176px;
  margin: 0;
  padding: 18px 16px 14px 24px;
  background: rgba(10, 13, 24, 0.72);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 74px -34px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.25s var(--ease);
}
/* gradient edge that warms toward the bottom, like a charged border */
.prompt::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(79, 125, 255, 0.5) 72%, rgba(34, 211, 170, 0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
.prompt:focus-within {
  box-shadow: 0 30px 66px -30px rgba(79, 125, 255, 0.55);
}
.prompt-input {
  flex: 1;
  min-height: 92px;
  max-height: 220px;
  padding: 4px 8px 4px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left;
  resize: none;
  outline: none;
}
.prompt-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.prompt-btn { flex: none; align-self: flex-end; padding: 12px 24px; }
.prompt-btn .ico { width: 17px; height: 17px; }

/* icons flow with the sentence so a two-line wrap keeps them beside the text */
.hero-note {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.hero-note .ico {
  display: inline-block;
  width: 17px; height: 17px;
  margin-right: 7px;
  vertical-align: -4px;
}
.hero-note .ico-info {
  width: 15px; height: 15px;
  margin: 0 0 0 7px;
  vertical-align: -3px;
  opacity: 0.65;
}

/* browser mockup / build demo */

.browser {
  position: relative;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: #0e1730;
  box-shadow: 0 44px 90px -46px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  text-align: left;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.browser-dots { display: inline-flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.browser-url {
  flex: 1;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-badge {
  flex: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 170, 0.16);
  color: var(--mint-200);
  font-size: 0.76rem;
  font-weight: 600;
}
.browser-badge.is-building { background: rgba(79, 125, 255, 0.2); color: var(--brand-300); }

.browser-body { position: relative; padding: 18px; }

.demo-progress {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.demo-progress span {
  display: block;
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--mint-400));
  transition: width 0.5s var(--ease);
}
.browser.is-building .demo-progress { opacity: 1; }

.demo-steps {
  display: none;
  gap: 10px;
  padding: 6px 4px 18px;
}
.browser.is-building .demo-steps,
.browser.is-done .demo-steps { display: grid; }
.demo-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.demo-steps li::before {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  flex: none;
  transition: all 0.2s var(--ease);
}
.demo-steps li.is-running {
  color: #fff;
  border-color: rgba(79, 125, 255, 0.5);
  background: rgba(79, 125, 255, 0.12);
}
.demo-steps li.is-running::before {
  border-color: var(--brand-300);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
.demo-steps li.is-done { color: rgba(255, 255, 255, 0.8); }
.demo-steps li.is-done::before {
  border-color: var(--mint-400);
  background: var(--mint-400);
  box-shadow: inset 0 0 0 2px #0e1730;
}

@keyframes spin { to { transform: rotate(360deg); } }

.demo-site {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #fdfdff;
  overflow: hidden;
}
.demo-site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.demo-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-900);
}
.demo-links { display: flex; gap: 10px; margin-inline: auto; }
.demo-links i { width: 42px; height: 7px; border-radius: 4px; background: var(--surface-3); }
.demo-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
}
.demo-site-hero { position: relative; }
.demo-site-hero img { width: 100%; height: clamp(180px, 26vw, 280px); object-fit: cover; }
.demo-site-copy {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 26px 26px 22px;
  background: linear-gradient(transparent, rgba(6, 10, 22, 0.86));
  color: #fff;
}
.demo-site-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.2;
}
.demo-site-copy span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }
.demo-btn {
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand-500);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
}
.demo-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
.demo-site-cards i { height: 54px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 26px;
  margin-top: clamp(26px, 3vw, 38px);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}
.hero-trust li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 170, 0.16);
}

/* ---------- rating band (rises into the hero) ---------- */

.rating-band {
  position: relative;
  z-index: 5;
  width: min(1240px, 100% - 32px);
  margin: clamp(-64px, -5vw, -46px) auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -20px 44px -32px rgba(0, 0, 0, 0.55);
}
.rating-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  padding: 22px 18px;
}
.rating-lead, .rating-detail { color: var(--slate-600); font-size: 0.95rem; }
.rating-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.stars { display: inline-flex; gap: 4px; }
.stars i {
  width: 20px; height: 20px;
  background: var(--mint-400);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.2 6.6.8-4.9 4.6 1.3 6.5L12 16.9 6.1 20l1.3-6.5L2.5 9l6.6-.8Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.2 6.6.8-4.9 4.6 1.3 6.5L12 16.9 6.1 20l1.3-6.5L2.5 9l6.6-.8Z'/></svg>") center / contain no-repeat;
}
.stars i:last-child { background: linear-gradient(90deg, var(--mint-400) 70%, #d9e0ec 70%); }

/* ---------- section shells ---------- */

.section { padding: clamp(64px, 8vw, 116px) 0; }
.how, .proof, .pricing, .help { background: var(--surface-2); }
.showcase, .build, .owners, .faq { background: var(--surface); }
.platform, .edge { background: var(--ink-900); color: rgba(255, 255, 255, 0.72); }
.platform h2, .platform h3, .edge h2, .edge h3 { color: #fff; }

.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.section-title { margin-bottom: 0.45em; }
.section-lede {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--slate-600);
}
.section-head-light .section-eyebrow { color: var(--brand-300); }
.section-head-light .section-lede { color: rgba(255, 255, 255, 0.66); }
.section-foot { margin: clamp(30px, 4vw, 46px) 0 0; text-align: center; }

/* ---------- cards & grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.28s var(--ease), border-color 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 0.5em; }
.card p { margin: 0; color: var(--slate-600); font-size: 0.96rem; }

.card-accent { position: relative; padding-top: 34px; }
.card-accent::before {
  content: "";
  position: absolute;
  left: 28px; top: 0;
  width: 42px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--mint-400));
}

.card-help { display: grid; gap: 6px; }
.link-fake {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--brand-600);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.card-help:hover .link-fake { color: var(--brand-700); }

.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--slate-600);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a64e8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list-light li { color: rgba(255, 255, 255, 0.72); }
.check-list-light li::before { background-color: rgba(79, 125, 255, 0.24); }

/* ---------- stepper ---------- */

.stepper {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.step-list { display: grid; gap: 10px; }
.step-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.24s var(--ease), transform 0.2s var(--ease);
}
.step-btn:hover { border-color: var(--brand-300); transform: translateX(3px); }
.step-btn.is-active {
  border-color: transparent;
  background: var(--ink-900);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--brand-500);
}
.step-name { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); }
.step-btn.is-active .step-name { color: #fff; }
.step-btn.is-active .step-num { color: var(--mint-400); }

.step-panels {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step-panel { animation: fade-up 0.32s var(--ease) both; }
.step-panel p { color: var(--slate-600); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.how-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
  margin: clamp(30px, 4vw, 48px) 0 0;
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* ---------- showcase carousel ---------- */

.showcase {
  background:
    radial-gradient(1100px 480px at 50% -8%, rgba(79, 125, 255, 0.07), transparent 68%),
    var(--surface);
}

.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 22px;
  padding: 12px 4px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}
.carousel-track::-webkit-scrollbar { display: none; }

.case-card {
  position: relative;
  flex: 0 0 clamp(252px, 24vw, 316px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 23, 48, 0.04), 0 16px 34px -26px rgba(15, 23, 48, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.32s var(--ease), border-color 0.24s var(--ease);
}
.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 125, 255, 0.34);
  box-shadow: 0 2px 4px rgba(15, 23, 48, 0.05), 0 36px 62px -32px rgba(15, 23, 48, 0.42);
}

/* image sits in a browser-style frame */
.case-shot {
  position: relative;
  padding: 30px 12px 12px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #f2f6fd, #fff 70%);
  border-bottom: 1px solid var(--line);
}
.case-chrome {
  position: absolute;
  top: 12px; left: 17px;
  display: flex;
  gap: 5px;
}
.case-chrome i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ccd6ea;
  transition: background-color 0.3s var(--ease);
}
.case-card:hover .case-chrome i:nth-child(1) { background: #ff9f9f; }
.case-card:hover .case-chrome i:nth-child(2) { background: #ffd48a; }
.case-card:hover .case-chrome i:nth-child(3) { background: var(--mint-400); }

/* mini site header over each shot, so cards read as real builds */
.case-ui {
  position: absolute;
  top: 30px; left: 12px; right: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 13px 13px 0 0;
  border-bottom: 1px solid rgba(226, 232, 244, 0.7);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(5px);
}
.case-ui-brand {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.case-ui-links { display: flex; gap: 5px; margin-left: auto; }
.case-ui-links i { width: 11px; height: 3px; border-radius: 2px; background: #d4dcec; }
.case-ui-pill {
  flex: none;
  width: 30px; height: 13px;
  border-radius: var(--radius-pill);
  background: var(--brand-500);
  transition: background-color 0.3s var(--ease);
}
.case-card:hover .case-ui-pill { background: var(--brand-600); }

.case-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 13px;
  transition: transform 0.6s var(--ease);
}
.case-shot::after {
  content: "";
  position: absolute;
  inset: 30px 12px 12px;
  border-radius: 13px;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 14, 30, 0.58));
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.case-card:hover .case-shot img { transform: scale(1.05); }
.case-card:hover .case-shot::after { opacity: 1; }

.case-tag {
  position: absolute;
  left: 24px; bottom: 24px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 16px 20px 20px;
}
.case-body h3 {
  grid-area: 1 / 1;
  margin: 0 0 3px;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}
.case-body p {
  grid-area: 2 / 1;
  margin: 0;
  color: var(--slate-500);
  font-size: 0.86rem;
}
.case-body::after {
  content: "";
  grid-area: 1 / 2 / 3 / 3;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F7DFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M9 7h8v8'/></svg>") center / 15px no-repeat;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), border-color 0.26s var(--ease);
}
.case-card:hover .case-body::after {
  opacity: 1;
  transform: none;
  border-color: rgba(79, 125, 255, 0.4);
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}
.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-900);
  cursor: pointer;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 48, 0.6);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.carousel-btn:hover {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(15, 23, 48, 0.8);
}
.carousel-btn:active { transform: translateY(0); }
.carousel-btn .ico { width: 20px; height: 20px; }
.carousel-btn[disabled] { opacity: 0.32; pointer-events: none; box-shadow: none; }

.carousel-progress {
  position: relative;
  width: clamp(120px, 22vw, 220px);
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.carousel-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--mint-400));
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}

/* ---------- testimonial slider ---------- */

.slider { width: min(900px, 100%); margin-inline: auto; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}
.quote-card {
  flex: 0 0 100%;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.quote-card blockquote {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.quote-author { display: flex; align-items: center; gap: 14px; margin: 0; }
.quote-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote-author figcaption { display: grid; }
.quote-author strong { font-family: var(--font-display); color: var(--ink-900); }
.quote-author span { color: var(--slate-500); font-size: 0.9rem; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--slate-300);
  cursor: pointer;
  transition: width 0.24s var(--ease), background-color 0.24s var(--ease);
}
.slider-dots button.is-active { width: 26px; border-radius: var(--radius-pill); background: var(--brand-500); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(54px, 7vw, 88px);
}
.stats li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.stats span { color: var(--slate-600); font-size: 0.93rem; }

/* ---------- tabs ---------- */

.tab-bar {
  display: inline-flex;
  gap: 6px;
  margin: 0 auto clamp(26px, 3vw, 36px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}
.tabs { display: grid; justify-items: center; }
.tab {
  padding: 11px 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--slate-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tab:hover { color: var(--ink-900); }
.tab.is-active { background: var(--ink-900); color: #fff; box-shadow: var(--shadow-md); }

.tab-panel { width: 100%; animation: fade-up 0.32s var(--ease) both; }
.tab-intro {
  max-width: 620px;
  margin: 0 auto 26px;
  text-align: center;
  color: var(--slate-600);
}

/* ---------- platform features ---------- */

.feature {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.26s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 174, 255, 0.45);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9);
}
.feature-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(79, 125, 255, 0.16);
  color: var(--brand-300);
}
.feature-ico svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin-bottom: 0.45em; }
.feature p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; }

/* ---------- pricing ---------- */

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(26px, 3vw, 38px);
}
.billing-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--slate-500);
  transition: color 0.2s var(--ease);
  cursor: pointer;
}
.billing-label.is-active { color: var(--ink-900); }
.switch {
  position: relative;
  width: 56px; height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.switch[aria-checked="true"] { background: var(--brand-500); border-color: var(--brand-500); }
.switch-knob {
  position: absolute;
  left: 3px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--ink-900);
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease);
}
.switch[aria-checked="true"] .switch-knob { transform: translate(26px, -50%); background: #fff; }
.billing-save {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 170, 0.16);
  color: #0d8f74;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.plan-name { margin-bottom: 0.3em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.plan-desc { color: var(--slate-600); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.plan-amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  line-height: 1;
}
.plan-period { color: var(--slate-500); font-weight: 600; }
.plan-terms { color: var(--slate-500); font-size: 0.9rem; margin-bottom: 22px; }
.plan-note { margin-top: 18px; color: var(--slate-500); font-size: 0.86rem; }

.plan-features {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.plan-features li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: var(--ink-800);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a64e8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-features strong { font-family: var(--font-display); }

/* ---------- edge network ---------- */

.edge-inner {
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.edge-copy .section-eyebrow { color: var(--brand-300); }
.edge-copy .section-lede { color: rgba(255, 255, 255, 0.68); }
.edge-map { position: relative; }
.edge-map img { width: 100%; opacity: 0.9; }

.pops { position: absolute; inset: 0; }
.pop {
  position: absolute;
  width: 14px; height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mint-400);
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(34, 211, 170, 0.22);
}
.pop::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(34, 211, 170, 0.7);
  border-radius: 50%;
  animation: pulse 2.6s var(--ease) infinite;
}
.pop:nth-child(even)::after { animation-delay: 1.1s; }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
.pop-tip {
  position: absolute;
  left: 50%; bottom: calc(100% + 12px);
  transform: translate(-50%, 6px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-900);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.pop:hover, .pop:focus-visible { background: #fff; }
.pop:hover .pop-tip, .pop:focus-visible .pop-tip { opacity: 1; transform: translate(-50%, 0); }

/* ---------- faq ---------- */

.accordion {
  width: min(880px, 100%);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: 1rem; }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px clamp(20px, 3vw, 30px);
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.acc-btn:hover { background: var(--surface-2); color: var(--brand-700); }
.acc-ico {
  position: relative;
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  transition: background-color 0.2s var(--ease), transform 0.24s var(--ease);
}
.acc-ico::before, .acc-ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transform: translate(-50%, -50%);
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-ico { background: var(--brand-500); }
.acc-item.is-open .acc-ico::before,
.acc-item.is-open .acc-ico::after { background: #fff; }
.acc-item.is-open .acc-ico::after { opacity: 0; }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.acc-panel > p {
  overflow: hidden;
  margin: 0;
  padding: 0 clamp(20px, 3vw, 30px);
  color: var(--slate-600);
  opacity: 0;
  transition: opacity 0.24s var(--ease), padding 0.3s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-item.is-open .acc-panel > p { opacity: 1; padding-bottom: 24px; }

/* ---------- final CTA ---------- */

.cta-band {
  padding: clamp(60px, 8vw, 108px) 0;
  background:
    radial-gradient(700px 340px at 20% 20%, rgba(79, 125, 255, 0.34), transparent 62%),
    radial-gradient(600px 320px at 82% 78%, rgba(34, 211, 170, 0.2), transparent 60%),
    linear-gradient(140deg, #0d1428, #0b1020 60%, #101a34);
  color: #fff;
}
.cta-inner { max-width: 720px; margin-inline: auto; text-align: center; }
.cta-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-lede { margin-bottom: 30px; color: rgba(255, 255, 255, 0.72); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.cta-band .section-eyebrow { color: var(--brand-300); }

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(48px, 6vw, 80px) 0 34px;
  background: #070b16;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.93rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand-footer, .brand-footer:hover { color: #fff; }

.socials { display: flex; gap: 8px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.socials a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; }

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  cursor: pointer;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s, background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink-900); color: #fff; }

/* ---------- registration modal ---------- */

body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 14, 0.68);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}
.modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px 30px 30px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-card { opacity: 1; transform: none; }

.modal-x {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-500);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.modal-x:hover { background: var(--surface-3); color: var(--ink-900); }
.modal-x .ico { width: 16px; height: 16px; }

.modal-title { margin-bottom: 6px; font-size: 1.42rem; padding-right: 30px; }
.modal-sub { margin: 0 0 22px; color: var(--slate-600); font-size: 0.95rem; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-900);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(79, 125, 255, 0.16);
}
.modal-submit { width: 100%; margin-top: 6px; }

.modal-done { text-align: center; padding: 8px 0 2px; }
.modal-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--mint-400));
  color: #fff;
}
.modal-check .ico { width: 30px; height: 30px; }
.modal-done .modal-sub { margin-bottom: 24px; }

/* ---------- cookie bar ---------- */

.cookiebar {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 150;
  max-width: 400px;
  padding: 18px 20px;
  background: #0f1830;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cookiebar.is-visible { opacity: 1; transform: none; }
.cookiebar p { margin: 0 0 14px; }
.cookiebar-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---------- reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

body.nav-open { overflow: hidden; }

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