:root {
  --color-bg: #f6f2eb;
  --color-surface: #fffdf8;
  --color-surface-strong: #ffffff;
  --color-primary: #00515a;
  --color-primary-dark: #003e45;
  --color-accent: #0aa39b;
  --color-sand: #e8d7bd;
  --color-text: #263131;
  --color-muted: #687777;
  --color-border: rgba(0, 81, 90, 0.16);
  --shadow-soft: 0 24px 70px rgba(0, 62, 69, 0.14);
  --shadow-card: 0 18px 50px rgba(0, 62, 69, 0.12);
  --radius-large: 32px;
  --radius-medium: 22px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(10, 163, 155, 0.14), transparent 32rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--color-bg) 48%, #ffffff 100%);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 16px 42px rgba(0, 62, 69, 0.08);
  backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header--solid {
  border-color: var(--color-border);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 44px rgba(0, 62, 69, 0.12);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 18px;
}

.brand__text {
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(0, 81, 90, 0.09);
  color: var(--color-primary);
}

.hero,
.section,
.policy-page {
  width: var(--container);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 78px 0 64px;
}

.hero__content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--color-primary-dark);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 82px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 54px);
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero__lead,
.intro p,
.cta p,
.policy__lead {
  color: var(--color-muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.store-button,
.app-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button {
  min-height: 54px;
  padding: 0 24px;
}

.button--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 81, 90, 0.24);
}

.button--secondary {
  background: var(--color-surface-strong);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.hero__stats li {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

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

.hero__stats strong {
  color: var(--color-primary-dark);
  font-size: 20px;
}

.hero__stats span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 14px;
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero__visual::before {
  position: absolute;
  inset: 10% 0 8% 8%;
  z-index: -1;
  border-radius: 42% 58% 48% 52%;
  background:
    linear-gradient(135deg, rgba(0, 81, 90, 0.18), rgba(10, 163, 155, 0.18)),
    var(--color-sand);
  content: "";
  filter: blur(2px);
}

.phone {
  overflow: hidden;
  width: min(355px, 82vw);
  border-radius: 48px;
  box-shadow: var(--shadow-soft);
}

.phone img,
.screen-card img {
  width: 100%;
  height: auto;
}

.hero__badge {
  position: absolute;
  right: 0;
  bottom: 12%;
  width: min(230px, 48vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.hero__badge span {
  display: block;
  color: var(--color-primary);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.hero__badge p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 74px 0;
}

.intro {
  max-width: 900px;
  text-align: center;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: 0 12px 34px rgba(0, 62, 69, 0.07);
}

.feature-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 54px;
  border-radius: 16px;
  background: rgba(10, 163, 155, 0.14);
  color: var(--color-primary);
  font-weight: 900;
}

.feature-card p {
  color: var(--color-muted);
}

.screen-section {
  overflow: hidden;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
}

.screen-card {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-card);
}

.screen-card--raised {
  transform: translateY(-28px);
}

.screen-card img {
  border-radius: 28px;
}

.screen-card figcaption {
  padding: 16px 6px 4px;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.places {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
  padding: 48px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(0, 81, 90, 0.94), rgba(0, 62, 69, 0.9)),
    var(--color-primary);
  color: #ffffff;
}

.places h2,
.places .eyebrow {
  color: #ffffff;
}

.places .eyebrow {
  opacity: 0.7;
}

.place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.place-list li {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.cta {
  max-width: 860px;
  text-align: center;
}

.cta__actions {
  justify-content: center;
}

.store-button {
  flex-direction: column;
  min-width: 190px;
  min-height: 70px;
  padding: 12px 24px;
  background: var(--color-primary-dark);
  color: #ffffff;
}

.store-button span {
  font-size: 12px;
  opacity: 0.76;
}

.store-button strong {
  font-size: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 40px auto 0;
  padding: 28px 0 36px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

.policy-page {
  padding: 72px 0;
}

.policy {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-card);
}

.policy h1 {
  font-size: clamp(38px, 6vw, 68px);
}

.policy section {
  margin-top: 34px;
}

.policy h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.policy p {
  color: var(--color-muted);
  font-size: 17px;
}

.policy a {
  color: var(--color-primary);
  font-weight: 800;
}

.policy__date {
  margin-top: 40px;
  font-weight: 800;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 56px;
  }

  .hero__content {
    max-width: none;
  }

  .hero__badge {
    right: 7%;
  }

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

  .screen-card--raised {
    transform: none;
  }

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

@media (max-width: 680px) {
  :root {
    --container: min(100% - 24px, 1120px);
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 42px;
  }

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

  .hero__badge {
    position: static;
    width: min(355px, 82vw);
    margin-top: -18px;
  }

  .section {
    padding: 54px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card__number {
    margin-bottom: 32px;
  }

  .places {
    padding: 30px 22px;
  }

  .policy-page {
    padding: 42px 0;
  }
}
