:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5a6962;
  --line: #dce5df;
  --panel: #ffffff;
  --wash: #f4f8f5;
  --green: #217a57;
  --teal: #0f6f78;
  --gold: #c58a1d;
  --shadow: 0 20px 60px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wash);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  align-items: center;
  background: rgba(244, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.85rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-weight: 650;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 84px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 6vw, 80px);
}

.hero-copy,
.page-hero,
.section,
.legal-content,
.support-panel {
  margin: 0 auto;
  max-width: 1120px;
}

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

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

h1 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: #e5eee8;
  color: var(--ink);
}

.phone-preview {
  background: #17211d;
  border: 10px solid #27332e;
  border-radius: 36px;
  box-shadow: var(--shadow);
  justify-self: center;
  max-width: 360px;
  min-height: 620px;
  padding: 18px;
  width: min(100%, 360px);
}

.phone-top {
  background: #0b110f;
  border-radius: 0 0 14px 14px;
  height: 24px;
  margin: -18px auto 18px;
  width: 112px;
}

.preview-screen {
  background: linear-gradient(180deg, #f7fbf8, #dfeae5);
  border-radius: 24px;
  min-height: 550px;
  padding: 24px;
}

.metric-row,
.mini-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 14px;
}

.metric-row span,
.mini-card span {
  color: var(--muted);
}

.ring {
  align-items: center;
  background: conic-gradient(var(--green) 0 82%, #cddbd4 82% 100%);
  border-radius: 50%;
  display: flex;
  height: 220px;
  justify-content: center;
  margin: 50px auto;
  position: relative;
  width: 220px;
}

.ring::after {
  background: #f7fbf8;
  border-radius: 50%;
  content: "";
  inset: 28px;
  position: absolute;
}

.ring span {
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.mini-card {
  margin-top: 14px;
}

.mini-card.accent {
  border-left: 5px solid var(--gold);
}

.section {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 680px;
}

.feature-grid,
.content-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px auto 0;
  max-width: 1120px;
  padding: 0 clamp(18px, 6vw, 80px) clamp(56px, 8vw, 96px);
}

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

.card p,
.legal-content p,
.support-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  padding: 18px;
}

.page {
  padding-top: clamp(42px, 7vw, 82px);
}

.page-hero {
  padding: 0 clamp(18px, 6vw, 80px);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.support-panel {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 34px;
  padding: 28px;
  width: calc(100% - clamp(36px, 12vw, 160px));
}

.legal-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 46px);
  width: calc(100% - clamp(36px, 12vw, 160px));
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 30px;
}

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

.not-found {
  min-height: 100vh;
  padding: clamp(28px, 6vw, 64px);
}

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

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

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

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .feature-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-preview {
    min-height: 520px;
  }

  .preview-screen {
    min-height: 450px;
  }

  .ring {
    height: 180px;
    margin: 34px auto;
    width: 180px;
  }

  .support-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }

  .phone-preview {
    border-width: 8px;
    border-radius: 28px;
    min-height: 470px;
  }

  .preview-screen {
    min-height: 400px;
    padding: 18px;
  }

  .ring {
    height: 150px;
    width: 150px;
  }

  .ring span {
    font-size: 1.8rem;
  }
}
