@import url("./core/tokens.css");
@import url("./core/color-system.css?v=palette-v17");
@import url("./core/reset.css");
@import url("./core/base.css");
@import url("./layout/page-shell.css");
@import url("./components/cards.css?v=palette-v17");
@import url("./components/buttons.css?v=20260525-kinvella-buttons-v7");
@import url("./layout/topbar.css?v=20260619-kinsight-nav-clean-v7");
@import url("./components/forms.css");
@import url("./components/summary.css?v=20260616-dark-metric-icons-v1");
@import url("./components/tree.css?v=20260530-relationship-spacing-v1");
@import url("./components/map.css?v=20260615-map-card-compact-v4");
@import url("./components/modal.css?v=20260617-wizard-progress-v1");
@import url("./components/page-section-header.css");
@import url("./pages/home.css?v=20260619-kinsight-nav-clean-v7");
@import url("./pages/dashboard.css?v=20260514-summary-card-density-v1");
@import url("./pages/profile.css");
@import url("./pages/login.css?v=20260502-register-login-match");
@import url("./pages/tree-page.css?v=20260530-relationship-spacing-v1");
@import url("./pages/admin.css");

@import url("./pages/timeline-page.css?v=20260615-conflict-cleanup-v2");
@import url("./kinsight.css?v=20260619-kinsight-nav-clean-v7");

/* FINAL TREE CARD POLISH */
.tree-card .person-photo-wrapper { padding:0; margin-bottom:6px; }
.tree-card .person-photo { width:100%; height:140px; object-fit:cover; border-radius:12px; display:block; }
.tree-card .person-name { margin-top:4px; margin-bottom:2px; padding:0 6px; font-weight:600; line-height:1.15;
display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-align:center; }
.tree-card .person-years { margin-top:4px; margin-bottom:6px; font-size:0.8rem; opacity:0.85; }
.tree-card .person-card { padding:10px 10px 8px; }


/* Signed-in workspace and legacy pages */
.starter-page .topbar,
.legacy-explore-page .topbar,
.people-page .topbar,
.continue-page .topbar {
  margin-bottom: 14px;
}

.starter-hero,
.continue-hero,
.people-hero,
.legacy-explore-hero {
  width: min(100% - 24px, 1040px);
  margin: 0 auto 16px;
}

.starter-hero {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(14px, 2.6vw, 28px);
  padding: clamp(14px, 2.6vw, 28px) clamp(20px, 3.5vw, 38px);
  background:
    radial-gradient(circle at 76% 44%, rgba(120, 71, 42, .14), transparent 34%),
    linear-gradient(135deg, rgba(255, 248, 232, .94), rgba(238, 213, 174, .58)),
    url('/static/img/parchment-bg.webp');
  border-radius: 30px;
  border: 1px solid rgba(141, 95, 55, .28);
}

.starter-hero h1,
.continue-hero h1,
.people-hero h1,
.legacy-explore-hero h1 {
  margin: 0;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.04em;
}

.starter-hero p,
.continue-hero p,
.people-hero p,
.legacy-explore-hero p {
  color: #1D1309;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.5;
}

.ornamental-rule {
  width: clamp(136px, 18vw, 178px);
  height: 1px;
  margin: clamp(10px, 2.3vw, 16px) 0 clamp(14px, 2.6vw, 18px);
  background: linear-gradient(90deg, transparent, #9c673f, transparent);
}

.starter-photo-stack {
  justify-self: end;
  width: min(100%, 380px);
  aspect-ratio: 1.18;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 24px 50px rgba(67, 40, 24, .2);
}

.starter-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.starter-glance,
.starter-steps,
.starter-lower-grid,
.people-grid,
.legacy-fact-strip,
.legacy-story-panel,
.legacy-generation-flow,
.legacy-two-column,
.legacy-three-column,
.legacy-explore-more,
.continue-card-list {
  width: min(100% - 24px, 1040px);
  margin: 0 auto 16px;
}

.starter-glance,
.starter-steps {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 24px;
}

.starter-glance h2,
.starter-steps h2,
.starter-tips h2,
.starter-promise h2,
.legacy-card-panel h2,
.legacy-generation-flow h2,
.legacy-explore-more h2 {
  margin: 0 0 18px;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
}

.starter-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 10px 0 22px;
  border-bottom: 1px solid rgba(139, 91, 53, .25);
}

.starter-stats article {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #1D1309;
  border-right: 1px solid rgba(139, 91, 53, .25);
}

.starter-stats article:last-child {
  border-right: 0;
}

.starter-stats img {
  width: 34px;
  height: 34px;
}

.starter-stats strong {
  color: #1D1309;
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  line-height: 1;
}

.starter-stats span {
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.starter-empty-copy {
  color: #1D1309;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1rem, 2.7vw, 1.35rem);
}

.starter-step-grid,
.starter-lower-grid,
.legacy-two-column,
.legacy-three-column {
  display: grid;
  gap: 16px;
}

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

.starter-step-grid article,
.starter-tips,
.starter-promise,
.legacy-card-panel,
.person-organizer-card,
.continue-card {
  border: 1px solid rgba(139, 91, 53, .24);
  border-radius: 20px;
  background: rgba(255, 250, 239, .65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.starter-step-grid article {
  padding: 18px;
}

.starter-step-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #F2E6D2;
  color: #1D1309;
  font-size: 1.8rem;
}

.starter-step-grid h3,
.person-organizer-card h2,
.continue-card h2 {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  margin: 12px 0 6px;
}

.starter-lower-grid {
  grid-template-columns: 1fr 1.2fr;
}

.starter-tips,
.starter-promise {
  padding: 24px;
}

.legacy-explore-hero {
  min-height: 210px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: end;
  gap: 22px;
  padding: 28px;
  overflow: hidden;
}

.legacy-explore-hero div {
  text-align: center;
  align-self: center;
}

.legacy-hero-person {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  filter: sepia(.38) saturate(.75);
}

.legacy-fact-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
}

.legacy-fact-strip article {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 5px 10px;
}

.legacy-fact-strip img {
  grid-row: span 2;
  width: 30px;
}

.legacy-fact-strip span {
  font-size: .7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #1D1309;
}

.legacy-fact-strip strong {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
}

.legacy-story-panel {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  overflow: hidden;
}

.legacy-story-copy {
  padding: clamp(24px, 5vw, 52px);
}

.legacy-story-copy h2 {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.legacy-story-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: sepia(.45) saturate(.75);
}

.legacy-generation-flow {
  padding: 26px;
}

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

.legacy-generation-grid article {
  position: relative;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(139, 91, 53, .24);
  border-radius: 18px;
  background: rgba(255, 250, 239, .68);
}

.legacy-generation-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -31px;
  top: 44%;
  color: #1D1309;
  font-size: 2rem;
}

.legacy-generation-grid span {
  color: #1D1309;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legacy-generation-grid h3 {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  margin: 4px 0 8px;
}

.legacy-generation-grid img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #F2E6D2;
}

.legacy-two-column {
  grid-template-columns: 1fr 1fr;
}

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

.legacy-card-panel {
  padding: 24px;
}

.legacy-people-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.legacy-people-row div {
  text-align: center;
}

.legacy-people-row img,
.legacy-snapshot {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  filter: sepia(.4);
}

.legacy-people-row h3 {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  margin: 8px 0 0;
}

.legacy-people-row span {
  font-size: .78rem;
  color: #1D1309;
  font-weight: 800;
}

.legacy-people-row p,
.legacy-card-panel p,
.legacy-mini-timeline span {
  color: #1D1309;
  font-size: .9rem;
  line-height: 1.35;
}

.legacy-mini-timeline {
  display: grid;
  gap: 12px;
}

.legacy-mini-timeline div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}

.legacy-mini-timeline strong {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.legacy-explore-more {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(118, 66, 44, .98), rgba(72, 37, 25, .98)), url('/static/img/parchment-bg.webp');
}

.legacy-explore-more h2 {
  color: #F2E6D2;
  text-align: center;
}

.legacy-explore-more div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.legacy-explore-more a {
  padding: 18px 10px;
  text-align: center;
  border-radius: 14px;
  color: #1D1309;
  background: #FBF6EE;
  text-decoration: none;
  font-weight: 800;
}

.people-hero,
.continue-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  gap: 20px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.person-organizer-card {
  position: relative;
  padding: 16px;
  text-align: center;
}

.person-organizer-card > img {
  width: 100%;
  aspect-ratio: .9;
  object-fit: cover;
  border-radius: 16px;
  filter: sepia(.35);
}

.person-edit-pulse {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #FBF6EE;
  background: #1D1309;
  box-shadow: 0 0 0 0 rgba(122, 67, 44, .45);
  animation: editPulse 1.8s ease-in-out infinite;
  cursor: pointer;
}

@keyframes editPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(122, 67, 44, .42); }
  50% { transform: scale(1.07); box-shadow: 0 0 0 8px rgba(122, 67, 44, 0); }
}

.people-hidden-tree {
  position: fixed;
  inset: auto auto -10000px -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.continue-card-list {
  display: grid;
  gap: 14px;
}

.continue-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 18px;
  padding: 18px;
  text-decoration: none;
}

.continue-card img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
  filter: sepia(.4);
}

.continue-art {
  justify-self: center;
  color: #1D1309;
  font-size: 4rem;
}

@media (max-width: 760px) {

  .starter-hero,
  .legacy-story-panel,
  .people-hero,
  .continue-hero {
    grid-template-columns: 1fr;
    display: grid;
  }

  .starter-photo-stack,
  .legacy-hero-person--right {
    display: none;
  }

  .starter-stats,
  .starter-step-grid,
  .starter-lower-grid,
  .legacy-fact-strip,
  .legacy-generation-grid,
  .legacy-two-column,
  .legacy-three-column,
  .legacy-explore-more div {
    grid-template-columns: 1fr;
  }

  .legacy-explore-hero {
    grid-template-columns: 100px 1fr;
    padding: 18px;
  }

  .legacy-explore-hero h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .legacy-generation-grid {
    gap: 16px;
  }

  .legacy-generation-grid article::after {
    display: none;
  }

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

  .continue-card {
    grid-template-columns: 1fr 110px;
  }

  .continue-card img {
    width: 110px;
    height: 88px;
  }
}

/* Signed-in page refinement pass */
.starter-hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.65rem);
  letter-spacing: -0.035em;
}

.starter-photo-stack {
  transform: rotate(-3deg);
}

.starter-photo-stack img {
  object-position: center;
}

.starter-glance h2,
.starter-steps h2,
.starter-tips h2,
.starter-promise h2,
.people-hero h1,
.legacy-card-panel h2,
.legacy-generation-flow h2,
.legacy-explore-more h2,
.legacy-story-copy h2,
.continue-card h2 {
  text-align: center;
}

.people-hero .eyebrow {
  text-align: center;
}

.legacy-explore-page .legacy-explore-hero,
.legacy-explore-page .legacy-fact-strip,
.legacy-explore-page .legacy-story-panel,
.legacy-explore-page .legacy-generation-flow,
.legacy-explore-page .legacy-card-panel,
.legacy-explore-page .legacy-explore-more {
  box-shadow: 0 12px 30px rgba(71, 43, 24, .08), inset 0 1px 0 rgba(255,255,255,.55);
}

.legacy-explore-hero {
  min-height: 180px;
  align-items: center;
  border-radius: 28px;
}

.legacy-explore-hero h1 {
  font-size: clamp(2.9rem, 7vw, 5rem);
}

.legacy-hero-person {
  height: 165px;
  border-radius: 0 0 18px 18px;
}

.legacy-fact-strip {
  align-items: stretch;
}

.legacy-fact-strip article {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 250, 239, .44);
}

.legacy-story-panel {
  grid-template-columns: 1fr 1fr;
  border-radius: 26px;
}

.legacy-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.legacy-story-photo {
  min-height: 0;
}

.legacy-story-photo img {
  min-height: 0;
  height: 100%;
  max-height: 360px;
}

.legacy-generation-flow,
.legacy-card-panel {
  border-radius: 24px;
}

.legacy-card-panel h2,
.legacy-generation-flow h2 {
  line-height: 1;
}

.legacy-three-column {
  align-items: stretch;
}

.legacy-three-column .legacy-card-panel {
  display: flex;
  flex-direction: column;
}

.legacy-snapshot {
  width: min(100%, 280px);
  max-height: 190px;
  aspect-ratio: 1.45;
  margin: 0 auto 12px;
  display: block;
  object-fit: cover;
}

.legacy-card-panel p {
  max-width: 38rem;
}

.legacy-three-column .legacy-card-panel p {
  margin-left: auto;
  margin-right: auto;
}

.people-grid {
  grid-template-columns: repeat(auto-fill, 158px);
  justify-content: center;
  align-items: start;
  gap: 18px;
}

.person-organizer-card {
  width: 158px;
  min-height: 250px;
  padding: 10px 10px 12px;
  border-radius: 18px;
}

.person-organizer-card > img {
  width: 100%;
  height: 132px;
  aspect-ratio: auto;
  border-radius: 13px;
}

.person-organizer-card h2 {
  font-size: 1.18rem;
  line-height: 1.05;
  margin: 8px 0 2px;
}

.person-organizer-card p,
.person-organizer-card span {
  font-size: .74rem;
  line-height: 1.2;
}

.person-edit-pulse {
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  font-size: .82rem;
}

@media (max-width: 760px) {
  .starter-hero {
    min-height: 250px;
    padding: 26px 22px;
  }

  .legacy-explore-hero {
    align-items: center;
  }

  .legacy-hero-person {
    height: 110px;
    border-radius: 16px;
  }

  .legacy-fact-strip article {
    grid-template-columns: 30px 1fr;
  }

  .legacy-story-photo img {
    max-height: 260px;
  }

  .legacy-snapshot {
    max-width: 220px;
    max-height: 150px;
  }

  .people-grid {
    grid-template-columns: repeat(auto-fill, 142px);
  }

  .person-organizer-card {
    width: 142px;
    min-height: 232px;
  }

  .person-organizer-card > img {
    height: 118px;
  }
}

/* Getting Started page refinements */
.starter-page .starter-hero {
  grid-template-columns: minmax(0, .95fr) minmax(260px, .78fr);
  min-height: 230px;
  gap: clamp(14px, 2.6vw, 28px);
  padding: clamp(14px, 2.6vw, 28px) clamp(20px, 3.5vw, 38px);
}

.starter-page .starter-hero-copy {
  transform: translateX(-6px);
}

.starter-page .starter-hero-copy h1 {
  display: grid;
  gap: .08em;
  font-size: clamp(2.65rem, 5.7vw, 4.55rem);
  line-height: .9;
}

.starter-page .starter-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.starter-page .starter-hero-copy p {
  max-width: 34rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.28;
}

.starter-page .starter-photo-stack {
  width: min(100%, 340px);
  aspect-ratio: 1.12;
  border-radius: 24px;
}

.starter-page .starter-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.8vw, 14px);
  overflow: hidden;
}

.starter-page .starter-stats article {
  min-width: 0;
}

.starter-page .starter-stats img {
  width: clamp(22px, 4vw, 34px);
  height: clamp(22px, 4vw, 34px);
}

.starter-page .starter-stats strong {
  font-size: clamp(1.35rem, 5vw, 2.8rem);
}

.starter-page .starter-stats span {
  font-size: clamp(.46rem, 1.8vw, .72rem);
  letter-spacing: .08em;
}

.starter-page .starter-empty-copy {
  width: min(100%, 620px);
  margin: 24px auto 0;
  padding: 18px 20px;
  color: #1D1309;
  background: linear-gradient(180deg, rgba(239, 216, 181, .58), rgba(255, 249, 235, .74));
  border: 1px solid rgba(162, 116, 52, .34);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.starter-page .starter-steps > h2 {
  margin-bottom: 10px;
}

.starter-page .starter-steps > p {
  margin: 0 0 20px;
  text-align: center;
  color: #1D1309;
}

.starter-page .starter-step-grid article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 18px;
}

.starter-page .starter-step-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.starter-page .starter-step-icon {
  flex: 0 0 clamp(38px, 5vw, 50px);
  width: clamp(38px, 5vw, 50px);
  height: clamp(38px, 5vw, 50px);
  font-size: clamp(1.18rem, 2.6vw, 1.55rem);
}

.starter-page .starter-step-grid h3 {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(1rem, 2.2vw, 1.38rem);
  line-height: 1.05;
}

.starter-page .starter-step-grid article > p {
  margin: 0 0 8px;
  color: #1D1309;
  line-height: 1.42;
}

.starter-page .starter-lower-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(10px, 2vw, 18px);
}

.starter-page .starter-tips,
.starter-page .starter-promise {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 251, 240, .78), rgba(244, 227, 192, .38)),
    url('/static/img/parchment-bg.webp');
}

.starter-page .starter-tips h2,
.starter-page .starter-promise h2 {
  text-align: left;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.starter-page .starter-tip-list {
  display: grid;
  gap: clamp(12px, 1.75vw, 18px);
}

.starter-page .starter-tip-item {
  display: grid;
  grid-template-columns: clamp(38px, 5vw, 54px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.8vw, 16px);
}

.starter-page .starter-tip-icon {
  width: clamp(38px, 5vw, 54px);
  height: clamp(38px, 5vw, 54px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1D1309;
  background: rgba(225, 203, 164, .74);
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
}

.starter-page .starter-tip-item p {
  margin: 0;
  color: #1D1309;
  font-size: clamp(.78rem, 1.72vw, 1.08rem);
  line-height: 1.34;
}

.starter-page .starter-tip-item strong {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.02rem, 2.15vw, 1.42rem);
}

.starter-page .starter-promise {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(150px, .9fr);
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
}

.starter-page .starter-promise-copy {
  min-width: 0;
}

.starter-page .starter-promise-rule {
  color: #9c673f;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1;
  margin: 0 0 clamp(14px, 2vw, 22px);
}

.starter-page .starter-promise p {
  margin: 0 0 clamp(12px, 2vw, 18px);
  color: #1D1309;
  font-size: clamp(.82rem, 1.9vw, 1.12rem);
  line-height: 1.45;
}

.starter-page .starter-promise .btn-primary {
  min-width: clamp(130px, 19vw, 218px);
  justify-content: center;
}

.starter-page .starter-promise-photo {
  margin: 0;
  padding: clamp(6px, 1.2vw, 10px);
  background: #F2E6D2;
  border: 1px solid rgba(99, 63, 37, .22);
  border-radius: 6px;
  transform: rotate(2.4deg);
  box-shadow: 0 12px 24px rgba(75, 45, 25, .18);
}

.starter-page .starter-promise-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  filter: sepia(.55) contrast(.92) saturate(.78);
}

@media (max-width: 760px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 1fr) minmax(120px, .48fr);
    min-height: 0;
  }

  .starter-page .starter-photo-stack {
    display: block;
    width: min(100%, 170px);
  }

  .starter-page .starter-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .starter-page .starter-step-grid {
    grid-template-columns: 1fr;
  }

  .starter-page .starter-lower-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: 1fr;
  }

  .starter-page .starter-photo-stack {
    justify-self: center;
    width: min(100%, 230px);
  }

  .starter-page .starter-lower-grid {
    gap: 8px;
  }

  .starter-page .starter-tips,
  .starter-page .starter-promise {
    padding: 12px;
    border-radius: 16px;
  }

  .starter-page .starter-promise {
    grid-template-columns: minmax(0, 1fr) minmax(80px, .72fr);
    gap: 8px;
  }
}

/* Getting Started responsive alignment refinements */
.starter-page .starter-hero {
  grid-template-columns: minmax(0, 1fr) minmax(140px, .62fr);
  align-items: center;
}

.starter-page .starter-hero-copy h1 {
  font-size: clamp(2.1rem, 7vw, 4.55rem);
  line-height: .92;
}

.starter-page .starter-photo-stack {
  justify-self: end;
}

.starter-page .starter-empty-copy {
  font-size: clamp(.88rem, 2.35vw, 1.05rem);
  line-height: 1.35;
}

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

.starter-page .starter-step-grid article {
  min-width: 0;
}

.starter-page .starter-step-grid article > p {
  font-size: clamp(.8rem, 1.7vw, 1rem);
  padding-bottom: clamp(4px, 1vw, 10px);
}

.starter-page .starter-step-grid .btn-primary {
  min-width: 0;
  width: 100%;
  padding-inline: clamp(8px, 1.6vw, 18px);
  white-space: nowrap;
}

.starter-page .starter-lower-grid {
  grid-template-columns: 1fr;
}

.starter-page .starter-tips h2,
.starter-page .starter-promise h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: clamp(16px, 2vw, 22px);
}

@media (max-width: 760px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 1fr) minmax(118px, .5fr);
    padding: clamp(20px, 5vw, 30px);
    gap: clamp(12px, 3vw, 18px);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 207px);
  }

  .starter-page .starter-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .starter-page .starter-step-grid article {
    padding: 12px;
    gap: 10px;
  }

  .starter-page .starter-step-heading {
    gap: 8px;
  }

  .starter-page .starter-step-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .starter-page .starter-step-grid h3 {
    font-size: clamp(.78rem, 2.6vw, 1rem);
    line-height: 1;
  }

  .starter-page .starter-step-grid article > p {
    font-size: clamp(.72rem, 2.5vw, .9rem);
    line-height: 1.28;
  }

  .starter-page .starter-step-grid .btn-primary {
    min-height: 38px;
    font-size: clamp(.72rem, 2.5vw, .9rem);
  }

  .starter-page .starter-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 1fr) minmax(112px, .46fr);
  }

  .starter-page .starter-hero-copy h1 {
    font-size: clamp(1.86rem, 9vw, 2.45rem);
  }

  .starter-page .starter-hero-copy p {
    font-size: .92rem;
    line-height: 1.42;
  }

  .starter-page .starter-photo-stack {
    justify-self: end;
    width: min(100%, 142px);
  }

  .starter-page .ornamental-rule {
    margin: 18px 0;
    width: 92px;
  }

  .starter-page .starter-steps {
    padding-inline: 14px;
  }

  .starter-page .starter-step-grid {
    gap: 8px;
  }

  .starter-page .starter-step-grid article {
    padding: 10px 8px;
    border-radius: 16px;
  }

  .starter-page .starter-step-heading {
    gap: 6px;
  }

  .starter-page .starter-step-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: .78rem;
  }

  .starter-page .starter-step-grid h3 {
    font-size: clamp(.58rem, 2.35vw, .72rem);
    letter-spacing: -.01em;
  }

  .starter-page .starter-step-grid article > p {
    font-size: clamp(.62rem, 2.5vw, .76rem);
    line-height: 1.25;
    padding-bottom: 4px;
  }

  .starter-page .starter-step-grid .btn-primary {
    min-height: 34px;
    padding-inline: 6px;
    font-size: clamp(.6rem, 2.35vw, .72rem);
  }

  .starter-page .starter-tips,
  .starter-page .starter-promise {
    padding: 18px;
  }

  .starter-page .starter-promise {
    grid-template-columns: minmax(0, 1fr) minmax(118px, .55fr);
    gap: 14px;
  }
}

.starter-page .starter-hero {
  grid-template-columns: minmax(0, .88fr) minmax(170px, .76fr);
}

.starter-page .starter-photo-stack {
  width: min(100%, 430px);
}

.starter-page .starter-empty-copy {
  max-width: 440px;
  font-size: clamp(.78rem, 1.6vw, .92rem);
}

.starter-page .starter-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.starter-page .starter-step-heading {
  flex-wrap: nowrap;
}

.starter-page .starter-step-grid h3 {
  font-size: clamp(.72rem, 1.75vw, 1.18rem);
}

.starter-page .starter-step-grid article > p {
  font-size: clamp(.68rem, 1.35vw, .92rem);
}

.starter-page .starter-tips h2,
.starter-page .starter-promise h2 {
  line-height: 1.05;
  letter-spacing: normal;
}

.starter-page .starter-promise {
  grid-template-columns: minmax(0, .72fr) minmax(190px, .98fr);
}

.starter-page .starter-promise-photo {
  width: min(100%, 360px);
  justify-self: end;
}

@media (max-width: 760px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, .9fr) minmax(150px, .68fr);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 220px);
  }

  .starter-page .starter-promise {
    grid-template-columns: minmax(0, .74fr) minmax(150px, .86fr);
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, .86fr) minmax(142px, .72fr);
  }

  .starter-page .starter-hero-copy h1 {
    font-size: clamp(1.62rem, 8vw, 2.16rem);
  }

  .starter-page .starter-hero-copy p {
    font-size: clamp(.78rem, 3.35vw, .9rem);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 207px);
  }

  .starter-page .starter-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .starter-page .starter-step-grid article {
    padding: 9px 7px;
  }

  .starter-page .starter-step-grid h3 {
    font-size: clamp(.54rem, 2.15vw, .68rem);
  }

  .starter-page .starter-step-grid article > p {
    font-size: clamp(.58rem, 2.25vw, .7rem);
  }

  .starter-page .starter-promise {
    grid-template-columns: minmax(0, .76fr) minmax(132px, .84fr);
  }
}

.starter-page .starter-hero {
  grid-template-columns: minmax(0, 0.84fr) minmax(180px, 0.82fr);
}

.starter-page .starter-hero-message span {
  display: inline;
}

.starter-page .starter-photo-stack {
  width: min(100%, 460px);
  aspect-ratio: 0.96;
}

.starter-page .starter-photo-stack img {
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1000px) {
  .starter-page .starter-hero-message span {
    display: block;
  }
}

@media (max-width: 760px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 0.78fr) minmax(168px, 0.72fr);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 230px);
    aspect-ratio: 0.96;
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 0.78fr) minmax(160px, 0.72fr);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 228px);
  }
}

/* Home / Getting Started final layout refinements */
.starter-page .starter-hero-message {
  max-width: none;
}

@media (max-width: 1000px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(170px, 1fr) minmax(150px, .82fr);
  }

  .starter-page .starter-hero-message {
    width: max-content;
    max-width: 100%;
    font-size: clamp(.76rem, 2.45vw, .96rem);
    line-height: 1.26;
  }

  .starter-page .starter-hero-message span {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(172px, 1fr) minmax(142px, .74fr);
    gap: 10px;
  }

  .starter-page .starter-hero-message {
    font-size: clamp(.72rem, 3.05vw, .84rem);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 170px);
  }
}

.starter-page .starter-stats.capsule-overview-grid--hero {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
}

.starter-page .starter-stats .capsule-metric-card--hero {
  min-height: clamp(92px, 12vw, 136px);
  padding: clamp(.55rem, 1.5vw, .82rem) clamp(.35rem, 1vw, .7rem);
}

.starter-page .starter-stats .capsule-metric-art--hero img {
  width: clamp(1.15rem, 3.1vw, 1.8rem);
  height: clamp(1.15rem, 3.1vw, 1.8rem);
}

.starter-page .starter-stats .capsule-metric-value {
  font-size: clamp(1.45rem, 4.2vw, 2.65rem);
}

.starter-page .starter-stats .capsule-metric-label {
  font-size: clamp(.46rem, 1.35vw, .72rem);
}

/* Getting Started targeted refinements */
.starter-page .starter-hero {
  grid-template-columns: minmax(260px, .82fr) minmax(260px, 1.05fr);
  align-items: center;
}

.starter-page .starter-hero-message span,
.starter-page .starter-promise-message span {
  display: block;
  white-space: nowrap;
}

.starter-page .starter-photo-stack {
  aspect-ratio: .9;
}

.starter-page .starter-glance .capsule-overview-grid--hero {
  gap: .8rem;
  padding: 10px 0 22px;
  border-bottom: 1px solid rgba(139, 91, 53, .25);
}

.starter-page .starter-glance .capsule-metric-card--hero {
  min-height: clamp(132px, 13vw, 168px);
  padding: .68rem .5rem .72rem;
}

.starter-page .starter-glance .capsule-metric-art--hero {
  width: clamp(3.35rem, 4.25vw, 4.15rem);
  height: clamp(3.35rem, 4.25vw, 4.15rem);
}

.starter-page .starter-glance .capsule-metric-art--hero img {
  width: 100%;
  height: auto;
}

.starter-page .starter-glance .capsule-metric-value {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.starter-page .starter-glance .capsule-metric-label {
  font-size: clamp(.64rem, .92vw, .84rem);
}

.starter-page .starter-step-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .55rem;
}

.starter-page .starter-step-icon {
  width: 75px;
  height: 75px;
  font-size: 2.35rem;
}

.starter-page .starter-step-grid h3 {
  margin: 0;
  font-size: clamp(1.52rem, 2.5vw, 2.05rem);
  line-height: 1.08;
}

.starter-page .starter-step-grid article > p {
  font-size: clamp(.92rem, 1.5vw, 1.08rem);
  line-height: 1.35;
}

.starter-page .starter-promise-rule {
  width: 84px;
  margin: 18px 0 22px;
}

.starter-page .starter-promise-message {
  margin: 0 0 14px;
}

@media (min-width: 1000px) {
  .starter-page .starter-lower-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 999px) {
  .starter-page .starter-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(178px, 1fr) minmax(138px, .72fr);
    gap: clamp(8px, 2vw, 14px);
    padding: clamp(14px, 3.2vw, 24px) 22px;
  }

  .starter-page .starter-hero-message {
    width: max-content;
    max-width: none;
    font-size: clamp(.72rem, 2.55vw, .9rem);
    line-height: 1.28;
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 207px);
  }
}

@media (max-width: 460px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(180px, 1fr) minmax(126px, .66fr);
    padding: 14px 22px;
  }

  .starter-page .starter-hero-copy h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.7rem);
  }

  .starter-page .starter-hero-message {
    font-size: clamp(.72rem, 3.05vw, .82rem);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 168px);
  }
}

/* Getting Started final conflict cleanup 20260424 */
.starter-page .starter-glance { padding-inline: clamp(12px, 3vw, 26px); }
.starter-page .starter-glance .capsule-overview-grid--hero { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.78rem, 2.6vw, 1.05rem); align-items: stretch; }
.starter-page .starter-glance .capsule-metric-card--hero { min-width: 0; min-height: clamp(122px, 25vw, 162px); aspect-ratio: 1 / 1.12; padding: clamp(.62rem, 2vw, .84rem) clamp(.38rem, 1.8vw, .68rem) clamp(.48rem, 1.4vw, .62rem); border-radius: clamp(14px, 3vw, 18px); }
.starter-page .starter-glance .capsule-metric-art--hero { width: clamp(2.25rem, 8vw, 3.4rem); height: clamp(2.25rem, 8vw, 3.4rem); margin: 0 0 clamp(.24rem, 1vw, .38rem); }
.starter-page .starter-glance .capsule-metric-card--hero .capsule-metric-value { font-size: clamp(1.68rem, 7.2vw, 2.55rem); line-height: .95; margin: 0 0 clamp(.18rem, .7vw, .28rem); }
.starter-page .starter-glance .capsule-metric-card--hero .capsule-metric-label { font-size: clamp(.42rem, 1.55vw, .68rem); line-height: 1.02; letter-spacing: .035em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.starter-page .starter-empty-copy { width: min(100%, 34rem); max-width: none; margin: clamp(1rem, 3vw, 1.4rem) auto 0; padding: clamp(.72rem, 2.2vw, .95rem) clamp(.9rem, 3vw, 1.4rem); border: 1px solid rgba(171, 125, 63, .48); border-radius: 14px; background: rgba(255, 245, 219, .48); color: #1D1309; font-size: clamp(.68rem, 2.45vw, .96rem); line-height: 1.15; white-space: nowrap; }
.starter-page .starter-step-grid article { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; text-align: center; gap: clamp(.36rem, 1.3vw, .62rem); padding: clamp(.74rem, 2.1vw, 1.1rem); }
.starter-page .starter-step-heading { display: contents; }
.starter-page .starter-step-icon { width: clamp(3.85rem, 13.5vw, 5.1rem); height: clamp(3.85rem, 13.5vw, 5.1rem); font-size: clamp(1.75rem, 6.4vw, 2.45rem); margin: 0 auto; }
.starter-page .starter-step-grid h3 { width: 100%; margin: 0; color: #1D1309; font-family: "Cormorant Garamond", serif; font-size: clamp(.78rem, 2.8vw, 1.36rem); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.starter-page .starter-step-grid article > p { width: 100%; margin: 0; color: #1D1309; font-size: clamp(.58rem, 2.35vw, .86rem); line-height: 1.22; text-align: left; padding-bottom: clamp(.18rem, .7vw, .4rem); }
.starter-page .starter-step-grid .btn-primary { min-height: clamp(2.1rem, 7.5vw, 2.7rem); font-size: clamp(.54rem, 2.1vw, .76rem); padding-inline: clamp(.38rem, 1.4vw, .78rem); }
.starter-page .starter-tip-item { position: relative; }
.starter-page .starter-tip-item:not(:last-child) { padding-bottom: clamp(.95rem, 2vw, 1.25rem); }
.starter-page .starter-tip-item:not(:last-child)::after { content: ""; position: absolute; left: calc(clamp(38px, 5vw, 54px) + clamp(10px, 1.8vw, 16px)); right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(156, 103, 63, .62), transparent); }
.starter-page .starter-promise h2 { white-space: nowrap; font-size: clamp(1.28rem, 4.55vw, 2.35rem); line-height: 1.05; }
.starter-page .starter-promise-photo { margin-top: clamp(1.2rem, 4vw, 2.2rem); }
.starter-page .starter-promise-message span { display: block; }

@media (min-width: 1000px) { .starter-page .starter-lower-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); } }

@media (max-width: 430px) { .starter-page .starter-glance { padding-inline: 10px; } .starter-page .starter-glance .capsule-overview-grid--hero { gap: .54rem; } .starter-page .starter-glance .capsule-metric-card--hero { min-height: 122px; padding-inline: .28rem; } .starter-page .starter-glance .capsule-metric-card--hero .capsule-metric-label { font-size: .38rem; letter-spacing: .025em; } .starter-page .starter-step-grid { gap: .52rem; } .starter-page .starter-step-grid article { padding-inline: .42rem; } .starter-page .starter-step-grid h3 { font-size: clamp(.62rem, 2.72vw, .76rem); letter-spacing: -.04em; } .starter-page .starter-step-grid article > p { font-size: clamp(.54rem, 2.55vw, .68rem); } }

/* Getting Started conflict cleanup 20260424-v5 */
.starter-page .starter-glance .starter-summary-grid,
.starter-page .starter-glance .capsule-overview-grid--hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.62rem, 2.2vw, .95rem);
  align-items: stretch;
  width: 100%;
  padding: clamp(.35rem, 1.4vw, .7rem) 0 clamp(1rem, 2.6vw, 1.35rem);
  border-bottom: 1px solid rgba(139, 91, 53, .25);
  overflow: visible;
}

.starter-page .starter-glance .capsule-metric-card--hero {
  width: 100%;
  min-width: 0;
  min-height: clamp(126px, 23vw, 168px);
  aspect-ratio: 1 / 1.24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(.6rem, 1.8vw, .82rem) clamp(.3rem, 1.2vw, .58rem) clamp(.46rem, 1.2vw, .62rem);
  border-radius: clamp(14px, 3vw, 18px);
}

.starter-page .starter-glance .capsule-metric-art--hero {
  width: clamp(2.65rem, 8.6vw, 3.85rem);
  height: clamp(2.65rem, 8.6vw, 3.85rem);
  margin: 0 0 clamp(.22rem, .9vw, .36rem);
}

.starter-page .starter-glance .capsule-metric-card--hero .capsule-metric-value {
  margin: 0 0 clamp(.14rem, .65vw, .26rem);
  font-size: clamp(1.8rem, 7.6vw, 2.9rem);
  line-height: .92;
}

.starter-page .starter-glance .capsule-metric-card--hero .capsule-metric-label {
  display: block;
  width: 100%;
  font-size: clamp(.4rem, 1.35vw, .66rem);
  line-height: 1;
  letter-spacing: .045em;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.starter-page .starter-empty-copy {
  width: min(100%, 34rem);
  margin: clamp(1rem, 3vw, 1.35rem) auto 0;
  padding: clamp(.72rem, 2.2vw, .95rem) clamp(.75rem, 2.6vw, 1.25rem);
  font-size: clamp(.58rem, 2.3vw, .82rem);
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.starter-page .starter-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.46rem, 1.7vw, .85rem);
}

.starter-page .starter-step-grid article {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  align-items: start;
  gap: clamp(.34rem, 1.1vw, .58rem);
  padding: clamp(.62rem, 1.8vw, 1rem) clamp(.42rem, 1.35vw, .8rem);
  text-align: center;
}

.starter-page .starter-step-heading {
  display: contents;
}

.starter-page .starter-step-icon {
  width: clamp(3.55rem, 11.9vw, 4.55rem);
  height: clamp(3.55rem, 11.9vw, 4.55rem);
  margin: 0 auto;
  font-size: clamp(1.7rem, 5.6vw, 2.25rem);
}

.starter-page .starter-step-grid h3 {
  width: 100%;
  margin: 0;
  font-family: var(--font-display);
  color: #1D1309;
  font-size: clamp(.58rem, 2.32vw, 1.16rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.starter-page .starter-step-grid article > p {
  width: 100%;
  margin: 0;
  color: #1D1309;
  font-size: clamp(.54rem, 2.05vw, .82rem);
  line-height: 1.18;
  text-align: left;
  padding-bottom: clamp(.2rem, .9vw, .46rem);
}

.starter-page .starter-step-grid .btn-primary {
  width: 100%;
  min-height: clamp(2rem, 6.6vw, 2.58rem);
  padding-inline: clamp(.28rem, 1.2vw, .72rem);
  font-size: clamp(.48rem, 1.82vw, .72rem);
}

.starter-page .starter-tip-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(clamp(38px, 5vw, 54px) + clamp(10px, 1.8vw, 16px));
  right: clamp(1rem, 3vw, 2rem);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9c673f, transparent);
}

.starter-page .starter-tip-item:not(:last-child)::before {
  content: "❧";
  position: absolute;
  left: 50%;
  bottom: -.55rem;
  transform: translateX(-50%);
  padding-inline: .32rem;
  color: #9c673f;
  font-size: .9rem;
  line-height: 1;
  background: rgba(250, 239, 216, .92);
}

.starter-page .starter-promise h2 {
  white-space: nowrap;
  font-size: clamp(1.05rem, 4vw, 2.05rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.starter-page .starter-promise-photo {
  margin-top: clamp(1.35rem, 5vw, 2.45rem);
}

@media (max-width: 430px) {
  .starter-page .starter-glance {
    padding-inline: clamp(.78rem, 4vw, 1.15rem);
  }

  .starter-page .starter-glance .starter-summary-grid,
  .starter-page .starter-glance .capsule-overview-grid--hero {
    gap: clamp(.48rem, 2.7vw, .68rem);
  }

  .starter-page .starter-glance .capsule-metric-card--hero {
    min-height: clamp(118px, 30vw, 132px);
    padding-inline: .26rem;
  }

  .starter-page .starter-glance .capsule-metric-card--hero .capsule-metric-label {
    font-size: clamp(.34rem, 1.9vw, .46rem);
    letter-spacing: .025em;
  }

  .starter-page .starter-step-grid h3 {
    font-size: clamp(.54rem, 2.24vw, .66rem);
    letter-spacing: -.045em;
  }

  .starter-page .starter-step-grid article > p {
    font-size: clamp(.5rem, 2.34vw, .64rem);
  }
}

/* Getting Started refinements - shared card parity and mobile scaling */
.starter-page .starter-glance .starter-summary-grid,
.starter-page .starter-glance .capsule-overview-grid--hero {
  border-bottom: 0;
  padding-bottom: clamp(.55rem, 1.8vw, .9rem);
  gap: clamp(.72rem, 2.7vw, 1rem);
}

.starter-page .starter-glance .capsule-metric-card--hero,
.authenticated-home .capsule-overview-card--hero .capsule-metric-card--hero,
.landing-page:not(.starter-page) .capsule-overview-card--hero .capsule-metric-card--hero {
  justify-content: center;
}

.starter-page .starter-glance .capsule-metric-art--hero,
.authenticated-home .capsule-overview-card--hero .capsule-metric-art--hero,
.landing-page:not(.starter-page) .capsule-overview-card--hero .capsule-metric-art--hero {
  width: clamp(2.15rem, 7.5vw, 3.45rem);
  height: clamp(2.15rem, 7.5vw, 3.45rem);
}

.starter-page .starter-glance .capsule-metric-label {
  font-size: clamp(.5rem, 1.7vw, .84rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.authenticated-home .capsule-overview-card--hero .capsule-metric-label,
.landing-page:not(.starter-page) .capsule-overview-card--hero .capsule-metric-label {
  font-size: clamp(0.53rem, 1.68vw, 0.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.authenticated-home .capsule-overview-card--hero .capsule-metric-value,
.landing-page:not(.starter-page) .capsule-overview-card--hero .capsule-metric-value {
  font-size: clamp(1.7rem, 6.8vw, 2.46rem);
}

.starter-page .starter-empty-copy {
  width: fit-content;
  max-width: 100%;
  border-color: rgba(124, 67, 39, .42);
  background: linear-gradient(180deg, rgba(117, 65, 42, .95), rgba(86, 44, 29, .96));
  color: #FBF6EE;
  box-shadow: 0 10px 20px rgba(82, 45, 27, .14), inset 0 1px 0 rgba(255,255,255,.16);
  font-weight: 800;
  padding: clamp(.58rem, 1.9vw, .82rem) clamp(1.1rem, 4vw, 1.7rem);
}

.starter-page .starter-step-grid article {
  align-items: start;
  gap: clamp(.48rem, 1.7vw, .8rem);
  padding-top: clamp(.9rem, 2.6vw, 1.25rem);
  padding-bottom: clamp(.9rem, 2.8vw, 1.3rem);
}

.starter-page .starter-step-grid h3 {
  font-size: clamp(.8rem, 2.9vw, 1.46rem);
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.starter-page .starter-step-grid article > p {
  font-size: clamp(.54rem, 2.05vw, .86rem);
  line-height: 1.26;
  padding-top: clamp(.18rem, .7vw, .36rem);
  padding-bottom: clamp(.42rem, 1.3vw, .72rem);
}

.starter-page .starter-tips h2,
.starter-page .starter-promise h2 {
  text-align: center;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5.2vw, 2.45rem);
  line-height: 1.05;
}

.starter-page .starter-promise h2 {
  white-space: nowrap;
  font-size: clamp(1.16rem, 4vw, 2.25rem);
}

.starter-page .starter-promise-copy {
  align-items: center;
  text-align: center;
}

.starter-page .starter-promise-rule {
  margin-left: auto;
  margin-right: auto;
}

.family-switcher-label,
.mobile-family-switcher-label {
  color: inherit;
}

@media (max-width: 430px) {
  .starter-page .starter-glance .starter-summary-grid,
  .starter-page .starter-glance .capsule-overview-grid--hero {
    gap: clamp(.54rem, 2.4vw, .72rem);
  }

  .starter-page .starter-glance .capsule-metric-card--hero {
    min-height: clamp(116px, 29vw, 128px);
    aspect-ratio: 1 / 1.18;
    padding-inline: .32rem;
  }

  .starter-page .starter-glance .capsule-metric-art--hero {
    width: clamp(2.35rem, 10.2vw, 2.95rem);
    height: clamp(2.35rem, 10.2vw, 2.95rem);
  }

  .starter-page .starter-glance .capsule-metric-value {
    font-size: clamp(1.7rem, 7.2vw, 2.1rem);
  }

  .starter-page .starter-glance .capsule-metric-label {
    font-size: clamp(.38rem, 1.72vw, .48rem);
    letter-spacing: .02em;
  }

  .starter-page .starter-empty-copy {
    font-size: clamp(.56rem, 2.45vw, .68rem);
  }

  .starter-page .starter-step-grid {
    gap: clamp(.46rem, 2.3vw, .66rem);
  }

  .starter-page .starter-step-grid article {
    padding-inline: clamp(.42rem, 2.2vw, .6rem);
  }

  .starter-page .starter-step-grid h3 {
    font-size: clamp(.62rem, 2.68vw, .8rem);
    letter-spacing: -.055em;
  }

  .starter-page .starter-step-grid article > p {
    font-size: clamp(.5rem, 2.28vw, .66rem);
  }
}

.starter-page .starter-steps-subheading {
  display: grid;
  justify-items: center;
  gap: .12rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.starter-page .starter-steps-subheading span {
  display: block;
  white-space: nowrap;
}

.legacy-three-column .legacy-card-panel h2 {
  font-size: clamp(1.42rem, 3.7vw, 2.15rem);
  line-height: 1.02;
}

/* People directory sizing lives in pages/people.css. */
.starter-page .starter-promise-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}
.starter-page .starter-promise h2 {
  width: 100%;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5.2vw, 2.45rem);
  line-height: 1.05;
}
.starter-page .starter-promise-photo {
  margin-top: clamp(.5rem, 1.8vw, 1rem);
}

.starter-page .starter-step-icon {
  width: clamp(3.27rem, 11.5vw, 4.34rem);
  height: clamp(3.27rem, 11.5vw, 4.34rem);
  font-size: clamp(1.49rem, 5.44vw, 2.08rem);
}

.starter-page .starter-step-grid h3 {
  font-size: clamp(.88rem, 3.1vw, 1.52rem);
}

.starter-page .starter-step-grid article > p {
  font-size: clamp(.64rem, 2.28vw, .96rem);
  line-height: 1.3;
}

.starter-page .starter-tip-item p {
  font-size: clamp(.9rem, 2vw, 1.18rem);
  line-height: 1.34;
}

.starter-page .starter-tip-item strong {
  font-size: clamp(1.12rem, 2.35vw, 1.52rem);
}

.starter-page .starter-promise-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  transform: translateX(-10px);
}

.starter-page .starter-promise h2 {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.starter-page .starter-promise-rule {
  margin: 0 0 clamp(10px, 1.7vw, 16px);
}

.starter-page .starter-promise-message {
  text-align: left;
}


/* Stage 1 shared utility controls */
.scroll-to-top {
  position: fixed;
  right: clamp(0.85rem, 2.4vw, 1.25rem);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1250;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.72rem;
  color: #F2E6D2;
  background:
    linear-gradient(180deg, rgba(244, 227, 189, 0.2), rgba(244, 227, 189, 0.04)),
    linear-gradient(180deg, #7892AE 0%, #526A8C 100%);
  border: 1px solid rgba(244, 227, 189, 0.48);
  box-shadow:
    0 0.65rem 1.25rem rgba(29, 19, 9, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  opacity: 0;
  transform: translateY(0.45rem);
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0.85rem 1.45rem rgba(29, 19, 9, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  outline: none;
}

.scroll-to-top span {
  font-family: var(--font-body);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1;
}

.authenticated-user .scroll-to-top {
  bottom: calc(1rem + env(safe-area-inset-bottom));
}

@media (max-width: 560px) {
  .scroll-to-top {
    right: 0.72rem;
    width: 2.48rem;
    height: 2.48rem;
  }
}


/* Authenticated quick navigation placement */
.authenticated-user .topbar {
  margin-bottom: 0;
}

/* Home / Getting Started main image scale alignment */
.starter-page .starter-hero {
  min-height: clamp(150px, 18vw, 190px);
  grid-template-columns: minmax(260px, 1fr) minmax(130px, 0.42fr);
}

.starter-page .starter-photo-stack {
  justify-self: center;
  width: min(100%, 190px);
  aspect-ratio: 0.96;
  border-radius: 22px;
  transform: rotate(-3deg);
  box-shadow: 0 16px 34px rgba(67, 40, 24, 0.16);
}

@media (max-width: 1000px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(178px, 1fr) minmax(96px, 0.42fr);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 104px);
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(172px, 1fr) minmax(84px, 0.38fr);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 86px);
  }
}

/* Getting Started hero image scale alignment */
.starter-page .starter-hero {
  min-height: clamp(260px, 29vw, 390px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
}

.starter-page .starter-photo-stack {
  justify-self: center;
  width: min(100%, clamp(310px, 31vw, 460px));
  aspect-ratio: 1.56;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 18px 38px rgba(67, 40, 24, 0.18);
}

.starter-page .starter-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1000px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, clamp(220px, 34vw, 340px));
  }
}

@media (max-width: 620px) {
  .starter-page .starter-hero {
    grid-template-columns: 1fr;
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 340px);
    transform: rotate(-1deg);
  }
}


/* =========================================================
   Logged-in hero scale normalization v43
   ========================================================= */
.authenticated-user .starter-hero,
.authenticated-user .continue-hero,
.authenticated-user .people-hero,
.authenticated-user .legacy-explore-hero {
  width: min(100% - 24px, 1040px);
  margin-inline: auto;
}

.authenticated-user .starter-hero h1,
.authenticated-user .continue-hero h1,
.authenticated-user .people-hero h1,
.authenticated-user .legacy-explore-hero h1 {
  font-size: clamp(1.56rem, 3.44vw, 2.76rem);
  line-height: 0.9;
}

.authenticated-user .starter-hero p,
.authenticated-user .continue-hero p,
.authenticated-user .people-hero p,
.authenticated-user .legacy-explore-hero p {
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  line-height: 1.22;
}

.starter-page .starter-hero {
  min-height: clamp(180px, 22vw, 242px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  align-items: center;
  gap: clamp(12px, 2.2vw, 24px);
  padding: clamp(6px, 1.2vw, 10px) clamp(20px, 3.5vw, 38px);
}

.starter-page .starter-hero-copy {
  transform: translateX(14px);
}

.starter-page .starter-hero-copy h1 {
  display: grid;
  gap: 0.06em;
  font-size: clamp(2.12rem, 4.56vw, 3.64rem);
  line-height: 0.88;
}

.starter-page .starter-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.starter-page .starter-hero-copy .ornamental-rule {
  margin-block: clamp(6px, 0.9vw, 10px) clamp(14px, 1.8vw, 20px);
}

.starter-page .starter-hero-copy p,
.starter-page .starter-hero-message {
  margin-top: 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.22;
}

.starter-page .starter-photo-stack {
  justify-self: center;
  width: min(100%, 355px);
  aspect-ratio: 1.06;
  border-radius: 22px;
  transform: rotate(-3deg);
  box-shadow: 0 16px 34px rgba(67, 40, 24, 0.16);
}

.starter-page .starter-photo-stack img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 760px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.66fr);
    min-height: 188px;
    padding-block: 8px;
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 245px);
  }
}

@media (max-width: 520px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(0, 1fr) minmax(146px, 0.6fr);
    min-height: 172px;
    padding: 8px 22px;
  }

  .starter-page .starter-hero-copy h1 {
    font-size: clamp(1.64rem, 7.36vw, 2.16rem);
  }

  .starter-page .starter-hero-copy p,
  .starter-page .starter-hero-message {
    font-size: clamp(0.72rem, 3.05vw, 0.82rem);
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 215px);
  }
}

@media (max-width: 430px) {
  .starter-page .starter-hero {
    grid-template-columns: minmax(144px, 1fr) minmax(126px, 0.56fr);
    min-height: 164px;
  }

  .starter-page .starter-photo-stack {
    width: min(100%, 187px);
  }
}
/* nav css cache marker: ofc-nav-v45 */

/* KinSight */
.kinsight-page:not(.authenticated-user) .topbar { margin-bottom: 14px; }

.legacy-ai-hero,
.legacy-ai-glance,
.legacy-ai-dashboard {
  width: min(100% - 24px, 1120px);
  margin-inline: auto;
}

.legacy-ai-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, 1.08fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  min-height: 420px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(208, 164, 86, .36);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 40%, rgba(221, 174, 79, .28), transparent 30%),
    radial-gradient(circle at 62% 58%, rgba(255, 221, 132, .16), transparent 28%),
    linear-gradient(115deg, rgba(255, 248, 232, .96) 0%, rgba(246, 230, 194, .9) 38%, rgba(50, 27, 17, .94) 39%, rgba(15, 10, 7, .98) 100%);
  box-shadow: 0 26px 70px rgba(53, 31, 18, .22);
}

.legacy-ai-hero__copy { position: relative; z-index: 2; }
.legacy-ai-hero h1 {
  max-width: 560px;
  margin: 0 0 14px;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .88;
  letter-spacing: -.045em;
}
.legacy-ai-hero h1::first-letter { color: #D4AF37; }
.legacy-ai-hero p:not(.eyebrow) {
  max-width: 440px;
  color: #1D1309;
  font-size: 1.05rem;
  line-height: 1.55;
}
.legacy-ai-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(157, 105, 48, .34);
  border-radius: 999px;
  color: #1D1309;
  background: rgba(255, 244, 217, .78);
  font-size: .74rem;
  letter-spacing: .08em;
}

.legacy-ai-orbit {
  position: relative;
  min-height: 330px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 218, 119, .26), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 38%);
}
.legacy-ai-orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(239, 188, 91, .28);
  border-radius: 50%;
  box-shadow: inset 0 0 42px rgba(239, 188, 91, .18), 0 0 56px rgba(239, 188, 91, .15);
}
.legacy-ai-core,
.legacy-ai-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 185, 92, .62);
  color: #F2E6D2;
  background: radial-gradient(circle at 40% 22%, rgba(255, 229, 159, .26), rgba(59, 31, 18, .94));
  box-shadow: 0 0 34px rgba(240, 184, 73, .36);
}
.legacy-ai-core {
  left: 50%; top: 50%;
  width: 106px; height: 106px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 700;
}
.legacy-ai-node {
  width: 104px; height: 104px;
  border-radius: 26px;
  font-size: 2rem;
}
.legacy-ai-node small { display: block; color: #F2E6D2; font: 700 .72rem/1.1 Inter, sans-serif; letter-spacing: .04em; }
.legacy-ai-node--one { left: 8%; top: 12%; }
.legacy-ai-node--two { right: 10%; top: 12%; }
.legacy-ai-node--three { left: 12%; bottom: 10%; }
.legacy-ai-node--four { right: 13%; bottom: 12%; }
.legacy-ai-thread { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 214, 122, .9), transparent); transform-origin: center; }
.legacy-ai-thread--a { left: 22%; right: 22%; top: 35%; transform: rotate(18deg); }
.legacy-ai-thread--b { left: 20%; right: 22%; bottom: 36%; transform: rotate(-19deg); }
.legacy-ai-thread--c { left: 38%; right: 38%; top: 50%; transform: rotate(90deg); }

.legacy-ai-glance {
  padding: 24px;
  border: 1px solid rgba(154, 103, 57, .22);
  border-radius: 28px;
  background: rgba(255, 249, 235, .82);
}
.legacy-ai-section-head { text-align: center; margin-bottom: 18px; }
.legacy-ai-section-head h2 {
  margin: 0;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.legacy-ai-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.legacy-ai-card,
.legacy-ai-panel {
  border: 1px solid rgba(139, 91, 47, .2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 244, .96), rgba(239, 220, 181, .78));
  box-shadow: 0 12px 28px rgba(65, 39, 23, .1);
}
.legacy-ai-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
}
.legacy-ai-card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #F2E6D2;
  background: linear-gradient(180deg, #1D1309, #1D1309);
}
.legacy-ai-card h3,
.legacy-ai-panel h3 { margin: 0 0 8px; color: #1D1309; font-family: "Cormorant Garamond", serif; font-size: 1.45rem; }
.legacy-ai-card p { margin: 0; color: #1D1309; font-size: .9rem; line-height: 1.45; }
.legacy-ai-card strong { grid-column: 1 / -1; color: #1D1309; }

.legacy-ai-dashboard {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1A1A1A, #1D1309 52%, #1A1A1A);
  border: 1px solid rgba(218, 170, 82, .34);
}
.legacy-ai-panel { padding: 18px; min-height: 210px; }
.legacy-ai-panel--summary {
  color: #F2E6D2;
  background:
    radial-gradient(circle at 80% 40%, rgba(236, 184, 80, .3), transparent 35%),
    linear-gradient(135deg, rgba(58, 30, 17, .96), rgba(21, 12, 8, .98));
}
.legacy-ai-panel--summary h2 { margin: 0 0 10px; font-family: "Cormorant Garamond", serif; font-size: 2.4rem; }
.legacy-ai-panel--summary p:not(.eyebrow) { color: #F2E6D2; font-size: 1.08rem; line-height: 1.55; }
.legacy-ai-meter { display: grid; gap: 6px; margin: 12px 0; color: #1D1309; }
.legacy-ai-meter i { height: 7px; border-radius: 999px; background: linear-gradient(90deg, #1D1309 var(--value), rgba(144, 104, 62, .16) var(--value)); }
.legacy-ai-list-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(117, 76, 43, .12); color: #1D1309; }
.legacy-ai-word-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; min-height: 130px; }
.legacy-ai-word-cloud span { padding: 8px 12px; border-radius: 999px; color: #1D1309; background: rgba(255, 244, 218, .8); border: 1px solid rgba(145, 94, 48, .22); }
.legacy-ai-empty { color: #1D1309; }


.person-card-legacy-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 4px;
}
.person-card-legacy-strip span {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(139, 91, 47, .18);
  background: rgba(255, 248, 232, .74);
  color: #1D1309;
  font-size: .72rem;
  font-weight: 700;
}

.legacy-demo-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 18px;
  width: min(1120px, calc(100% - 24px));
  padding: 18px 20px;
}
.legacy-demo-switcher h2 {
  margin: 2px 0 0;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}
.legacy-demo-switcher__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.legacy-demo-switcher__links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 91, 47, .22);
  background: rgba(255, 250, 238, .78);
  color: #1D1309;
  font-weight: 800;
  font-size: .82rem;
  text-decoration: none;
}
.legacy-demo-switcher__links a.is-current,
.legacy-demo-switcher__links a:hover,
.legacy-demo-switcher__links a:focus-visible {
  color: #F2E6D2;
  background: linear-gradient(180deg, #1D1309, #1D1309);
  border-color: rgba(218, 170, 82, .5);
}

@media (max-width: 760px) {
  .legacy-demo-switcher {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }
  .legacy-demo-switcher__links {
    justify-content: flex-start;
  }
}


/* KinSight family glance */
.legacy-family-glance {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto 18px;
  padding: clamp(16px, 2.2vw, 24px);
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.8fr);
  gap: clamp(14px, 2.2vw, 22px);
  align-items: center;
}

.legacy-family-glance__copy h2 {
  margin: 2px 0 6px;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: .95;
}

.legacy-family-glance__copy p:not(.eyebrow) {
  margin: 0;
  color: #1D1309;
  font-size: .94rem;
  line-height: 1.45;
}

.legacy-family-glance__people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.legacy-family-glance__person,
.legacy-family-glance__empty {
  border: 1px solid rgba(139, 91, 47, .18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 246, .95), rgba(239, 222, 188, .76));
  box-shadow: 0 10px 24px rgba(65, 39, 23, .1);
}

.legacy-family-glance__person {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 12px 10px;
}

.legacy-family-glance__person img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(181, 129, 54, .32);
}

.legacy-family-glance__person h3 {
  margin: 0;
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.legacy-family-glance__person p {
  margin: 4px 0 0;
  color: #1D1309;
  font-size: .78rem;
  line-height: 1.25;
}

.legacy-family-glance__empty {
  grid-column: 1 / -1;
  padding: 18px;
  color: #1D1309;
  text-align: center;
}

/* Compact KinSight cards */
.legacy-ai-card {
  align-items: start;
  padding: 14px;
}

.legacy-ai-card h3,
.legacy-ai-panel h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
}

.legacy-ai-card p {
  font-size: .84rem;
  line-height: 1.35;
}

.legacy-ai-card strong {
  font-size: .95rem;
}

@media (max-width: 820px) {
  .legacy-family-glance {
    grid-template-columns: 1fr;
    padding: 16px;
  }

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

@media (max-width: 520px) {
  .legacy-family-glance__people {
    grid-template-columns: 1fr;
  }

  .legacy-family-glance__person {
    grid-template-columns: 58px 1fr;
    justify-items: start;
    text-align: left;
    align-items: center;
  }

  .legacy-family-glance__person img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }
}

/* KinSight family preview cards reuse the tree person-card language without connectors. */
.legacy-family-tree-card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(18px, 4vw, 30px);
}

.legacy-family-tree-card {
  position: relative;
  width: 116px;
  min-height: 176px;
  margin: 0;
  padding: 9px 8px 10px;
  border: 1px solid rgba(156, 111, 54, .35);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 251, 238, .94), rgba(239, 220, 181, .78));
  box-shadow: 0 16px 32px rgba(61, 35, 18, .12), inset 0 1px 0 rgba(255, 255, 255, .7);
  cursor: pointer;
  text-align: center;
}

.legacy-family-tree-card .portrait-frame {
  width: 96px;
  height: 106px;
  margin: 0 auto 7px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(183, 137, 64, .38);
  background: #F2E6D2;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 222, .55);
}

.legacy-family-tree-card .portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-family-tree-card .nameplate.compact {
  display: grid;
  gap: 2px;
}

.legacy-family-tree-card .person-name {
  color: #1D1309;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: .98;
}

.legacy-family-tree-card .person-years {
  color: #1D1309;
  font-size: .74rem;
  line-height: 1.05;
}

@media (max-width: 520px) {
  .legacy-family-tree-card-row {
    gap: 12px;
  }

  .legacy-family-tree-card {
    width: 96px;
    min-height: 154px;
    border-radius: 19px;
  }

  .legacy-family-tree-card .portrait-frame {
    width: 78px;
    height: 88px;
    border-radius: 16px;
  }

  .legacy-family-tree-card .person-name {
    font-size: .92rem;
  }
}

/* People directory styles live in pages/people.css to avoid duplicate layout ownership. */

/* KinSight hero spacing parity with About page */
.kinsight-page .legacy-family-glance {
  --page-hero-gap: clamp(0.68rem, 1.22vw, 0.95rem);
  --page-hero-gold-line: rgba(199, 154, 71, 0.72);
  --page-hero-cream-line: rgba(255, 247, 226, 0.78);
  margin-top: var(--page-hero-gap) !important;
  margin-bottom: var(--page-hero-gap) !important;
  border-top: 2px solid var(--page-hero-gold-line) !important;
  border-bottom: 2px solid var(--page-hero-gold-line) !important;
  box-shadow:
    inset 0 1px 0 var(--page-hero-cream-line),
    inset 0 -1px 0 var(--page-hero-cream-line),
    0 0.9rem 2.1rem rgba(83, 50, 23, 0.1) !important;
}

.kinsight-page .legacy-ai-hero {
  margin-top: var(--page-hero-gap, clamp(0.68rem, 1.22vw, 0.95rem)) !important;
  margin-bottom: var(--page-hero-gap, clamp(0.68rem, 1.22vw, 0.95rem)) !important;
}

@keyframes treeBuilderStageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
