:root {
  color-scheme: light;
  --ink: #211f1c;
  --muted-ink: #625f58;
  --paper: #fbfaf7;
  --warm: #f3efe7;
  --soft: #eaf2ed;
  --line: #d8d2c8;
  --accent: #356b5f;
  --accent-dark: #213f38;
  --brick: #9d5845;
  --gold: #cf982c;
  --white: #ffffff;
  --shadow: 0 24px 54px rgba(33, 31, 28, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.95);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  padding: 14px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  justify-content: center;
  font-size: 0.94rem;
}

.site-nav a,
.site-footer a,
.nav-action {
  color: var(--muted-ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.nav-action:hover,
.nav-action:focus-visible {
  color: var(--accent-dark);
}

.nav-action {
  border: 1px solid rgba(216, 210, 200, 0.8);
  border-radius: 8px;
  color: var(--muted-ink);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 13px;
}

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.99) 0%, rgba(251, 250, 247, 0.95) 46%, rgba(251, 250, 247, 0.72) 72%, rgba(251, 250, 247, 0.62) 100%),
    url("assets/family-continuity.png");
  background-position: center;
  background-size: cover;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  min-height: min(760px, calc(100vh - 70px));
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 70px);
}

.hero-copy {
  max-width: 860px;
}

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

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

h1 {
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  margin-bottom: 18px;
}

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

.lede {
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 720px;
}

.audience-line {
  color: var(--accent-dark);
  font-size: 1.03rem;
  font-weight: 750;
  max-width: 700px;
}

.beta-line {
  color: var(--brick);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 22px;
}

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

.button,
button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary,
button {
  background: var(--accent);
  color: var(--white);
}

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

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--accent-dark);
}

.button:focus-visible,
.nav-action:focus-visible,
.site-nav a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(207, 152, 44, 0.72);
  outline-offset: 4px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(216, 210, 200, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
}

.hero-screenshot {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.hero-placeholder {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(234, 242, 237, 0.7), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(45deg, rgba(216, 210, 200, 0.22) 0 1px, transparent 1px 14px);
  color: var(--accent-dark);
  display: grid;
  gap: 8px;
  min-height: clamp(230px, 26vw, 360px);
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  position: relative;
}

.hero-placeholder::after {
  border: 1px solid rgba(53, 107, 95, 0.12);
  border-radius: 6px;
  bottom: 14px;
  content: "";
  left: 14px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 14px;
}

.hero-placeholder strong,
.hero-placeholder p {
  max-width: 410px;
  position: relative;
  z-index: 1;
}

.hero-placeholder strong {
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.hero-placeholder p {
  color: var(--muted-ink);
  margin: 0;
}

.placeholder-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-rail {
  align-self: end;
  background:
    linear-gradient(90deg, rgba(53, 107, 95, 0.18), rgba(53, 107, 95, 0.06)),
    linear-gradient(90deg, rgba(207, 152, 44, 0.2), rgba(207, 152, 44, 0.05));
  border-radius: 999px;
  display: block;
  height: 8px;
  max-width: 320px;
  position: relative;
  width: 42%;
  z-index: 1;
}

.hero-screenshot img {
  display: block;
  height: clamp(210px, 24vw, 330px);
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.panel-label,
.card-kicker {
  color: var(--accent);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-panel .panel-label {
  padding: 18px 20px 0;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 20px;
}

.panel-list span {
  border-bottom: 1px solid var(--line);
  color: var(--accent-dark);
  font-weight: 800;
  padding-bottom: 10px;
}

.hero-panel p:last-child {
  color: var(--muted-ink);
  margin-bottom: 0;
  padding: 0 20px 20px;
}

.section {
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.definition-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(22px, 3.5vw, 36px) clamp(20px, 5vw, 72px);
}

.definition-entry {
  border-left: 5px solid var(--gold);
  max-width: 1040px;
  padding-left: clamp(18px, 3vw, 30px);
}

.definition-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.definition-entry h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.definition-meta {
  color: var(--brick);
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 16px;
}

.definition-copy {
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  margin-bottom: 12px;
  max-width: 900px;
}

.definition-example {
  color: var(--muted-ink);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0;
  max-width: 900px;
}

.section-heading {
  max-width: 800px;
}

.section-heading p,
.trust-copy p {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.lede span {
  display: block;
  margin-top: 8px;
}

.founder-story {
  background: var(--warm);
  display: grid;
  justify-items: center;
}

.founder-panel {
  align-items: start;
  background: rgba(255, 255, 255, 0.7);
  border-left: 6px solid var(--brick);
  border-radius: 8px;
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  max-width: 1120px;
  padding: clamp(24px, 4vw, 42px);
  width: 100%;
}

.founder-panel .section-heading {
  max-width: 760px;
}

.founder-panel h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.founder-panel p:last-child {
  margin-bottom: 0;
}

.story-photo {
  aspect-ratio: 4 / 5;
  margin: 0;
}

.story-photo img {
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(33, 31, 28, 0.12);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.problem-band {
  background: var(--accent-dark);
  color: var(--white);
}

.problem-band .section-heading {
  margin-bottom: 34px;
}

.problem-band .eyebrow,
.problem-band p {
  color: rgba(255, 255, 255, 0.74);
}

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

.scenario-grid article {
  background: rgba(255, 255, 255, 0.08);
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
}

.scenario-grid span {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.scenario-grid h3 {
  color: var(--white);
}

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

.split-section.reverse {
  grid-template-columns: minmax(320px, 560px) minmax(0, 1fr);
}

.section-photo {
  aspect-ratio: 4 / 3;
  margin: 0;
  position: relative;
}

.section-photo::before {
  background: var(--gold);
  content: "";
  height: 62%;
  opacity: 0.82;
  position: absolute;
  right: -16px;
  top: -16px;
  width: 54%;
  z-index: 0;
}

.section-photo::after {
  border: 1px solid rgba(36, 72, 63, 0.18);
  bottom: -14px;
  content: "";
  left: -14px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 0;
}

.section-photo img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 1;
}

.photo-offset {
  transform: rotate(1deg);
}

.photo-offset img {
  object-position: 58% 50%;
}

.photo-inset {
  transform: none;
}

.photo-inset::before {
  background: var(--brick);
  left: -16px;
  right: auto;
}

.photo-inset::after {
  left: 18px;
  right: -14px;
}

.photo-inset img {
  object-position: center 42%;
}

.feature-grid,
.helper-grid,
.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.feature-card,
.helper-grid article,
.faq-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-card p,
.helper-grid p,
.faq-grid p,
.record-grid p,
.site-footer p {
  color: var(--muted-ink);
}

.product-showcase {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: clamp(46px, 6vw, 74px);
}

.product-heading {
  margin-bottom: 34px;
}

.feature-sections {
  display: grid;
  gap: clamp(50px, 6.5vw, 78px);
  margin-top: clamp(42px, 6vw, 68px);
}

.feature-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
}

.feature-section-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr);
}

.feature-section-reverse .feature-copy {
  grid-column: 2;
}

.feature-section-reverse .feature-placeholder {
  grid-column: 1;
  grid-row: 1;
}

.feature-copy {
  max-width: 400px;
}

.feature-copy p:last-child {
  color: var(--muted-ink);
  margin-bottom: 0;
}

.feature-placeholder {
  align-content: center;
  background: linear-gradient(135deg, rgba(250, 249, 246, 0.98), rgba(241, 245, 242, 0.9));
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(216, 210, 200, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(33, 31, 28, 0.09);
  color: var(--muted-ink);
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 320px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
  text-align: center;
}

.feature-placeholder::after {
  border: 1px solid rgba(53, 107, 95, 0.1);
  border-radius: 6px;
  bottom: 18px;
  content: "";
  left: 18px;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 18px;
}

.feature-placeholder span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-placeholder strong {
  color: var(--accent-dark);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.15;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.muted {
  background: var(--soft);
}

.record-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.record-grid article {
  background: var(--white);
  border-top: 5px solid var(--gold);
  min-height: 235px;
  padding: clamp(20px, 3vw, 28px);
}

.helper-section {
  background: var(--warm);
}

.helper-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.helper-grid article {
  background: rgba(255, 255, 255, 0.72);
  padding: 18px 20px;
}

.helper-grid h3 {
  margin-bottom: 0;
}

.trust-section {
  align-items: start;
  background: var(--accent-dark);
  color: var(--white);
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.trust-section .eyebrow,
.trust-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.boundary-list {
  align-content: start;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boundary-list span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  padding: 16px 18px;
}

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

input {
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1 1 220px;
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  padding: 26px clamp(20px, 5vw, 72px);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hero,
  .trust-section,
  .split-section,
  .split-section.reverse,
  .founder-panel {
    grid-template-columns: 1fr;
  }

  .feature-section,
  .feature-section-reverse {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .feature-section-reverse .feature-copy,
  .feature-section-reverse .feature-placeholder {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.86)),
      url("assets/family-continuity.png");
    background-position: center;
    min-height: auto;
  }

  .hero-panel {
    max-width: 520px;
  }

  .story-photo {
    aspect-ratio: 16 / 9;
    max-width: 620px;
  }

  .feature-copy {
    max-width: 680px;
  }

  .feature-placeholder {
    min-height: auto;
  }

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

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    column-gap: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    position: static;
    row-gap: 16px;
  }

  .brand {
    display: flex;
    grid-column: 1 / -1;
    margin-bottom: 16px;
  }

  .site-nav {
    display: flex;
    gap: 12px;
    grid-column: 1;
  }

  .nav-action {
    grid-column: 2;
    justify-self: end;
  }

  .scenario-grid,
  .feature-grid,
  .helper-grid,
  .record-grid,
  .boundary-list,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid article,
  .record-grid article {
    min-height: auto;
  }

  .photo-offset,
  .photo-inset {
    transform: none;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 2.45rem;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand img {
    height: 36px;
  }

  .site-nav {
    font-size: 0.86rem;
    gap: 10px;
  }

  .nav-action {
    font-size: 0.84rem;
    padding: 9px 12px;
  }

  .button,
  button {
    width: 100%;
  }
}
