:root {
  color-scheme: light;
  --ink: #18221e;
  --muted: #617067;
  --paper: #f6f4ed;
  --panel: #fffbef;
  --line: #d8d0bd;
  --field: #ebe2d0;
  --leaf: #146b43;
  --leaf-dark: #0e4f34;
  --sun: #f4b942;
  --rose: #c96156;
  --sky: #76a9b7;
  --shadow: 0 28px 80px rgba(24, 34, 30, 0.16);
  font-family: Avenir Next, Gill Sans, Trebuchet MS, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 12%, rgba(244, 185, 66, 0.28), transparent 26rem),
    linear-gradient(135deg, rgba(20, 107, 67, 0.08), transparent 28rem),
    var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(24, 34, 30, 0.12);
  background: rgba(246, 244, 237, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer span,
.inline-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.86rem;
}

.nav-links {
  gap: clamp(0.7rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-links a:hover,
.nav-links a[aria-current='page'],
.site-footer a:hover {
  color: var(--leaf);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 4.6rem);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem) 4rem;
}

.hero-copy {
  max-width: 55rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-family: Georgia, Cambria, Times New Roman, serif;
  font-size: clamp(4.5rem, 16vw, 13rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, Cambria, Times New Roman, serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

.lede {
  max-width: 42rem;
  color: #3e4b44;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button.primary {
  background: var(--leaf);
  color: white;
  box-shadow: 5px 5px 0 var(--ink);
}

.button.secondary {
  background: var(--panel);
}

.product-shot {
  justify-self: center;
  width: min(100%, 28rem);
}

.phone-shell {
  overflow: hidden;
  padding: 1rem;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(118, 169, 183, 0.28), transparent 16rem),
    #202b27;
  box-shadow: var(--shadow), 10px 10px 0 var(--ink);
  color: white;
}

.phone-status,
.inline-actions {
  justify-content: space-between;
  color: #d8e5dc;
  font-size: 0.8rem;
  font-weight: 800;
}

.chat-bubble,
.clip-card {
  margin-top: 1rem;
  border-radius: 18px;
}

.chat-bubble {
  max-width: 82%;
  padding: 0.8rem 1rem;
  line-height: 1.4;
}

.incoming {
  background: #33453e;
}

.outgoing {
  margin-left: auto;
  background: var(--leaf);
}

.clip-card {
  display: grid;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--panel);
  color: var(--ink);
}

.clip-frame {
  position: relative;
  min-height: 18rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background:
    linear-gradient(180deg, transparent 64%, rgba(0, 0, 0, 0.65)),
    linear-gradient(135deg, var(--rose), var(--sun) 45%, var(--sky));
}

.caption-strip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.clip-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.inline-actions {
  gap: 0.5rem;
  margin-top: 1rem;
}

.inline-actions span {
  flex: 1;
  padding: 0.65rem 0.45rem;
  border-radius: 8px;
  background: #33453e;
  text-align: center;
}

.section,
.split-section,
.legal-page {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps article,
.safety-grid div {
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.step-number {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--rose);
  font-family: Georgia, Cambria, Times New Roman, serif;
  font-size: 2rem;
  font-weight: 900;
}

.steps p,
.safety-grid p,
.legal-document p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-page {
  background:
    linear-gradient(90deg, rgba(20, 107, 67, 0.09), transparent 38%),
    var(--paper);
}

.legal-document {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  max-width: none;
  font-size: clamp(3.2rem, 9vw, 7rem);
}

.legal-document h2 {
  margin-top: 2.5rem;
  font-family: Avenir Next, Gill Sans, Trebuchet MS, sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  background: #18221e;
  color: #eef5ef;
  font-size: 0.92rem;
}

.site-footer span {
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.45rem;
    font-size: 0.86rem;
  }

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

  .phone-shell {
    border-radius: 24px;
    box-shadow: var(--shadow), 6px 6px 0 var(--ink);
  }
}
