:root {
  color-scheme: light;
  --background: #f3faf8;
  --surface: #ffffff;
  --ink: #163433;
  --muted: #55706e;
  --teal: #0e9f9a;
  --teal-dark: #087a76;
  --pale-teal: #dcedea;
  --coral: #ff6858;
  --gold: #f5b93f;
  --line: #c7dfdb;
  --shadow: 0 24px 70px rgba(22, 52, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(160deg, rgba(220, 237, 234, 0.92), rgba(255, 255, 255, 0) 46%),
    var(--background);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(14, 159, 154, 0.24);
}

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

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

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(14, 159, 154, 0.1);
  color: var(--teal-dark);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 88px);
  padding: 34px 0 72px;
}

.hero-copy {
  max-width: 680px;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 12px 26px rgba(14, 159, 154, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(22, 52, 51, 0.09);
}

.app-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 364px);
  border: 10px solid #163433;
  border-radius: 44px;
  background: #163433;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  justify-content: center;
  padding: 10px 0 8px;
}

.phone-top span {
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.screen {
  min-height: 610px;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, #f3faf8, #ffffff 70%),
    #ffffff;
  padding: 24px;
}

.screen-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.screen-heading img {
  border-radius: 14px;
}

.screen-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.screen-heading strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
}

.lookup-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(22, 52, 51, 0.08);
}

.lookup-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lookup-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.lookup-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}

.tag-row span {
  border-radius: 999px;
  background: var(--pale-teal);
  color: var(--teal-dark);
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 800;
}

.progress-list {
  display: grid;
  gap: 14px;
}

.progress-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: #f7fbfa;
  padding: 13px;
}

.progress-list span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gold);
}

.progress-list div:nth-child(2) span {
  background: var(--teal);
}

.progress-list div:nth-child(3) span {
  background: var(--coral);
}

.progress-list p {
  width: 100%;
  height: 12px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--line), rgba(199, 223, 219, 0.2));
}

.section {
  padding: 74px 0;
}

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

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.feature-grid article {
  min-height: 184px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
}

.feature-grid p,
.support-panel p {
  color: var(--muted);
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 5vw, 46px);
  box-shadow: 0 20px 48px rgba(22, 52, 51, 0.08);
}

.support-panel p {
  max-width: 690px;
  margin-bottom: 0;
}

.support-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.policy-page {
  background: var(--background);
}

.policy-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.policy-main h1 {
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.policy-lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.policy-meta {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.policy-section {
  border-top: 1px solid var(--line);
  padding: 34px 0 8px;
}

.policy-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 22px;
}

.policy-section li + li {
  margin-top: 8px;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: 44px;
  }

  .app-preview {
    justify-content: flex-start;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-panel {
    grid-template-columns: 1fr;
  }

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-links a {
    padding-inline: 8px;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .support-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .screen {
    min-height: 520px;
    padding: 20px;
  }

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

  .section {
    padding: 54px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
