:root {
  color-scheme: light;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --brand-soft: #dff7f2;
  --accent: #f97316;
  --accent-soft: #fff3e8;
  --blue: #2563eb;
  --ink: #13201f;
  --muted: #5d6c69;
  --line: #dce7e4;
  --surface: #ffffff;
  --surface-soft: #f5faf8;
  --surface-strong: #ebf4f1;
  --shadow: 0 18px 50px rgba(15, 91, 84, 0.13);
  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;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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);
  border-bottom: 1px solid rgba(220, 231, 228, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

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

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--brand-strong);
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 34px;
  padding: 82px clamp(20px, 5vw, 72px) 46px;
  background:
    linear-gradient(180deg, rgba(223, 247, 242, 0.9), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 50% 28%, rgba(249, 115, 22, 0.14), transparent 34%),
    var(--surface-soft);
  overflow: hidden;
}

.hero-inner {
  width: min(920px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

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

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--brand-strong);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
}

.hero-copy,
.section-heading p,
.split-section p,
.contact-section p,
.legal-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

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

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-strong);
}

.app-preview {
  width: min(760px, 100%);
  display: flex;
  justify-content: center;
}

.preview-phone {
  width: min(100%, 390px);
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #eef8f5);
  box-shadow: var(--shadow);
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.preview-top img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.preview-top strong,
.preview-top span {
  display: block;
}

.preview-top span {
  color: var(--muted);
  font-size: 0.9rem;
}

.task-card {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.task-card.featured {
  border-color: rgba(15, 118, 110, 0.22);
  background: var(--brand-soft);
}

.task-card.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-card strong {
  display: block;
  margin: 6px 0 4px;
}

.task-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.tag.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

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

.section-heading {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.stat {
  padding: 28px;
  background: var(--surface);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  margin-bottom: 4px;
  color: var(--brand-strong);
  font-size: 1.35rem;
}

.stat span {
  color: var(--muted);
}

.steps-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step,
.safety-grid article,
.contact-card,
.legal-card,
.legal-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 32, 31, 0.05);
}

.step {
  padding: 24px;
}

.step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.step p,
.safety-grid p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 42px;
  align-items: center;
  background: var(--surface-soft);
}

.split-section.alt {
  background: #fffaf5;
}

.split-section p {
  margin-left: 0;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.safety-section {
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
}

.safety-grid article {
  padding: 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 32px;
  align-items: center;
}

.contact-section p {
  margin-left: 0;
}

.contact-card {
  padding: 24px;
  background: var(--brand-soft);
}

.email-link {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 18px;
  padding: 38px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #102522;
  color: #f2fffb;
}

.site-footer p,
.site-footer small {
  color: rgba(242, 255, 251, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 750;
}

.site-footer a {
  color: #f2fffb;
  text-decoration: none;
}

.site-footer small {
  grid-column: 1 / -1;
}

.legal-page {
  background: var(--surface-soft);
}

.legal-header {
  padding: 44px clamp(20px, 5vw, 72px) 24px;
}

.legal-header .brand {
  margin-bottom: 34px;
}

.legal-hero {
  max-width: 920px;
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-meta span,
.legal-meta a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-content {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 72px) 72px;
}

.legal-card {
  padding: 24px;
}

.legal-card h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--brand-strong);
  font-weight: 800;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-note {
  padding: 18px;
  border-color: rgba(249, 115, 22, 0.24);
  background: var(--accent-soft);
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .stats-band,
  .steps-grid,
  .safety-grid,
  .split-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .task-card.compact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

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

  .button {
    width: 100%;
  }

  .preview-phone {
    border-radius: 18px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
