:root {
  --ink: #14201f;
  --muted: #60706d;
  --paper: #fffdf7;
  --line: #dce5df;
  --jade: #0b6258;
  --mint: #ccebdd;
  --rose: #b85063;
  --gold: #e5ad42;
  --sky: #e8f5f7;
  --clay: #a96847;
  --shadow: 0 24px 70px rgba(20, 32, 31, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 229, 223, 0.82);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1.1rem;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--jade);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px) clamp(38px, 7vw, 74px);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.91) 50%, rgba(232, 245, 247, 0.9) 100%),
    linear-gradient(135deg, rgba(204, 235, 221, 0.72), rgba(255, 253, 247, 0) 55%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0) 72%, var(--paper) 100%),
    radial-gradient(circle at 82% 26%, rgba(229, 173, 66, 0.28), transparent 30%),
    radial-gradient(circle at 68% 78%, rgba(184, 80, 99, 0.16), transparent 24%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.44fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
  width: 100%;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(4.2rem, 10vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-lede {
  width: 100%;
  max-width: 620px;
  margin-bottom: 28px;
  color: #34433f;
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.hero-actions,
.policy-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.button.primary {
  color: #ffffff;
  background: var(--jade);
  box-shadow: 0 12px 30px rgba(11, 98, 88, 0.22);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

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

.hero-device {
  position: relative;
  width: min(100%, 300px);
  justify-self: center;
}

.hero-screenshot {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
  border: 8px solid #182422;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px) 24px;
}

.quick-strip div {
  min-height: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.quick-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.quick-strip strong,
.quick-strip span,
.rhythm-list strong,
.rhythm-list span,
.policy-card strong,
.policy-card span,
.site-footer span {
  display: block;
}

.quick-strip strong,
.rhythm-list strong,
.policy-card strong {
  margin-bottom: 6px;
}

.quick-strip span,
.rhythm-list span,
.policy-card span,
.site-footer span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

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

.section-heading.compact {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 38px rgba(20, 32, 31, 0.05);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--jade);
  background: var(--mint);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  color: #744218;
  background: #fde6b6;
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  color: #7c2d40;
  background: #f7d7de;
}

.screens-section {
  max-width: none;
  background: var(--sky);
}

.screens-section .section-heading,
.screen-rail,
.sim-screen-rail {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 14px;
  scrollbar-color: var(--jade) transparent;
}

.screen-rail figure {
  min-width: 178px;
  margin: 0;
}

.screen-rail img {
  width: 100%;
  border-radius: 28px;
  border: 7px solid #182422;
  box-shadow: 0 18px 42px rgba(20, 32, 31, 0.2);
}

.screen-rail figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--ink);
  font-weight: 850;
}

.sim-screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 16px;
}

.sim-screen-rail figure {
  min-width: 178px;
  margin: 0;
}

.sim-screen-rail img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  object-position: top;
  border: 6px solid #182422;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 32, 31, 0.18);
}

.sim-screen-rail figcaption {
  margin-top: 12px;
  color: var(--ink);
  text-align: center;
  font-weight: 850;
}

.preview-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.preview-panel {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(11, 98, 88, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 32, 31, 0.08);
}

.preview-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(204, 235, 221, 0.56), rgba(255, 255, 255, 0.95) 58%),
    #ffffff;
}

.preview-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--jade);
  background: rgba(204, 235, 221, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
}

.preview-panel h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.preview-panel p {
  margin-bottom: 0;
}

.preview-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(220, 229, 223, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.preview-list span {
  width: 18px;
  height: 18px;
  border: 2px solid var(--jade);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #ffffff;
  background: var(--jade);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.rhythm-list {
  display: grid;
  gap: 12px;
}

.rhythm-list div {
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 38px rgba(20, 32, 31, 0.06);
}

.rhythm-list div:nth-child(2) {
  border-left-color: var(--rose);
}

.rhythm-list div:nth-child(3) {
  border-left-color: var(--jade);
}

.privacy-preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-card {
  flex: 1 1 280px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
}

.policy-card:hover {
  border-color: rgba(11, 98, 88, 0.55);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.field-group {
  display: grid;
  gap: 7px;
}

label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd9d3;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfefa;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 98, 88, 0.16);
  border-color: var(--jade);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--jade);
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.site-footer a:hover {
  color: var(--jade);
}

.legal-page {
  padding: clamp(44px, 7vw, 90px) clamp(18px, 4vw, 56px);
}

.legal-document {
  max-width: 820px;
  margin: 0 auto;
}

.legal-document h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.92;
}

.legal-document h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.legal-document p {
  font-size: 1.02rem;
}

.legal-document a {
  color: var(--jade);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
  }

  .hero-inner,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-device {
    width: min(100%, 330px);
  }

  .hero-phone {
    width: min(100%, 260px);
  }

  .quick-strip,
  .feature-grid,
  .preview-board {
    grid-template-columns: 1fr;
  }

  .preview-large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .quick-strip div,
  .quick-strip div:first-child,
  .quick-strip div:last-child {
    border-radius: 8px;
  }

  .contact-copy {
    position: static;
  }

  .screen-rail {
    grid-template-columns: repeat(5, 210px);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .brand {
    flex: 1 0 100%;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: none;
  }

  .legal-nav {
    display: none;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 26px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 253, 247, 0.8)),
      linear-gradient(135deg, rgba(204, 235, 221, 0.76), rgba(255, 253, 247, 0) 58%);
  }

  h1 {
    font-size: clamp(4rem, 20vw, 5.8rem);
  }

  h2 {
    max-width: calc(100vw - 48px);
    font-size: 2rem;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .hero-lede {
    max-width: calc(100vw - 40px);
    font-size: 1.06rem;
    overflow-wrap: normal;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: calc(100vw - 40px);
  }

  .button {
    width: 100%;
  }

  .hero-device {
    display: none;
  }

  .hero-inner,
  .hero-copy,
  .quick-strip,
  .section,
  .site-footer {
    width: 100%;
    max-width: 100%;
  }

  .quick-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }

  .section-heading,
  .section-heading p,
  .split-section > div,
  .split-section p {
    max-width: calc(100vw - 48px);
  }

  .quick-strip div,
  .feature-card,
  .policy-card,
  .rhythm-list div {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .screen-rail {
    grid-template-columns: repeat(5, 178px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover {
    transform: none;
  }
}
