:root {
  --ink: #171717;
  --muted: #5f646b;
  --paper: #fffaf6;
  --coral: #e66b4b;
  --teal: #0f766e;
  --blue: #284b8f;
  --line: rgba(23, 23, 23, 0.14);
  --soft: rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.primary-action,
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 800;
  font-size: 18px;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.store-link,
.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 750;
}

.store-link,
.primary-action {
  padding: 0 18px;
  color: white;
  background: var(--ink);
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 68px));
  padding: clamp(84px, 14vw, 150px) clamp(20px, 6vw, 86px) clamp(48px, 7vw, 86px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.96) 0%, rgba(255, 250, 246, 0.84) 42%, rgba(255, 250, 246, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 250, 246, 0) 70%, var(--paper) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}

.hero-content {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 11vw, 132px);
  line-height: 0.9;
}

.lede {
  max-width: 640px;
  margin-bottom: 28px;
  color: #303236;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.22;
}

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

.primary-action img {
  border-radius: 6px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: white;
}

.proof-strip div {
  min-height: 104px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1;
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 9vw, 108px) clamp(20px, 6vw, 86px);
}

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

h2 {
  max-width: 860px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 240px;
  padding: clamp(22px, 3vw, 34px);
  background: white;
}

h3 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.05;
}

.feature-grid p,
.legal-content p,
details p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #f4fbfa;
  border-block: 1px solid var(--line);
}

.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-cases span {
  padding: 12px 14px;
  color: #082f2c;
  background: white;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  font-weight: 700;
}

.faq-section {
  background: white;
}

details {
  max-width: 900px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
}

details p {
  max-width: 720px;
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-footer,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer span {
  color: white;
  font-weight: 800;
}

.plain-page {
  background: white;
}

.legal-content {
  max-width: 820px;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 6vw, 86px);
}

.legal-content h1 {
  font-size: clamp(44px, 7vw, 76px);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 26px;
  line-height: 1.1;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .store-link {
    padding: 0 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 250, 246, 0.95) 0%, rgba(255, 250, 246, 0.78) 58%, rgba(255, 250, 246, 0.2) 100%),
      linear-gradient(180deg, rgba(255, 250, 246, 0) 72%, var(--paper) 100%);
  }

  .proof-strip,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }
}
