:root {
  --primary: #0066cc;
  --primary-focus: #0071e3;
  --primary-on-dark: #2997ff;
  --ink: #1d1d1f;
  --muted: #7a7a7a;
  --muted-dark: #cccccc;
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --dark: #272729;
  --dark-2: #252527;
  --black: #000000;
  --hairline: #e0e0e0;
  --max: 1440px;
  --text-max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: 0;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-focus);
  outline-offset: 4px;
}

.global-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: var(--black);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.brand {
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a[aria-current="page"] {
  color: #fff;
}

.section-white {
  background: var(--canvas);
}

.section-parchment {
  background: var(--parchment);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.hero {
  min-height: calc(100vh - 44px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1fr);
  align-items: center;
  gap: 64px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 56px 52px;
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 17px;
  line-height: 1.24;
  transition: transform 160ms ease;
}

.button:active {
  transform: scale(0.95);
}

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

.button-secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.text-link {
  color: var(--primary);
  font-size: 17px;
}

.dark-link {
  color: var(--primary-on-dark);
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.phone {
  position: absolute;
  margin: 0;
  width: min(340px, 48vw);
  aspect-ratio: 1290 / 2796;
  border: 10px solid #101014;
  border-radius: 48px;
  overflow: hidden;
  background: #101014;
  box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-front {
  z-index: 3;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
}

.phone-back {
  z-index: 2;
  width: min(282px, 40vw);
  opacity: 0.92;
}

.phone-left {
  left: 4px;
  top: 90px;
}

.phone-right {
  right: 4px;
  top: 120px;
}

.product-tile {
  min-height: 820px;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 48px;
  padding: 80px 56px;
  text-align: center;
}

.tile-copy {
  max-width: 780px;
}

.tile-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}

.section-dark .tile-copy p {
  color: var(--muted-dark);
}

.screenshot-row {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 360px));
  justify-content: center;
  gap: 32px;
}

.product-shot,
.single-shot {
  width: min(360px, 100%);
  height: auto;
  border: 8px solid #101014;
  border-radius: 42px;
  background: #101014;
  box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
}

.single-shot {
  width: min(390px, 90vw);
}

.feature-band {
  padding: 80px 56px;
}

.feature-grid {
  max-width: var(--text-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--canvas);
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-bridge {
  padding: 80px 56px;
  text-align: center;
}

.legal-bridge h2,
.legal-bridge p,
.legal-bridge .cta-row {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.legal-bridge p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}

.legal-bridge .cta-row {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 48px 56px;
  background: var(--parchment);
  color: #333;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  align-items: start;
}

.fine-print {
  grid-column: 1 / -1;
  color: var(--muted);
}

.document-page {
  background: var(--canvas);
}

.document-hero {
  padding: 80px 56px 64px;
  text-align: center;
}

.document-hero h1,
.document-hero .lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.document-body {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 64px 56px 80px;
}

.document-body p {
  color: #333;
}

.document-body h2 {
  margin-top: 48px;
  font-size: 34px;
  line-height: 1.2;
}

@media (max-width: 1068px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 64px 32px 48px;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero .cta-row {
    justify-content: center;
  }

  .hero-visual {
    width: min(720px, 100%);
    min-height: 640px;
    margin: 0 auto;
  }

  .screenshot-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .product-shot,
  .single-shot {
    width: min(340px, 78vw);
  }

  h1 {
    font-size: 40px;
  }

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

@media (max-width: 734px) {
  .global-nav {
    padding: 0 20px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero,
  .product-tile,
  .feature-band,
  .legal-bridge,
  .document-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 34px;
  }

  .lead,
  .tile-copy p,
  .legal-bridge p {
    font-size: 21px;
    line-height: 1.35;
  }

  .hero-visual {
    min-height: 570px;
  }

  .phone {
    width: min(280px, 72vw);
    border-width: 8px;
    border-radius: 38px;
  }

  .phone-back {
    width: min(224px, 58vw);
  }

  .phone-left {
    left: -30px;
    opacity: 0.36;
  }

  .phone-right {
    right: -30px;
    opacity: 0.36;
  }

  .product-tile {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .document-body {
    padding: 48px 24px 64px;
  }

  .document-body h2 {
    font-size: 28px;
  }
}

@media (max-width: 419px) {
  .global-nav {
    font-size: 11px;
  }

  .nav-links {
    gap: 10px;
  }

  h1,
  h2 {
    font-size: 28px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    width: min(250px, 74vw);
  }

  .phone-back {
    width: 198px;
  }
}
