:root{--bg:#f6f1e7;--ink:#21372b;--muted:#536252;--line:#b9b5a0;--surface:#ece7da;--gold:#e0b65d;--hero:#14261e;--hero-ink:#f4ecda;--serif:'EB Garamond',Georgia,serif;color-scheme:light}html[data-theme=dark]{--bg:#14231b;--ink:#f1ecdd;--muted:#bec9b8;--line:#63735e;--surface:#203328;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px;scrollbar-color:var(--line) var(--bg)}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}::selection{background:#dfb65d;color:#14231b}a{color:inherit;text-underline-offset:5px}button,input{font:inherit}button,a,input,summary{touch-action:manipulation}button,summary{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b2822f;outline-offset:5px}input{caret-color:var(--ink)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.07;text-wrap:balance}h1{font-size:clamp(38px,4vw,56px);letter-spacing:-.025em}h1 em,h2 em{font-weight:400}h2{font-size:clamp(30px,3vw,42px);letter-spacing:-.015em}h3{font-size:26px}p{max-width:65ch}.masthead{height:58px;background:#112019;color:#efe7d3;border-bottom:1px solid #45513c}.masthead-inner{max-width:1440px;margin:0 auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:24px}.masthead img{width:220px;max-width:100%;height:auto;display:block}.masthead nav{display:flex;gap:32px;align-items:center;font-size:16px;font-weight:500}.masthead a{text-decoration:none}.masthead nav a:hover{color:var(--gold)}.return-link{border-bottom:1.5px solid #a8915a;padding:4px 0;font-size:16px}#themeToggle{background:none;color:#eddbb2;border:1px solid #617055;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}#themeToggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.hero{max-width:1440px;margin:auto;display:grid;grid-template-columns:1fr 1.08fr;gap:6%;padding:14px 5% 20px}.intro{font-size:16px;line-height:1.45;margin:8px 0 14px;max-width:42ch;color:var(--muted)}.start-form{max-width:490px;scroll-margin-top:28px}.start-form h2{font-size:22px;margin-bottom:8px}.start-form label{display:block;font-size:13.5px;font-weight:600}.start-form label span{font-weight:400;color:var(--muted)}input{display:block;background:var(--bg);border:1px solid var(--line);color:var(--ink);border-radius:4px;width:100%;min-width:0;padding:8px 12px;margin:3px 0 8px;min-height:40px}input::placeholder{color:var(--muted);opacity:1}.field-pair{display:grid;grid-template-columns:145px 1fr;gap:14px}.family-details{border-bottom:1px solid var(--line);margin:2px 0 10px;padding-bottom:8px}.family-details summary{font-size:13.5px;min-height:28px;padding:2px 0}.family-details summary span{color:var(--muted);font-size:13.5px;margin-left:8px}.family-details p{font-size:13px;color:var(--muted);margin:6px 0 14px}fieldset{border:0;padding:0;margin:12px 0}legend{font-family:var(--serif);font-size:22px;margin-bottom:8px}.relative-row{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px}.primary{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:12px 20px;border:1px solid #b58c39;border-radius:4px;background:var(--gold);color:#172b20;font-size:16px;font-weight:600;text-decoration:none;min-height:48px}.primary:hover{background:#ecc875}.start-form>.primary{width:100%}.form-note,.illustration-note{font-size:13.5px;color:var(--muted);line-height:1.45;margin-top:8px}#start-error{color:#b43e28;font-size:13.5px;margin-top:8px}html[data-theme=dark] #start-error{color:#ffa995}.hero-world{padding-top:10px;align-self:start}.tree-preview{position:relative;height:380px;width:100%;color:var(--ink)}.tree-preview svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.tree-preview path{stroke:var(--line);fill:none;stroke-width:1.5}.ancestor{position:absolute;text-align:center;font-family:var(--serif);font-size:17px;background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:8px 5px;width:24%;top:10%;transform:translateX(-50%);line-height:1.1}.ancestor span{display:block;font-family:var(--serif);font-style:italic;font-size:13.5px;margin-top:5px;color:var(--muted)}.a1{left:12.5%}.a2{left:37.5%}.a3{left:62.5%}.a4{left:87.5%}.parent{top:43.5%;width:36%;padding:14px 5px}.p1{left:29%}.p2{left:71%}.you{left:50%;top:77%;width:37%;font-size:22px;border-color:#a57c32}.preview-caption{position:absolute;top:98%;left:0;right:0;text-align:center;font-family:var(--serif);font-style:italic;color:var(--muted);font-size:18px}.story-preview{display:block;background:var(--hero);color:var(--hero-ink);margin-top:64px;padding:28px 32px 32px;text-decoration:none}.story-top{display:flex;justify-content:space-between;color:#dfc58d;font-size:14px;margin-bottom:21px}.story-preview h2{font-size:34px}.story-preview p{font-family:var(--serif);font-size:21px;line-height:1.45;margin:18px 0;color:#cfdbc7}.text-link{display:inline-block;border-bottom:1px solid currentColor;text-decoration:none;font-size:14px;padding-bottom:4px}.story-preview:hover .text-link{color:var(--gold)}.illustration-note{text-align:center}.section{max-width:1296px;margin:0 auto;padding:80px 4%;border-top:1px solid var(--line)}.section-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:12%;align-items:end;margin-bottom:48px}.section-heading p{color:var(--muted);max-width:41ch}.steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:48px;padding:0;margin:0;counter-reset:step}.steps li:before{counter-increment:step;content:counter(step);display:block;font-family:var(--serif);font-size:21px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:22px;color:var(--muted)}.steps p{color:var(--muted);margin-top:15px;font-size:15px}.history{display:grid;grid-template-columns:1fr 1.1fr;gap:12%}.history>div>p{margin-top:24px;color:var(--muted)}.history .text-link{margin-top:27px}.reading-list a{position:relative;display:block;padding:20px 38px 25px 0;border-bottom:1px solid var(--line);text-decoration:none}.reading-list a:first-child{padding-top:0}.reading-list span{font-size:14px;color:var(--muted)}.reading-list h3{margin-top:8px;font-size:31px}.reading-list p{font-size:14px;color:var(--muted);margin-top:10px}.reading-list b{position:absolute;right:0;top:35px;font-weight:400}.reading-list a:hover h3{text-decoration:underline;text-underline-offset:5px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:15px}caption{text-align:left;font-size:14px;color:var(--muted);margin-bottom:16px}th,td{padding:20px 22px;border-bottom:1px solid var(--line);vertical-align:top}thead{background:var(--surface)}thead th{font-size:14px}tbody th{font-weight:500;width:40%}td{color:var(--muted)}.questions{display:grid;grid-template-columns:1fr 1.25fr;gap:10%}.questions h2{max-width:12ch}.questions details{border-bottom:1px solid var(--line);padding:18px 0}.questions details:first-child{padding-top:0}.questions summary{font-size:17px;font-weight:500}.questions p{margin:15px 0 8px;color:var(--muted);font-size:15px}.closing{padding:80px 24px 95px;background:var(--surface);text-align:center}.closing h2{margin-bottom:28px}.closing .primary{width:max-content;margin:auto}footer{padding:38px 5%;display:flex;align-items:center;gap:30px;font-size:14px}footer p{margin-right:auto;color:var(--muted)}.footer-brand{font-family:var(--serif);font-size:29px;text-decoration:none}.skip{position:absolute;top:-80px;left:20px;background:var(--gold);color:#14231b;padding:12px;z-index:10}.skip:focus{top:10px}@media(min-width:1500px){.hero,.masthead-inner{padding-left:0;padding-right:0}}@media(max-width:1000px){.masthead nav{gap:24px;font-size:15.5px}.masthead img{width:300px}.hero{gap:5%;padding-top:45px}.ancestor{font-size:14px}.ancestor span{font-size:14px}.tree-preview{height:350px}.story-preview{padding:26px}.story-preview h2{font-size:30px}.steps{gap:25px}.section{padding:60px 5%}.section-heading{gap:6%}.history{gap:7%}footer{flex-wrap:wrap}footer p{width:55%}}@media(max-width:720px){.masthead{height:92px}.masthead-inner{padding:0 20px;gap:12px}.masthead img{width:190px}.masthead nav{gap:12px}.masthead nav>a:not(.return-link){display:none}.return-link{font-size:14px;white-space:nowrap}.masthead #themeToggle{width:40px;height:40px}.hero{grid-template-columns:1fr;padding:40px 24px 50px;gap:25px}h1{font-size:54px}.desktop-break{display:none}.intro{font-size:17px}.start-form{max-width:none}.hero-world{padding:0}.tree-preview{height:310px;max-width:570px;margin:auto}.ancestor{font-size:14px}.ancestor span{display:none}.parent{padding:15px 4px;font-size:16px}.you{font-size:22px}.you span{display:block}.a1,.a2,.a3,.a4{top:16%}.preview-caption{font-size:18px}.story-preview{margin-top:40px}.section-heading,.history,.questions{grid-template-columns:1fr;gap:28px}.section{padding:50px 24px}.section-heading{margin-bottom:30px}.steps{grid-template-columns:1fr;gap:25px}.steps li{display:grid;grid-template-columns:24px 1fr;gap:0 18px}.steps li:before{grid-row:span 2;border:0;margin:0;padding:2px 0}.steps p{grid-column:2;margin-top:10px}.questions h2{max-width:none}.history>div>p{margin-top:18px}.reading-list{margin-top:10px}.questions details:first-child{padding-top:15px}th,td{padding:16px 10px;font-size:14px}.closing{padding:55px 24px}footer{padding:30px 24px;gap:15px 25px}footer p{width:100%;order:3}.closing .primary{width:100%;max-width:360px}}@media(max-width:480px){.masthead img{width:150px}.masthead-inner{padding:0 12px;gap:8px}.masthead nav{gap:8px}.return-link{font-size:14px}.masthead #themeToggle{width:40px;height:40px}}@media(max-width:380px){.masthead img{width:138px}.masthead-inner{padding:0 10px;gap:6px}.return-link{font-size:14px}.hero{padding-left:16px;padding-right:16px}h1{font-size:47px}.field-pair{grid-template-columns:115px 1fr;gap:12px}.ancestor{font-size:14px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Section surfaces give each part of the journey a distinct visual role. */
:root{--sage:#e4eadf;--sage-ink:#243d2b;--history-bg:#294336;--history-ink:#f6efdd;--history-muted:#d4dfcd;--terracotta:#804632;--terracotta-ink:#fff3df}
html[data-theme=dark]{--sage:#293b2e;--sage-ink:#edf0df;--history-bg:#354f40;--history-ink:#fff3dc;--history-muted:#e0e7d6;--terracotta:#74432f}
.how{background:var(--sage);color:var(--sage-ink);max-width:none;padding-left:max(5%,calc((100vw - 1166px)/2));padding-right:max(5%,calc((100vw - 1166px)/2));border-top:0}
.how .section-heading p,.how .steps p,.how .steps li:before{color:var(--sage-ink)}
.history{background:var(--history-bg);color:var(--history-ink);max-width:none;padding-left:max(5%,calc((100vw - 1166px)/2));padding-right:max(5%,calc((100vw - 1166px)/2));border-top:0}
.history>div>p,.history .reading-list span,.history .reading-list p{color:var(--history-muted)}
.history .reading-list a{border-color:#869780}.history .text-link{color:#f1d394}
.history a:focus-visible,.closing a:focus-visible{outline-color:#ffe0a1}
.approach{border-top:0}.closing{background:var(--terracotta);color:var(--terracotta-ink)}
.hero-world .tree-preview{background:transparent;border-radius:0}
.preview-caption{top:101%}.ancestor{background:var(--bg)}
@media(max-width:720px){.how,.history{padding-left:24px;padding-right:24px}.hero-world{margin-top:12px}.tree-preview{border-radius:8px}}

/* A single outward-growing tree, with a light sweep inspired by transitions.dev. */
.tree-preview .ancestor{overflow:hidden}
.tree-preview .ancestor::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 25%,rgba(224,182,93,.26) 50%,transparent 75%);translate:-140% 0;opacity:0}
.tree-preview.is-building .ancestor::after{animation:tree-light 1s ease-out both;animation-delay:var(--tree-delay,0ms)}
.tree-preview .you{--tree-delay:150ms}
.tree-preview .p1,.tree-preview .p2{--tree-delay:750ms}
.tree-preview .a1,.tree-preview .a2,.tree-preview .a3,.tree-preview .a4{--tree-delay:1450ms}
@keyframes tree-light{0%{translate:-140% 0;opacity:0}20%{opacity:1}80%{opacity:1}100%{translate:140% 0;opacity:0}}
.discovery-benefits{margin-top:64px;padding:28px 0 0;border-top:1px solid var(--line)}
.discovery-benefits h2{font-size:36px;margin-bottom:24px}
.discovery-benefits ul{list-style:none;padding:0;margin:0;display:grid;gap:20px}
.discovery-benefits li{padding-left:24px;position:relative}
.discovery-benefits li::before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;border:1px solid #98752f;rotate:45deg}
.discovery-benefits strong{display:block;font-size:16px;font-weight:600;line-height:1.4;margin-bottom:5px}
.discovery-benefits li span{display:block;color:var(--muted);font-size:15px;line-height:1.55;max-width:47ch}
@media(max-width:720px){.discovery-benefits{margin-top:42px}.discovery-benefits h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.tree-preview.is-building .ancestor::after{animation:none}}

/* Five generations, revealed person by person; the story has its own space. */
.hero-world .expansive-tree{height:auto;max-width:none;margin:0}
.expansive-tree svg{position:static;display:block;width:100%;height:auto;overflow:visible}
.tree-demo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;color:var(--muted);font-size:14px}
.tree-demo-heading button{background:transparent;border:1px solid var(--line);border-radius:4px;color:var(--ink);padding:7px 14px;min-height:38px;box-sizing:border-box;font-size:14px}
.expansive-tree .growing-link{stroke:var(--line);stroke-width:1.4;fill:none;stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset .8s ease-out,opacity .8s}
.growing-person{opacity:1;transition:opacity .8s ease-out,filter .8s ease-out}
.growing-person rect{fill:var(--bg);stroke:var(--line);stroke-width:1}
.growing-person circle{fill:var(--muted)}
.growing-person text{fill:var(--ink);font:14px var(--serif)}
.growing-person[data-step="0"] rect{stroke:#a57c32}
.tree-running .growing-person:not(.revealed){opacity:0;filter:blur(3px)}
.tree-running .growing-link:not(.revealed){stroke-dashoffset:1;opacity:0}
.tree-running .growing-person.revealed rect{animation:discovery-light 1.5s ease-out}
@keyframes discovery-light{0%{stroke:#ddb35b;fill:var(--surface)}100%{stroke:var(--line);fill:var(--bg)}}
.tree-story{min-height:160px;padding:18px 0 0;border-top:1px solid var(--line)}
.tree-story>span{font-size:14px;color:var(--muted)}
.tree-story h3{font-size:30px;margin:8px 0 10px}
.tree-story p{font-size:15px;line-height:1.55;color:var(--muted);max-width:55ch}
.tree-demo-note{font-size:14px;color:var(--muted);margin-top:12px}
.hero>.discovery-benefits{margin-top:32px}
@media(max-width:720px){.tree-story{min-height:190px}.tree-story h3{font-size:27px}.tree-demo-heading{font-size:14px}}
@media(prefers-reduced-motion:reduce){.expansive-tree *{animation:none!important;transition:none!important}}

.expansive-tree .growing-person.story-focus rect{stroke:#a57c32;stroke-width:2;fill:var(--surface)}

/* Discoveries belong to the people on the tree, not a separate reading panel. */
.tree-demo-heading{justify-content:flex-end}
.tree-annotation{position:absolute;width:210px;max-width:calc(100% - 8px);padding:10px 13px;background:#20382b;color:#fff5df;border:1px solid #a57c32;border-radius:6px;z-index:2;pointer-events:none}
.tree-annotation[hidden]{display:none}
.tree-annotation span{display:block;font-size:14px;color:#e6cc95;margin-bottom:3px}
.tree-annotation strong{display:block;font-family:var(--serif);font-size:19px;font-weight:500;line-height:1.2}
.tree-annotation::after{content:"";position:absolute;left:var(--pointer-x);top:100%;height:12px;width:1px;background:#a57c32}
.tree-annotation.annotation-below::after{top:auto;bottom:100%}
.hero>.discovery-benefits{margin-top:24px;background:var(--surface);color:var(--ink);border:0;border-top:2px solid var(--line);padding:28px 32px;border-radius:6px}
.discovery-benefits h2{font-size:32px;margin-bottom:24px;color:var(--ink)}
.discovery-benefits ul{gap:0}
.discovery-benefits li{padding:17px 0;border-top:1px solid var(--line)}
.discovery-benefits li:last-child{padding-bottom:0}
.discovery-benefits li::before{display:none}
.discovery-benefits strong{font-size:18px;color:var(--ink);margin-bottom:7px}
.discovery-benefits li span{color:var(--muted);font-size:15px;line-height:1.55}
@media(max-width:720px){.tree-annotation{width:175px;padding:8px 11px}.tree-annotation strong{font-size:17px}.hero>.discovery-benefits{padding:23px}.discovery-benefits h2{font-size:29px}}

.tree-annotation a{display:block;font-size:14px;color:#e6cc95;margin-bottom:5px;pointer-events:auto;text-decoration:underline;text-underline-offset:3px}

/* The research benefits span both hero columns. */
.hero{column-gap:5%;row-gap:36px}
.hero>.discovery-benefits{grid-column:1/-1;margin-top:0;padding:30px 34px}
.hero>.discovery-benefits ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.hero>.discovery-benefits li{padding:18px 0 0}
@media(max-width:720px){.hero{gap:28px}.hero>.discovery-benefits{padding:26px 24px}.hero>.discovery-benefits ul{grid-template-columns:1fr;gap:20px}}

/* A quiet, immediate reward for useful family context. */
.clue-reward{display:grid;grid-template-columns:1fr;gap:5px;padding:14px 0 18px;margin:4px 0 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.clue-reward>div{display:flex;align-items:baseline;gap:7px}
.clue-reward strong{font:500 31px/1 var(--serif);font-variant-numeric:tabular-nums;color:var(--ink)}
.clue-reward span{font-size:14px;line-height:1.2;font-weight:600;color:var(--ink)}
.clue-reward p{font-size:14px;line-height:1.45;color:var(--muted)}
.family-details summary{font-size:15px;font-weight:600;min-height:44px;display:list-item;align-content:center}
.family-details summary span{font-weight:400}

/* Better-UI: Tactile scale on press (scale 0.96) */
button:active:not(:disabled),
.primary:active:not(:disabled),
a.primary:active:not(:disabled) {
  transform: scale(0.96);
  transition: transform 150ms cubic-bezier(0.2, 0, 0, 1);
}

/* Impeccable layout & colorize: Left column leads with headline + live 10-gen tree; Right column anchors action in a deep archival forest block */
.masthead-inner {
  max-width: 1260px;
  padding: 0 32px;
}
.hero {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 32px 28px;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 480px);
  column-gap: 52px;
  row-gap: 0;
  align-items: start;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  width: 100%;
}
.hero-copy .intro {
  max-width: 48ch;
  margin: 10px 0 0;
  font-size: 16.5px;
  line-height: 1.48;
}
.hero-world {
  grid-column: 1;
  grid-row: 2;
  padding-top: 0;
  margin-top: -12px;
  width: 100%;
}
.hero-world .expansive-tree {
  position: relative;
}
.tree-demo-heading {
  position: absolute;
  top: 12px;
  right: 0;
  z-index: 3;
  min-height: 0;
}
.start-form {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 480px;
  width: 100%;
  justify-self: end;
  background: #172b20;
  color: #f6efdd;
  border-radius: 8px;
  padding: 30px 32px 32px;
}
html[data-theme=dark] .start-form {
  background: #1f3528;
}
.start-form h2 {
  font-size: 28px;
  color: #fff6e3;
  margin-bottom: 16px;
}
.start-form label {
  color: #eef3ea;
  font-size: 14px;
}
.start-form label span {
  color: #bfd0b9;
}
.start-form input {
  background: #0f1e16;
  border: 1px solid #486452;
  color: #fff6e3;
  caret-color: #e0b65d;
  border-radius: 5px;
  padding: 9px 12px;
  margin: 5px 0 12px;
  min-height: 43px;
}
.start-form input::placeholder {
  color: #9cb097;
  opacity: 1;
}
.start-form input:focus-visible {
  outline: 2px solid #e0b65d;
  outline-offset: 2px;
  border-color: #e0b65d;
}
.start-form .family-details {
  border-bottom: 1px solid #324d3d;
  margin: 4px 0 12px;
  padding-bottom: 8px;
}
.start-form .family-details summary {
  color: #eef3ea;
}
.start-form .family-details summary span,
.start-form .family-details p {
  color: #bfd0b9;
}
.start-form legend {
  color: #fff6e3;
}
.start-form .clue-reward {
  border-top: 1px solid #324d3d;
  border-bottom: 1px solid #324d3d;
  padding: 14px 0 16px;
  margin: 4px 0 18px;
}
.start-form .clue-reward strong {
  color: #e8c067;
}
.start-form .clue-reward span {
  color: #fff6e3;
}
.start-form .clue-reward p {
  color: #bfd0b9;
}
.start-form #start-error {
  color: #ffb4a2;
}
.hero > .discovery-benefits {
  margin-top: 32px;
}
.primary {
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  font-size: 16.5px;
}
.tree-running .growing-person:not(.revealed) {
  opacity: 0.32;
  filter: none;
}
.tree-running .growing-link:not(.revealed) {
  stroke-dashoffset: 0;
  opacity: 0.24;
}
@media (min-width: 1500px) {
  .hero,
  .masthead-inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 28px 24px 36px;
  }
  .hero-copy,
  .start-form,
  .hero-world {
    grid-column: 1;
    grid-row: auto;
  }
  .hero-world {
    margin-top: 0;
  }
  .start-form {
    max-width: none;
    justify-self: stretch;
  }
  .hero > .discovery-benefits {
    margin-top: 8px;
  }
}
.field-pair {
  align-items: end;
}
@media (max-width: 480px) {
  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


