@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist_400Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist_500Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist_600SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --background: #151515;
  --surface: #1d1d1c;
  --foreground: #f4ede2;
  --muted: #b9b7b2;
  --orange: #df7228;
  --orange-hover: #f1833d;
  --border: #353532;
  --border-strong: #66635d;
  --page: 1120px;
  --gutter: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain over the whole page, the same uncoated-print texture as native.express. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

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

h1,
h2,
h3,
p,
dl,
dd,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  z-index: 4;
  padding: 12px 16px;
  background: var(--foreground);
  color: var(--background);
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}

.header {
  padding: 20px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}
.brand img {
  width: 44px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav a:not(.button) {
  color: var(--muted);
  padding: 12px 0;
  white-space: nowrap;
  transition: color 150ms;
}
.nav a:not(.button):hover {
  color: var(--foreground);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 150ms, border-color 150ms, transform 150ms;
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--background);
}
.button-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}
.button-secondary {
  border-color: var(--border-strong);
}
.button-secondary:hover {
  background: #252523;
  border-color: var(--muted);
}
.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.eyebrow {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}

.hero {
  padding: 72px 0 0;
  text-align: center;
}
.hero h1 {
  max-width: 940px;
  margin: 20px auto 0;
  font-weight: 500;
  font-size: clamp(40px, 5.7vw, 72px);
  line-height: 1.075;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.lede {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.terms {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 72px;
}
.screens img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 28px;
}

.section {
  padding: 112px 0 0;
}
.section h2 {
  max-width: 760px;
  margin-top: 12px;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.section-intro {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Rows separated by hairlines rather than cards, as on native.express. */
.rows {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.rows > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.rows dt {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rows dd {
  max-width: 680px;
  color: var(--muted);
}

.table-wrap {
  margin-top: 48px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
thead th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
tbody th {
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}
.compare td:first-of-type,
.compare thead th:nth-child(2) {
  color: var(--foreground);
  font-weight: 500;
}
.compare td {
  color: var(--muted);
  min-width: 150px;
}
.table-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.table-note a,
.rows dd a,
.faq dd a {
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}
.table-note a:hover,
.rows dd a:hover,
.faq dd a:hover {
  text-decoration-color: var(--orange);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 64px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.quotes figure {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.quotes blockquote {
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.quotes figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.tiers > div {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.tiers h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.price {
  margin-top: 8px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.tiers p:last-child {
  margin-top: 12px;
  color: var(--muted);
}
.section .actions {
  justify-content: flex-start;
}

.faq {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.faq > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.faq dt {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.faq dd {
  color: var(--muted);
}
.faq dd p + p {
  margin-top: 12px;
}

.closing {
  padding: 144px 0 120px;
  text-align: center;
}
.closing h2 {
  max-width: 820px;
  margin: 0 auto;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.closing .actions {
  justify-content: center;
}

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer-about p {
  max-width: 320px;
  margin-top: 16px;
  color: var(--muted);
}
.footer h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer li {
  margin-top: 12px;
}
.footer li a {
  transition: color 150ms;
}
.footer li a:hover {
  color: var(--orange);
}
.footer-legal {
  margin-top: 56px;
  color: var(--muted);
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }
  .nav a:not(.button) {
    display: none;
  }
  .hero {
    padding-top: 40px;
  }
  .screens {
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    gap: 12px;
  }
  .screens img {
    scroll-snap-align: start;
  }
  .section {
    padding-top: 80px;
  }
  .rows > div,
  .faq > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .quotes,
  .tiers {
    grid-template-columns: 1fr;
  }
  .closing {
    padding: 96px 0 80px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .nav a:not(.button),
  .footer li a {
    transition: none;
  }
}

/* The header's button has no room on a phone; the hero repeats it directly below. */
@media (max-width: 480px) {
  .nav .button-small {
    display: none;
  }
}
