:root {
  color-scheme: light;
  --ink: #18201f;
  --text: #33413f;
  --muted: #6d7976;
  --line: #d9e0dc;
  --paper: #fbfcf8;
  --soft: #edf4ef;
  --teal: #0f766e;
  --teal-dark: #0a4d48;
  --mint: #d8f3e9;
  --amber: #f3b23f;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(27, 42, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.back-link:hover {
  color: var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: clamp(54px, 8vw, 100px) clamp(20px, 5vw, 72px) 64px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
}

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

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

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

.phone {
  width: min(100%, 360px);
  aspect-ratio: 0.55;
  padding: 14px;
  border: 1px solid #202928;
  border-radius: 34px;
  background: #202928;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: #495552;
}

.screen {
  display: flex;
  height: calc(100% - 19px);
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(216, 243, 233, 0.82), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.status-row,
.list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-row {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
}

.metric-card,
.list-card {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 150px;
  justify-content: flex-end;
  padding: 18px;
}

.metric-card strong {
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.tiny-label {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 760;
}

.list-card {
  justify-content: flex-start;
  min-height: 72px;
  padding: 14px;
}

.list-card > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--amber);
}

.list-card:nth-of-type(3) > span {
  background: var(--teal);
}

.list-card:nth-of-type(4) > span {
  background: #344e68;
}

.list-card strong,
.list-card small {
  display: block;
}

.list-card strong {
  color: var(--ink);
  line-height: 1.2;
}

.list-card small {
  color: var(--muted);
}

.band,
.section {
  padding: 80px clamp(20px, 5vw, 72px);
}

.intro {
  border-block: 1px solid var(--line);
  background: var(--white);
}

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

.section-heading h2,
.single-document h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.two-column,
.support-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.two-column p {
  margin: 0;
  max-width: 680px;
}

.panel,
.policy-item,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.panel {
  padding: clamp(22px, 4vw, 34px);
}

.primary-panel {
  background: #f8fbf4;
}

.panel h3,
.policy-item h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2rem;
}

.muted {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.faq-list p {
  margin-bottom: 0;
}

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

.policy-item {
  padding: 22px;
}

.appstore {
  background: var(--ink);
  color: #dce5e1;
}

.appstore .eyebrow,
.appstore h2 {
  color: var(--white);
}

.info-table {
  display: grid;
  overflow: hidden;
  max-width: 980px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.info-table > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.info-table span {
  color: #aebbb7;
}

.info-table strong {
  color: var(--white);
  overflow-wrap: anywhere;
}

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

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

.plain-page {
  background: var(--white);
}

.single-document {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.single-document h1 {
  margin-top: 28px;
}

.single-document h2 {
  margin-top: 34px;
  color: var(--ink);
}

.back-link {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 880px) {
  .hero,
  .two-column,
  .support-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .phone {
    max-width: 330px;
  }

  .policy-grid {
    gap: 14px;
  }
}

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

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .section-heading h2,
  .single-document h1 {
    font-size: 2.2rem;
  }

  .band,
  .section {
    padding-block: 56px;
  }

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

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