:root {
  --ink: #0f3748;
  --ink-deep: #0a2733;
  --teal: #00c4a0;
  --teal-soft: #7dd3c0;
  --mist: #e7f2f0;
  --paper: #f4faf8;
  --fog: #d5e8e4;
  --text: #16343f;
  --muted: #4a6b74;
  --line: rgba(15, 55, 72, 0.14);
  --white: #ffffff;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark svg {
  width: 1.35rem;
  height: auto;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--white);
}

.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(244, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  width: 100%;
  padding-inline: max(1rem, calc((100% - var(--max)) / 2));
  margin: 0;
}

.site-header--solid .brand-mark {
  color: var(--ink);
}

.site-header--solid .site-nav a {
  color: var(--muted);
}

.site-header--solid .site-nav a:hover,
.site-header--solid .site-nav a[aria-current="page"] {
  color: var(--ink);
}

/* —— Hero: one full-bleed composition —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(0, 196, 160, 0.28), transparent 55%),
    linear-gradient(155deg, var(--ink-deep) 0%, var(--ink) 48%, #145566 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  width: 100%;
}

.hero-wave path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.hero-wave .wave-a {
  stroke: rgba(125, 211, 192, 0.45);
  animation: drift 9s var(--ease) infinite alternate;
}

.hero-wave .wave-b {
  stroke: rgba(255, 255, 255, 0.22);
  animation: drift 11s var(--ease) infinite alternate-reverse;
}

.hero-wave .wave-c {
  stroke: rgba(0, 196, 160, 0.35);
  animation: drift 7s var(--ease) infinite alternate;
}

.hero-mic {
  position: absolute;
  right: max(4%, calc(50% - 28rem));
  top: 18%;
  width: min(42vw, 18rem);
  opacity: 0.92;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
  animation: rise 1.1s var(--ease) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
  animation: rise 0.9s var(--ease) 0.08s both;
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-line {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-support {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--ink-deep);
}

.btn-primary:hover {
  background: var(--teal-soft);
  color: var(--ink-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* —— Product strip —— */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.features {
  background:
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}

.feature-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.feature-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— How it works —— */
.how {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.steps strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Local / offline —— */
.local {
  background:
    linear-gradient(165deg, var(--ink-deep) 0%, var(--ink) 55%, #145566 100%);
  color: var(--white);
}

.local .section-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.local .section-title {
  color: var(--white);
}

.local .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.promise-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 36rem;
}

.promise-list li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

.promise-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* —— Legal pages —— */
.legal {
  background: var(--white);
}

.legal-page {
  min-height: 60vh;
}

.legal-meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-body {
  max-width: 46rem;
}

.legal-body p,
.legal-body li {
  color: var(--text);
  font-size: 0.98rem;
}

.legal-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.legal-body li + li {
  margin-top: 0.35rem;
}

.legal-body strong {
  font-weight: 600;
}

.placeholder {
  font-style: italic;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.site-footer a {
  color: var(--teal-soft);
}

.site-footer p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateX(-1.5%);
  }
  to {
    transform: translateX(1.5%);
  }
}

@media (max-width: 720px) {
  .hero-mic {
    top: 12%;
    right: -6%;
    width: min(58vw, 13rem);
    opacity: 0.55;
  }

  .hero-content {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .site-nav {
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .hero-mic,
  .hero-wave .wave-a,
  .hero-wave .wave-b,
  .hero-wave .wave-c {
    animation: none;
  }
}
