/*
 * THE PUBLIC SITE (design public-site, release v8.88.28): the app's palette A with the brand teal as the accent, light
 * and dark by the system's preference — the pages carry no script, so the system decides. System fonts only, nothing
 * fetched. The build script writes this file as /assets/site-<hash>.css (cached for a year: a new text, a new name).
 *
 * Contrast (WCAG 2.1 AA, the app's measured pairs): the accent #006f5c is 5.5:1 on the page's #f2f2f7 and white text on
 * it 6.1:1; the dark theme's #1de9b6 is the brand turquoise, with the brand's near-black text on it.
 */
:root {
  color-scheme: light dark;
  --page: #f2f2f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #3c3c43;
  --text-3: #6e6e73;
  --line: rgba(60, 60, 67, 0.16);
  --tint: #006f5c;
  --tint-pressed: #005a4b;
  --tint-soft: rgba(0, 111, 92, 0.1);
  --on-tint: #ffffff;
  /* The wordmark's slash: the brand turquoise on every ground (a logotype, never a UI colour). */
  --brand-slash: #1de9b6;
  --radius: 14px;
  --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', system-ui, Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', system-ui,
    Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --text-2: rgba(235, 235, 245, 0.8);
    --text-3: #98989d;
    --line: rgba(84, 84, 88, 0.55);
    --tint: #1de9b6;
    --tint-pressed: #56efc8;
    --tint-soft: rgba(29, 233, 182, 0.14);
    --on-tint: #0b0b0c;
  }
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tint);
}

a:hover {
  color: var(--tint-pressed);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
}

p {
  margin: 0;
}

.site-wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Header ── */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-brand {
  display: inline-flex;
  color: var(--text);
}

.site-brand svg {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.site-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.site-signin {
  color: var(--tint);
  font-weight: 600;
}

/* ── Sections ── */

main section {
  padding: 56px 0;
}

main section h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.01em;
}

.band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-text {
  max-width: 680px;
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-2);
}

/* ── Hero ── */

main .hero {
  padding: 56px 0 40px;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tint);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 6.4vw, 60px);
  letter-spacing: -0.02em;
}

.lead {
  max-width: 660px;
  margin-top: 20px;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.button-primary,
.button-primary:hover {
  background: var(--tint);
  color: var(--on-tint);
}

.button-primary:hover {
  background: var(--tint-pressed);
}

.button-secondary {
  background: var(--tint-soft);
  color: var(--tint);
}

/* ── The three tiles ── */

main .tiles {
  padding: 8px 0 56px;
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tile {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

main .tile h2 {
  font-size: 21px;
  letter-spacing: 0;
}

.tile p {
  margin-top: 10px;
  color: var(--text-2);
}

/* ── How it works ── */

.steps {
  display: grid;
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--tint-soft);
  color: var(--tint);
  font-weight: 700;
}

.steps h3 {
  font-size: 18px;
}

.steps p {
  margin-top: 8px;
  color: var(--text-2);
}

/* ── The example letter ── */

.example {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.example li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.example h3 {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tint);
}

.example p {
  margin-top: 6px;
}

/* ── Lists with a check ── */

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
}

.checklist li::before {
  content: '';
  position: absolute;
  top: 0.42em;
  left: 4px;
  width: 12px;
  height: 7px;
  border-bottom: 2.5px solid var(--tint);
  border-left: 2.5px solid var(--tint);
  transform: rotate(-45deg);
}

/* ── Contact ── */

.contact-address {
  margin-top: 16px;
  font-size: 16px;
}

/* ── Footer ── */

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}

.site-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ── A narrow phone: the wordmark and the two links on one row ── */

@media (max-width: 400px) {
  .site-brand svg {
    width: 150px;
    height: auto;
  }

  .site-nav {
    gap: 14px;
  }
}

/* ── Wider screens ── */

@media (min-width: 768px) {
  .site-wrap {
    padding: 0 32px;
  }

  main .hero {
    padding: 96px 0 64px;
  }

  main section {
    padding: 72px 0;
  }

  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .example li {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: baseline;
    gap: 20px;
  }

  .example p {
    margin-top: 0;
  }

  .checklist {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
  }
}
