/* GENERATED by site/build.mjs from site/_src/design/ — edit those, not this. */

/* Sidstuga design tokens — single source for every generated page.
   Palette matches the app (PremiumPurple on near-black); type and
   spacing scales replace the ad-hoc inline styles of the old pages. */

:root {
  color-scheme: dark;

  /* ── Colour ─────────────────────────────────────────── */
  --brand: #9138f5;
  --brand-2: #c88cff;
  --brand-soft: #1b0f2c;
  --brand-deep: #5a12b7;

  --bg: #050507;
  --surface: #0d0d12;
  --surface-2: #15141b;
  --line: #282631;
  --line-2: #454052;
  --text: #f8f7fb;
  --text-2: #b4b0bf;
  --text-3: #898592;
  --btn-fg: #ffffff;
  --code-bg: #221d33;
  --ok: #6fcf97;
  --err: #ff8a8a;
  --warn: #e2a13a;
  --info: #7fa8e8;

  /* Card "quieto" — dado numérico/estrutural passivo (KPI, leitura), sem
     borda vincada nem sombra externa. Promovido de admin.css/cloudsync.css,
     que o tinham como duas cópias escritas à mão em momentos diferentes
     (--ad-quiet-* / --mg-card-quiet-*, valores quase idênticos — a `line`
     divergia em 0.005 de opacidade). Os dois ficheiros passam a apontar
     para aqui como alias; ver ai/AUDITORIA_WEB_DESIGN_RONDA4_2026-09-02.md
     §4 item 1-bis. */
  --card-quiet-bg: rgba(255, 255, 255, .035);
  --card-quiet-line: rgba(255, 255, 255, .07);
  --card-quiet-radius: 10px;

  /* Anel de foco — promovido de cloudsync.css (--mg-focus-ring), o mais
     recente e deliberado dos três tratamentos que coexistiam (site público:
     outline simples; admin: outline simples com 5 overrides locais
     redundantes; cloudsync: duas camadas por box-shadow, só dentro do seu
     próprio escopo). Ver ai/AUDITORIA_WEB_DESIGN_RONDA4_2026-09-02.md §2.5
     e §4 item 2. */
  --focus-ring: 0 0 0 2px var(--brand-2), 0 0 0 5px rgba(143, 114, 230, .30);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
  /* Reserved for the primary CTA only — content surfaces stay matte. */
  --glow: 0 0 0 1px rgba(162, 68, 255, .45), 0 14px 44px rgba(111, 24, 206, .38);

  /* ── Type scale (fluid, 6 steps, one family) ────────── */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, monospace;
  /* Curva de easing única do site — promovida de admin.css (--ad-ease) e
     cloudsync.css (--mg-ease), espelhadas byte a byte entre si desde a 3ª
     ronda de design. Os dois ficheiros passam a apontar para aqui. */
  --ease: cubic-bezier(.22, .7, .3, 1);
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1.3vw, 2.1rem);
  --fs-2xl: clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem);

  /* ── Spacing (4 px scale) ───────────────────────────── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* ── Layout ─────────────────────────────────────────── */
  --max: 1200px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
}

/* Base — reset, typography, accessibility. Logical properties throughout
   so the Arabic (RTL) pages mirror without per-locale overrides. */

/* Real Inter Variable, self-hosted (font-src 'self', no CSP change needed).
   Ronda 4 (2026-09-02): this is now the ONLY @font-face on the site —
   admin.css and cloudsync.css used to each declare their own byte-identical
   copy (as "Inter Variable") and are now inheriting this one instead, see
   ai/AUDITORIA_WEB_DESIGN_RONDA4_2026-09-02.md §4 item 1. "Inter" comes
   FIRST in --font (tokens.css) on purpose: the old order put -apple-system/
   BlinkMacSystemFont ahead of it, so macOS/iOS never reached it — the
   platform resolves to a real font first. Arabic has no Inter glyphs and
   falls through the same stack to Segoe UI/Roboto/Arial — expected, not a
   bug. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-block-start: 80px; }

body {
  font-family: var(--font);
  font-size: var(--fs-md);
  /* cv05/cv11/ss01 — os mesmos character-variants que admin.css e
     cloudsync.css já ligavam localmente (o ficheiro Inter Variable sozinho
     não os liga; são opt-in por CSS). Sobem para aqui para as 88 páginas
     geradas desenharem as mesmas letras que os dois painéis. */
  font-feature-settings: "cv05", "cv11", "ss01";
  background:
    radial-gradient(ellipse 70% 38% at 72% 4%, rgba(110, 34, 196, .16), transparent 68%),
    linear-gradient(180deg, #050507 0%, #07070a 52%, #050507 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft ambient wash behind the hero — fixed, never touches layout. */
body::before {
  content: "";
  position: fixed;
  top: -280px;
  left: 50%;
  width: min(1100px, 120vw);
  height: 820px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 52% 50% at 62% 26%, rgba(145, 56, 245, .13), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 48%);
  pointer-events: none;
  z-index: 0;
}
header, main, footer { position: relative; z-index: 1; }

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

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--text); letter-spacing: -.02em; }
h1 { font-size: var(--fs-2xl); font-weight: 800; }
h2 { font-size: var(--fs-xl); font-weight: 800; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
h4 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
p { margin: 0 0 1em; }

code {
  background: var(--code-bg);
  color: var(--brand-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .92em;
  font-family: var(--font-mono);
}

/* ── Accessibility ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -48px;
  background: var(--brand);
  color: var(--btn-fg);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 100;
  transition: top .15s;
}
.skip-link:focus { top: 8px; text-decoration: none; }

/* outline fica transparente por omissão: box-shadow desaparece por completo
   em Windows High Contrast / forced-colors (o browser ignora-o nesse modo),
   mas o outline sobrevive — forced-colors substitui "transparent" por uma
   cor de sistema visível. Duas-camadas promovidas de cloudsync.css
   (--mg-focus-ring → --focus-ring, tokens.css) — era o mais recente e
   deliberado dos três tratamentos que existiam em paralelo, ver
   ai/AUDITORIA_WEB_DESIGN_RONDA4_2026-09-02.md §2.5/§4 item 2. */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

/* ── Motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Wide content scrolls in its own container, never the page. */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Components — one calm system: Button, Card, Section, Disclosure,
   MediaFrame, PriceCard, Badge, forms, table, header/footer, lightbox. */

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 6, 12, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 141px; height: 35px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-inline-start: auto;
}
.site-nav > a {
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}
.site-nav > a:hover { color: var(--text); text-decoration: none; }
.site-nav > a.nav-apple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-2);
}
.nav-apple-mark {
  display: block;
  width: 14px;
  height: 16px;
  flex: 0 0 auto;
}
.nav-apple small {
  padding: 2px 6px;
  border: 1px solid rgba(183, 155, 255, .45);
  border-radius: 999px;
  color: var(--brand-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}

/* Language picker — native <details>. */
.lang { position: relative; }
.lang > summary {
  list-style: none;
  cursor: pointer;
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { color: var(--text); }
.lang > ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: var(--sp-2);
  list-style: none;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  min-width: 170px;
  z-index: 60;
}
.lang > ul a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.lang > ul a:hover, .lang > ul a[aria-current] { background: var(--brand-soft); color: var(--text); text-decoration: none; }

/* Mobile menu — native <details>, no JS required to open/close.
   menu.js adds Esc + outside-click closing on top. */
.menu { display: none; position: relative; }
.menu > summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: var(--sp-3);
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  z-index: 60;
}
.menu-panel a {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.menu-panel a:hover { background: var(--brand-soft); color: var(--text); text-decoration: none; }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-2) 0; }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .menu { display: block; margin-inline-start: auto; }
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--btn-fg); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--brand-2); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-2); }
.btn-text { background: none; color: var(--brand-2); padding: 12px var(--sp-2); }
.btn-sm { padding: 8px 16px; font-size: var(--fs-xs); box-shadow: none; }
.btn-lg { padding: 14px 30px; font-size: var(--fs-md); }
.btn[disabled] { opacity: .55; cursor: default; }
/* `:focus-visible` global rule (base.css) sets `box-shadow: var(--focus-ring)`
   at (0,1,0) specificity — the SAME as `.btn-primary`'s glow and `.btn-sm`'s
   `box-shadow: none` (both here, and both re-declared again further down in
   the "Premium conversion system" block) — all declared AFTER base.css in
   the app.css concatenation, so they silently won the cascade and the focus
   ring never painted on the buttons people click first. `.btn:focus-visible`
   is (0,2,0): beats every `.btn-*` variant regardless of which one is active
   or how many times it's redeclared later in the file. Trades the resting
   glow for the ring while focused — a plain, visible ring beats guessing
   which of the two competing glow values is "the real one" to combine with it. */
.btn:focus-visible { box-shadow: var(--focus-ring); }

/* ── Sections ──────────────────────────────────────────── */
.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--sp-8) var(--sp-4);
}
.section-tight { padding-block: var(--sp-7); }
.kicker {
  color: var(--brand-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-2);
}
.section-lead { color: var(--text-2); max-width: 640px; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding-block: var(--sp-8) var(--sp-7); text-align: center; }
.hero h1 { max-width: 820px; margin-inline: auto; }
.hero h1 .ink { color: var(--brand-2); }
.hero .lead {
  font-size: var(--fs-lg);
  color: var(--text-2);
  max-width: 640px;
  margin: var(--sp-4) auto var(--sp-5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.micro { font-size: var(--fs-xs); color: var(--text-3); margin: 0 0 var(--sp-1); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-5);
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
}
.trust-strip li {
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.trust-strip li::before {
  content: "✓";
  color: var(--ok);
  margin-inline-end: var(--sp-2);
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--sp-5);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-2); font-size: var(--fs-sm); margin: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.card .ico {
  width: 26px;
  height: 26px;
  color: var(--brand-2);
  margin-bottom: var(--sp-3);
}

/* ── Badge — ONE style, used sparingly ─────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .03em;
}

/* ── Disclosure (native <details>) ─────────────────────── */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin-top: var(--sp-4);
}
.disclosure > summary {
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  color: var(--text);
  list-style-position: inside;
}
.disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.disclosure-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }

.feature-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--sp-5);
}
.feature-groups h4 { margin: 0 0 var(--sp-2); }
.feature-groups ul { margin: 0; padding: 0; list-style: none; }
.feature-groups li {
  color: var(--text-2);
  font-size: var(--fs-sm);
  padding: var(--sp-1) 0;
  padding-inline-start: var(--sp-4);
  position: relative;
}
.feature-groups li::before {
  content: "·";
  position: absolute;
  inset-inline-start: 0;
  color: var(--brand-2);
  font-weight: 700;
}

/* FAQ reuses the same native pattern, one entry per <details>. */
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin-top: var(--sp-2);
}
.faq-list summary {
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  list-style-position: inside;
}
.faq-list details > p {
  margin: 0;
  padding: 0 var(--sp-5) var(--sp-4);
  color: var(--text-2);
  font-size: var(--fs-sm);
}

/* ── MediaFrame ────────────────────────────────────────── */
.media-frame {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.media-frame img, .media-frame video { width: 100%; }
.media-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}
/* Same box-shadow-vs-:focus-visible collision as .btn — this <button> also
   carries .media-frame, whose unconditional box-shadow (line above) is the
   same (0,1,0) specificity as the global ring and comes later in the file,
   so it silently won. (0,2,0) beats it regardless of source order. */
.media-button:focus-visible { box-shadow: var(--focus-ring); }
.hero-shot { max-width: 920px; margin: var(--sp-6) auto 0; }

.shots-row {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.shots-row.wide { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.screens-video { margin-top: var(--sp-5); }
.shots-row.tall { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.shots-row figure { margin: 0; }
.shots-row figcaption {
  font-size: var(--fs-xs);
  color: var(--text-3);
  text-align: center;
  padding-top: var(--sp-2);
}
.privacy-card { padding: var(--sp-6); }
.cta-actions { margin-top: var(--sp-5); }
.platform-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: var(--sp-6) 0 0;
}

/* ── PriceCard ─────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  align-items: start;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.price-card.featured { border-color: var(--brand); }
.price-card .price {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.price-card .price small { font-size: .38em; font-weight: 600; color: var(--text-2); }
.price-card .price-alt { color: var(--text-2); font-size: var(--fs-sm); margin: 0; }
.price-card > ul { margin: var(--sp-2) 0; padding: 0; list-style: none; flex: 1; }
.price-card > ul > li {
  color: var(--text-2);
  font-size: var(--fs-sm);
  padding: var(--sp-1) 0;
  padding-inline-start: var(--sp-5);
  position: relative;
}
.price-card > ul > li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--ok);
  font-weight: 700;
}
.price-router-section { padding-top: var(--sp-2); }
.price-router-section > h2 { text-align: center; }
.price-router {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.price-router > a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-1) var(--sp-3);
  align-items: center;
  min-height: 104px;
  padding: var(--sp-4);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.price-router > a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.price-router > a > span {
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  color: var(--brand-2);
  background: var(--brand-soft);
  border: 1px solid var(--line-brand);
  border-radius: 10px;
}
.price-router strong { font-size: var(--fs-sm); }
.price-router small { color: var(--text-2); line-height: 1.45; }

@media (max-width: 900px) {
  .price-router { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .price-router { grid-template-columns: 1fr; }
}

/* ── Install cards ────────────────────────────────────── */
.install-entry-hero {
  position: relative;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  padding-top: clamp(62px, 8vw, 96px);
  padding-bottom: clamp(42px, 6vw, 72px);
}
.install-entry-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -12%;
  top: 2%;
  width: 58%;
  height: 90%;
  background: radial-gradient(ellipse, rgba(121, 37, 222, .18), transparent 68%);
  pointer-events: none;
}
.install-entry-copy h1 { max-width: 760px; margin: 12px 0 20px; font-size: clamp(2.8rem, 5.4vw, 5rem); letter-spacing: -.045em; }
.install-entry-copy .lead { max-width: 700px; margin: 0; }
.install-entry-copy .hero-actions { margin-top: var(--sp-5); }
.install-entry-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
}
.install-entry-trust li { color: var(--text-2); font-size: .84rem; }
.install-entry-trust li::before { content: "✓"; margin-inline-end: 7px; color: var(--brand-2); font-weight: 900; }
.install-entry-proof {
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(174, 80, 255, .42);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(40, 17, 69, .88), rgba(10, 9, 15, .94) 58%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35), 0 0 48px rgba(126, 38, 224, .14);
}
.install-brand-lockup { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.install-brand-lockup img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 12px 28px rgba(0, 0, 0, .34); }
.install-brand-lockup strong { display: block; font-size: 1.28rem; letter-spacing: .04em; }
.install-brand-lockup span { display: block; margin-top: 5px; color: var(--text-2); font-size: .78rem; }
.install-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.install-offer-grid > div { min-width: 0; padding: 15px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 11px; background: rgba(5, 5, 9, .46); }
.install-offer-grid small, .install-offer-grid span { display: block; color: var(--text-2); font-size: .7rem; line-height: 1.4; }
.install-offer-grid strong { display: block; margin: 6px 0; color: #fff; font-size: 1.15rem; }
.install-entry-proof > p { margin: 17px 0 0; color: var(--brand-2); font-size: .77rem; text-align: center; }
.device-picker { text-align: center; padding-top: var(--sp-4); }
.device-picker .section-lead { margin-inline: auto; }
.device-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  text-align: start;
}
.device-choice {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-height: 280px;
  padding: var(--sp-5);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text);
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.device-choice:hover,
.device-choice.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
  transform: translateY(-2px);
}
.device-choice strong { font-size: var(--fs-lg); }
.device-choice > span:not(.device-visual) { color: var(--text-2); font-size: var(--fs-sm); flex: 1; }
.device-choice > b { color: var(--brand-2); font-size: var(--fs-sm); }
.device-choice .device-visual { width: 100%; height: 116px; flex: 0 0 116px; margin: -8px 0 7px; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-top: 0;
  align-items: stretch;
}
.install-hero { padding-bottom: var(--sp-5); }
.install-hero .lead { margin-bottom: 0; }
.install-overview { padding-top: var(--sp-3); }
.install-card { height: 100%; }
.install-card.selected {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border-color: var(--brand);
  box-shadow: var(--glow);
}
/* `.price-card` e uma coluna flex: sem isto o badge esticava a largura toda. */
.price-card .badge { align-self: flex-start; }
.install-card h2 { margin-bottom: 0; }
.install-card > p { color: var(--text-2); font-size: var(--fs-sm); }
.install-card .install-devices {
  color: var(--text);
  font-weight: 700;
  margin: 0;
}
.install-card .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: auto;
}
.show-all-builds { text-align: center; margin: var(--sp-4) 0 0; }
.install-guide {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.install-guide summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}
.install-guide ol {
  margin: var(--sp-3) 0 0;
  padding-inline-start: 1.6rem;
  list-style: decimal;
}
.price-card .install-guide ol > li {
  position: static;
  padding: var(--sp-2) 0;
  padding-inline-start: var(--sp-1);
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.price-card .install-guide ol > li::before {
  content: none !important;
  display: none !important;
}
.install-guide ol > li::marker {
  color: var(--brand-2);
  font-weight: 800;
}
.activation-section { text-align: center; }
.activation-section .section-lead { margin-inline: auto; }
.downloader-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.downloader-code span {
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.downloader-code strong {
  color: var(--brand-2);
  font-size: var(--fs-xl);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  user-select: all;
}
.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}
.install-steps li {
  counter-increment: install-step;
  position: relative;
  padding-top: var(--sp-7);
}
.install-steps li::before {
  content: counter(install-step);
  position: absolute;
  top: var(--sp-4);
  inset-inline-start: var(--sp-5);
  color: var(--brand-2);
  font-size: var(--fs-lg);
  font-weight: 800;
}
.install-warning,
.update-note { margin-top: var(--sp-5); }

@media (max-width: 420px) {
  .install-grid { grid-template-columns: 1fr; }
  .downloader-code { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .install-entry-hero { grid-template-columns: 1fr; padding-top: 44px; text-align: center; }
  .install-entry-hero::before { inset-inline: 0; width: 100%; }
  .install-entry-copy h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .install-entry-copy .lead { margin-inline: auto; }
  .install-entry-trust { justify-content: center; }
  .install-entry-copy .hero-actions { display: grid; grid-template-columns: 1fr; }
  .install-entry-proof { display: none; }
  .device-choice-grid { grid-template-columns: 1fr; }
  .device-choice { min-height: 260px; }
}

.purchase-steps {
  display: grid;
  gap: var(--sp-2);
  margin: var(--sp-2) 0;
}
.purchase-steps p {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-sm);
}
.purchase-steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-weight: 800;
}

/* ── Setup guides ─────────────────────────────────────── */
.setup-hero {
  max-width: 860px;
  padding-bottom: var(--sp-5);
  text-align: center;
}
.setup-hero h1 { max-width: 760px; margin-inline: auto; }
.setup-hero .lead {
  max-width: 680px;
  margin: var(--sp-4) auto;
  color: var(--text-2);
  font-size: var(--fs-lg);
}
.setup-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.setup-meta span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.setup-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.6fr);
  gap: var(--sp-6);
  align-items: start;
}
.setup-summary {
  position: sticky;
  top: 88px;
  padding: var(--sp-5);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.setup-summary h2 { font-size: var(--fs-lg); }
.setup-summary ul,
.setup-help ul {
  margin: var(--sp-4) 0;
  padding-inline-start: var(--sp-5);
  color: var(--text-2);
}
.setup-summary li,
.setup-help li {
  padding: var(--sp-1) 0;
  line-height: 1.6;
}
.setup-main > h2 { margin-bottom: var(--sp-5); }
.setup-steps { display: grid; gap: var(--sp-4); }
.setup-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.setup-step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-weight: 900;
}
.setup-step h3 { margin: 2px 0 var(--sp-2); }
.setup-step p { margin: 0; color: var(--text-2); line-height: 1.65; }
.setup-help {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid rgba(111, 207, 151, .32);
  border-radius: var(--r);
  background: rgba(111, 207, 151, .06);
}
.setup-help h2 { font-size: var(--fs-lg); }
.setup-help ul { margin-bottom: 0; }
.setup-why { margin: var(--sp-4) 0 0; padding: 0; list-style: none; max-width: 760px; margin-inline: auto; }
.setup-why li {
  color: var(--text-2);
  font-size: var(--fs-md);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  position: relative;
  line-height: 1.6;
}
.setup-why li::before { content: "·"; position: absolute; inset-inline-start: var(--sp-1); color: var(--brand-2); font-weight: 700; }
.setup-why strong { color: var(--text); }
.setup-next {
  max-width: 760px;
  border-top: 1px solid var(--line);
}
.setup-next .card-grid { max-width: none; margin-top: var(--sp-5); text-align: start; }

@media (max-width: 760px) {
  .setup-layout { grid-template-columns: 1fr; }
  .setup-summary { position: static; }
  .setup-step { grid-template-columns: 38px minmax(0, 1fr); padding: var(--sp-4); }
  .setup-step-number { width: 36px; height: 36px; }
}

.mobile-install-bar { display: none; }
@media (max-width: 720px) {
  .mobile-install-bar {
    position: fixed;
    z-index: 45;
    inset-inline: var(--sp-3);
    bottom: var(--sp-3);
    display: flex;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--brand);
    color: var(--btn-fg);
    font-weight: 800;
    box-shadow: var(--shadow-md), var(--glow);
    text-decoration: none;
  }
  .mobile-install-bar:hover { color: var(--btn-fg); text-decoration: none; }
  /* Same box-shadow-vs-:focus-visible collision as .btn (see the comment by
     .btn:focus-visible above) — this link isn't a .btn, so it needs its own. */
  .mobile-install-bar:focus-visible { box-shadow: var(--focus-ring); }
  .site-footer { padding-bottom: 72px; }
}

/* ── Forms ─────────────────────────────────────────────── */
.form-stack { display: flex; flex-direction: column; gap: var(--sp-3); margin: var(--sp-3) 0 0; }
.form-stack input[type="email"],
.form-stack input[type="text"],
.form-stack input[type="password"] {
  font: inherit;
  font-size: var(--fs-sm);
  padding: 13px var(--sp-4);
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  width: 100%;
}
.form-stack input[type="email"]:focus-visible,
.form-stack input[type="text"]:focus-visible,
.form-stack input[type="password"]:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 0; border-color: var(--brand); }
.form-check {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: var(--text-2);
  text-align: start;
}
.form-check input { margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }
.form-msg { font-size: var(--fs-sm); margin: var(--sp-2) 0 0; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-note { font-size: var(--fs-xs); color: var(--text-3); margin: var(--sp-2) 0 0; }

/* ── Table ─────────────────────────────────────────────── */
/* overflow-x, not the page: table.compat has a min-width, so on a narrow
   phone the SCROLLBAR must live inside this wrapper, never on <body>. */
.table-wrap { margin-top: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
table.compat { width: 100%; border-collapse: collapse; min-width: 480px; }
table.compat th, table.compat td {
  text-align: start;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
table.compat th { color: var(--text-3); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; }
table.compat td { color: var(--text-2); }
table.compat tr:last-child td { border-bottom: 0; }
table.compat td strong { color: var(--text); }

/* ── Community / links row ─────────────────────────────── */
.link-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.link-pill:hover { border-color: var(--brand); color: var(--text); text-decoration: none; }
.link-pill svg { width: 16px; height: 16px; }

/* ── Notice (Apple teaser / info strips) ───────────────── */
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: var(--sp-4) var(--sp-5);
}
.notice p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); flex: 1 1 320px; }

/* ── Device sections (Apple page) ──────────────────────── */
.device-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.device-card h3 { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.device-card h3 small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; }
.notify-card { max-width: 520px; margin-inline: auto; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: var(--sp-8); }
.footer-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--sp-7) var(--sp-4) var(--sp-5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-6) var(--sp-5);
}
.footer-grid h3 { margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.footer-grid h3:not(:first-child) { margin-top: var(--sp-4); }
.footer-grid a {
  display: block;
  color: var(--text-2);
  font-size: var(--fs-sm);
  padding: var(--sp-1) 0;
}
.footer-grid a:hover { color: var(--text); }
.footer-tag { color: var(--text-3); font-size: var(--fs-sm); margin-top: var(--sp-3); }
.footer-bottom {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--sp-4) var(--sp-6);
  color: var(--text-3);
  font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0 0 var(--sp-1); }

/* ── Lightbox (lb.js) ──────────────────────────────────── */
#lb {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 10, .92);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
#lb.open { opacity: 1; pointer-events: auto; visibility: visible; }
#lb-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .85);
  object-fit: contain;
}
#lb-close {
  position: fixed;
  top: 18px;
  inset-inline-end: 22px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .75;
}
#lb-close:hover { opacity: 1; background: rgba(255, 255, 255, .18); }

/* ── Premium conversion system (2026-08 redesign) ───────────────────── */
.site-header {
  background: rgba(5, 5, 8, .82);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .24);
}
.site-header-inner { min-height: 72px; }
.brand {
  gap: 9px;
  color: var(--text);
  font-size: .96rem;
  font-weight: 850;
  letter-spacing: .035em;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand .brand-mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 9px;
  filter: drop-shadow(0 0 12px rgba(154, 63, 255, .42));
}
.site-nav { gap: clamp(14px, 2.2vw, 30px); }
.site-nav > a { font-size: .88rem; font-weight: 650; }
.site-nav > .btn { color: #fff; padding: 10px 19px; }

.btn {
  min-height: 46px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, .18);
  font-weight: 760;
  letter-spacing: -.01em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  /* ⚠️ **MEDIDO, NAO ESCOLHIDO A OLHO.** Branco sobre o antigo #a447ff dava
     4,27:1 e este botao e' 700/15px — o limiar da norma e' 4,5:1. Reprovava AA,
     e era o botao mais importante do site. O #9138f5 (o `--brand`) da' 5,14:1;
     o fim do gradiente, #6d18d4, ja dava 7,69:1 e fica. */
  background: linear-gradient(135deg, #9138f5 0%, #6d18d4 100%);
  color: #fff;
  border-color: rgba(196, 132, 255, .48);
  box-shadow: 0 0 0 1px rgba(176, 85, 255, .18), 0 14px 34px rgba(100, 20, 190, .32);
}
.btn-primary:hover {
  /* ⚠️ **O HOVER PASSOU A COMECAR NO #a447ff — QUE E' EXACTAMENTE A COR QUE O
     BLOCO ACIMA DECLARA COMO REPROVADA (4,27:1).** «Comeca onde o repouso
     comecava» era verdade e era o erro: o repouso comecava ali porque estava
     mal. A correccao apanhou o repouso e deixou o hover a herdar o defeito.

     Medido, nao escolhido a olho, contra branco:
       #9840f6 = 4,77:1   ·   #8226ee = 6,07:1
     Os dois passam o 4,5:1 que 15px/700 exige. E continua a LER-SE como hover:
     o brilho vem de o fim do gradiente subir de #6d18d4 para #8226ee, nao de
     clarear o inicio ate' ao ponto onde o texto deixa de se ver. */
  background: linear-gradient(135deg, #9840f6 0%, #8226ee 100%);
  box-shadow: 0 0 0 1px rgba(208, 159, 255, .34), 0 18px 40px rgba(112, 25, 210, .42);
}
.btn-secondary {
  background: rgba(8, 8, 12, .58);
  border-color: rgba(255, 255, 255, .24);
}
.btn-play {
  background: #101014;
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(138, 54, 247, .28);
}
.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-block: 7px solid transparent;
  border-inline-start: 11px solid #65db78;
}
.btn-play:hover { border-color: var(--brand); text-decoration: none; }

.section { padding-inline: clamp(18px, 3.5vw, 40px); }
.section-heading { margin: 0 auto clamp(26px, 4vw, 44px); }
.section-heading .section-lead { margin-inline: auto; }
.kicker {
  color: var(--brand-2);
  letter-spacing: .13em;
  font-size: .74rem;
  font-weight: 820;
}
.center { text-align: center; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  min-height: min(720px, calc(100svh - 68px));
  padding-block: clamp(44px, 5vw, 64px);
  position: relative;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 81, 255, .48), transparent);
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy h1 {
  max-width: 650px;
  margin: 0 0 20px;
  font-size: clamp(3.05rem, 5.4vw, 5.3rem);
  /* Was -.055em / .98 — with the system-font fallback that read tight but
     workable; real Inter (base.css) hints tighter, and at this weight/size
     -.055em started crowding round letter pairs. Softened for calm, not
     dropped — still a confident, Apple-style dense hero line. */
  line-height: 1.03;
  letter-spacing: -.03em;
}
.hero-copy h1 .ink {
  display: block;
  color: #fff;
  text-shadow: 0 0 26px rgba(154, 62, 255, .16);
}
.hero-copy .lead {
  max-width: 640px;
  margin-bottom: 20px;
  color: #c4c0cb;
  line-height: 1.58;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}
.hero-copy .hero-actions { justify-content: flex-start; margin-block: 26px 22px; }
.hero-trust,
.offer-chips,
.verified-proof,
.assurance-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #d9d6df;
  font-size: .82rem;
}
.hero-trust li::before,
.assurance-strip li::before {
  content: "✓";
  color: var(--brand-2);
  margin-inline-end: 7px;
  font-weight: 900;
}
.offer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.offer-chips span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
  color: #e4e1e9;
  font-size: .78rem;
  font-weight: 700;
}
.verified-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.verified-proof > div { padding-inline: 16px; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.verified-proof > div:first-child { padding-inline-start: 0; border: 0; }
.verified-proof strong,
.verified-proof span { display: block; }
.verified-proof strong { font-size: .93rem; color: #fff; line-height: 1.25; }
.verified-proof .stars { color: #ffc65b; letter-spacing: .07em; }
.verified-proof span { margin-top: 5px; color: var(--text-3); font-size: .7rem; line-height: 1.35; }

@media (min-width: 681px) {
  .offer-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer-chips span { display: grid; place-items: center; min-height: 52px; text-align: center; line-height: 1.25; }
}

.hero-product {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 18px 16px 44px 0;
  isolation: isolate;
}
.product-glow {
  position: absolute;
  inset: 4% -4% 6% 12%;
  /* The ONE chromatic element in this composition — a single soft stage
     light behind the pair. Everything below (rim, shadows, stand) is now
     achromatic, matching nuvio.tv's own measured pattern (its card/device
     shadows are plain rgba(9,10,14,X) or rgba(0,0,0,X), no colour), and
     the `--glow` token's own comment (tokens.css): reserved for the
     primary CTA, content surfaces stay matte. */
  background: radial-gradient(ellipse, rgba(121, 31, 232, .24), transparent 66%);
  filter: blur(28px);
  z-index: -1;
}
.tv-device {
  position: relative;
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: linear-gradient(145deg, #2a2830, #070709 20%, #020203 80%, #1f1c25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .68);
  transform: perspective(1200px) rotateY(-2deg);
}
.tv-screen { overflow: hidden; border-radius: 2px; background: #06070a; }
.tv-screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tv-stand {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 42%;
  height: 23px;
  transform: translateX(-50%) perspective(60px) rotateX(48deg);
  border-radius: 2px 2px 8px 8px;
  background: linear-gradient(180deg, #4b4653, #111015 58%, #5c5266);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .45);
}
.phone-device {
  position: absolute;
  z-index: 3;
  inset-inline-end: -9px;
  bottom: 0;
  width: clamp(118px, 21%, 172px);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 23px;
  background: #050507;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .72);
}
.phone-device::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 4px;
  left: 50%;
  width: 34%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #050507;
}
.phone-device img { width: 100%; border-radius: 17px; }

.device-section { padding-block: clamp(64px, 8vw, 96px); }
.home-device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-device-card,
.benefit-card,
.home-price-card {
  /* .14 → .10 — measured against nuvio.tv's own card-border tokens
     (rgba(255,255,255,.06)–.10), 2026-09-02. */
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .016));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 20px 46px rgba(0, 0, 0, .16);
}
.home-device-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.home-device-card:hover { transform: translateY(-5px); border-color: rgba(172, 79, 255, .55); }
.home-device-card h3 { margin: 12px 0 7px; font-size: 1.05rem; }
.home-device-card p { min-height: 48px; margin: 0 0 9px; color: var(--text-2); font-size: .84rem; }
.home-device-card .btn { width: 100%; margin-top: 15px; }
.featured-device { border-color: rgba(156, 67, 246, .5); }
.device-price { margin-top: auto; color: #e6d3fb; font-size: .86rem; }
.device-visual {
  position: relative;
  display: block;
  height: 126px;
  overflow: hidden;
  border-radius: 9px;
  background: radial-gradient(ellipse at 50% 75%, rgba(139, 49, 242, .26), transparent 65%);
}
.device-visual::before,
.device-visual::after,
.device-visual > span { content: ""; position: absolute; display: block; }
.platform-badge {
  position: absolute;
  z-index: 5;
  inset-inline-start: 12px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  padding: 4px 8px;
  color: #f7f5fb;
  background: rgba(5, 4, 9, .68);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
  backdrop-filter: blur(8px);
  font-size: .67rem;
  font-style: normal;
  line-height: 1;
  letter-spacing: -.01em;
}
.platform-badge b { font-weight: 820; }
.device-fire .platform-badge { color: #ffad70; }
.device-fire .platform-badge b { color: #fff; font-weight: 650; }
.device-google .platform-badge i {
  color: transparent;
  background: conic-gradient(from -35deg, #4285f4 0 25%, #34a853 0 45%, #fbbc05 0 65%, #ea4335 0 82%, #4285f4 0);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: .82rem;
  font-style: normal;
  font-weight: 900;
}
.device-direct .platform-badge { color: #9fe870; letter-spacing: .07em; }
.device-direct .platform-badge i { font-size: .58rem; font-style: normal; }
.device-fire::before {
  left: 22%; top: 55%; width: 50%; height: 22px;
  transform: rotate(9deg); border-radius: 6px;
  background: linear-gradient(160deg, #38373b, #151519 70%);
  border: 1px solid #545159; box-shadow: 0 14px 20px rgba(0, 0, 0, .5);
}
.device-fire::after { right: 19%; top: 57%; width: 14px; height: 17px; background: #96929c; border-radius: 0 3px 3px 0; transform: rotate(9deg); }
.device-fire span {
  left: 27%; top: 20%; width: 42px; height: 88px;
  transform: rotate(62deg); border-radius: 18px;
  background: linear-gradient(140deg, #45434a, #18171a); border: 1px solid #67636c;
}
.device-google::before {
  left: 20%; top: 12%; width: 60%; height: 80px;
  border: 3px solid #504b58; border-radius: 4px;
  background: radial-gradient(circle at 60% 25%, #7d2be7, transparent 38%), linear-gradient(135deg, #080711, #28105b 60%, #07070b);
  box-shadow: 0 14px 24px rgba(0, 0, 0, .45), inset 0 0 30px rgba(155, 61, 255, .28);
}
.device-google::after { left: 48%; top: 92px; width: 4%; height: 13px; background: #5c5862; }
.device-google span { left: 37%; top: 103px; width: 26%; height: 5px; border-radius: 50%; background: #77717d; }
.device-direct::before {
  left: 23%; top: 34%; width: 54%; height: 62px;
  transform: perspective(180px) rotateX(24deg); border-radius: 12px;
  background: linear-gradient(150deg, #3c3a40, #151519 55%, #09090b); border: 1px solid #56525c;
  box-shadow: 0 18px 26px rgba(0, 0, 0, .55);
}
.device-direct::after { left: 28%; top: 81px; width: 7px; height: 3px; border-radius: 50%; background: #a646ff; box-shadow: 0 0 7px #a646ff; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.benefit-card { position: relative; min-height: 180px; padding: 23px; overflow: hidden; }
.benefit-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  top: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 56, 245, .16), transparent 68%);
}
.benefit-card h3 { position: relative; z-index: 1; margin: 18px 0 8px; font-size: 1rem; }
.benefit-card p { margin: 0; color: var(--text-2); font-size: .86rem; line-height: 1.48; }
/* Icon badge (2026-09-02, finished in ronda 4) — the same treatment
   /cloudsync's header mark and section chips use: a dark circle
   (var(--brand-soft), matches .mg-hub-head-icon on the Cloud Sync
   dashboard) holding the glyph, plus a soft brand-purple glow on the glyph
   itself (the .mg-brand-cloud drop-shadow technique, scaled down). The
   glyph itself now paints with the same <linearGradient id="mg-brand-cloud-
   grad"> url() the cloudsync mark uses on its own inline SVG, not a flat
   --brand-2 tint — see _src/templates/home.mjs (benefitIcon()) for the def
   and the per-icon url() wiring. Visible only after `node build.mjs`
   regenerates the 8 locale home pages. */
.benefit-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--brand-2);
  background: var(--brand-soft);
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.benefit-icon svg {
  width: 25px; height: 25px;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 2px 8px rgba(145, 56, 245, .35));
}
.feature-disclosure { max-width: 100%; margin-top: 18px; }

.showcase {
  margin-top: var(--sp-8);
  padding-block: clamp(64px, 8vw, 96px);
  border-block: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(ellipse at 50% 45%, rgba(96, 26, 174, .14), transparent 65%);
}
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 24px;
}
.showcase-video { max-width: 310px; margin-inline: auto; }
.showcase-video .media-frame { border-radius: 28px; padding: 6px; }
.showcase-video video { max-height: 600px; border-radius: 22px; background: #08080b; }
.showcase-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.showcase-shots figure { margin: 0; }
.showcase-shots figure:last-child { max-width: 44%; grid-column: 1 / -1; margin-inline: auto; }
.showcase-shots .media-frame { border-color: rgba(255, 255, 255, .13); }
.showcase-shots figcaption { margin-top: 7px; color: var(--text-3); font-size: .74rem; text-align: center; }

.pricing-preview { padding-block: clamp(72px, 9vw, 108px); }
.home-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
}
.home-price-card { display: flex; flex-direction: column; padding: clamp(24px, 3.5vw, 36px); }
.home-price-card.lifetime-plan {
  border-color: rgba(170, 75, 255, .78);
  background: linear-gradient(145deg, rgba(139, 48, 240, .14), rgba(255, 255, 255, .02));
  box-shadow: 0 0 0 1px rgba(155, 59, 255, .12), 0 26px 60px rgba(67, 11, 126, .26);
}
.plan-label { margin: 0 0 11px; color: #e2c5ff; font-size: 1.02rem; font-weight: 780; }
.home-price-card .price { font-size: clamp(2.35rem, 5vw, 3.5rem); font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.home-price-card .price small { font-size: .31em; font-weight: 650; color: var(--text-2); letter-spacing: 0; }
.home-price-card .price-alt { min-height: 42px; margin-top: 8px; color: var(--text-2); font-size: .84rem; }
.home-price-card ul { flex: 1; list-style: none; margin: 16px 0 22px; padding: 0; }
.home-price-card li { position: relative; padding: 5px 0 5px 22px; color: #d9d6de; font-size: .86rem; }
[dir="rtl"] .home-price-card li { padding: 5px 22px 5px 0; }
.home-price-card li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand-2); font-weight: 900; }
.home-price-card .btn { width: 100%; }
.secure-note { margin: 17px 0 0; color: var(--text-3); font-size: .76rem; text-align: center; }

.assurance-strip {
  padding: 26px clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(145, 56, 245, .07), rgba(255, 255, 255, .025));
  text-align: center;
}
.assurance-strip ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 24px; margin-bottom: 13px; }
.assurance-strip li { color: #e2dfe7; font-size: .82rem; font-weight: 720; }
.assurance-strip p { max-width: 900px; margin: 0 auto 10px; color: var(--text-2); font-size: .84rem; }
.assurance-strip a { font-size: .82rem; font-weight: 750; }

.faq-section { max-width: 980px; padding-block: clamp(72px, 8vw, 98px); }
.faq-section .faq-list { display: grid; gap: 8px; }
.faq-section .faq-list details { border-color: rgba(255, 255, 255, .10); background: rgba(255, 255, 255, .025); }
.faq-section .faq-list summary { font-size: .92rem; }

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 30px;
  border: 1px solid rgba(176, 88, 255, .36);
  border-radius: 16px;
  background: radial-gradient(circle at 12% 50%, rgba(144, 50, 240, .3), transparent 30%), linear-gradient(100deg, #17101f, #0d0d12 60%, #131019);
  text-align: start;
}
.final-cta > img { width: 86px; height: 86px; object-fit: cover; border-radius: 22px; filter: drop-shadow(0 0 20px rgba(155, 67, 246, .36)); }
.final-cta h2 { margin: 0 0 5px; }
.final-cta p { margin: 0; }
.final-cta .hero-actions { margin: 0; flex-wrap: nowrap; }

.site-footer { background: rgba(5, 5, 7, .62); }
.site-footer .brand { margin-bottom: 12px; }
.footer-grid { gap: clamp(24px, 5vw, 62px); }
.mobile-install-bar {
  transition: transform .22s ease, opacity .22s ease;
}
.mobile-install-bar.is-hidden {
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
}

body[data-funnel-page="comprar/"] .hero,
body[data-funnel-page="install/"] .hero {
  padding-block: clamp(46px, 6vw, 70px) clamp(24px, 3vw, 36px);
}
body[data-funnel-page="comprar/"] .hero + .section,
body[data-funnel-page="install/"] .hero + .section {
  padding-top: clamp(18px, 2vw, 28px);
}

@media (max-width: 1050px) {
  .home-hero { grid-template-columns: minmax(0, .9fr) minmax(410px, 1.1fr); gap: 30px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
  .verified-proof { grid-template-columns: 1fr; gap: 9px; }
  .verified-proof > div { padding: 0; border: 0; }
  .verified-proof strong, .verified-proof span { display: inline; }
  .verified-proof span { margin-inline-start: 7px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .hero-actions { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 820px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
    text-align: center;
  }
  .hero-copy h1, .hero-copy .lead { margin-inline: auto; }
  .hero-copy .hero-actions, .hero-trust, .offer-chips { justify-content: center; }
  .verified-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .verified-proof > div { padding-inline: 10px; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
  .verified-proof > div:first-child { border: 0; }
  .verified-proof strong, .verified-proof span { display: block; }
  .verified-proof span { margin: 4px 0 0; }
  .hero-product { width: min(690px, 94%); margin-inline: auto; }
  .home-device-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .home-device-card p { min-height: auto; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-video { max-width: 260px; }
  .showcase-shots { max-width: 680px; margin-inline: auto; }
}

@media (max-width: 680px) {
  .site-header-inner { min-height: 60px; }
  .brand .brand-mark { width: 34px; height: 34px; }
  .brand { font-size: .87rem; }
  .home-hero { padding-top: 42px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-copy .lead { font-size: .97rem; }
  .hero-copy .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-copy .hero-actions .btn { width: 100%; }
  .hero-trust { display: grid; grid-template-columns: 1fr; }
  .offer-chips { display: grid; grid-template-columns: 1fr; }
  .verified-proof { grid-template-columns: 1fr; gap: 10px; text-align: start; }
  .verified-proof > div { padding: 0; border: 0; }
  .verified-proof strong, .verified-proof span { display: inline; }
  .verified-proof span { margin-inline-start: 7px; }
  .hero-product { width: 100%; padding-inline-end: 10px; }
  .phone-device { inset-inline-end: 0; width: 24%; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .showcase-shots { grid-template-columns: 1fr; }
  .showcase-shots figure:last-child { max-width: 58%; grid-column: auto; }
  .home-price-grid { grid-template-columns: 1fr; }
  .assurance-strip ul { display: grid; justify-content: start; text-align: start; }
  .final-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .final-cta .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .final-cta .btn { width: 100%; }
}

/* ── Legal / utility pages (privacy, terms) ──────────────────────────────
   These pages are NOT part of the build.mjs delivery (they're hand-
   maintained static HTML, one per locale, outside PAGES[] in build.mjs —
   see its own header comment) but now load THIS shared stylesheet instead
   of the old standalone /style.css, so their <header>/<footer> can use the
   real .site-header/.site-footer components. This block replaces the
   handful of style.css rules (.privacy-page, .updated) their <main> still
   depends on — same values, same tokens (style.css's :root and tokens.css
   were already byte-identical on every variable these rules touch), so
   the legal TEXT renders unchanged. Ver
   ai/AUDITORIA_WEB_DESIGN_RONDA4_2026-09-02.md §3.2/§4 item 6. */
.privacy-page {
  max-width: 760px;
  margin-inline: auto;
  padding: 56px 28px 80px;
}
.privacy-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 8px;
}
.privacy-page .updated { color: var(--text-3); font-size: 13.5px; margin: 0 0 36px; }
.privacy-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 36px 0 10px;
  color: var(--text);
}
.privacy-page p, .privacy-page li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.privacy-page ul { padding-inline-start: 20px; }
.privacy-page code { word-break: break-word; }
