/* POWER website: white and legible, with the logo's gradient (#4850fe → #9b14fa → #ff00ff) kept for key elements. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f7f6fc;
  --surface: #ffffff;
  --surface-2: #faf9fe;
  --surface-3: #f2effb;
  --field: #ffffff;
  --line: #e9e5f3;
  --line-strong: #d4cde8;
  --hover-line: #b9aef0;
  --text: #120a2b;   /* the logo's navy: headings and key text */
  --muted: #3f3a57;  /* body text */
  --faint: #645e7d;  /* secondary text, still 6:1 on white */
  --accent: #6a1fd8; /* links, icons, focus */
  --pink: #b5179e;   /* small labels */
  --blue: #4850fe;
  --violet: #9b14fa;
  --magenta: #ff00ff;
  --ok: #087a51;
  --danger: #d01f57;
  --grad: linear-gradient(135deg, #4850fe 0%, #9b14fa 52%, #ff00ff 100%);
  --grad-btn: linear-gradient(135deg, #4850fe 0%, #8a12ee 55%, #c80ec8 100%); /* deep enough for white text */
  --grad-text: linear-gradient(90deg, #4850fe 0%, #9b14fa 50%, #e20ee2 100%);
  --shadow-sm: 0 1px 2px rgba(18, 10, 43, .04), 0 6px 18px -10px rgba(18, 10, 43, .14);
  --shadow-lg: 0 30px 70px -32px rgba(18, 10, 43, .28), 0 2px 6px rgba(18, 10, 43, .04);
  --radius: 20px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(16px, 15.4px + .2vw, 17px)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.i18n-pending body { opacity: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 1.7rem + 3.6vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.03; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 3rem); }
h3 { font-size: 1.1rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons & toggles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  background: transparent; color: var(--text); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 12px 28px -14px rgba(155, 20, 250, .6); }
.btn-primary:hover { box-shadow: 0 18px 40px -16px rgba(155, 20, 250, .7); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--hover-line); }
.btn-light { background: #fff; color: #2a0f66; }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: .9rem; border-radius: 12px; }
.btn-lg { min-height: 56px; font-size: 1.05rem; padding: 0 26px; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--hover-line); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; font-size: .92rem; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(106, 31, 216, .35); text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }

.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--surface-3); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--faint); font-weight: 800; font-size: .8rem; letter-spacing: .04em; min-width: 36px; height: 34px; padding: 0 8px; border-radius: 8px; cursor: pointer; transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(18, 10, 43, .14); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--header-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(18, 10, 43, .3); }
.nav { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { flex: none; display: block; border-radius: 8px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; transition: color .15s, background-color .15s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); background: var(--surface-3); }
.nav-menu-cta { display: none; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .nav-links {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top)); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(18, 10, 43, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 13px 6px; font-size: 1.05rem; color: var(--text); }
  .nav-menu-cta { display: inline-flex; margin-top: 10px; }
  .nav-tools { margin-left: auto; }
  .nav-cta { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 400px) {
  .brand img { height: 34px; }
  .nav-tools { gap: 6px; }
  .seg button { min-width: 30px; padding: 0 6px; }
  /* Three languages, a currency switch and the menu don't fit on a small phone: the currency stays in the footer. */
  .nav-tools .seg-currency { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(28px, 5vw, 64px)) 0 clamp(64px, 8vw, 104px); }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 45% at 8% 0%, rgba(72, 80, 254, .10), transparent 70%),
    radial-gradient(40% 40% at 98% 10%, rgba(255, 0, 255, .07), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 51.96 90'%3E%3Cpath d='M0 15L25.98 0L51.96 15M0 15V45L25.98 60L51.96 45M25.98 60V90' fill='none' stroke='%234850fe' stroke-opacity='.06'/%3E%3C/svg%3E");
  background-size: 52px 90px;
  -webkit-mask-image: radial-gradient(60% 60% at 25% 15%, #000 20%, transparent 70%);
  mask-image: radial-gradient(60% 60% at 25% 15%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero-copy { padding-top: 34px; }
}
@media (max-width: 999px) { .hero-grid.wrap { max-width: 720px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px; background: #f5f2ff; border: 1px solid #e6dffb; color: var(--accent); font-size: .86rem; font-weight: 700; margin-bottom: 22px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(255, 0, 255, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 255, .45); } 70% { box-shadow: 0 0 0 9px rgba(255, 0, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 255, 0); } }
.lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 40em; }
.lead strong { color: var(--text); }
/* On phones the form sits below the fold: two buttons pick a side and jump to it. */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-ctas .btn { flex: 1 1 160px; }
@media (max-width: 480px) { .hero-ctas .btn { flex-basis: 100%; } } /* one clean line each on phones */
@media (min-width: 1000px) { .hero-ctas { display: none; } }
.hero-stats { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-stats li { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--muted); font-size: .88rem; line-height: 1.4; }
.stat-value { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.hero-trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .94rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--ok); width: 18px; height: 18px; }
.social-proof { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.social-proof .icon { color: var(--pink); }
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; gap: 8px; }
  .hero-stats li { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; }
  .stat-value { min-width: 4.2ch; font-size: 1.6rem; }
}

/* ---------- Form card: white, with a thin brand line on top ---------- */
.form-card {
  position: relative; border-radius: 26px; padding: clamp(20px, 3vw, 30px);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-h) + 14px);
}
.form-card::before, .teaser-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad); }
.form-card:focus { outline: none; }
#join-form > * + * { margin-top: 16px; }
.form-title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); }
.form-sub { margin-top: 6px; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field label { display: block; padding: 0; margin-bottom: 8px; font-size: .88rem; font-weight: 700; color: var(--text); }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.role-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 12px; border-radius: 15px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .2s; }
.role-card:hover { border-color: var(--hover-line); }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-card:has(input:checked) { border-color: transparent; background: linear-gradient(#faf7ff, #faf7ff) padding-box, var(--grad) border-box; box-shadow: 0 10px 24px -16px rgba(155, 20, 250, .7); }
.role-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.role-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 10px; background: #f1edff; color: var(--accent); transition: background .15s, color .15s; }
.role-card:has(input:checked) .role-icon { background: var(--grad); color: #fff; }
.role-name { font-weight: 800; font-size: .98rem; line-height: 1.2; color: var(--text); }
.role-sub { font-size: .8rem; line-height: 1.3; color: var(--faint); }
@media (max-width: 360px) {
  .role-grid { grid-template-columns: 1fr; }
  .role-card { flex-direction: row; align-items: center; gap: 10px; }
  .role-icon { margin: 0; }
}

.field { display: flex; flex-direction: column; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 440px) { .field-row { grid-template-columns: 1fr; } }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 13px;
  border: 1px solid var(--line-strong); background: var(--field); color: var(--text);
  font-size: 1rem; font-weight: 500; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #8f89a8; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236a1fd8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field select:invalid, .field select.placeholder { color: #8f89a8; }
.field input:hover, .field select:hover { border-color: var(--hover-line); }
.field input:focus, .field select:focus { outline: none; border-color: #7c4dff; box-shadow: 0 0 0 3px rgba(124, 77, 255, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.optional { font-weight: 600; color: var(--faint); font-size: .8rem; }
.field-hint { margin: -2px 0 10px; color: var(--faint); font-size: .84rem; }
#code-status { margin: 8px 0 0; }
#code-status.ok { color: var(--ok); font-weight: 600; }
#code-status.warn { color: #9a5800; font-weight: 600; }
.field-error { margin-top: 6px; color: var(--danger); font-size: .84rem; font-weight: 600; }
.field-error:empty { display: none; }
.roles .field-error, .chips-field .field-error { margin-top: 8px; }

.role-fields { display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line-strong); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-size: .92rem; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip > span:hover { border-color: var(--hover-line); color: var(--text); }
.chip input:checked + span { background: var(--grad-btn); border-color: transparent; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip .icon { width: 17px; height: 17px; }
.chips-field.invalid .chip > span { border-color: rgba(208, 31, 87, .5); }

.code-block .field { margin-top: 12px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: .88rem; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #7c3aed; cursor: pointer; }
.consent a { color: var(--accent); }
.consent-block.invalid .consent input { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-error { color: var(--danger); font-weight: 700; font-size: .94rem; }
.form-error:empty { display: none; }
.form-note { text-align: center; color: var(--faint); font-size: .84rem; margin-top: 12px !important; }
#submit-btn.loading .icon { animation: nudge .8s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: translateX(4px); } }

/* ---------- Success ---------- */
.success > * + * { margin-top: 16px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #fdf0fc; border: 1px solid #f3c3ef; color: #9d1590; font-size: .84rem; font-weight: 800; letter-spacing: .02em; }
.badge .icon { width: 16px; height: 16px; }
#ok-no:not(:empty)::before, #t-no:not(:empty)::before { content: "·"; margin: 0 6px 0 2px; opacity: .7; }
.success-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.success-title:focus { outline: none; }
.success-lead { color: var(--muted); }
.referral-ok { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; font-size: .94rem; }
.referral-ok .icon { width: 18px; height: 18px; }
.invite-box { padding: 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.invite-label { font-weight: 800; font-size: .95rem; color: var(--text); }
.invite-row { display: flex; gap: 8px; margin-top: 10px; }
.invite-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); font-size: .92rem; font-weight: 600; }
.invite-text { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.invite-qr { display: flex; gap: 16px; align-items: center; margin-top: 16px; }
.qr { flex: none; width: 132px; height: 132px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; }
.invite-qr-side { display: flex; flex-direction: column; gap: 12px; font-size: .88rem; color: var(--muted); }
.invite-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 440px) { .invite-qr { flex-direction: column; align-items: flex-start; } }
.next-docs { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); }
.next-title { font-weight: 800; font-size: .95rem; margin-bottom: 10px; }
.mini-checks { display: grid; gap: 7px; font-size: .88rem; color: var(--muted); }
.mini-checks li, .docs-list li { display: flex; gap: 9px; align-items: flex-start; }
.mini-checks .icon { width: 17px; height: 17px; color: var(--ok); margin-top: 2px; }
.preview-note { padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f5d9a4; color: #7a4b00; font-size: .86rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { margin-bottom: 14px; color: var(--pink); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); max-width: 62ch; }
.section-head.center .section-lead { margin-inline: auto; }
.tile { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #eef0ff, #fbeefe); border: 1px solid #e8e1fb; color: var(--accent); }
.tile .icon { width: 22px; height: 22px; }

.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillar { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar h3 { margin-top: 18px; font-size: 1.2rem; }
.pillar p { margin-top: 8px; color: var(--muted); }

/* ---------- Calculator ---------- */
.math-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .math-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.sliders { margin-top: 32px; display: grid; gap: 22px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.slider-top label { font-weight: 700; color: var(--text); font-size: .96rem; }
.slider-top output { font-weight: 800; font-size: 1.15rem; color: var(--text); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]:focus { outline: none; }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #4850fe, #c80ec8) 0 0 / var(--p) 100% no-repeat, #e9e6f3; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 5px solid #8a12ee; box-shadow: 0 4px 12px rgba(138, 18, 238, .35); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: #e9e6f3; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #4850fe, #c80ec8); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid #8a12ee; box-shadow: 0 4px 12px rgba(138, 18, 238, .35); }
.math-result { padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.bar-block + .bar-block { margin-top: 24px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; color: var(--text); }
.bar-fee { color: var(--faint); font-weight: 700; font-size: .9rem; }
.bar { display: flex; height: 20px; margin: 10px 0; border-radius: 999px; overflow: hidden; background: #efedf6; }
.bar span { display: block; height: 100%; transition: width .35s ease; }
.bar-driver { background: #9e98b8; }
.bar-platform { background: #f0457a; }
.is-power .bar-driver { background: var(--grad); }
.is-power .bar-platform { background: #f6b8f0; }
.bar-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.bar-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.bar-legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.key-driver { background: #9e98b8; }
.key-platform { background: #f0457a; }
.is-power .key-driver { background: var(--grad); }
.is-power .key-platform { background: #f6b8f0; }
.math-total { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.math-big { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }
.math-big .grad { white-space: nowrap; }
.math-year { margin-top: 6px; color: var(--muted); }
.math-year:empty { display: none; }
.math-note { margin-top: 18px; color: var(--faint); font-size: .84rem; line-height: 1.5; }

/* ---------- Split layouts (drivers / riders / invite) ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .split-reverse .split-copy { order: 2; }
  .split-reverse { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
}
.split-copy > .btn { margin-top: 30px; }
.split-visual { position: relative; display: flex; justify-content: center; }
.split-visual::before { content: ""; position: absolute; inset: 10% 5%; z-index: -1; background: radial-gradient(closest-side, rgba(155, 20, 250, .16), transparent); filter: blur(20px); }
.features { margin-top: 32px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature p { margin-top: 5px; color: var(--muted); font-size: .95rem; }

/* Phone mock-ups stay dark: they show the app. */
.phone {
  --text: #f6f2ff; --muted: #c7bde3; --faint: #a69bcb; --line: rgba(196, 170, 255, .14); --ok: #42e3b4; --pink: #ff7bf5;
  position: relative; width: min(300px, 100%); aspect-ratio: 300 / 615; padding: 10px; border-radius: 48px; color: var(--text);
  background: linear-gradient(160deg, #35206a, #140a33 45%, #2c1858);
  box-shadow: 0 50px 90px -45px rgba(18, 10, 43, .7), 0 0 0 1px rgba(18, 10, 43, .1);
}
.phone-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 39px; background: #0d061f; font-size: .78rem; }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px; font-weight: 800; font-size: .72rem; }
.phone-island { width: 86px; height: 24px; border-radius: 999px; background: #000; }
.phone-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.phone-bars i { width: 3px; background: #fff; border-radius: 1px; }
.phone-bars i:nth-child(1) { height: 5px; } .phone-bars i:nth-child(2) { height: 7px; } .phone-bars i:nth-child(3) { height: 10px; }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 10px; }
.online { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(66, 227, 180, .14); color: var(--ok); font-weight: 800; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.app-today { color: var(--muted); }
.app-today b { color: #fff; }
.map { flex: 1; min-height: 0; position: relative; }
.map svg { width: 100%; height: 100%; }
.sheet { position: relative; margin-top: -26px; padding: 16px 16px 18px; border-radius: 24px 24px 0 0; background: #190d39; border-top: 1px solid var(--line); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .7); }
.sheet::before { content: ""; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.sheet-kicker { color: var(--pink); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; }
.rider-row { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); font-weight: 800; color: #fff; flex: none; }
.rider-id { display: flex; flex-direction: column; line-height: 1.2; }
.rating { display: inline-flex; align-items: center; gap: 3px; color: #ffd36b; font-weight: 700; }
.rating .icon, .mc-rating .icon { width: 12px; height: 12px; }
.tier-tag { margin-left: auto; padding: 4px 8px; border-radius: 999px; background: rgba(214, 188, 255, .14); color: #efe4ff; font-weight: 800; font-size: .66rem; white-space: nowrap; }
.sheet-meta { display: flex; align-items: center; gap: 6px; margin-top: 9px; color: var(--muted); }
.sheet-meta .icon { width: 14px; height: 14px; }
.fare { margin: 12px 0 0; display: grid; gap: 6px; }
.fare div { display: flex; justify-content: space-between; gap: 8px; }
.fare dt { color: var(--muted); }
.fare dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fare-discount dd, .fare-discount dt { color: var(--ok); }
.fare-total { padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--line); font-size: .95rem; }
.fare-total dt { color: #fff; font-weight: 800; }
.fare-total dd { font-weight: 800; }
.phone-btn { display: block; margin-top: 12px; padding: 11px; border-radius: 13px; text-align: center; background: var(--grad); font-weight: 800; color: #fff; }
.tier-banner { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 207, 90, .12); color: #ffd979; font-weight: 700; font-size: .72rem; }
.tier-banner .icon { width: 14px; height: 14px; }
.where { margin-top: 10px; display: grid; gap: 6px; }
.where p { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-weight: 600; }
.dot-from, .dot-to { width: 9px; height: 9px; flex: none; }
.dot-from { border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #4850fe; }
.dot-to { border-radius: 2px; background: #ff00ff; }

/* Driver documents */
.docs { margin-top: clamp(48px, 6vw, 72px); padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.docs-head { display: flex; gap: 16px; align-items: flex-start; }
.docs-head p { margin-top: 6px; color: var(--muted); }
.docs-list { margin-top: 22px; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.docs-list li { color: var(--text); font-weight: 600; font-size: .96rem; }
.docs-list .icon { color: var(--ok); margin-top: 2px; }

/* Rider tiers */
.tiers { margin-top: clamp(56px, 7vw, 88px); }
.tiers-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-bottom: 20px; }
.tiers-head h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); max-width: 28ch; }
.tiers-head p { color: var(--muted); }
.tier-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tier { position: relative; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.tier-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.tier-rides { margin-top: 2px; color: var(--faint); font-weight: 600; font-size: .92rem; }
.tier-perk { margin-top: 14px; color: var(--muted); }
.tier-meter { display: block; height: 6px; margin-top: 18px; border-radius: 999px; background: #efedf6; overflow: hidden; }
.tier-meter i { display: block; height: 100%; border-radius: inherit; background: #a39dbd; }
.tier-gold { border-color: #f1d58f; background: #fffaf0; }
.tier-gold .tier-name, .tier-gold .tier-perk strong { color: #946200; }
.tier-gold .tier-meter i { background: linear-gradient(90deg, #f0a92e, #f7cf63); }
.tier-platinum { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.tier-platinum .tier-name { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-platinum .tier-perk strong { color: var(--accent); }
.tier-platinum .tier-meter i { background: var(--grad); }

/* Ride types */
.ride-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
@media (min-width: 980px) { .ride-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ride { display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.ride:hover { border-color: var(--hover-line); transform: translateY(-2px); }
.ride-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 12px 26px -14px rgba(155, 20, 250, .6); }
.ride-icon .icon { width: 26px; height: 26px; }
.ride h3 { margin-top: 18px; font-size: 1.2rem; }
.ride p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.ride-tag { margin-top: auto !important; padding-top: 14px; color: var(--pink) !important; font-weight: 800; }
.ride-lux { grid-column: 1 / -1; border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.lux-list { margin-top: 16px; display: grid; gap: 8px 28px; font-size: .94rem; color: var(--text); }
@media (min-width: 760px) {
  .ride-lux { flex-direction: row; align-items: center; gap: 24px; padding: 26px 28px; }
  .ride-lux h3 { margin-top: 0; }
  .lux-copy { flex: 1; max-width: 44ch; }
  .lux-list { margin: 0 0 0 auto; grid-template-columns: repeat(2, max-content); }
}
.lux-list li { padding-left: 16px; position: relative; }
.lux-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: none; }
.step { position: relative; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); font-weight: 800; color: #fff; box-shadow: 0 10px 22px -10px rgba(155, 20, 250, .7); }
.step h3 { margin-top: 18px; }
.step p { margin-top: 6px; color: var(--muted); font-size: .96rem; }

/* Referrals */
.ref-grid { margin-top: 30px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ref { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ref h3 { display: flex; align-items: center; gap: 10px; }
.ref h3 .icon { color: var(--pink); }
.ref ul { margin-top: 16px; display: grid; gap: 12px; }
.ref li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: .95rem; }
.ref li b { flex: none; min-width: 3.4em; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ref-note { margin-top: 18px; color: var(--faint); font-size: .9rem; }
.member-card { width: min(320px, 100%); padding: 22px; border-radius: 28px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.mc-top { display: flex; justify-content: space-between; align-items: center; }
.mc-top img { height: 30px; width: auto; }
.mc-role { padding: 4px 10px; border-radius: 999px; background: var(--surface-3); color: var(--text); font-weight: 800; font-size: .74rem; }
.mc-qr { margin: 20px auto 0; width: 190px; height: 190px; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.mc-qr svg { width: 100%; height: 100%; }
.mc-info { margin-top: 18px; text-align: center; }
.mc-name { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.mc-rating { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; color: var(--muted); font-size: .88rem; }
.mc-rating .icon { color: #e0a300; }
.mc-code { margin-top: 10px; color: var(--faint); font-size: .82rem; letter-spacing: .04em; }
.mc-code b { color: var(--text); letter-spacing: .12em; }

/* Safety */
.safety-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.safe { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.safe h3 { margin-top: 16px; }
.safe p { margin-top: 6px; color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.06rem; line-height: 1.4; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-a { padding: 0 24px 22px 0; color: var(--muted); }

/* Final call to action: the one big gradient block */
.final { padding: clamp(72px, 9vw, 120px) 0; }
.final-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 64px); border-radius: 32px; text-align: center; background: var(--grad-btn); box-shadow: 0 40px 90px -45px rgba(155, 20, 250, .7); }
.final-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 51.96 90'%3E%3Cpath d='M0 15L25.98 0L51.96 15M0 15V45L25.98 60L51.96 45M25.98 60V90' fill='none' stroke='%23ffffff' stroke-opacity='.18'/%3E%3C/svg%3E");
  background-size: 52px 90px; -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, transparent 30%, #000 90%); mask-image: radial-gradient(60% 80% at 50% 50%, transparent 30%, #000 90%); }
.final-card h2 { color: #fff; max-width: 18ch; margin-inline: auto; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.final-card p { margin: 18px auto 0; max-width: 52ch; color: #fff; font-size: clamp(1.04rem, 1rem + .3vw, 1.2rem); }
.final-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Footer */
.site-footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1.5fr auto; } }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 10px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }
.footer-tools { display: flex; gap: 8px; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--faint); font-size: .86rem; }

/* Sticky call to action on phones */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* Privacy notice */
.modal { width: min(640px, calc(100% - 32px)); max-height: min(84vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 100px -30px rgba(18, 10, 43, .45); }
.modal::backdrop { background: rgba(18, 10, 43, .45); backdrop-filter: blur(3px); }
.modal-inner { display: flex; flex-direction: column; max-height: min(84vh, 760px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.2rem; }
.modal-body { padding: 18px 22px 26px; overflow-y: auto; color: var(--muted); font-size: .96rem; }
.modal-body p + p { margin-top: 12px; }

/* Touch screens: comfortable targets */
@media (pointer: coarse) {
  .seg button { height: 40px; }
  .chip > span { min-height: 44px; }
  .link-btn { padding-block: 6px; }
}
@media (hover: none) {
  .btn:hover, .ride:hover { transform: none; }
}

/* Scroll reveal (only when JavaScript runs) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
