:root {
  --teal: #2c7a7b;
  --teal-dark: #215a5b;
  --teal-soft: #e2f0f0;
  --amber: #ffb55e;
  --amber-soft: #fff0dc;
  --periwinkle: #7476e8;
  --canvas: #f7fafa;
  --card: #ffffff;
  --ink: #173042;
  --ink-soft: #4a6472;
  --border: #dce7e8;
  --shadow: 0 18px 45px rgba(23, 48, 66, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(44, 122, 123, 0.28);
}

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

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: currentColor;
}

.btn-ghost:hover {
  background: var(--teal-soft);
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  border-radius: 10px;
}

.brand-accent {
  color: var(--teal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--teal);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(60% 55% at 85% 10%, var(--teal-soft) 0%, transparent 60%),
    radial-gradient(45% 45% at 0% 90%, var(--amber-soft) 0%, transparent 60%),
    var(--canvas);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1.1rem;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-note::before {
  content: "\2713";
  color: var(--teal);
  font-weight: 700;
  margin-right: 0.4rem;
}

/* Hero phone mock */
.hero-visual {
  display: flex;
  justify-content: center;
}

.device {
  width: 280px;
  padding: 14px;
  background: var(--ink);
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.device-screen {
  background: var(--card);
  border-radius: 30px;
  padding: 2rem 1.4rem;
  min-height: 460px;
}

.mock-today {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}

.mock-row.mock-done {
  background: var(--teal-soft);
  border-color: transparent;
}

.mock-dot {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.mock-dot.done {
  background: var(--teal);
}

.mock-dot.up {
  background: var(--amber);
  box-shadow: 0 0 0 5px var(--amber-soft);
}

.mock-dot.calm {
  background: var(--periwinkle);
}

.mock-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.mock-text strong {
  font-size: 0.95rem;
}

.mock-text small {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #fff;
}

.section-center {
  text-align: center;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--teal);
  margin: 0 0 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 42rem;
  margin: 0.8rem 0 0;
}

/* Feature cards */
.card-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding: 0;
  margin: 2.6rem 0 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 6px 18px rgba(23, 48, 66, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
  background: var(--teal-soft);
  border-radius: 14px;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 0;
  margin: 2.8rem 0 0;
}

.step {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Safety */
.safety-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "\2714";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.notice {
  background: var(--amber-soft);
  border: 1px solid #f6dfb8;
  border-radius: var(--radius);
  padding: 1.6rem;
}

.notice h3 {
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.notice p {
  margin: 0;
  color: var(--ink-soft);
}

/* Download */
.download-card {
  max-width: 46rem;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
}

.download-mark {
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.download-card .section-lede {
  margin-inline: auto;
}

.download-card .btn {
  margin-top: 1.6rem;
}

.download-note {
  margin: 1.1rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 30rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9d8dd;
  padding: 3.2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2.5rem;
}

.site-footer .brand {
  color: #fff;
}

.footer-tagline {
  margin: 0.6rem 0 0;
  color: #9fb6bf;
  font-size: 0.95rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-nav a {
  color: #c9d8dd;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-note p {
  margin: 0 0 0.6rem;
  color: #9fb6bf;
  font-size: 0.9rem;
}

.footer-copy {
  margin-top: 1rem !important;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .card-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.5rem 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link,
  .nav-menu .btn {
    display: block;
    padding: 0.8rem 5%;
    border-radius: 0;
    justify-content: flex-start;
    box-shadow: none;
  }

  .nav-menu .btn {
    background: transparent;
    color: var(--teal);
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .device {
    width: 240px;
  }

  .device-screen {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
