:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f6368;
  --line: #dedbd2;
  --paper: #fffdf7;
  --surface: #ffffff;
  --accent: #11a36a;
  --accent-strong: #08764b;
  --brick: #dd3f33;
  --gold: #d49b1f;
  --shadow: 0 16px 40px rgba(23, 23, 23, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  background: #e8f6ef;
  color: var(--accent-strong);
}

.hero {
  display: grid;
  min-height: calc(82svh - 64px);
  overflow: hidden;
  place-items: end start;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.06));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-copy {
  color: #ffffff;
  max-width: 720px;
  padding: clamp(44px, 8vw, 96px) clamp(22px, 6vw, 84px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9af0c0;
}

h1,
h2 {
  line-height: 1.06;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.25rem);
}

.hero-copy p:last-child,
.page-heading p,
.section p,
.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-copy p:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 640px;
}

.section,
.page-heading {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.two-column {
  align-items: center;
  display: grid;
  gap: clamp(28px, 7vw, 84px);
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.65fr);
}

.phone-shot {
  aspect-ratio: 1242 / 2688;
  border-radius: 8px;
  box-shadow: var(--shadow);
  justify-self: center;
  max-height: 620px;
  object-fit: cover;
  width: min(100%, 310px);
}

.features,
.support-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features article,
.support-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.features h2,
.support-grid h2,
.legal-body h2 {
  font-size: 1.18rem;
}

.page {
  min-height: calc(100svh - 140px);
}

.page-heading {
  padding-bottom: 24px;
}

.page-heading h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  max-width: 12ch;
}

.page-heading p {
  max-width: 720px;
}

.legal .page-heading {
  max-width: 900px;
}

.legal-body {
  max-width: 900px;
  padding-top: 16px;
}

.legal-body h2 {
  margin-top: 40px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body ol {
  padding-left: 24px;
}

.legal-body a,
.support-grid a,
.site-footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 24px clamp(18px, 5vw, 72px);
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    overflow-x: auto;
    width: 100%;
  }

  .hero {
    min-height: 58svh;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.22));
  }

  .two-column,
  .features,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .phone-shot {
    width: min(82vw, 300px);
  }
}
