/* AppTheme.iosLight */
:root {
  color-scheme: light;

  --primary: #007AFF;
  --secondary: #5856D6;
  --bg-primary: #F2F2F7;
  --bg-secondary: #E5E5EA;
  --bg-card: #FFFFFF;
  --divider: #C6C6C8;
  --text-primary: #000000;
  --text-secondary: #6C6C70;
  --text-placeholder: #C7C7CC;
  --success: #34C759;
  --warning: #FF9500;
  --error: #FF3B30;

  /* #007AFF is only 3.6:1 on the page background — darker shade for text links */
  --primary-text: #0060C7;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));

  --glass-fill: rgba(255, 255, 255, 0.55);
  --glass-fill-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.8);
  --glass-blur: 20px;
  --glass-shadow: 0 10px 40px -12px rgba(0, 40, 120, 0.18);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-rounded); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--bg-card); color: var(--text-primary); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Aurora (AuroraBackground.swift) ---------- */

.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: var(--bg-primary);
}
.aurora__blob {
  position: absolute; border-radius: 50%;
  will-change: transform;
  animation: drift 9s ease-in-out infinite alternate;
}
.aurora__blob--primary {
  width: min(900px, 120vw); aspect-ratio: 1;
  left: 22%; top: 16%;
  margin: calc(min(900px, 120vw) / -2) 0 0 calc(min(900px, 120vw) / -2);
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.50), rgba(0, 122, 255, 0));
  filter: blur(30px);
  --dx: 16vw; --dy: 14vh;
}
.aurora__blob--secondary {
  width: min(700px, 95vw); aspect-ratio: 1;
  left: 86%; top: 62%;
  margin: calc(min(700px, 95vw) / -2) 0 0 calc(min(700px, 95vw) / -2);
  background: radial-gradient(closest-side, rgba(88, 86, 214, 0.38), rgba(88, 86, 214, 0));
  filter: blur(40px);
  --dx: -16vw; --dy: 16vh;
}
.aurora__blob--tertiary {
  width: min(560px, 80vw); aspect-ratio: 1;
  left: 8%; top: 92%;
  margin: calc(min(560px, 80vw) / -2) 0 0 calc(min(560px, 80vw) / -2);
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.22), rgba(0, 122, 255, 0));
  filter: blur(40px);
  --dx: 12vw; --dy: -10vh;
  animation-duration: 12s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(var(--dx), var(--dy), 0); }
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border-radius: var(--radius);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.92); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border-radius: 16px; border: 1px solid transparent;
  font: 600 1.0625rem/1.2 var(--font);
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 28px -8px rgba(0, 122, 255, 0.6);
}
.btn--primary:hover { box-shadow: 0 14px 34px -8px rgba(0, 122, 255, 0.7); transform: translateY(-1px); }

.btn--glass {
  color: var(--text-primary);
  background: var(--glass-fill-strong);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.btn--glass:hover { background: #fff; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; border-radius: 14px; }

.store-btn { flex-direction: row; text-align: left; }
.store-btn small { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.85; }
.store-btn strong { display: block; font-size: 1.0625rem; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 12px; z-index: 50;
  margin: 12px auto 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: 20px;
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav.is-scrolled { background: var(--glass-fill-strong); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-primary); text-decoration: none;
  font: 700 1.25rem/1 var(--font-rounded); letter-spacing: -0.02em;
}
.logo-mark {
  display: inline-block; width: 30px; height: 30px;
  background: var(--gradient);
  -webkit-mask: url("logo.png") center / contain no-repeat;
  mask: url("logo.png") center / contain no-repeat;
}

.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 12px; color: var(--text-secondary); font-weight: 500; font-size: 0.9375rem;
  text-decoration: none; transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--text-primary); background: rgba(0, 0, 0, 0.05); }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ---------- Sections ---------- */

section { padding: var(--section-y) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary-text);
  background: rgba(0, 122, 255, 0.10);
}

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 1.125rem; color: var(--text-secondary); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */

.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); margin-top: 20px; }
.hero__lead { margin-top: 24px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text-secondary); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none; color: var(--text-secondary); font-size: 0.9375rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--success); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }
}

/* ---------- Phone mockup ---------- */

.device-wrap { position: relative; display: flex; justify-content: center; padding: 24px 0; }

.phone {
  position: relative; width: 300px; max-width: 78vw; aspect-ratio: 300 / 620;
  border-radius: 52px; padding: 11px;
  background: #0b0b0f;
  box-shadow: 0 40px 80px -24px rgba(20, 30, 90, 0.45), inset 0 0 0 2px #2a2a31;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden;
  background: var(--bg-primary);
  display: flex; flex-direction: column;
  font-size: 12px;
}
.phone__screen::before, .phone__screen::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.phone__screen::before {
  width: 280px; height: 280px; left: -90px; top: -80px;
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.45), transparent);
}
.phone__screen::after {
  width: 240px; height: 240px; right: -110px; bottom: 40px;
  background: radial-gradient(closest-side, rgba(88, 86, 214, 0.35), transparent);
}
.phone__island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 92px; height: 26px; border-radius: 20px; background: #000;
}
.phone__status {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; padding: 14px 26px 0; font-weight: 600; font-size: 13px;
}
.phone__body { position: relative; z-index: 2; padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.phone__hello { font: 700 22px/1.1 var(--font-rounded); }
.phone__sub { color: var(--text-secondary); margin-top: 2px; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 8px; border-radius: 16px; }
.week span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 10px; color: var(--text-secondary); font-size: 10px; }
.week b { color: var(--text-primary); font-size: 13px; }
.week .is-active { background: var(--primary); color: rgba(255, 255, 255, 0.85); }
.week .is-active b { color: #fff; }

.slot { display: flex; gap: 10px; align-items: stretch; padding: 10px 12px; border-radius: 16px; }
.slot__time { font-weight: 700; font-size: 12px; min-width: 38px; }
.slot__bar { width: 3px; border-radius: 2px; background: var(--primary); }
.slot--group .slot__bar { background: var(--secondary); }
.slot--cash .slot__bar { background: var(--warning); }
.slot__title { font-weight: 600; font-size: 12.5px; }
.slot__meta { color: var(--text-secondary); font-size: 11px; margin-top: 1px; }

.phone-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.phone__tabbar {
  position: relative; z-index: 2;
  margin: 0 14px 14px; padding: 10px 18px; border-radius: 22px;
  display: flex; justify-content: space-between; color: var(--text-secondary);
}
.phone__tabbar .is-active { color: var(--primary); }
.phone__tabbar .icon { width: 20px; height: 20px; }

.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  font-size: 0.875rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite alternate;
}
.float-card strong { display: block; font-size: 0.9375rem; }
.float-card span { color: var(--text-secondary); }
.float-card__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff;
}
.float-card__icon .icon { width: 20px; height: 20px; }
.float-card--booking { left: max(-8px, calc(50% - 300px)); bottom: 17%; }
.float-card--booking .float-card__icon { background: var(--success); }
.float-card--pay { right: max(-8px, calc(50% - 300px)); top: 14%; animation-delay: -3s; }
.float-card--pay .float-card__icon { background: var(--gradient); }

@keyframes float {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

@media (max-width: 520px) {
  .float-card { display: none; }
}

/* ---------- Roles ---------- */

.roles__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.role__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: var(--gradient);
  box-shadow: 0 10px 24px -8px rgba(88, 86, 214, 0.6);
}
.role--client .role__icon { background: linear-gradient(135deg, var(--secondary), #AF52DE); }
.role h3 { font-size: 1.75rem; }
.role > p { color: var(--text-secondary); font-size: 1.0625rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--primary); margin-top: 1px; }

@media (max-width: 800px) {
  .roles__grid { grid-template-columns: 1fr; }
}

/* ---------- Features (bento) ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 12px; grid-column: span 2; }
.feature--wide { grid-column: span 3; }
.feature--xl { grid-column: span 4; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--text-secondary); }
.feature__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--primary); background: rgba(0, 122, 255, 0.10);
}
.feature__icon--indigo { color: var(--secondary); background: rgba(88, 86, 214, 0.12); }
.feature__icon--green { color: #248A3D; background: rgba(52, 199, 89, 0.14); }
.feature__icon--orange { color: #C93400; background: rgba(255, 149, 0, 0.14); }

.feature__visual { margin-top: auto; padding-top: 12px; }

.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mini-cal span {
  aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-border);
  display: grid; place-items: center; font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary);
}
.mini-cal .is-booked { background: rgba(0, 122, 255, 0.14); color: var(--primary-text); border-color: transparent; }
.mini-cal .is-group { background: rgba(88, 86, 214, 0.16); color: var(--secondary); border-color: transparent; }
.mini-cal .is-off { background: repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 6px, transparent 6px 12px); color: var(--text-placeholder); }

.donut-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut {
  width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--primary) 0 58%, var(--secondary) 58% 85%, var(--warning) 85% 100%);
  -webkit-mask: radial-gradient(circle, transparent 48%, #000 49%);
  mask: radial-gradient(circle, transparent 48%, #000 49%);
}
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend b { margin-left: auto; padding-left: 16px; font-variant-numeric: tabular-nums; }

.pass-card {
  padding: 16px 18px; border-radius: 18px; color: #fff; background: var(--gradient);
  box-shadow: 0 12px 28px -10px rgba(0, 122, 255, 0.55);
}
.pass-card small { opacity: 0.85; }
.pass-card__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.pass-card__row strong { font: 700 1.125rem/1.2 var(--font-rounded); }
.pass-dots { display: flex; gap: 5px; margin-top: 12px; }
.pass-dots i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
.pass-dots i.is-used { background: #fff; }

@media (max-width: 1000px) {
  .feature, .feature--wide { grid-column: span 3; }
  .feature--xl { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .feature, .feature--wide, .feature--xl { grid-column: auto; }
}

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { padding: 32px 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 20px;
  font: 700 1.25rem/1 var(--font-rounded); color: #fff; background: var(--gradient);
}
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 8px; color: var(--text-secondary); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Payments ---------- */

.payments__panel {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg);
}
.payments__panel h2 { font-size: clamp(1.875rem, 4vw, 2.625rem); margin-top: 16px; }
.payments__panel > div > p { margin-top: 16px; color: var(--text-secondary); font-size: 1.0625rem; }
.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.methods li {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-border); font-weight: 600;
}
.methods .icon { color: var(--primary); }
.barion-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 16px;
  background: rgba(52, 199, 89, 0.10); border: 1px solid rgba(52, 199, 89, 0.25);
}
.barion-note .icon { color: #248A3D; margin-top: 2px; }
.barion-note p { color: var(--text-primary); font-size: 0.9375rem; }

/* Official Barion Smart Payment Banner – no borders/shadows/effects, keep aspect ratio, >= 8px clear space */
.barion-banner { margin-top: 16px; padding: 8px; display: flex; justify-content: center; }
.barion-banner img { display: block; width: 100%; max-width: 400px; height: auto; }

@media (max-width: 860px) {
  .payments__panel { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .methods { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 18px 22px; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-secondary); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 22px 20px; color: var(--text-secondary); }

/* ---------- Contact ---------- */

.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.contact-card h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.contact-card h3 .icon { color: var(--primary); }
.contact-card > p { color: var(--text-secondary); }
.contact-mail {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font: 700 clamp(1.0625rem, 2.2vw, 1.375rem)/1.3 var(--font-rounded); word-break: break-all;
}
.company-data { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.company-data dt { color: var(--text-secondary); }
.company-data dd { margin: 0; font-weight: 600; }

@media (max-width: 800px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .company-data { grid-template-columns: 1fr; gap: 2px; }
  .company-data dd { margin-bottom: 10px; }
}

/* Unfilled company data — must be completed before going live */
.todo {
  background: rgba(255, 149, 0, 0.16); color: #8A4B00; border-radius: 6px; padding: 0 6px; font-weight: 600;
}

/* ---------- CTA ---------- */

.cta__panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 7vw, 80px) var(--gutter); border-radius: var(--radius-lg);
  color: #fff; background: var(--gradient);
  box-shadow: 0 30px 60px -24px rgba(0, 80, 200, 0.55);
}
.cta__panel::before, .cta__panel::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta__panel::before { width: 420px; height: 420px; left: -120px; top: -200px; background: radial-gradient(closest-side, rgba(255,255,255,0.35), transparent); }
.cta__panel::after { width: 380px; height: 380px; right: -100px; bottom: -220px; background: radial-gradient(closest-side, rgba(175,82,222,0.55), transparent); }
.cta__panel > * { position: relative; }
.cta__panel h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
.cta__panel p { margin: 16px auto 0; max-width: 560px; font-size: 1.125rem; opacity: 0.92; }
.cta__panel .btn { margin-top: 32px; }
.cta__panel .btn--glass {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.92);
}

/* ---------- Footer ---------- */

.footer { padding: 48px 0 40px; }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-radius: var(--radius);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.footer__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px;
  color: var(--text-secondary); text-decoration: none; font-size: 0.9375rem;
}
.footer__links a:hover { color: var(--text-primary); background: rgba(0, 0, 0, 0.05); }
.footer small { color: var(--text-secondary); font-size: 0.875rem; }

/* ---------- Legal pages ---------- */

.legal { padding: clamp(40px, 6vw, 72px) 0 var(--section-y); }
.legal__card { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.legal .meta { margin-top: 12px; color: var(--text-secondary); font-size: 0.9375rem; }
.legal h2 { font-size: 1.375rem; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.legal h3 { font-size: 1.125rem; margin-top: 24px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-top: 6px; }
.legal li::marker { color: var(--primary); }
.legal .table-wrap { overflow-x: auto; margin-top: 16px; border-radius: 14px; border: 1px solid var(--glass-border); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: rgba(255, 255, 255, 0.6); }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); vertical-align: top; }
.legal th { font-weight: 600; background: rgba(0, 122, 255, 0.06); }
.legal tr:last-child td { border-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; font-weight: 600; text-decoration: none; }

/* ---------- Reveal on scroll (enabled only when JS runs) ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora__blob, .float-card { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary .icon { transition: none; }
}
