:root {
  color-scheme: light;
  --ink: #162018;
  --muted: #5f6d63;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --soft: #ebe6dc;
  --line: #d9d2c6;
  --brand: #245943;
  --brand-strong: #143928;
  --accent: #b86632;
  --blue: #285a7c;
  --shadow: 0 22px 70px rgba(28, 39, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 210, 198, 0.72);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(36, 89, 67, 0.08);
}

.nav-links .nav-cta {
  background: var(--brand);
  color: white;
  font-weight: 700;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 6px;
  padding: 9px 12px;
  font: inherit;
}

.hero {
  position: relative;
  min-height: calc(100svh - 116px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(12, 21, 16, 0.82) 0%, rgba(12, 21, 16, 0.66) 42%, rgba(12, 21, 16, 0.18) 100%),
    url("https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) 0;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.55rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-copy,
.page-hero p,
.section-copy p,
.split p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 680px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--brand);
  color: white;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.hero-stats div,
.stat-card,
.feature-card,
.proof-link,
.support-card,
.policy-summary,
.contact-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-stats dt {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 900;
  color: var(--brand-strong);
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.page-hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.page-hero {
  padding-top: 112px;
  padding-bottom: 70px;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
}

.marketing-hero,
.support-hero {
  min-height: 460px;
}

.app-preview,
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}

.split.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.phone-cluster {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  width: min(330px, 46vw);
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 8px solid #121816;
  background: #121816;
}

.phone-front {
  right: 16%;
  top: 0;
  z-index: 2;
}

.phone-back {
  left: 2%;
  top: 86px;
  transform: rotate(-3deg);
  opacity: 0.92;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.band {
  width: 100%;
  max-width: none;
  padding: 96px max(16px, calc((100vw - 1160px) / 2));
  background: #e8eee9;
  border-block: 1px solid rgba(36, 89, 67, 0.12);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.feature-grid,
.proof-grid,
.stat-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.stat-card,
.proof-link,
.support-card,
.policy-summary {
  padding: 24px;
}

.feature-card p,
.stat-card span,
.proof-link span,
.support-card p,
.policy-summary li,
.policy-copy p,
.source-list li {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 6px;
  background: rgba(184, 102, 50, 0.13);
  color: var(--accent);
  font-weight: 900;
}

.panel-image {
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 8px solid #141b18;
  width: min(410px, 100%);
  justify-self: center;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 800;
  text-underline-offset: 4px;
}

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.proof-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-link:hover {
  border-color: var(--brand);
}

.cta-strip {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 96px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 10px;
  background: var(--brand-strong);
  color: white;
}

.cta-strip .eyebrow {
  color: #f0b57a;
}

.cta-strip h2 {
  margin-bottom: 0;
}

.cta-strip .button.primary {
  background: white;
  color: var(--brand-strong);
}

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

.stat-card strong {
  display: block;
  color: var(--brand-strong);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  margin-bottom: 14px;
}

.comparison-table {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.comparison-table div:last-child {
  border-bottom: 0;
}

.comparison-table span:first-child {
  font-weight: 800;
}

.source-list ul {
  columns: 2;
  padding-left: 20px;
}

.source-list li {
  break-inside: avoid;
  margin-bottom: 12px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 44px;
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 104px;
}

.policy-summary h2,
.support-card h2 {
  font-size: 1.4rem;
}

.policy-copy {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
}

.policy-copy h2 {
  font-size: 1.45rem;
  margin-top: 32px;
}

.policy-copy h2:first-child {
  margin-top: 0;
}

.support-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
}

.step-list {
  display: grid;
  gap: 18px;
}

.step-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.step-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-list span {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 34px;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 32px;
  color: var(--muted);
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

@media (max-width: 980px) {
  .app-preview,
  .split,
  .split.reverse,
  .policy-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .feature-grid,
  .feature-grid.three,
  .proof-grid,
  .stat-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone-cluster {
    min-height: 540px;
  }

  .policy-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.75rem);
  }

  .hero {
    min-height: calc(100svh - 92px);
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(12, 21, 16, 0.72) 0%, rgba(12, 21, 16, 0.84) 72%, rgba(12, 21, 16, 0.92) 100%),
      url("https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1100&q=82") center/cover;
  }

  .hero-stats,
  .feature-grid,
  .feature-grid.three,
  .proof-grid,
  .stat-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .phone-cluster {
    min-height: 420px;
  }

  .phone {
    width: min(240px, 62vw);
  }

  .phone-front {
    right: 4%;
  }

  .phone-back {
    left: 0;
    top: 72px;
  }

  .cta-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .source-list ul {
    columns: 1;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
