:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f0f2f5;
  --control: #d8dee8;
  --border: #d8dee8;
  --text: #10141b;
  --muted: #566070;
  --primary: #3347d6;
  --primary-soft: #eaf0ff;
  --primary-border: #8da0ff;
  --success: #1b6e35;
  --danger: #a2262b;
  --shadow: 0 18px 50px rgba(30, 40, 62, 0.12);
  --shadow-small: 0 9px 24px rgba(30, 40, 62, 0.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 620px;
  background: linear-gradient(180deg, var(--primary-soft), transparent 86%);
  opacity: 0.66;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--primary-border);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; line-height: 1.15; }
.brand img, .footer-brand img { border-radius: 12px; box-shadow: var(--shadow-small); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav-links a, .site-footer a, .footer-link-button { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a:hover, .site-footer a:hover, .footer-link-button:hover, .text-link:hover { color: var(--primary); }
.footer-link-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-selector { position: relative; }
.language-selector summary { min-height: 44px; max-width: 176px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font-size: .84rem; font-weight: 750; cursor: pointer; list-style: none; }
.language-selector summary::-webkit-details-marker { display: none; }
.language-selector summary span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-selector[open] summary { border-color: var(--primary-border); }
.language-menu { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; z-index: 40; width: min(310px, calc(100vw - 28px)); max-height: min(540px, calc(100vh - 110px)); overflow-y: auto; padding: 8px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.language-menu a { display: block; padding: 9px 11px; border-radius: 10px; color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }

.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
}

.theme-toggle:hover { border-color: var(--primary-border); color: var(--primary); }
.play-link { display: inline-block; width: fit-content; border-radius: 10px; }
.play-link img { height: 60px; width: auto; }
.play-link-small img { height: 48px; }
.play-link:hover { transform: translateY(-1px); filter: brightness(1.05); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding-block: clamp(64px, 9vw, 116px) 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-dot, .verified-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-inline-end: 7px;
  border-radius: 50%;
  background: var(--success);
}

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.1rem, 6.2vw, 5.9rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.05rem, 4.4vw, 3.65rem); }
h3 { margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -.02em; }

.hero-lede {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.text-link { color: var(--primary); font-weight: 800; text-decoration: none; }
.quick-points { display: flex; gap: 12px 22px; flex-wrap: wrap; padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 650; }
.quick-points li::before { content: "✓"; margin-inline-end: 7px; color: var(--success); font-weight: 900; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  max-width: 90vw;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  box-shadow: inset 0 0 0 40px color-mix(in srgb, var(--surface) 45%, transparent);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(286px, 64vw);
  margin: 0;
  transform: rotate(2.5deg);
}

.phone-frame img { width: 100%; height: auto; }
.rate-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 12px 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.rate-note-bottom { bottom: 86px; inset-inline-start: -8px; }
.verified-dot { margin: 0; }

.section { padding-block: 96px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}
.feature-card p { margin: 0; color: var(--muted); }
.feature-mark { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 15px; background: var(--control); color: var(--text); font-size: 1.25rem; font-weight: 900; }
.feature-mark-globe { position: relative; }
.feature-mark-globe::before { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; box-sizing: border-box; }
.feature-mark-globe::after { content: ""; position: absolute; width: 10px; height: 20px; border-inline: 2px solid currentColor; border-radius: 50%; box-sizing: border-box; }
.feature-card-accent { border-color: var(--primary-border); background: var(--primary-soft); }
.feature-card-accent .feature-mark { background: var(--primary); color: white; }

.screenshots-section { background: var(--surface-soft); border-block: 1px solid var(--border); }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 18px; }
.screenshot-card { margin: 0; padding: 10px 10px 18px; border: 1px solid var(--border); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-small); }
.screenshot-card img { width: 100%; height: auto; border-radius: 22px; }
.screenshot-card:nth-child(even) { margin-top: 38px; }
.screenshot-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px 0; }
.screenshot-card figcaption span { color: var(--muted); font-size: .84rem; }

.about { display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.about-icon { display: grid; place-items: center; min-height: 320px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--primary-soft); box-shadow: var(--shadow); }
.about-icon img { border-radius: 36px; box-shadow: 0 24px 50px rgba(16, 20, 27, .18); }
.about-copy { max-width: 660px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }

.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-block: 30px 100px; padding: clamp(34px, 6vw, 64px); border-radius: var(--radius-xl); background: #11172b; color: #fff; box-shadow: var(--shadow); }
.cta-section h2 { margin-bottom: 12px; }
.cta-section p:not(.eyebrow) { margin: 0; color: #adb5c3; }
.eyebrow-inverse { color: #aab4ff; }

.site-footer { padding-block: 36px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 50px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span { color: var(--muted); font-size: .84rem; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer p { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

.analytics-consent-banner {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 780px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(7, 10, 15, .2);
}
.analytics-consent-copy { max-width: 500px; }
.analytics-consent-copy strong { display: block; margin-bottom: 4px; }
.analytics-consent-copy p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.analytics-consent-copy a { color: var(--primary); font-weight: 700; }
.analytics-consent-actions { display: flex; flex-shrink: 0; gap: 10px; }
.analytics-consent-button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: var(--text); font: inherit; font-size: .88rem; font-weight: 750; cursor: pointer; }
.analytics-consent-accept { border-color: var(--primary); background: var(--primary); color: #fff; }
.analytics-consent-button:hover { transform: translateY(-1px); }
.analytics-consent-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent); outline-offset: 2px; }

.policy-main { padding-block: 72px 96px; }
.policy-hero { max-width: 820px; margin-bottom: 50px; }
.policy-hero h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 6vw, 5rem); }
.policy-meta { color: var(--muted); }
.policy-card { max-width: 860px; padding: clamp(28px, 6vw, 60px); border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow); }
.policy-card h2 { margin-top: 42px; font-size: 1.55rem; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p { color: var(--muted); }
.policy-card a { color: var(--primary); font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px; color: var(--primary); font-weight: 800; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .play-link, .text-link, .nav-links a, .theme-toggle, .language-selector summary { transition: color .2s ease, border-color .2s ease, transform .2s ease, filter .2s ease; }
  .feature-card { transition: transform .22s ease, border-color .22s ease; }
  .feature-card:hover { transform: translateY(-4px); border-color: var(--primary-border); }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070a0f;
    --surface: #151a21;
    --surface-soft: #111720;
    --control: #303845;
    --border: #303845;
    --text: #ffffff;
    --muted: #adb5c3;
    --primary: #6d7dff;
    --primary-soft: #11172b;
    --primary-border: #2b315f;
    --success: #78d995;
    --danger: #ffb4ab;
    --shadow: 0 18px 50px rgba(0, 0, 0, .28);
    --shadow-small: 0 9px 24px rgba(0, 0, 0, .23);
  }
}

:root[data-theme="dark"] {
  --bg: #070a0f;
  --surface: #151a21;
  --surface-soft: #111720;
  --control: #303845;
  --border: #303845;
  --text: #ffffff;
  --muted: #adb5c3;
  --primary: #6d7dff;
  --primary-soft: #11172b;
  --primary-border: #2b315f;
  --success: #78d995;
  --danger: #ffb4ab;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --shadow-small: 0 9px 24px rgba(0, 0, 0, .23);
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr 380px; gap: 28px; }
  h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
  .about { grid-template-columns: 280px 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-wrap { min-height: 68px; gap: 10px; }
  .brand { min-width: 0; }
  .brand span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .play-link-small { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .language-menu { position: fixed; inset-block-start: 78px; inset-inline: 14px; width: auto; max-height: calc(100vh - 92px); }
  .hero { grid-template-columns: 1fr; padding-block: 66px 72px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .quick-points { justify-content: center; }
  .hero-visual { min-height: 520px; margin-top: 16px; }
  .rate-note-bottom { inset-inline-start: max(0px, calc(50% - 240px)); }
  .section { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .section-heading > p { max-width: none; }
  .about { grid-template-columns: 1fr; gap: 42px; }
  .about-icon { min-height: 260px; }
  .cta-section { align-items: flex-start; flex-direction: column; margin-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .analytics-consent-banner { align-items: stretch; flex-direction: column; gap: 14px; }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent-button { flex: 1; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.95rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; gap: 14px; }
  .quick-points { flex-direction: column; gap: 7px; }
  .hero-visual::before { width: 330px; height: 330px; }
  .phone-frame { width: 242px; }
  .rate-note { min-height: 50px; padding: 9px 12px; font-size: .75rem; }
  .rate-note-bottom { bottom: 84px; inset-inline-start: 0; }
  .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .screenshot-card, .screenshot-card:nth-child(even) { width: min(100%, 360px); margin: 0 auto; }
  .screenshot-card + .screenshot-card { margin-top: 18px; }
  .cta-section { width: calc(100% - 28px); }
}
