.guide-hero,.guide-known,.guide-features,.branch-result,.why-guide,.not-found-guide{color:#14251e}.guide-hero{padding:110px 0;background:#f3efe5}.guide-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:100px;align-items:center}.guide-hero h2,.guide-known h2,.guide-heading h2,.already-there h2,.seven-guide h2,.search-intro h2{font:400 clamp(40px,5.5vw,72px)/1.06 Georgia,serif;margin:24px 0}.guide-hero h2 em{color:#9d7748;font-style:normal}.guide-lead{max-width:760px;font-size:19px;line-height:1.7;color:#46564f}.guide-note{max-width:680px;padding-left:18px;border-left:2px solid #bd9660;color:#69766f;line-height:1.6}.guide-actions{display:flex;gap:20px;align-items:center;margin-top:35px}.guide-primary,.guide-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;text-decoration:none;font-size:13px}.guide-primary{background:#bd9660;color:#14251e}.guide-primary b{margin-left:24px}.guide-secondary{border-bottom:1px solid #8d7552;color:#43554d}.branch-mark{display:flex;flex-direction:column;align-items:center;padding:35px;background:#183e31;color:#fff}.branch-mark span{display:grid;place-items:center;width:120px;min-height:48px;border:1px solid #ffffff38;font:20px Georgia,serif}.branch-mark i{width:1px;height:25px;background:#bd9660}.section-number{display:inline-block;color:#a77f4d;font-size:11px;font-weight:700;letter-spacing:.2em}.section-number.light{color:#ddbd8a}.guide-known{padding:95px 0;background:#faf8f2}.guide-known-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:85px}.guide-known h2,.guide-heading h2{font-size:clamp(36px,4vw,55px)}.guide-known p,.guide-heading p{color:#66746e;line-height:1.7}.known-panel{padding:38px;background:#fff;box-shadow:0 18px 50px #24392e0d}.name-chain{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#183e31}.name-chain span{padding:11px 12px;background:#f0eadf;font-weight:700;font-size:12px}.name-chain i{color:#bd9660;font-style:normal}.known-panel small{display:block;margin:18px 0;color:#77847e;line-height:1.7}.known-panel a,.feature-grid a,.seven-guide a{color:#966f3f;font-size:12px;font-weight:700;text-decoration:none}.guide-features,.branch-result,.why-guide{padding:100px 0}.guide-heading{max-width:780px;margin-bottom:50px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:#ddd7ca}.feature-grid article{min-height:280px;padding:30px;background:#faf8f2}.feature-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8dfcf;color:#8d683d;font:16px Georgia,serif}.feature-grid h3,.steps-grid h3,.why-grid h3{font:24px/1.2 Georgia,serif;margin:27px 0 12px}.feature-grid p,.steps-grid p,.why-grid p{color:#69766f;font-size:14px;line-height:1.65}.feature-grid strong{display:block;color:#946d3d;font-size:12px}.already-there{padding:95px 0;background:#183e31;color:#fff}.already-grid{display:grid;grid-template-columns:1fr .85fr;gap:90px;align-items:center}.already-there h2{font-size:clamp(38px,4.5vw,61px)}.already-there p{max-width:650px;color:#bdcbc5;line-height:1.7}.three-names{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center;padding:40px;border:1px solid #ffffff24}.three-names span{padding:16px 10px;background:#ffffff0b;text-align:center;font:19px Georgia,serif}.three-names i{color:#bd9660;font-style:normal}.three-names small{grid-column:1/-1;margin-top:10px;color:#c7d1cd;text-align:center}.branch-diagram{display:grid;grid-template-columns:220px 1fr;gap:65px;align-items:center;padding:45px;background:#f3efe5}.trunk{display:flex;flex-direction:column;align-items:center}.trunk span{width:150px;padding:12px;border:1px solid #cfc5b5;background:#faf8f2;text-align:center}.trunk i{width:1px;height:17px;background:#bd9660}.side-branches{display:flex;align-items:center;flex-wrap:wrap;gap:10px;position:relative}.side-branches:before{content:"";position:absolute;left:-65px;width:50px;height:1px;background:#bd9660}.side-branches b{width:100%;margin-bottom:8px;color:#9a7447;font-size:12px}.side-branches span{padding:12px;background:#fff;font-size:13px}.side-branches i{color:#bd9660;font-style:normal}.how-works{padding:100px 0;background:#f3efe5;color:#14251e}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);margin:45px 0 28px}.steps-grid article{padding:30px;border-top:1px solid #bcae98;border-bottom:1px solid #bcae98}.steps-grid article+article{border-left:1px solid #bcae98}.steps-grid b{color:#a57c4a;font-size:12px}.steps-after{max-width:800px;color:#52625a;line-height:1.7}.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.why-grid article{padding-top:24px;border-top:2px solid #bd9660}.seven-guide{padding:80px 0;background:#e8dfcf;color:#14251e}.seven-grid{display:grid;grid-template-columns:220px 1fr;gap:60px;align-items:center}.seven-mark{font:130px/1 Georgia,serif;color:#a67d4b;text-align:center}.seven-mark small{display:block;font:11px Arial,sans-serif;letter-spacing:.3em}.seven-guide h2{font-size:clamp(36px,4.5vw,58px)}.seven-guide p{max-width:740px;color:#58675f;line-height:1.7}.not-found-guide{display:flex;justify-content:space-between;align-items:center;gap:50px;padding-top:80px;padding-bottom:80px}.not-found-guide>div{max-width:800px}.not-found-guide h2{font:42px Georgia,serif;margin:16px 0}.not-found-guide p{color:#64716b;line-height:1.7}.not-found-guide small{color:#9b7446}.dark-link{flex:0 0 auto}.search-intro{padding:90px 0 40px;background:#14251e;color:#fff}.search-intro h2{font-size:clamp(40px,5vw,65px)}.search-intro p{max-width:760px;color:#b5c2bc;line-height:1.7}.search-intro-chain{margin-top:28px;color:#e2c394;font:clamp(17px,2vw,25px) Georgia,serif}.search-intro-chain i{margin:0 12px;color:#bd9660;font-style:normal}.guide-hero,.guide-known,.guide-features,.already-there,.branch-result,.how-works,.why-guide,.seven-guide,.not-found-guide,.search-intro,.lineage-home{overflow:hidden}.lineage-home{scroll-margin-top:16px}.lineage-home:focus{outline:none}.lineage-home.search-attention{animation:searchGlow 1.4s ease}@keyframes searchGlow{0%,100%{box-shadow:none}45%{box-shadow:inset 0 0 0 3px #bd9660}}
@media(max-width:900px){.guide-hero-grid,.guide-known-grid,.already-grid{grid-template-columns:1fr;gap:45px}.branch-mark{display:none}.feature-grid{grid-template-columns:repeat(2,1fr)}.steps-grid{grid-template-columns:repeat(2,1fr)}.steps-grid article:nth-child(3){border-left:0}.branch-diagram{grid-template-columns:170px 1fr;gap:35px}.side-branches:before{left:-35px;width:25px}.guide-hero,.guide-known,.guide-features,.branch-result,.how-works,.why-guide{padding:75px 0}}
@media(max-width:600px){.guide-hero-grid{gap:30px}.guide-hero h2,.guide-known h2,.already-there h2,.search-intro h2{font-size:38px}.guide-lead{font-size:16px}.guide-actions{align-items:stretch;flex-direction:column}.guide-primary,.guide-secondary{width:100%;min-height:52px}.known-panel{padding:24px}.name-chain{gap:7px}.name-chain span{padding:9px;font-size:11px}.feature-grid,.steps-grid,.why-grid{grid-template-columns:1fr}.feature-grid article{min-height:0}.steps-grid article,.steps-grid article+article{border-left:0;border-bottom:0}.steps-grid article:last-child{border-bottom:1px solid #bcae98}.three-names{grid-template-columns:1fr;padding:25px}.three-names i{transform:rotate(90deg);text-align:center}.branch-diagram{grid-template-columns:1fr;padding:25px}.side-branches{justify-content:center}.side-branches:before{display:none}.side-branches b{margin-top:15px;text-align:center}.side-branches i{transform:rotate(90deg);width:100%;text-align:center}.why-grid{gap:20px}.seven-grid{grid-template-columns:1fr;gap:25px}.seven-mark{font-size:90px}.not-found-guide{align-items:stretch;flex-direction:column;padding-top:60px;padding-bottom:60px}.not-found-guide h2{font-size:36px}.search-intro-chain{display:flex;flex-wrap:wrap;gap:7px}.search-intro-chain i{margin:0}.guide-features,.branch-result,.why-guide{width:min(100% - 30px,1180px)}}

/* This section is a .shell inside the dark page. Give it a full-width paper
   background and explicit text colours so its headings never inherit white or
   muted colours from neighbouring dark sections. */
.guide-features,.branch-result,.why-guide,.not-found-guide{color:#14251e;box-shadow:0 0 0 100vmax var(--section-bg);clip-path:inset(0 -100vmax)}
.guide-features{--section-bg:#faf8f2;background:#faf8f2}
.branch-result{--section-bg:#f3efe5;background:#f3efe5}
.why-guide{--section-bg:#faf8f2;background:#faf8f2}
.not-found-guide{--section-bg:#f3efe5;background:#f3efe5}
.guide-features .guide-heading h2,.branch-result .guide-heading h2,.why-guide .guide-heading h2,.not-found-guide h2,.feature-grid h3,.why-grid h3{color:#14251e}
.guide-features .guide-heading p,.branch-result .guide-heading p,.not-found-guide p{color:#52625a}
.why-grid p{color:#52625a}

/* Green chapter panels: 01, 05 and 07. */
.guide-known{background:#183e31;color:#fff}
.guide-known h2{color:#fff}
.guide-known> .shell>div:first-child p{color:#bdcbc5}
.how-works{background:#183e31;color:#fff}
.how-works .guide-heading h2,.how-works .steps-grid h3{color:#fff}
.how-works .steps-grid article{border-color:#ffffff30}
.how-works .steps-grid p,.how-works .steps-after{color:#bdcbc5}
.not-found-guide{--section-bg:#183e31;background:#183e31;color:#fff}
.not-found-guide h2{color:#fff}
.not-found-guide p{color:#bdcbc5}
.not-found-guide small{color:#e2c394}
.not-found-guide .dark-link{border-bottom-color:#d6b37e;color:#fff}

/* Block 04: direct ancestors in the centre, unknown relatives on both sides. */
.branch-result .branch-diagram{display:block;padding:48px;background:#e9e1d3}
.family-tree{display:flex;flex-direction:column;align-items:center;max-width:820px;margin:0 auto}
.lineage-level{display:grid;grid-template-columns:180px 54px 180px 54px 180px;align-items:center;justify-content:center;width:100%}
.lineage-node{grid-column:3;display:grid;place-items:center;min-height:52px;padding:10px 18px;border:1px solid #b8aa94;background:#fff;color:#183e31;font:19px Georgia,serif;text-align:center;box-shadow:0 8px 22px #24392e0b}
.ancestor-node{background:#183e31;color:#fff;border-color:#183e31}
.self-node{border:2px solid #183e31;font-weight:700}
.lineage-arrow{height:30px;color:#a57c4a;font:24px/30px Georgia,serif;font-style:normal;text-align:center}
.unknown-branch{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;padding:8px 10px;border:1px dashed #ad956f;background:#faf8f2;color:#766a59}
.unknown-left{grid-column:1}.unknown-right{grid-column:5}
.unknown-branch b{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:50%;background:#bd9660;color:#183e31;font:700 19px Georgia,serif}
.unknown-branch small{font-size:11px;line-height:1.25}
.branch-arrow{color:#a57c4a;font:27px Georgia,serif;font-style:normal;text-align:center}
.branch-left{grid-column:2}.branch-right{grid-column:4}
.branch-legend{max-width:680px;margin:34px auto 0;padding-top:22px;border-top:1px solid #c8baa5;color:#52625a!important;font-size:14px;line-height:1.6;text-align:center}
.branch-legend b{display:inline-grid;place-items:center;width:25px;height:25px;margin-right:5px;border-radius:50%;background:#bd9660;color:#183e31}
@media(max-width:700px){.branch-result .branch-diagram{padding:30px 16px}.lineage-level{grid-template-columns:minmax(82px,1fr) 28px minmax(105px,1.2fr) 28px minmax(82px,1fr)}.lineage-node{min-height:48px;padding:8px;font-size:16px}.unknown-branch{display:grid;justify-items:center;gap:4px;min-height:70px;padding:7px 4px;text-align:center}.unknown-branch small{font-size:9px}.branch-arrow{font-size:21px}.branch-legend{font-size:12px}}

/* The four search hints belong directly beside the lineage form. */
.search-intro{padding-bottom:58px}
.search-intro-lead{font-size:18px}
.search-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:38px;border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30}
.search-steps article{min-width:0;padding:26px 24px}
.search-steps article+article{border-left:1px solid #ffffff30}
.search-steps b{color:#d6b37e;font-size:11px;letter-spacing:.14em}
.search-steps h3{margin:18px 0 10px;color:#fff;font:22px/1.2 Georgia,serif}
.search-steps p{margin:0;color:#b5c2bc;font-size:13px;line-height:1.6}
@media(max-width:900px){.search-steps{grid-template-columns:1fr 1fr}.search-steps article:nth-child(3){border-left:0;border-top:1px solid #ffffff30}.search-steps article:nth-child(4){border-top:1px solid #ffffff30}}
@media(max-width:560px){.search-steps{grid-template-columns:1fr}.search-steps article+article{border-left:0;border-top:1px solid #ffffff30}.search-intro-lead{font-size:16px}}
