:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #000000;
  --border: #e7e7e7;
  --muted: #555555;
  --surface: #f5f5f5;
  --surface-strong: #eeeeee;
  --cta-bg: #000000;
  --cta-text: #ffffff;
  --cta-muted: #dddddd;
  --cta-button-bg: #ffffff;
  --cta-button-text: #000000;
  --cta-button-border: #ffffff;
  --logo-filter: none;
  --social-icon-filter: invert(1);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --nav-height: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f0f0f;
    --text: #f4f4f4;
    --border: #303030;
    --muted: #b8b8b8;
    --surface: #181818;
    --surface-strong: #222222;
    --cta-bg: #181818;
    --cta-text: #f4f4f4;
    --cta-muted: #cfcfcf;
    --cta-button-bg: #101010;
    --cta-button-text: #f4f4f4;
    --cta-button-border: #3a3a3a;
    --logo-filter: none;
    --social-icon-filter: invert(0);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--text);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  width: 100%;
  min-height: var(--nav-height);
  padding: 0 max(24px, env(safe-area-inset-left)) 0 max(24px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  z-index: 3;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

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

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  z-index: 4;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--text);
}

.menu-toggle-line {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav.is-open .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav.is-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
}

.links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.links a:hover,
.links a.active {
  color: var(--bg);
  background: var(--text);
}

.socials {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  z-index: 3;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: var(--surface);
}

.socials img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  filter: var(--social-icon-filter);
}

.page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 58px 24px 100px;
}

.hero {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.hero.center {
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 950px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero.center h1,
.hero.center p {
  margin-left: auto;
  margin-right: auto;
}

.hero p,
.section p,
.card p,
.step p,
.value span {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  max-width: 860px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero.center .actions {
  justify-content: center;
}

.btn {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  color: var(--text);
  background: var(--bg);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--text);
  background: var(--bg);
}

.btn-outline:hover {
  color: var(--bg);
  background: var(--text);
}

.section {
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section p {
  max-width: 850px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 180px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  contain: layout paint;
}

.card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.2;
}

.card p {
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  contain: layout paint;
}

.step-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: var(--text);
  border-radius: 50%;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.1rem;
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.section,
.cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

.cta {
  margin-top: 42px;
  padding: 34px;
  background: var(--cta-bg);
  color: var(--cta-text);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 12px;
  color: var(--cta-text);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.cta p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--cta-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta .actions {
  justify-content: center;
  margin-top: 0;
}

.cta .btn {
  color: var(--cta-button-text);
  background: var(--cta-button-bg);
  border-color: var(--cta-button-border);
}

.cta .btn:hover {
  color: var(--cta-button-bg);
  background: var(--cta-button-text);
}

@media (max-width: 1120px) {
  .nav {
    padding-inline: 16px;
  }

  .links a {
    padding: 9px 11px;
    font-size: 0.88rem;
  }

  .socials {
    gap: 8px;
  }

  .socials a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    height: 38px;
    width: auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .links,
  .socials {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.24s ease, padding 0.2s ease;
  }

  .nav.is-open .links,
  .nav.is-open .socials {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .links {
    position: static;
    grid-column: 1 / -1;
    transform: translateY(-6px);
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 0;
    white-space: normal;
  }

  .nav.is-open .links {
    max-height: 460px;
    padding-top: 14px;
  }

  .links a {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    font-size: 0.98rem;
  }

  .socials {
    grid-column: 1 / -1;
    justify-content: center;
    margin-left: 0;
    gap: 10px;
    padding-top: 0;
  }

  .nav.is-open .socials {
    max-height: 76px;
    padding-top: 10px;
  }

  .socials a {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    background: var(--surface);
  }

  .socials img {
    width: 30px;
    height: 30px;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero.center .actions,
  .cta .actions {
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 38px 16px 70px;
  }

  .hero {
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 4.8rem);
  }

  .section {
    padding: 34px 0;
  }

  .card,
  .cta {
    padding: 24px 18px;
  }

  .step {
    grid-template-columns: 1fr;
  }
}

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


@supports not (content-visibility: auto) {
  .section,
  .cta {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
}


.logo img {
  filter: none !important;
}
