:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --accent: #0071e3;
  --accent-dark: #005bb8;
  --mint: #33c2a0;
  --violet: #8b6cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 14px max(22px, calc((100vw - 1120px) / 2));
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(29, 29, 31, 0.78);
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
  min-height: calc(100vh - 64px);
  padding: clamp(56px, 9vw, 104px) max(22px, calc((100vw - 1120px) / 2)) 48px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(60px, 10vw, 128px);
  line-height: 0.9;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 730;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--accent);
}

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

.button-secondary {
  color: var(--accent);
  background: rgba(0, 113, 227, 0.09);
}

.product-visual {
  display: flex;
  justify-content: center;
}

.device {
  width: min(100%, 360px);
  aspect-ratio: 0.56;
  padding: 12px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 44px;
  background: linear-gradient(150deg, #2a2a2d, #060608);
  box-shadow: var(--shadow);
}

.screen {
  height: 100%;
  overflow: hidden;
  padding: 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 28% 22%, rgba(51, 194, 160, 0.28), transparent 31%),
    radial-gradient(circle at 78% 8%, rgba(139, 108, 255, 0.26), transparent 30%),
    #f8f8fa;
}

.video-frame {
  position: relative;
  height: 58%;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(150deg, #15191f, #363b49 52%, #111217);
}

.video-frame::before,
.video-frame::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.22);
}

.video-frame::before {
  width: 54%;
  height: 5px;
  left: 20px;
  bottom: 22px;
  border-radius: 999px;
}

.video-frame::after {
  width: 20%;
  height: 5px;
  right: 20px;
  bottom: 22px;
  border-radius: 999px;
}

.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

.play-mark::after {
  position: absolute;
  top: 19px;
  left: 25px;
  width: 0;
  height: 0;
  content: "";
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #1d1d1f;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.timeline span {
  width: var(--w);
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
}

.timeline span:nth-child(even) {
  justify-self: end;
  background: linear-gradient(90deg, var(--violet), var(--accent));
}

.control-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.control-row span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.08);
}

.intro-band {
  padding: 58px max(22px, calc((100vw - 930px) / 2));
  color: #ffffff;
  background: #1d1d1f;
  text-align: center;
}

.intro-band p {
  margin: 0;
  font-size: clamp(25px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.section {
  padding: clamp(70px, 10vw, 120px) max(22px, calc((100vw - 1120px) / 2));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card p,
.principle-list p,
.ads-section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
  background: #ffffff;
}

.principle-list {
  display: grid;
  gap: 22px;
}

.principle-list strong {
  color: var(--text);
}

.ads-section {
  background:
    linear-gradient(90deg, rgba(0, 113, 227, 0.1), rgba(51, 194, 160, 0.12)),
    #f5f5f7;
}

.ads-section div {
  max-width: 780px;
}

.ads-section a {
  color: var(--accent);
  font-weight: 650;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(22px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legal-hero {
  padding: clamp(64px, 10vw, 118px) max(22px, calc((100vw - 900px) / 2)) 42px;
  background: #ffffff;
}

.legal-hero h1 {
  font-size: clamp(44px, 7vw, 86px);
}

.legal-hero p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px 22px clamp(72px, 9vw, 112px);
}

.legal-content section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}

.legal-content p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-content a {
  color: var(--accent);
  font-weight: 650;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .product-visual {
    justify-content: flex-start;
  }

  .device {
    width: min(100%, 330px);
  }

  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-links {
    font-size: 13px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .device {
    border-radius: 34px;
  }

  .screen {
    border-radius: 26px;
  }
}
