:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #5c6863;
  --line: #dfe7e2;
  --green: #177a55;
  --green-dark: #0f563f;
  --teal: #1a8e92;
  --yellow: #f2c94c;
  --coral: #df6b50;
  --shadow: 0 24px 60px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  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;
  text-decoration: none;
}

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

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

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

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

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 30%, var(--yellow) 0 16%, transparent 17%),
    linear-gradient(135deg, var(--green) 0 46%, var(--teal) 47% 72%, var(--coral) 73%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.site-nav,
.site-footer nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a,
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 54px;
  align-items: center;
  padding: 34px 0 72px;
}

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

.eyebrow {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero-subtitle {
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 750;
  margin-bottom: 18px;
}

.hero-text,
.section-heading p,
.data-band p,
.notice p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 580px;
  font-size: 1.15rem;
}

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

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

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--green-dark);
}

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

.phone-shell {
  width: min(100%, 360px);
  aspect-ratio: 9 / 18.5;
  background: #101915;
  border-radius: 34px;
  padding: 22px;
  color: #ffffff;
  box-shadow: var(--shadow);
  border: 8px solid #26302c;
  overflow: hidden;
}

.status-row,
.filter-row,
.pool-card,
.detail-panel {
  border-radius: 8px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #d9eee6;
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.filter-row span {
  flex: 1 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #d9eee6;
  font-size: 0.78rem;
  font-weight: 700;
}

.pool-card {
  background: #f4faf6;
  color: var(--ink);
  padding: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pool-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.pool-card b {
  color: var(--green);
  font-size: 1.35rem;
}

.pool-card.muted {
  background: #fff8e1;
}

.detail-panel {
  background: linear-gradient(135deg, rgba(26, 142, 146, 0.95), rgba(23, 122, 85, 0.95));
  padding: 18px;
  margin-top: 22px;
}

.detail-panel p {
  margin: 8px 0 0;
  color: #eefaf6;
}

.label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

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

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p,
.flow-list span {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.flow-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  display: grid;
  gap: 6px;
}

.data-band,
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.data-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.data-band p,
.notice p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 6px 0 0;
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 34px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .split,
  .data-band {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 20px;
  }

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

  .data-band {
    display: grid;
  }
}

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

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .phone-shell {
    width: min(100%, 330px);
  }

  .section {
    padding: 48px 0;
  }

  .data-band,
  .notice {
    padding: 22px;
  }
}
