:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-soft: #eef5f2;
  --ink: #17211d;
  --muted: #647067;
  --line: #dfe8e3;
  --brand: #008f7d;
  --brand-dark: #057061;
  --accent-teal: var(--brand);
  --accent: #d97b53;
  --shadow: 0 18px 50px rgba(25, 42, 35, 0.12);
  --radius: 8px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 247, 0.86);
  border-bottom: 1px solid rgba(223, 232, 227, 0.8);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand,
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark,
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}

.header-nav,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.header-nav a:hover,
.nav-links a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 72px;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow,
.badge {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lede,
.section-heading p,
.app-store-card p,
.policy-body p,
.policy-body li {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

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

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.primary,
.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.primary:hover,
.btn-primary:hover {
  background: var(--brand-dark);
}

.secondary,
.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.hero-media {
  position: relative;
  max-width: 390px;
  margin: 0 auto;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 24px -18px -24px 18px;
  z-index: -1;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.hero-media img,
.screen-card img {
  width: 100%;
  border: 10px solid #17211d;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.section {
  padding: 72px 0;
}

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

.section-heading.narrow {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.feature-card,
.app-store-card,
.policy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card {
  padding: 22px;
}

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

.screens-section {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

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

.screen-card {
  margin: 0;
}

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

.screen-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 4px 0;
}

.screen-card strong {
  font-size: 1rem;
}

.screen-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.app-store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.app-store-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.app-store-card p {
  max-width: 640px;
  margin-bottom: 0;
}

.site-footer,
.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner,
.footer-bottom {
  min-height: 80px;
  font-size: 0.94rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.navbar {
  background: rgba(246, 248, 247, 0.86);
  border-bottom: 1px solid rgba(223, 232, 227, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.policy-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 104px 24px 72px;
}

.policy-header {
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.policy-header h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.policy-meta {
  color: var(--muted);
}

.policy-body section {
  margin-bottom: 34px;
}

.policy-body h2 {
  margin-bottom: 12px;
  font-size: 1.42rem;
}

.policy-body h3 {
  margin-bottom: 8px;
}

.policy-body ul,
.policy-body ol {
  padding-left: 1.25rem;
}

.policy-card {
  padding: 20px;
  margin: 18px 0;
}

.policy-body a {
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner,
  .nav-container {
    min-height: 64px;
  }

  .header-nav,
  .nav-links,
  .nav-actions {
    gap: 12px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 54px 0 48px;
  }

  h1 {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.9rem;
    line-height: 1.04;
  }

  .hero-lede {
    max-width: 280px;
    font-size: 1.05rem;
  }

  .hero-actions {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-media {
    max-width: 250px;
  }

  .hero-media::before {
    inset: 18px 0 -18px;
  }

  .header-nav {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

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

  .screen-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .app-store-card,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .button,
  .btn {
    width: 100%;
  }
}
