/* Voltidia site. Palette derived from the app icon: teal ring + amber bolt.
   No external fonts or CDNs (GDPR). Theme: auto / light / dark via [data-theme]. */

:root {
  --bg: #ffffff;
  --bg-alt: #eff8f9;
  --surface: #ffffff;
  --surface-2: #f4fafb;
  --line: #d3e3e6;
  --text: #0b1f24;
  --muted: #475f66;
  --brand: #0ab2bc;
  --brand-text: #05707a;
  --btn-bg: #067f8b;
  --btn-fg: #ffffff;
  --btn-bg-hover: #056873;
  --accent: #ffb800;
  --accent-ink: #1b1400;
  --tint: rgba(10, 178, 188, 0.1);
  --focus: #05707a;
  --band-a: #044c55;
  --band-b: #05707a;
  --header-bg: rgba(255, 255, 255, 0.9);
  --shadow: 0 1px 2px rgba(7, 40, 46, 0.06), 0 12px 32px -12px rgba(7, 40, 46, 0.18);
  --ph-a: #f3fbfc;
  --ph-b: #d7eef0;
  --ph-ink: #0b3a41;
  --strap: #2c3a3f;
  --metal-hi: #f4f3f0;
  --metal: #c2bfb9;
  --metal-lo: #7b7873;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #061316;
    --bg-alt: #0a1b1f;
    --surface: #0f2529;
    --surface-2: #132d32;
    --line: #204046;
    --text: #e9f5f6;
    --muted: #a0b8bd;
    --brand: #0ab2bc;
    --brand-text: #52d8e1;
    --btn-bg: #19c3cd;
    --btn-fg: #031417;
    --btn-bg-hover: #3bd3dc;
    --accent: #ffc233;
    --tint: rgba(10, 178, 188, 0.16);
    --focus: #52d8e1;
    --band-a: #052a30;
    --band-b: #05656f;
    --header-bg: rgba(6, 19, 22, 0.88);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    --ph-a: #0f2a2f;
    --ph-b: #08181b;
    --ph-ink: #bfeff3;
    --strap: #3b4d53;
    --metal-hi: #a6a4a0;
    --metal: #5e5c59;
    --metal-lo: #2a2928;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #061316;
  --bg-alt: #0a1b1f;
  --surface: #0f2529;
  --surface-2: #132d32;
  --line: #204046;
  --text: #e9f5f6;
  --muted: #a0b8bd;
  --brand: #0ab2bc;
  --brand-text: #52d8e1;
  --btn-bg: #19c3cd;
  --btn-fg: #031417;
  --btn-bg-hover: #3bd3dc;
  --accent: #ffc233;
  --tint: rgba(10, 178, 188, 0.16);
  --focus: #52d8e1;
  --band-a: #052a30;
  --band-b: #05656f;
  --header-bg: rgba(6, 19, 22, 0.88);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  --ph-a: #0f2a2f;
  --ph-b: #08181b;
  --ph-ink: #bfeff3;
  --strap: #3b4d53;
  --metal-hi: #a6a4a0;
  --metal: #5e5c59;
  --metal-lo: #2a2928;
  color-scheme: dark;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.2rem + 5.2vw, 4.1rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.8vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 920px); }
.wrap--wide { width: min(100% - 32px, 1320px); }
.wrap--prose { width: min(100% - 32px, 760px); }

.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 14px; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 40em; margin-top: 18px; text-wrap: pretty; }
.note { margin-top: 36px; padding: 18px 22px; border-radius: 16px; background: var(--tint); font-weight: 500; text-wrap: pretty; }
.note--warn { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.fineprint { font-size: 0.875rem; color: var(--muted); margin-top: 16px; text-wrap: pretty; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-family: inherit; font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, transform .2s, border-color .2s; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); text-decoration: none; }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); text-decoration: none; }
.btn--light { background: #fff; color: #044c55; }
.btn--light:hover { background: #e8fbfc; text-decoration: none; }
.btn--light-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--light-ghost:hover { background: rgba(255, 255, 255, 0.14); text-decoration: none; }

.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 14px; background: #000; color: #fff; border: 1.5px solid #8a8f93; text-decoration: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 0.6875rem; letter-spacing: 0.02em; opacity: 0.9; }
.store-badge strong { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.store-badge--soon { cursor: default; }
a.store-badge:hover { background: #1a1a1a; text-decoration: none; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid var(--line); --hh: 68px; }
.site-header__bar { display: flex; align-items: center; gap: 12px; height: var(--hh); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.9375rem; }
.nav a:hover, .nav a[aria-current] { background: var(--tint); }
.site-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .site-header__tools { margin-left: 0; }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; border: 0; background: transparent; color: var(--text); border-radius: 12px; cursor: pointer; }
.menu-btn .m-close { display: none; }
.nav-open .menu-btn .m-open { display: none; }
.nav-open .menu-btn .m-close { display: block; }
.theme { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.theme button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.theme button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-size: 0.8125rem; font-weight: 650; text-transform: uppercase; color: var(--text); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.lang a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang a:hover, .lang a[aria-current] { background: var(--tint); }

@media (max-width: 899px) {
  .js .menu-btn { display: grid; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; padding: 8px 16px 16px; }
  .js .nav-open .nav { display: block; }
  .js .nav ul { flex-direction: column; }
  .js .nav a { padding: 14px 12px; font-size: 1.0625rem; }
  .site-header__tools { margin-left: auto; gap: 6px; }
  html:not(.js) .site-header__bar { flex-wrap: wrap; height: auto; padding-block: 10px; }
  html:not(.js) .nav { order: 3; width: 100%; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
}
@media (max-width: 380px) { .brand span { display: none; } }

/* ---- sections ---- */
.section { padding-block: clamp(64px, 11vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(32px, 6vw, 64px); max-width: 46em; }
.section-head h2 { text-wrap: balance; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 7vw, 96px) clamp(56px, 9vw, 112px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 55% at 72% 38%, color-mix(in srgb, var(--brand) 24%, transparent), transparent), radial-gradient(40% 35% at 36% 82%, color-mix(in srgb, var(--accent) 15%, transparent), transparent); transform: translate3d(0, var(--py, 0px), 0); }
.hero__ring { position: absolute; right: -8%; top: 4%; width: min(760px, 110vw); color: var(--brand); opacity: 0.13; transform: translate3d(0, var(--py, 0px), 0); }
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero__brand img { width: 64px; height: 64px; border-radius: 15px; box-shadow: var(--shadow); }
.hero__brand span { display: flex; flex-direction: column; line-height: 1.15; }
.hero__brand strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; }
.hero__brand em { font-style: normal; color: var(--muted); font-weight: 550; font-size: 0.9375rem; }
.hero .eyebrow { margin-bottom: 12px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; }
.chips .icon { color: var(--brand-text); width: 1.1em; height: 1.1em; }
.hero__devices { position: relative; display: grid; grid-template-columns: 1fr 0.556fr; align-items: end; gap: clamp(12px, 4vw, 32px); width: min(100%, 520px); margin-inline: auto; padding-bottom: 8px; }
.hero__phone, .hero__watch { transform: translate3d(0, var(--py, 0px), 0); }
.hero__watch { margin-bottom: 6%; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
}

/* ---- devices ----
   Apple's official bezels are baked into the WebP files (scripts/screenshots/site.py): the image is shown
   as is, with no CSS chrome, shadow, clipping or rotation. Relative scale: Watch width = 0.556 x iPhone
   width (docs/screenshots). */
.phone, .watch { position: relative; width: 100%; container-type: inline-size; }
.phone > img, .watch > img { display: block; width: 100%; height: auto; }
/* Placeholder while a screenshot is missing: a neutral card, never a drawn Apple device. */
.ph { position: relative; display: block; width: 100%; aspect-ratio: 640 / 1306; border-radius: 8cqw; border: 1px dashed var(--line); background: linear-gradient(165deg, var(--ph-a), var(--ph-b)); color: var(--ph-ink); overflow: hidden; }
.ph__ring { position: absolute; left: 50%; top: 28cqw; width: 54cqw; margin-left: -27cqw; color: var(--ph-ink); }
.ph__line { position: absolute; left: 50%; display: block; height: 4.4cqw; border-radius: 99px; background: currentColor; opacity: 0.13; }
.ph__line--l { top: 88cqw; width: 52cqw; margin-left: -26cqw; }
.ph__line--s { top: 97cqw; width: 34cqw; margin-left: -17cqw; opacity: 0.08; }
.ph__cards { position: absolute; left: 7cqw; right: 7cqw; top: 110cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; }
.ph__cards i { display: block; height: 30cqw; border-radius: 6cqw; background: currentColor; opacity: 0.07; }
.ph__label { position: absolute; left: 0; right: 0; bottom: 10cqw; text-align: center; display: flex; flex-direction: column; gap: 1.4cqw; }
.ph__label small { font-size: max(9px, 3.5cqw); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; font-weight: 600; }
.ph__label strong { font-size: max(12px, 5.6cqw); font-weight: 700; }
.ph--watch { aspect-ratio: 400 / 640; }
.ph--watch .ph__ring { top: 50%; width: 66cqw; margin-left: -33cqw; transform: translateY(-58%); }
.ph--watch .ph__label { bottom: 7cqw; }

/* ---- showcase (sticky) ---- */
.showcase { display: block; }
.showcase__steps { list-style: none; }
.step { padding-block: 28px; }
.step__inner { max-width: 34em; }
.step__icon, .card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--brand-text); margin-bottom: 16px; }
.step h3 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { margin-top: 0.2em; padding: 3px; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--tint); color: var(--brand-text); stroke-width: 2.6; }
.step__device { width: min(72%, 270px); margin: 32px auto 8px; }
.showcase__stage { display: none; }
@media (min-width: 960px) {
  .showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 96px); align-items: start; }
  .step { min-height: max(78svh, 520px); display: flex; align-items: center; padding-block: 40px; }
  .step__device { display: none; }
  .js .step { opacity: 0.32; transition: opacity 0.5s; }
  .js .step.is-active { opacity: 1; }
  .showcase__stage { display: block; align-self: stretch; }
  .stage { position: sticky; top: var(--hh, 68px); height: calc(100svh - var(--hh, 68px)); display: grid; place-items: center; align-content: center; gap: 22px; --pw: min(300px, calc((100svh - var(--hh, 68px) - 110px) * 0.46)); }
  .stage__glow { position: absolute; width: calc(var(--pw) * 1.9); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 28%, transparent), transparent); z-index: 0; }
  .stage__phone { position: relative; z-index: 1; width: var(--pw); }
  .screen { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(0.97); transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .screen:first-child { position: relative; }
  .screen.is-active { opacity: 1; transform: none; z-index: 2; }
  .stage__dots { position: relative; z-index: 1; display: flex; gap: 8px; }
  .stage__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width 0.3s, background-color 0.3s; }
  .stage__dots i.is-active { width: 26px; background: var(--brand); }
}

/* ---- cards ---- */
.grid { list-style: none; display: grid; gap: 16px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); text-wrap: pretty; }
.card .card__icon { margin-bottom: 18px; }

.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: 1fr 1fr; } }
.card--shot { display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: linear-gradient(180deg, var(--surface) 55%, var(--surface-2)); }
.card__device { --pw: min(56%, 230px); flex: 1; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 26px; padding-bottom: 28px; }
.card__device .phone { width: var(--pw); }
.card__device--watch { align-items: center; }
.card__device--watch .watch { width: calc(var(--pw) * 0.556); }
/* The three Watch pages side by side, never overlapping; 125 px wide keeps each one
   200 px tall, Apple's minimum onscreen size. */
.card__device--watch .watch-trio { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; width: 100%; }
.card__device--watch .watch-trio .watch { width: clamp(125px, 29%, 180px); }
.card--small { display: block; }

/* ---- iPhone Duo: closed and open, official bezels, same pixel density ----
   Displayed widths keep the real ratio: closed bezel 1574 px / open bezel 3093 px = 0.509. */
.duo-stage { container-type: inline-size; padding: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 48px) clamp(24px, 4vw, 48px); border-radius: 36px; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 105%, color-mix(in srgb, var(--brand) 22%, transparent), transparent), radial-gradient(40% 50% at 12% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.duo { --Wo: min(100%, 640px); display: grid; justify-items: center; gap: 44px; }
.duo__fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.duo__fig--open { width: var(--Wo); }
.duo__fig--closed { width: calc(var(--Wo) * 0.509); }
.duo__fig img { display: block; width: 100%; height: auto; }
.duo__fig figcaption { margin-top: 20px; width: max(100%, 15rem); text-align: center; text-wrap: balance; }
.duo__fig figcaption strong { display: block; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.duo__fig figcaption span { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; text-wrap: pretty; }
.duo__ph { width: 100%; aspect-ratio: 1574 / 2194; border-radius: 6%; border: 1px dashed var(--line); background: var(--surface-2); }
.duo__fig--open .duo__ph { aspect-ratio: 3093 / 2247; }
@media (min-width: 960px) {
  .duo { --Wo: min(640px, calc((100cqw - 56px) / 1.509)); display: flex; justify-content: center; align-items: flex-end; gap: 56px; }
  .duo__fig { justify-content: flex-end; }
  .duo__fig figcaption { min-height: 5.6em; }
}
@media (max-width: 639px) {
  .duo-stage { margin-inline: -16px; padding-inline: 0; border-radius: 0; border-inline: 0; }
  .duo { --Wo: 100%; }
  .duo__fig figcaption { padding-inline: 16px; }
}

/* ---- cars ---- */
.cars { display: grid; gap: 28px; }
.cars h3 { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--brand); font-weight: 650; }
.pills--soft li { border: 1.5px dashed var(--line); font-weight: 550; color: var(--text); background: transparent; }

/* ---- privacy band & cta ---- */
.band { background: linear-gradient(135deg, var(--band-a), var(--band-b)); color: #fff; padding-block: clamp(64px, 10vw, 112px); position: relative; overflow: hidden; }
.band .eyebrow { color: #8fe9f0; }
.band .lead { color: #e3f7f9; }
.band__grid { display: grid; gap: 40px; align-items: center; }
.band h2 { margin-bottom: 4px; }
.band .btn { margin-top: 28px; }
.band__points { list-style: none; display: grid; gap: 12px; }
.band__points li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 550; }
.band__points .card__icon { margin: 0; background: rgba(255, 255, 255, 0.16); color: #fff; flex: none; }
@media (min-width: 900px) { .band__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.band :focus-visible { outline-color: #fff; }

.pricing { display: grid; gap: 16px; }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1.15fr; align-items: stretch; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.plan--full { border: 2px solid var(--brand); position: relative; }
.plan__tag { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plan__tag--accent { background: var(--accent); color: var(--accent-ink); padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 1.75rem; margin-bottom: 4px; }
.plan__note { margin-top: 22px; font-weight: 650; color: var(--brand-text); }

.section--cta { padding-block: clamp(48px, 8vw, 96px); }
.cta { text-align: center; padding: clamp(40px, 7vw, 80px) 24px; border-radius: 36px; background: linear-gradient(135deg, var(--band-a), var(--band-b)); color: #fff; display: grid; justify-items: center; gap: 14px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 420px; aspect-ratio: 1; right: -120px; bottom: -200px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, 0.07); }
.cta img { border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.cta p { color: #e3f7f9; max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 14px; position: relative; z-index: 1; }
.cta :focus-visible { outline-color: #fff; }

/* ---- inner pages ---- */
.page-head { padding-block: clamp(40px, 8vw, 88px) clamp(16px, 3vw, 32px); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.page-head h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.4rem); }
.page-body { padding-block: 24px clamp(56px, 9vw, 112px); }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1em; text-wrap: pretty; }
.prose > section + section { margin-top: 0; }
.prose .ticks { margin-bottom: 1.2em; }
.ticks--prose { gap: 12px; }
.summary { font-size: 1.2rem; font-weight: 550; padding: 22px 26px; border-radius: 20px; background: var(--tint); margin-bottom: 8px; text-wrap: pretty; }
.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.toc a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 550; }
.toc a:hover { border-color: var(--brand); }
.faq-group h2 { font-size: 1.4rem; margin: 2.4em 0 0.8em; }
.faq { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 10px; transition: border-color 0.2s; }
.faq[open] { border-color: var(--brand); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--brand-text); transition: transform 0.25s; }
.faq[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 20px 8px; color: var(--muted); }
.faq__a strong { color: var(--text); }
.faq:target { border-color: var(--brand); }
.callout { margin-top: 56px; padding: 32px; border-radius: 28px; background: var(--tint); display: grid; justify-items: start; gap: 12px; }
.callout h2 { font-size: 1.6rem; margin: 0; }
.callout p { color: var(--muted); margin: 0; }
.callout--mail { margin-top: 8px; margin-bottom: 40px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.callout--mail .card__icon { margin-bottom: 4px; }
.table { margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-2); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
tbody th { font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 639px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table, tbody, tr, th, td { display: block; }
  tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  th, td { padding: 4px 0; border: 0; }
  td::before { content: attr(data-label); display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 6px; }
}
.notfound { padding-block: clamp(72px, 14vw, 160px); text-align: center; }
.notfound__code { font-size: clamp(5rem, 22vw, 11rem); font-weight: 900; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.notfound .lead { margin-inline: auto; }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ---- footer ---- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: 56px 40px; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand p { color: var(--muted); margin-top: 8px; }
.site-footer h2 { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer nav a { color: var(--text); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer nav a:hover { color: var(--brand-text); text-decoration: underline; }
.site-footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.site-footer__legal { margin-top: 10px; color: var(--muted); font-size: 0.75rem; line-height: 1.5; max-width: 60em; margin-inline: auto; text-wrap: pretty; }
.site-footer__small { color: var(--muted); font-size: 0.8125rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .site-footer__brand { grid-column: auto; } }

/* ---- motion ---- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.js .reveal--scale { transform: translateY(36px) scale(0.95); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-off .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .screen, .js .step, .stage__dots i, .btn, .btn .icon, .faq summary svg { transition: none !important; }
  .screen { transform: none !important; }
  .hero__glow, .hero__ring, .hero__phone, .hero__watch { transform: none !important; }
}
@media print { .site-header, .theme, .menu-btn { display: none; } }
