:root {
  color-scheme: light;
  --accent: #5b5cf0;
  --accent-dark: #4243bd;
  --accent-soft: #ececff;
  --ink: #202124;
  --muted: #666b75;
  --line: #dfe1e7;
  --surface: #ffffff;
  --surface-soft: #f6f7fb;
  --dark: #171820;
  --shadow: 0 18px 50px rgba(48, 49, 94, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(91, 92, 240, 0.14), transparent 28rem),
    var(--surface);
  font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(223, 225, 231, 0.82);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 0 7px 18px rgba(91, 92, 240, 0.3);
}

.brand-mark::after {
  width: 15px;
  height: 3px;
  border-radius: 4px;
  background: #fff;
  content: "";
}

.header-actions,
.site-nav,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 20px;
}

.site-nav {
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.language-switcher {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.language-switcher a {
  min-width: 34px;
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="true"] {
  color: #fff;
  background: var(--accent);
}

.hero {
  display: grid;
  min-height: 610px;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  padding-block: 74px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 11px;
  border: 1px solid rgba(91, 92, 240, 0.22);
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(91, 92, 240, 0.25);
}

.button:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.button.primary:hover {
  color: #fff;
  background: var(--accent-dark);
}

.browser-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.browser-bar {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: #f3f4f7;
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3c6ce;
}

.mock-page {
  display: grid;
  min-height: 360px;
  gap: 18px;
  grid-template-columns: 1fr 120px;
  padding: 24px;
}

.mock-content {
  display: grid;
  align-content: start;
  gap: 12px;
}

.mock-line,
.mock-block {
  border-radius: 8px;
  background: #e9eaf0;
}

.mock-line {
  width: 72%;
  height: 11px;
}

.mock-line.short {
  width: 45%;
}

.mock-block {
  height: 96px;
}

.blocked-area {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  border: 2px dashed var(--accent);
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, #f1f1ff 0 12px, #e7e7ff 12px 24px);
}

.blocked-area::before {
  width: 48px;
  height: 6px;
  border-radius: 5px;
  background: var(--accent);
  content: "";
}

.hidden-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.section {
  padding-block: 82px;
}

.section.soft {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.steps {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature,
.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.feature {
  padding: 24px;
}

.feature-number,
.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 800;
}

.feature h3,
.step h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.feature p,
.step p {
  margin: 0;
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 26px;
}

.privacy-callout {
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: 1fr auto;
  padding: 38px;
  border-radius: 22px;
  color: #fff;
  background: var(--dark);
}

.privacy-callout h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 43px);
}

.privacy-callout p {
  max-width: 740px;
  margin: 0;
  color: #c7c9d3;
}

.privacy-callout .button {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.document {
  width: min(820px, calc(100% - 40px));
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding-block: 64px 90px;
}

.document-header {
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.document-header p {
  margin: 16px 0 0;
  color: var(--muted);
}

.document article h2 {
  margin: 38px 0 12px;
  font-size: 26px;
}

.document article h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.document article p,
.document article li {
  color: #42454d;
}

.document article ul,
.document article ol {
  padding-left: 24px;
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
}

.support-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.support-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.support-card h2 {
  margin-top: 0 !important;
  font-size: 21px !important;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-inner {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 58px;
  }

  .browser-card {
    max-width: 540px;
    transform: none;
  }

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

  .privacy-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container,
  .document {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 43px;
  }

  .feature-grid,
  .steps,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .mock-page {
    grid-template-columns: 1fr 92px;
    padding: 16px;
  }

  .section {
    padding-block: 60px;
  }

  .privacy-callout {
    padding: 26px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
