/* Defind website. Colors match src/theme.ts. System fonts only, so the site loads nothing from third parties. */
:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #6b6b6b;
  --rule: #dcdcdc;
  --paper: #ffffff;
  --accent: #e4572e;
  --accent-dark: #b8401c;
  --accent-soft: #f6c7b6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
}

a { color: var(--accent-dark); }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(1040px, 100%); margin: 0 auto; padding: 0 20px; }
.narrow { width: min(680px, 100%); }

/* header */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 22px var(--serif); }
.brand img { width: 28px; height: 28px; }

/* hero */
.hero { background: var(--accent-soft); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; padding-top: 72px; }
.hero-copy { align-self: center; padding-bottom: 72px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink); }
h1 { margin: 12px 0 24px; font: 700 clamp(36px, 5.4vw, 54px)/1.12 var(--serif); letter-spacing: -0.5px; text-wrap: balance; }
.tiles { display: flex; gap: 6px; margin: 0; }
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--paper);
  font-size: 25px;
  font-weight: 800;
}
.say { margin: 10px 0 0; color: var(--ink); }
.say i { font-family: var(--serif); }
.lede { margin: 24px 0 28px; font: 400 21px/1.4 var(--serif); }
.soon {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
}
.phone {
  justify-self: center;
  width: min(100%, 420px);
  border: 7px solid var(--ink);
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
}

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.steps h2 { margin: 0 0 8px; font: 700 25px/1.2 var(--serif); }
.steps p { margin: 0; }

.week { border-top: 1px solid var(--rule); }
.week .wrap { padding-top: 64px; padding-bottom: 64px; text-align: center; }
.week h2 { margin: 0 0 12px; font: 700 clamp(24px, 6vw, 38px)/1.2 var(--serif); text-wrap: balance; }
.week p { margin: 0 auto; max-width: 560px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; }

/* policy and support pages */
.doc { padding-top: 48px; padding-bottom: 72px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(34px, 6vw, 44px); }
.doc h2 { margin: 36px 0 6px; font: 700 22px/1.25 var(--serif); }
.doc p { margin: 0 0 12px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .intro { margin-top: 20px; font: 400 21px/1.4 var(--serif); }

/* footer */
.foot { border-top: 1px solid var(--rule); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 28px; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; }

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 44px; }
  .hero-copy { padding-bottom: 44px; }
  .phone { width: min(100%, 340px); }
  .steps { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .week .wrap { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 400px) {
  .tile { width: 46px; height: 46px; font-size: 22px; }
}
