:root {
  --ink: #1a1714;
  --paper: #f8f5f1;
  --stone: #ece7df;
  --line: #ccc7bf;
  --muted: #6b665e;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2ede6; --paper: #12100f; --stone: #24211e; --line: #47443f; --muted: #a8a399;
  }
}
:root[data-theme="dark"] {
  --ink: #f2ede6; --paper: #12100f; --stone: #24211e; --line: #47443f; --muted: #a8a399;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
}
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 700px; margin: 0 auto; padding: 0 24px; }
.rule { width: 56px; height: 1px; background: var(--line); border: 0; margin: 24px 0; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; max-width: 1120px; margin: 0 auto;
}
.wordmark { font-family: var(--serif); font-size: 20px; letter-spacing: 0.32em; text-decoration: none; text-transform: uppercase; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { text-decoration: none; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.hero-inner { position: relative; z-index: 1; padding: 80px 24px; }
.hero h1 { font-weight: 400; font-size: clamp(48px, 9vw, 104px); letter-spacing: 0.14em; line-height: 1.05; margin: 18px 0; text-transform: uppercase; }
.hero p { max-width: 560px; margin: 0 auto 32px; font-size: 20px; }
.button {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; text-decoration: none; padding: 16px 28px; border: 1px solid currentColor;
}

section { padding: 96px 0; }
h2 { font-weight: 400; font-size: clamp(30px, 4.5vw, 46px); letter-spacing: 0.08em; text-transform: uppercase; margin: 12px 0 0; line-height: 1.15; }
h3 { font-weight: 400; font-size: 24px; margin: 8px 0; }
.lede { font-size: 21px; max-width: 640px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step .num { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }

/* Phones */
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.phone img { border-radius: 28px; border: 1px solid var(--line); background: var(--stone); }
.phone figcaption { margin-top: 14px; }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.brands { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 32px; font-size: 22px; }

/* Journal */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.card { text-decoration: none; display: block; border-top: 1px solid var(--line); padding-top: 20px; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

article h1 { font-weight: 400; font-size: clamp(32px, 5vw, 50px); line-height: 1.15; margin: 14px 0 8px; }
article h2 { font-size: 22px; letter-spacing: 0.06em; margin-top: 48px; }
article table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 20px 0; }
article th, article td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
article th { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.legal h2 { font-size: 20px; }
.legal { font-size: 17px; }

footer { border-top: 1px solid var(--line); padding: 48px 0 64px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.disclosure { max-width: 520px; }

@media (max-width: 900px) {
  .steps, .phones { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap, .narrow, .site-header { padding-left: 16px; padding-right: 16px; }
  .site-header nav { gap: 16px; }
  .site-header nav a:not(.keep) { display: none; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
