:root {
  --paper: #f2eee3;
  --paper-2: #e4dccd;
  --ink: #10100f;
  --muted: #6f695f;
  --rule: #c7bdae;
  --rule-strong: #1e1c19;
  --dark: #111111;
  --dark-2: #1c1a17;
  --red: #c94b31;
  --blue: #2442ff;
  --green: #6a8d59;
  --measure: 70rem;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
}

img { max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--rule);
  font-family: "Avenir Next Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.wordmark,
.tiny-link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.tiny-link {
  color: var(--muted);
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  min-height: calc(100svh - 3.5rem);
  padding: clamp(3rem, 7vw, 6rem) 0 3rem;
  border-bottom: 1px solid var(--rule-strong);
}

.kicker,
h2,
figcaption,
footer,
.providers li,
.app-store {
  font-family: "Avenir Next Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
}

h1 {
  margin: 0 0 1.5rem;
  font-family: "Avenir Next Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 28rem;
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.03;
}

.hero-copy p:not(.kicker):not(.lead) {
  max-width: 31rem;
  margin: 0.85rem 0;
  color: #26231f;
  font-size: 1.05rem;
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  align-items: end;
  padding-bottom: 1.5rem;
}

.phone {
  margin: 0;
}

.phone img {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  background: var(--dark);
  border: 1px solid #000;
  border-radius: 28px;
  box-shadow: 0 1rem 3rem rgba(16, 16, 15, 0.22);
}

.phone figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.phone-secondary {
  transform: translateY(3rem);
}

.providers {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

h2 {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.providers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.providers li {
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.providers li:nth-child(3n + 1) { color: var(--red); }
.providers li:nth-child(4n + 2) { color: var(--blue); }
.providers li:nth-child(5n) { color: var(--green); }

.notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule-strong);
}

.notes article {
  min-height: 15rem;
  padding: 1.25rem 1rem 1.5rem 0;
  border-right: 1px solid var(--rule);
}

.notes article + article {
  padding-left: 1rem;
}

.notes article:last-child {
  border-right: 0;
}

.notes p {
  margin: 1.5rem 0 0;
  max-width: 15rem;
  color: #27231f;
}

.screens {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1.2fr;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: end;
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
}

.screens .phone:nth-child(2) {
  align-self: start;
}

.screens .phone:nth-child(3) img {
  aspect-ratio: 1280 / 720;
  border-radius: 16px;
}

.privacy-price {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--rule-strong);
}

.privacy-price p {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 2.25rem);
  line-height: 1.12;
}

.privacy-price p + p {
  color: var(--muted);
}

.download {
  padding: 2rem 0 0;
}

.app-store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 11rem;
  min-height: 3.7rem;
  padding: 0.55rem 1rem 0.65rem;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  border-radius: 8px;
  text-decoration: none;
}

.app-store span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.app-store strong {
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2rem) 3rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-media {
    grid-template-columns: 1fr 0.76fr;
    max-width: 32rem;
  }

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

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

  .notes article:nth-child(2) {
    border-right: 0;
  }

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

  .screens .phone:nth-child(3) {
    grid-column: 1 / -1;
  }

  .privacy-price {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .masthead {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  h1 {
    font-size: clamp(4.4rem, 25vw, 7rem);
  }

  .lead {
    font-size: 1.65rem;
  }

  .hero-media,
  .screens {
    grid-template-columns: 1fr;
  }

  .phone-secondary {
    transform: none;
  }

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

  .notes article,
  .notes article + article {
    min-height: 0;
    padding: 1.2rem 0 1.4rem;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .notes article:last-child {
    border-bottom: 0;
  }

  footer {
    display: block;
  }

  footer nav {
    margin-top: 0.75rem;
  }
}
