:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1d2327;
  --muted: #5d676e;
  --line: #e2e0da;
  --brand: #1f4e5f;
  --brand-ink: #ffffff;
  --accent: #f3c969;
  --radius: 16px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14191c;
    --surface: #1d2428;
    --text: #e8ebec;
    --muted: #a3adb3;
    --line: #2e373c;
    --brand: #5fa3b8;
    --brand-ink: #0b1418;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
img {
  max-width: 100%;
  /* Keep the width/height attributes for layout space, but let CSS widths scale the height to match */
  height: auto;
  display: block;
}
a {
  color: var(--brand);
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.logo img {
  width: 34px;
  height: 34px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .site-header nav a:not(.btn) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}
.btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 34em;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
}
.phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  /* Don't stretch the shorter (offset) phone to the row's height */
  align-items: flex-start;
}
.phone {
  border-radius: 28px;
  border: 8px solid #1d2327;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  background: #fff;
  width: 230px;
  /* Proportions apply to the screenshot itself; the frame is added outside it */
  box-sizing: content-box;
  aspect-ratio: 390 / 844;
}
@media (prefers-color-scheme: dark) {
  .phone {
    border-color: #3a454b;
  }
}
.phone:nth-child(2) {
  margin-top: 48px;
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 46%;
    max-width: 230px;
  }
}

/* Sections */
section.band {
  padding: 56px 0;
}
section.band.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.sub {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 40em;
}
.grid {
  display: grid;
  /* 3 across on desktop, so 6 feature cards make two even rows */
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
section.band.alt .card {
  background: var(--bg);
}
.card h3 {
  margin: 10px 0 6px;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.icon svg {
  width: 22px;
  height: 22px;
}
.steps {
  counter-reset: step;
}
.steps .card h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #1d2327;
  font-size: 0.9rem;
}
.nz-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nz-list li {
  padding-left: 28px;
  position: relative;
}
.nz-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}
.access {
  text-align: center;
}
.access .sub {
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer a {
  color: var(--muted);
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}
.legal h1 {
  font-size: 2rem;
  margin: 0 0 6px;
}
.legal .updated {
  color: var(--muted);
  margin: 0 0 28px;
}
.legal h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}
.legal p,
.legal li {
  color: var(--text);
}
.legal ul {
  padding-left: 20px;
}
.legal li + li {
  margin-top: 4px;
}
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 16px 20px;
}
.summary ul {
  margin: 8px 0 0;
}
