:root {
  --night-sky: #0f1c24;
  --night-sky-elevated: #1a2c38;
  --soft-teal: #3d9b8f;
  --soft-teal-light: #7bc4b8;
  --mist: #e8f1f0;
  --mist-muted: #c5d5d2;
  --warm-sand: #f3ede4;
  --ink: #152028;
  --ink-muted: #5a6b73;
  --surface: #f7f5f1;
  --white: #fffdf9;
  --line: rgba(21, 32, 40, 0.1);
  --glow: rgba(61, 155, 143, 0.28);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(15, 28, 36, 0.12);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--soft-teal);
  font-weight: 500;
}

a:hover {
  color: #2d7f75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  min-height: var(--nav-h);
  padding: 0.75rem 1.25rem;
  background: rgba(247, 245, 241, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background: #050505;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(15, 28, 36, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--mist);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 80% 10%, rgba(61, 155, 143, 0.28), transparent 60%),
    linear-gradient(180deg, var(--night-sky) 0%, #12232d 55%, #1a2c38 100%);
  color: var(--mist);
  padding: 3.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-teal-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  max-width: 14ch;
  margin-bottom: 1rem;
  color: #f7f5f1;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--mist-muted);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--soft-teal);
  color: white;
}

.btn-primary:hover {
  background: #34857b;
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--mist);
  border: 1px solid rgba(232, 241, 240, 0.22);
}

.btn-ghost:hover {
  background: rgba(232, 241, 240, 0.08);
  color: white;
}

.btn-dark {
  background: var(--night-sky);
  color: white;
}

.btn-dark:hover {
  background: #1a2c38;
  color: white;
}

.device {
  width: min(320px, 100%);
  margin-inline: auto;
  background: #1a2c38;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.device-screen {
  background: linear-gradient(180deg, #f7f5f1 0%, #f3ede4 45%, #f7f5f1 100%);
  border-radius: 32px;
  overflow: hidden;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
}

.os-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
}

.home {
  padding: 4px 14px 0;
}

.home-date {
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.home-greet {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}

.home-greet span {
  color: var(--soft-teal);
}

.dash-card {
  background: var(--warm-sand);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 11px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(15, 28, 36, 0.05);
}

.safe-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.safe {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a9b7a;
  box-shadow: 0 0 0 4px rgba(74, 155, 122, 0.18);
}

.badge {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--soft-teal);
  background: rgba(61, 155, 143, 0.14);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.metric {
  font-size: 0.62rem;
  color: var(--ink-muted);
}

.metric strong {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--ink);
  font-weight: 600;
}

.halo {
  background:
    linear-gradient(120deg, rgba(61, 155, 143, 0.12), transparent 60%),
    var(--warm-sand);
}

.halo-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--soft-teal);
  margin-bottom: 6px;
}

.halo-quote {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.halo-meta {
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin: 2px 0 6px;
  display: flex;
  justify-content: space-between;
}

.section-label span {
  color: var(--soft-teal);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.68rem;
}

.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 8px;
}

.qa {
  background: var(--warm-sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.qa-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.qa-icon svg {
  width: 14px;
  height: 14px;
}

.qa-label {
  font-size: 0.72rem;
  font-weight: 600;
}

.circle-row {
  display: flex;
  justify-content: space-evenly;
  padding: 4px 0 2px;
}

.avatar {
  text-align: center;
  font-size: 0.62rem;
  color: var(--ink-muted);
}

.avatar i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  font-style: normal;
  font-weight: 700;
  font-size: 0.68rem;
  margin: 0 auto 4px;
  position: relative;
}

.avatar i::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: #4a9b7a;
  border: 2px solid var(--warm-sand);
  border-radius: 50%;
}

.sos {
  width: 100%;
  margin: 4px 0 10px;
  border: 0;
  border-radius: 999px;
  padding: 10px;
  background: rgba(181, 69, 69, 0.22);
  color: #b54545;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(247, 245, 241, 0.96);
  padding: 8px 4px 12px;
  text-align: center;
  font-size: 0.58rem;
  color: rgba(90, 107, 115, 0.7);
}

.tabbar .on {
  color: var(--soft-teal);
  font-weight: 600;
  position: relative;
}

.tabbar .on::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 22px;
  height: 3px;
  margin-left: -11px;
  background: var(--soft-teal);
  border-radius: 2px;
}

.tabbar svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 3px;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--ink-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.steps,
.features {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-teal);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--ink-muted);
}

.trust {
  background: var(--night-sky);
  color: var(--mist);
}

.trust .section-lead,
.trust .card p {
  color: var(--mist-muted);
}

.trust .card {
  background: var(--night-sky-elevated);
  border-color: rgba(232, 241, 240, 0.08);
  box-shadow: none;
}

.trust h2,
.trust .card h3 {
  color: white;
}

.disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--soft-teal);
  background: rgba(61, 155, 143, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--mist-muted);
}

.page-hero {
  background: var(--night-sky);
  color: var(--mist);
  padding: 2.5rem 0 3rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--mist-muted);
}

.legal {
  padding: 2.5rem 0 4.5rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.toc {
  background: var(--mist);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 2rem;
}

.toc h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.toc ol {
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.toc a {
  text-decoration: none;
  color: var(--night-sky-elevated);
}

.toc a:hover {
  color: var(--soft-teal);
}

.legal section {
  margin-bottom: 2.1rem;
  scroll-margin-top: 90px;
}

.legal h2 {
  font-size: 1.45rem;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.legal h2 .num {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--soft-teal);
  letter-spacing: 0.08em;
}

.legal p,
.legal li {
  margin-bottom: 0.8rem;
}

.legal ul {
  padding-left: 1.15rem;
  margin-bottom: 0.9rem;
}

.callout {
  border-left: 3px solid var(--soft-teal);
  background: var(--mist);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
  margin: 1rem 0;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  font: inherit;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  display: none;
}

.alert.show {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--soft-teal);
}

@media (min-width: 800px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-card {
    padding: 2.4rem 2.6rem;
  }
}
