:root {
  color-scheme: light dark;
  --accent: #3B5BDB;
  --accent-hover: #3247B8;
  --accent-soft: #EDF0FE;
  --accent-text: #3B5BDB;
  --ink: #0A0A14;
  --g0: #FAFAFB;
  --g1: #F2F3F5;
  --g2: #E5E7EB;
  --g3: #D1D5DB;
  --g4: #8E919C;
  --g5: #5C5F6B;
  --g6: #23252E;
  --success: #16A34A;
  --success-text: #15803D;
  --bg: #F6F7FB;
  --bg-end: #E6E9F2;
  --surface: #FFFFFF;
  --surface-2: var(--g1);
  --border: var(--g2);
  --border-strong: var(--g3);
  --text: var(--ink);
  --text-2: var(--g5);
  --text-3: var(--g4);
  --dark-surface: #0F1014;
  --dark-surface-2: #1A1B22;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --bezel: #141418;
  --island: #000000;
  --shadow: 0 16px 40px -16px rgba(10, 10, 20, 0.22), 0 2px 6px -2px rgba(10, 10, 20, 0.08);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s6: 24px;
  --s8: 32px;
  --s12: 48px;
  --s16: 64px;
  --s24: 96px;
  --fs-0: 16px;
  --fs-1: 20px;
  --fs-2: 25px;
  --fs-3: 31px;
  --fs-4: 39px;
  --fs-5: 49px;
  --fs-6: 61px;
  --fs-display: clamp(36px, 6vw, 64px);
  --max: 1120px;
  --section: 96px;
  --gutter: 16px;
  --nav-h: 64px;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: "Caveat", "Bradley Hand", "Segoe Script", cursive;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-soft: rgba(59, 91, 219, 0.18);
    --accent-text: #8DA2F2;
    --success-text: #4ADE80;
    --bg: #0F1014;
    --bg-end: #15161D;
    --surface: #1A1B22;
    --surface-2: #23252E;
    --border: #2A2C36;
    --border-strong: #3A3D48;
    --text: #FAFAFB;
    --text-2: #A0A3AE;
    --text-3: #6E7180;
    --nav-bg: rgba(26, 27, 34, 0.78);
    --dark-surface: #1A1B22;
    --bezel: #2A2C36;
    --shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 767px) {
  :root {
    --section: 64px;
  }
}

@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/rubik-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+2013-2014, U+2019, U+2026;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font: 400 var(--fs-0) / 1.55 var(--font);
  color: var(--text);
  background: var(--bg) linear-gradient(180deg, var(--bg) 0%, var(--bg-end) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent-text);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav.is-scrolled,
.nav--solid {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--border);
}

.nav__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.nav__right {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
}

.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 15px / 1 var(--font);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lang__btn:hover,
.lang__btn[aria-expanded="true"] {
  background: var(--accent-soft);
  color: var(--text);
}

.lang .lang__btn:focus-visible {
  border-radius: 999px;
}

.lang__globe {
  flex: none;
  width: 20px;
  height: 20px;
}

.lang__chev {
  flex: none;
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.lang__btn[aria-expanded="true"] .lang__chev {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 176px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.lang__menu[hidden] {
  display: none;
}

.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.lang__menu a:hover {
  background: var(--surface-2);
}

.lang__menu a[aria-current] {
  font-weight: 600;
}

.lang__check {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent-text);
}

@media (max-width: 419.98px) {
  .lang__btn {
    padding: 0;
  }

  .lang__name,
  .lang__chev {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--border);
}

.badge {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
}

.badge img {
  display: block;
  height: 44px;
  width: auto;
}

.badge:hover {
  opacity: 0.88;
}

.nav .badge img {
  height: 34px;
}

@media (max-width: 359.98px) {
  .nav__inner,
  .nav__right {
    gap: var(--s2);
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .nav .badge img {
    height: 32px;
  }
}

.script {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--accent-text);
  font-size: 1.15em;
  line-height: 1;
}

.section {
  padding: var(--section) var(--gutter);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(28px, 4vw, var(--fs-4));
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 var(--s3);
}

.section__lead {
  color: var(--text-2);
  font-size: var(--fs-1);
  max-width: 54ch;
  margin: 0 0 var(--s12);
}

.steps {
  display: grid;
  gap: var(--s6);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s6);
  box-shadow: var(--shadow);
}

.step__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  margin-bottom: var(--s4);
}

.step__icon svg {
  width: 28px;
  height: 28px;
}

.step h3 {
  margin: 0 0 var(--s2);
  font-size: var(--fs-1);
  letter-spacing: -0.01em;
}

.step h3 small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s1);
}

.step p {
  margin: 0;
  color: var(--text-2);
}

.strip {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
  margin: 0 calc(-1 * var(--gutter));
  padding: var(--s2) var(--gutter) var(--s6);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip li {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(78vw, 300px);
}

@media (min-width: 1140px) {
  .strip {
    justify-content: center;
  }

  .strip li {
    width: 264px;
  }
}

.strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.features {
  display: grid;
  gap: var(--s6);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: var(--s4);
  align-items: start;
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.feature svg {
  width: 76px;
  height: 76px;
}

.feature h3 {
  margin: 0 0 var(--s2);
  font-size: var(--fs-1);
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0 0 var(--s2);
  color: var(--text-2);
}

.feature p:last-child {
  margin-bottom: 0;
}

.trust {
  background: var(--dark-surface);
  color: #FAFAFB;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s12) var(--s6);
  display: grid;
  gap: var(--s8);
  align-items: start;
}

@media (min-width: 900px) {
  .trust {
    grid-template-columns: 1.1fr 1fr;
    padding: var(--s16);
  }
}

.trust h2 {
  color: #FAFAFB;
  margin-bottom: var(--s4);
}

.trust p {
  color: #A0A3AE;
  margin: 0 0 var(--s4);
  max-width: 44ch;
}

.trust a {
  color: #8DA2F2;
}

.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s4);
}

.trust li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s3);
  align-items: start;
}

.trust li svg {
  width: 28px;
  height: 28px;
  color: #8DA2F2;
}

.trust li strong {
  display: block;
  color: #FAFAFB;
  margin-bottom: 2px;
}

.trust li span {
  color: #A0A3AE;
}

.pricing {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  padding: var(--s8) var(--s6);
}

.plan--premium {
  background: var(--accent-soft);
}

.plan h3 {
  margin: 0 0 var(--s1);
  font-size: var(--fs-2);
  letter-spacing: -0.02em;
}

.plan__note {
  margin: 0 0 var(--s4);
  color: var(--text-2);
  font-size: 15px;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}

.plan li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--s2);
  align-items: start;
}

.plan li svg {
  width: 22px;
  height: 22px;
  color: var(--success-text);
}

.plan--premium li svg {
  color: var(--accent-text);
}

.pricing__cta {
  text-align: center;
  margin-top: var(--s8);
}

.pricing__cta .micro {
  margin-top: var(--s3);
}

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  border-top: 1px solid var(--border);
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s4) 0;
  font-weight: 600;
  font-size: var(--fs-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 var(--s4);
  color: var(--text-2);
  max-width: 62ch;
}

.final {
  text-align: center;
}

.final h2 {
  font-size: var(--fs-display);
  margin-bottom: var(--s6);
}

.final .cta {
  align-items: center;
}

.micro {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
}

.cta .badge img {
  height: 56px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: var(--s8) var(--gutter) calc(var(--s8) + env(safe-area-inset-bottom));
  font-size: 14px;
  color: var(--text-2);
}

@media (max-width: 767px) {
  .footer {
    padding-bottom: calc(var(--s24) + env(safe-area-inset-bottom));
  }
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3) var(--s6);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.sticky {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky.is-visible {
  transform: none;
}

.sticky__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.sticky__text small {
  display: block;
  font-weight: 400;
  color: var(--text-2);
  font-size: 13px;
}

.sticky .badge img {
  height: 40px;
}

@media (max-width: 767px) {
  .sticky {
    display: flex;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--s12)) var(--gutter) var(--s16);
}

.legal h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s2);
}

.legal .updated {
  color: var(--text-2);
  margin: 0 0 var(--s8);
}

.legal h2 {
  font-size: var(--fs-2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: var(--s8) 0 var(--s3);
}

.legal p,
.legal li {
  margin: 0 0 var(--s3);
}

.legal ul {
  padding-inline-start: 22px;
  margin: 0 0 var(--s4);
}

.legal a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.legal .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s6);
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav,
  .sticky,
  .lang__chev,
  .js .reveal {
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .brand,
[dir="rtl"] .step h3 small {
  letter-spacing: 0;
}

[dir="rtl"] .step h3 small {
  text-transform: none;
}

.accent {
  color: var(--accent-text);
  font-weight: 700;
}

.seq {
  direction: ltr;
}

[dir="rtl"] .hero__sub,
[dir="rtl"] .section__lead,
[dir="rtl"] .faq p,
[dir="rtl"] .trust p {
  text-wrap: pretty;
  max-width: 48ch;
}

[dir="rtl"] .faq summary::after {
  content: "+";
}

[dir="rtl"] .faq details[open] summary::after {
  content: "–";
}
