:root {
  --accent: #0b4ff5;
  --accent-dark: #083fd0;
  --mint: #e8faf3;
  --ink: #08090b;
  --muted: #5f6673;
  --line: #dedfe4;
  --soft-line: #eceef2;
  --surface: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, .14);
  color: var(--ink);
  background: #fff;
  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;
  background: #fff;
  overflow-x: hidden;
}

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

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

.site-header {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 5vw, 52px);
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links,
.footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.footer a:hover,
.legal-row:hover strong,
.app-card a:hover {
  color: var(--accent);
}

.header-contact {
  justify-self: end;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 5px;
  border: 1.5px solid var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(11, 79, 245, .24);
}

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

.button-secondary {
  color: var(--ink);
  background: #fff;
}

.hero {
  min-height: min(680px, calc(100vh - 86px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 6vw, 78px);
  border-bottom: 1px solid var(--soft-line);
}

.hero-copy {
  max-width: 610px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.hero p {
  max-width: 510px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 48px;
}

.preview-frame {
  width: min(100%, 500px);
  justify-self: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--soft-line);
}

.product-preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.section,
.section-tight,
.legal-band,
.support-section,
.footer {
  padding-left: clamp(24px, 5vw, 64px);
  padding-right: clamp(24px, 5vw, 64px);
}

.section {
  padding-top: 58px;
  padding-bottom: 44px;
}

.section-tight {
  padding-top: 84px;
  padding-bottom: 70px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.support-section h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.8vw, 45px);
  line-height: 1.1;
  letter-spacing: 0;
}

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

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.app-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.app-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.app-card p {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.app-card a {
  color: var(--accent);
  font-weight: 800;
}

.app-icon,
.legal-icon {
  display: grid;
  place-items: center;
  background: var(--mint);
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 8px;
}

.app-icon svg,
.legal-icon svg,
.mail-icon svg {
  width: 64%;
  height: 64%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.legal-band {
  padding-top: 58px;
  padding-bottom: 62px;
  background: linear-gradient(90deg, #fff, #f1fcf8 58%, #fff);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.legal-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.legal-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: 64px 1fr 34px;
  align-items: center;
  gap: 26px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.legal-row:last-child {
  border-bottom: 0;
}

.legal-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.legal-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.legal-row small {
  display: block;
  color: var(--muted);
  font-size: 16px;
}

.chevron {
  color: var(--ink);
  font-size: 50px;
  font-weight: 200;
  line-height: 1;
}

.support-section {
  min-height: 210px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--soft-line);
}

.support-section.standalone {
  padding-top: 100px;
  padding-bottom: 86px;
}

.mail-icon {
  width: 74px;
  height: 74px;
  color: var(--accent);
}

.support-section a:not(.button) {
  display: inline-block;
  margin-top: 22px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
}

.footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.document-page {
  background: #fff;
}

.document-hero {
  padding: 84px clamp(24px, 5vw, 64px) 46px;
  border-bottom: 1px solid var(--soft-line);
  background: linear-gradient(90deg, #fff, #f1fcf8);
}

.document-hero a {
  color: var(--accent);
  font-weight: 800;
}

.document-hero h1 {
  max-width: 880px;
  margin: 28px 0 16px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

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

.document-body {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 82px;
}

.document-section {
  padding: 0 0 36px;
}

.document-section h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.document-section p,
.document-section li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.document-section p {
  margin: 0;
}

.document-section ul {
  margin: 0;
  padding-left: 22px;
}

.document-section li + li {
  margin-top: 8px;
}

.text-link {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    justify-content: start;
    gap: clamp(20px, 4vw, 42px);
  }

  .header-contact {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(42px, 5vw, 58px);
  }

  .hero p {
    font-size: clamp(19px, 2vw, 24px);
  }

  .preview-frame {
    max-width: 390px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 76px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding-top: 8px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .preview-frame {
    max-width: 430px;
  }

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

  .support-section,
  .footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 18px;
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .brand {
    font-size: 22px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 19px;
  }

  .hero-actions {
    gap: 14px;
  }

  .preview-frame {
    max-width: 280px;
  }

  .app-card {
    grid-template-columns: 76px 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .app-icon {
    width: 76px;
    height: 76px;
  }

  .legal-row {
    grid-template-columns: 54px 1fr 24px;
    gap: 16px;
  }

  .legal-icon {
    width: 54px;
    height: 54px;
  }

  .legal-row strong {
    font-size: 19px;
  }

  .legal-row small {
    font-size: 14px;
  }

  .document-body {
    max-width: 390px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
