:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5d6764;
  --paper: #fbfaf5;
  --white: #ffffff;
  --line: #d9ddd5;
  --green: #186a5b;
  --green-dark: #0e4039;
  --blue: #1f5d7a;
  --coral: #c65c3a;
  --gold: #c89b36;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.16);
  --radius: 8px;
}

* {
  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);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.88);
  border-bottom: 1px solid rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(24, 106, 91, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green-dark);
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button svg,
.icon-button svg,
.brand-mark svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(24, 106, 91, 0.3);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(23, 33, 31, 0.16);
}

.button.ghost {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 106, 91, 0.22);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86svh;
  padding: 118px clamp(18px, 4vw, 64px) 54px;
  background-image:
    linear-gradient(90deg, rgba(10, 18, 16, 0.82) 0%, rgba(10, 18, 16, 0.58) 37%, rgba(10, 18, 16, 0.18) 67%, rgba(10, 18, 16, 0.06) 100%),
    url("assets/family-voice-lock-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-inner {
  width: 100%;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #e8f4ef;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 17px;
  height: 17px;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 26px;
  color: #f5f4ed;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.micro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: #f8f7ef;
  font-size: 0.92rem;
}

.micro-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.micro-proof svg {
  width: 15px;
  height: 15px;
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 64px);
}

.section.alt {
  background: var(--white);
}

.section.dark {
  color: var(--white);
  background: #182522;
}

.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  width: 100%;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.dark .lead,
.dark .muted {
  color: #cad4d0;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature,
.price-card,
.step,
.quote,
.asset-card,
.form-panel,
.kit-panel {
  background: var(--white);
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(23, 33, 31, 0.07);
}

.feature,
.step,
.quote,
.asset-card,
.kit-panel {
  padding: 22px;
}

.feature-icon,
.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.feature-icon.blue {
  background: var(--blue);
}

.feature-icon.coral {
  background: var(--coral);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.muted {
  color: var(--muted);
}

.problem-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

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

.plain-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plain-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--green);
}

.ai-origin {
  padding-top: clamp(42px, 6vw, 68px);
  padding-bottom: clamp(42px, 6vw, 68px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 64, 57, 0.96), rgba(31, 93, 122, 0.92)),
    var(--green-dark);
}

.ai-origin-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
}

.ai-origin-icon {
  display: grid;
  place-items: center;
  width: clamp(56px, 9vw, 82px);
  height: clamp(56px, 9vw, 82px);
  color: var(--green-dark);
  background: #f4efe0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.ai-origin-icon svg {
  width: 34px;
  height: 34px;
}

.ai-origin .eyebrow {
  margin-bottom: 12px;
}

.ai-origin h2 {
  max-width: 820px;
}

.ai-origin .lead {
  max-width: 830px;
  margin-bottom: 0;
  color: #e9f2ee;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
}

.price-card.highlight {
  border-color: rgba(24, 106, 91, 0.38);
  box-shadow: var(--shadow);
}

.price-top {
  min-height: 150px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 6px;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: var(--green-dark);
  background: #e5f1ec;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.sponsor-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 46px);
  background:
    linear-gradient(135deg, rgba(24, 106, 91, 0.88), rgba(31, 93, 122, 0.86)),
    #17312d;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sponsor-price {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
}

.sponsor-panel .button.secondary {
  color: var(--ink);
}

.testimonial-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote strong {
  color: var(--green-dark);
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.asset-card {
  min-height: 170px;
}

.asset-card p:last-child,
.feature p:last-child,
.step p:last-child,
.price-card p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 34px clamp(18px, 4vw, 64px);
  color: #dbe3df;
  background: #111a18;
}

.footer-inner {
  display: flex;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: #ffffff;
}

.policy-list {
  display: grid;
  gap: 18px;
}

.policy-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23, 33, 31, 0.12);
}

.policy-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(17, 26, 24, 0.62);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  width: 100%;
  max-width: 440px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-panel .icon-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  color: var(--ink);
  background: #f1f2ed;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.page-hero {
  padding: 128px clamp(18px, 4vw, 64px) 46px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 106, 91, 0.94), rgba(23, 33, 31, 0.9)),
    #17312d;
}

.page-hero-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: start;
}

.form-panel {
  padding: 24px;
}

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

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

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 33, 31, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
  color: var(--ink);
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.note {
  padding: 14px;
  color: var(--green-dark);
  background: #eaf4ee;
  border: 1px solid #c8dfd3;
  border-radius: var(--radius);
}

.kit-page {
  background: #f5f4ef;
}

.kit-shell {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 112px clamp(16px, 3vw, 36px) 44px;
}

.kit-panel {
  margin-bottom: 18px;
}

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

.wallet-card,
.fridge-card {
  min-height: 210px;
  padding: 18px;
  background: #ffffff;
  border: 2px solid #17211f;
  border-radius: var(--radius);
}

.fridge-card {
  min-height: 300px;
}

.card-title {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rule {
  padding: 10px 12px;
  background: #f0f5f3;
  border-left: 4px solid var(--green);
}

.script-box {
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: var(--radius);
}

.print-actions {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .price-grid,
  .grid.three,
  .assets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-band,
  .ai-origin-panel,
  .sponsor-panel,
  .testimonial-row,
  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    min-height: auto;
    align-items: flex-start;
  }

  .site-header > .button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 0;
  }

  .site-header > .button svg {
    width: 19px;
    height: 19px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding-top: 92px;
    background-image:
      linear-gradient(180deg, rgba(10, 18, 16, 0.86) 0%, rgba(10, 18, 16, 0.62) 60%, rgba(10, 18, 16, 0.34) 100%),
      url("assets/family-voice-lock-hero.png");
    background-position: 64% center;
  }

  .hero-inner,
  .hero .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-actions,
  .micro-proof {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero .eyebrow,
  .hero-copy,
  .micro-proof {
    width: calc(100vw - 72px);
    max-width: 312px;
  }

  .hero-actions {
    width: calc(100vw - 40px);
    max-width: 350px;
  }

  .hero .eyebrow {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .hero-copy {
    overflow-wrap: break-word;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12vw, 3.35rem);
    line-height: 0.94;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .micro-proof span {
    flex: 1 1 100%;
  }

  .price-grid,
  .grid.three,
  .grid.two,
  .assets-grid,
  .kit-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .print-actions {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .print-actions .button {
    flex: 1;
  }
}

@media print {
  .site-header,
  .print-actions,
  .footer {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .kit-shell {
    width: 100%;
    padding: 0;
  }

  .kit-panel,
  .wallet-card,
  .fridge-card,
  .script-box {
    break-inside: avoid;
    box-shadow: none;
  }
}
