:root {
  --ink: #18231f;
  --muted: #5e6b66;
  --paper: #fbfdfb;
  --soft: #eef6f1;
  --teal: #078f7c;
  --deep-teal: #075f58;
  --mint: #8bd4c3;
  --gold: #e8ba4e;
  --line: #dbe7e0;
  --white: #ffffff;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 253, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

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

.site-header nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--deep-teal);
}

.splash {
  min-height: 74svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  padding: clamp(36px, 5.6vw, 60px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 56px);
  background: var(--soft);
  overflow: hidden;
}

.splash-copy {
  max-width: 760px;
}

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

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 7.2rem);
  max-width: 100%;
  overflow-wrap: normal;
  word-break: keep-all;
}

.lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: #31413b;
  font-size: clamp(1.16rem, 2.1vw, 1.55rem);
  line-height: 1.45;
}

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

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

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

.button.secondary {
  color: var(--deep-teal);
  background: var(--white);
  border-color: #bed9d2;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.splash-visual {
  position: relative;
  min-height: clamp(380px, 40vw, 520px);
}

.app-icon {
  width: min(70vw, 380px);
  height: auto;
  display: block;
  margin-left: auto;
  border-radius: 24%;
  box-shadow: 0 28px 70px rgba(7, 95, 88, 0.26);
}

.budget-preview {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(92%, 350px);
  padding: 20px;
  border: 1px solid rgba(24, 35, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(24, 35, 31, 0.16);
}

.preview-topline,
.preview-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.preview-topline {
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-topline strong {
  color: var(--deep-teal);
  font-size: 1.6rem;
}

.meter {
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #dce9e3;
}

.meter span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--gold);
}

.preview-row {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.preview-row.muted {
  color: var(--muted);
}

.feature-band,
.privacy-callout {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

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

.section-heading h2,
.privacy-callout h2,
.policy-summary h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.03;
}

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

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card h3 {
  font-size: 1.26rem;
}

.feature-card p,
.privacy-callout p,
.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.65;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 560px) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  color: var(--white);
  background: var(--ink);
}

.privacy-callout .eyebrow,
.privacy-callout p {
  color: #c7e4db;
}

.text-link {
  color: var(--white);
  font-weight: 850;
  text-underline-offset: 5px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--deep-teal);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 820px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(42px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

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

.policy-summary img {
  border-radius: 8px;
}

.policy-summary p:last-of-type {
  color: var(--muted);
}

.policy-summary .button {
  margin-top: 18px;
}

.policy-content {
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.policy-content section + section {
  margin-top: 36px;
}

.policy-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.policy-content p {
  margin: 14px 0 0;
}

.policy-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.policy-content a {
  color: var(--deep-teal);
  font-weight: 750;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .splash,
  .privacy-callout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .splash {
    min-height: auto;
  }

  .splash-visual {
    min-height: 340px;
  }

  .app-icon {
    margin: 0 auto;
    width: min(70vw, 320px);
  }

  .budget-preview {
    left: 50%;
    transform: translateX(-50%);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .splash {
    padding-top: 36px;
  }

  .splash-visual {
    min-height: 270px;
  }

  .app-icon {
    width: min(66vw, 260px);
  }

  .budget-preview {
    width: 100%;
  }

  .policy-content {
    padding: 20px;
  }
}
