/* Truhali - site styles. No external fonts, no scripts. Brand: Two Ends, One Level (light rebrand, 7 Oct 2026).
   Boriti #2B2521 (words, dark grounds), nanaa jade #7FCBAE (buttons, icons, one accent; never text), chokaa limewash
   #D3EBDF (panels), sisal paper #F6F2EA (the page); red ochre #934F2D only for "today". The old token names (--teal,
   --amber) are kept so every rule below still works; their values are the new palette. */
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrumentsans-latin.woff2) format("woff2"); font-weight: 400 600; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Truhali Mono"; src: url(fonts/truhalimono-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Truhali Mono"; src: url(fonts/truhalimono-medium.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
:root {
  --teal: #2B2521; --teal-d: #3D3530; --teal-dd: #1E1916;      /* boriti: dark grounds, words, links */
  --amber: #7FCBAE; --amber-d: #6CC0A0; --amber-soft: #D3EBDF;  /* jade: buttons, icons, accents; never text */
  --amber-text: #F6F2EA;                                        /* small labels on dark grounds: paper */
  --soft: #D3EBDF; --soft-2: #F6F2EA; --paper: #F6F2EA; --night: #1E1916; --on-dark: #E4DCD0;
  --ink: #2B2521; --body: #2B2521; --muted: #5E5650; --line: #D8CFC1;
  --ok: #2B2521; --ok-bg: #D3EBDF; --attn: #2B2521; --attn-bg: #F7E8C8; --urg: #2B2521; --urg-bg: #F3DBD5;
  --r: 8px;
  --shadow: 0 1px 2px rgba(43, 37, 33, .06), 0 10px 28px rgba(43, 37, 33, .10);
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Truhali Mono", "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 1.0625rem/1.6 var(--font); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-d); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.012em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 7.2vw, 3.5rem); font-weight: 600; letter-spacing: -.022em; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: 76px; }
/* Focus ring: teal on light backgrounds (amber is only 1.8:1 on white), amber on the dark and teal blocks. */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .final :focus-visible, .never :focus-visible, .foot :focus-visible,
.who-card :focus-visible, .doc-hero :focus-visible, .get.hl :focus-visible, .promise.a :focus-visible { outline-color: var(--amber); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.25em;
  border-radius: 6px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 20px; height: 20px; }
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-d); color: var(--ink); }
.btn-teal { background: var(--teal); color: var(--paper); }
.btn-teal:hover { background: var(--teal-d); color: var(--paper); }
.btn-line-light { border-color: rgba(255, 255, 255, .55); color: var(--paper); }
.btn-line-light:hover { border-color: var(--paper); background: rgba(255, 255, 255, .08); color: var(--paper); }
.btn-line { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-line:hover { background: var(--soft); color: var(--teal-d); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 242, 234, .96); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 136px; height: auto; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav a:hover { color: var(--teal); }
.top .btn { margin-left: auto; }

@media (min-width: 720px) { .nav { display: flex; } .nav + .btn { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { background: var(--teal); color: var(--paper); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -55% auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 203, 174, .13), rgba(127, 203, 174, 0)); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 40px; padding: 44px 20px 52px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 14px; }
.hero h1 { color: var(--paper); margin-bottom: .4em; }
.lede { font-size: 1.14rem; color: var(--on-dark); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.cta-row .btn { flex: 1 1 240px; }
.cta-hint { font-size: .95rem; color: var(--on-dark); margin: -8px 0 18px; max-width: 34rem; }
.hero-facts { list-style: none; display: grid; gap: 8px; font-size: .98rem; color: var(--on-dark); }
.hero-facts li { display: flex; gap: 10px; align-items: center; }
.hero-facts .i { color: var(--amber); width: 20px; height: 20px; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; padding: 80px 20px 88px; }
  .cta-row .btn { flex: 0 1 auto; }
}

/* report-card illustration */
.rc-wrap { margin: 0; }
.rc { background: #fff; color: var(--body); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); overflow: hidden; max-width: 460px; margin: 0 auto; }
.rc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.rc-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.rc-brand img { width: 20px; height: 20px; }
.rc-tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border: 1px dashed #BFB4A5; padding: 2px 8px; border-radius: 999px; }
.rc-photo { position: relative; background: #D3EBDF; }
.rc-photo svg { width: 100%; height: auto; }
.rc-stamp, .rc-point { position: absolute; font-size: .72rem; font-weight: 600; color: var(--paper); background: rgba(43, 37, 33, .78); padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.rc-stamp { right: 10px; bottom: 10px; }
.rc-point { left: 10px; top: 10px; }
.rc-video { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--soft-2); border-bottom: 1px solid var(--line); font-size: .85rem; line-height: 1.4; }
.rc-video strong { display: block; color: var(--ink); font-size: .86rem; }
.rc-play { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); flex: none; display: grid; place-items: center; }
.rc-play svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.rc-rows { list-style: none; padding: 4px 16px 10px; font-size: .86rem; }
.rc-rows li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid #EFE9DF; align-items: center; }
.rc-rows li:last-child { border-bottom: 0; }
.rc-rows .k { font-weight: 600; color: var(--ink); }
.rc-rows .v { grid-column: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.rc-rows .chip { grid-column: 2; grid-row: 1 / span 2; }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.attn { background: var(--attn-bg); color: var(--attn); }
.chip.urg { background: var(--urg-bg); color: var(--urg); }
.chip.na { background: #E6DCC8; color: #2B2521; }
.rc-cap { text-align: center; font-size: .82rem; color: var(--on-dark); margin: 14px 0 0; opacity: .9; }

/* ---------- sections ---------- */
.sec { padding: 64px 0; }
.sec-soft { background: var(--soft-2); }
.sec-tint { background: var(--soft); }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.sec-head p { font-size: 1.1rem; color: var(--muted); }
.kicker { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
@media (min-width: 860px) { .sec { padding: 92px 0; } }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 999px) { .g4 { grid-template-columns: 1fr 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--body); }
.ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--teal); margin-bottom: 14px; }
.ico .i { width: 27px; height: 27px; }

/* problem */
.note { margin-top: 26px; padding: 20px 22px; border-left: 4px solid var(--amber); background: #fff; border-radius: 0 var(--r) var(--r) 0; font-size: 1.08rem; color: var(--ink); max-width: 820px; }
.note p:last-child { margin: 0; }

/* steps */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 22px 76px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: var(--paper); font-weight: 600; display: grid; place-items: center; font-size: 1.05rem; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps li { padding: 76px 22px 24px; }
}
.aside { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; background: var(--amber-soft); border-radius: var(--r); padding: 16px 18px; color: var(--ink); font-size: 1rem; }
.aside .i { color: var(--muted); margin-top: 2px; }
.aside p { margin: 0; }

/* what you get */
.gets { display: grid; gap: 14px; }
.get { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.get .ico { margin: 0; }
.get h3 { margin-bottom: .25em; }
.get p { margin: 0; }
.get.hl { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }
.get.hl h3 { color: var(--paper); }
.get.hl .ico { background: rgba(255, 255, 255, .12); color: var(--amber); }
@media (min-width: 720px) { .gets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gets { grid-template-columns: repeat(3, 1fr); } }
.fine { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* sample */
.sample { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .sample { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.slot { border: 2px dashed #BFB4A5; border-radius: 18px; background: #fff; padding: 30px 24px; text-align: center; }
.slot-doc { width: 92px; height: 116px; margin: 0 auto 18px; border-radius: 10px; background: var(--soft); position: relative; border: 1px solid var(--line); }
.slot-doc::before { content: ""; position: absolute; left: 14px; right: 14px; top: 18px; height: 34px; border-radius: 4px; background: #BFDDCD; }
.slot-doc::after { content: ""; position: absolute; left: 14px; right: 26px; top: 62px; height: 6px; border-radius: 3px; background: #BFDDCD;
  box-shadow: 0 13px 0 #BFDDCD, 12px 26px 0 -0px #BFDDCD; }
.slot h3 { font-size: 1.3rem; }
.slot p { color: var(--muted); max-width: 30em; margin-left: auto; margin-right: auto; }
.slot .btn { margin-top: 6px; }
.toc { list-style: none; counter-reset: t; display: grid; gap: 10px; }
.toc li { counter-increment: t; display: flex; gap: 14px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.toc li::before { content: counter(t); flex: none; font-weight: 600; color: var(--teal); min-width: 1.2em; }
.toc b { color: var(--ink); }

/* prices */
.prices { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 24px; display: flex; flex-direction: column; }
.price.feat { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 22px; background: var(--amber); color: var(--ink); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.price h3 { font-size: 1.25rem; margin-bottom: .2em; }
.amt { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 2px; color: var(--ink); }
.amt b { font-size: 2.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.amt span { font-weight: 600; color: var(--muted); }
.approx { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.price > p { margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; font-size: .97rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--teal); width: 20px; height: 20px; margin-top: 2px; }
.price .btn { margin-top: auto; }
.price .when { margin-top: auto; font-size: .93rem; font-weight: 600; color: var(--teal); background: var(--soft-2); border-radius: 10px; padding: 10px 12px; }
.price .sub { font-size: .92rem; background: var(--soft-2); border-radius: 10px; padding: 10px 12px; margin-bottom: 18px; }
.terms-strip { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 760px) { .terms-strip { grid-template-columns: 1fr 1fr; } }
.promise { border-radius: 16px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.promise h3 { margin-bottom: .25em; }
.promise p { margin: 0; }
.promise.a { background: var(--teal); color: var(--on-dark); }
.promise.a h3 { color: var(--paper); }
.promise.a .i { color: var(--amber); }
.promise.b { background: var(--amber-soft); color: var(--ink); border: 1px solid var(--line); }
.promise.b .i { color: var(--ink); }
.promise .i { width: 28px; height: 28px; margin-top: 2px; }

/* coverage */
.areas { display: grid; gap: 16px; }
@media (min-width: 860px) { .areas { grid-template-columns: 1fr 1.25fr 1fr; } }
.area h3 { display: flex; gap: 10px; align-items: center; }
.area h3 .i { color: var(--teal); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { background: var(--soft); color: var(--teal-d); font-weight: 600; font-size: .93rem; padding: 5px 12px; border-radius: 999px; }
.area .small { font-size: .93rem; color: var(--muted); margin-top: 12px; }

/* never */
.never { background: var(--night); color: #D8CFC1; }
.never h2 { color: var(--paper); }
.never .kicker { color: var(--amber-text); }
.never-list { list-style: none; display: grid; gap: 12px 28px; }
@media (min-width: 720px) { .never-list { grid-template-columns: 1fr 1fr; } }
.never-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.04rem; color: #F6F2EA; }
.never-list .i { color: var(--amber); margin-top: 2px; }
.never .disc { margin-top: 30px; padding-top: 22px; border-top: 1px solid #4A403A; color: #B9AFA6; font-size: .95rem; }

/* who */
.who { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .who { grid-template-columns: .8fr 1.2fr; gap: 48px; } .who-card { order: -1; } }
.who-card { background: var(--teal); color: var(--on-dark); border-radius: 18px; padding: 26px; }
.who-card .who-logo { width: 160px; height: auto; margin-bottom: 22px; }
.who-card .who-photo { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; margin-bottom: 22px; }
.founder-photo { display: block; width: 100%; max-width: 260px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin: 4px 0 18px; }
.who-card dl { margin: 0; display: grid; gap: 12px; }
.who-card dt { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); }
.who-card dd { margin: 2px 0 0; color: var(--paper); font-weight: 600; }
.who-text p { font-size: 1.08rem; }
.who-text .sign { font-weight: 600; color: var(--ink); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); position: relative; font-size: 1.05rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft); color: var(--teal); display: grid; place-items: center; font-size: 1.25rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { padding-bottom: 8px; }
.faq .a { padding: 0 20px 18px; }
.faq .a p:last-child { margin-bottom: 0; }

/* final cta */
.final { background: var(--teal); color: var(--on-dark); text-align: center; }
.final h2 { color: var(--paper); }
.final p { font-size: 1.12rem; max-width: 36em; margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; margin-bottom: 0; }
.final .cta-row .btn { flex: 0 1 auto; }
.final .small { font-size: .95rem; margin-top: 18px; opacity: .9; }
.final .small a { color: var(--paper); }

/* footer */
.foot { background: var(--night); color: #B9AFA6; font-size: .95rem; padding: 52px 0 34px; }
.foot a { color: #F6F2EA; }
.foot a:hover { color: var(--paper); text-decoration-color: var(--amber); }
.foot-grid { display: grid; gap: 30px 20px; grid-template-columns: 1fr 1fr; }
.foot-grid > :nth-child(-n+2) { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-grid > :nth-child(-n+2) { grid-column: auto; } }
.foot img { width: 136px; height: auto; margin-bottom: 12px; }
.foot h2 { color: var(--paper); font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot .warn { margin-top: 14px; color: #F6F2EA; background: var(--teal); border-radius: 10px; padding: 12px 14px; font-size: .9rem; }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid #4A403A; display: grid; gap: 8px; font-size: .88rem; }
.foot-base p { margin: 0; }
.foot .foot-h { color: var(--paper); font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }

/* ---------- legal pages ---------- */
.doc-hero { background: var(--teal); color: var(--on-dark); padding: 44px 0 40px; }
.doc-hero h1 { color: var(--paper); font-size: clamp(2rem, 6vw, 2.8rem); }
.doc-hero p { margin: 0; max-width: 40em; }
.doc-hero p a { color: var(--paper); }
.doc { padding: 44px 0 72px; }
.doc h2 { font-size: 1.45rem; margin-top: 1.9em; padding-top: .2em; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc .box { background: var(--soft-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 0 0 1.2em; }
.doc .box p:last-child, .doc .box ul:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .98rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); background: var(--soft-2); }
.doc .meta { color: var(--muted); font-size: .92rem; }
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--on-dark); text-decoration: none; font-weight: 600; margin-bottom: 18px; }
.back:hover { color: var(--paper); }
.toc-doc { columns: 2 220px; column-gap: 28px; padding: 0; list-style: none; margin: 0 0 8px; }
.toc-doc li { break-inside: avoid; margin-bottom: 6px; }

/* ---------- v1.1 SEO patch (2 Oct 2026) ---------- */
/* The eyebrow now sits inside the <h1> (topic words in the heading). These rules keep it looking exactly as before:
   the body line-height it used to inherit, and (via min-height + flex-end) the small gap the old one-line
   inline-block got from the surrounding line box, so the slogan below does not move. */
.hero h1 .eyebrow { display: flex; align-items: flex-end; min-height: 1.99em; line-height: 1.6; } /* a block of its own line, as in the brief's display: block */
.faq-more { margin: 18px 0 0; }

/* ---------- wave 1 content pages (2 Oct 2026): /about, /house-checks, /areas, /guides/* ---------- */
/* Every rule below is scoped to <body class="pg"> or to classes only these pages use,
   so the home, privacy, terms and 404 pages look exactly as before. */
.pg .brand { min-height: 44px; align-items: center; }
.pg .top .btn { min-height: 44px; }
.pg .foot ul { gap: 0; }
.pg .foot li a { display: inline-block; min-width: 44px; padding: 10px 0; }
.pg .nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.pg .doc-hero { padding: 26px 0 40px; }
.pg .doc-hero h1 { margin-bottom: .45em; }
.pg .doc-hero .intro { font-size: 1.12rem; color: var(--on-dark); }
.pg .doc-hero p + p { margin-top: .85em; }
.pg .doc-hero b { color: var(--paper); }
.pg .doc-hero .checked { font-size: .92rem; font-weight: 600; color: var(--amber-text); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 6px; padding: 0; font-size: .95rem; }
.crumbs li { display: flex; align-items: center; color: var(--paper); }
.crumbs li + li::before { content: "\203A"; margin: 0 .6em; color: var(--amber-text); font-weight: 600; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); font-weight: 600; }
.crumbs a:hover { color: var(--paper); }

/* long-form body */
.pg .doc h3 { margin-top: 1.4em; }
.pg .doc .lead-in { font-size: 1.1rem; color: var(--ink); }
.doc .cards { display: grid; gap: 12px; margin: 0 0 1.2em; }
.doc .cards .card h3 { margin-top: 0; }
.doc .price h3 { margin-top: 0; }
.doc .grid { margin-bottom: 1.2em; }
.pg .doc { padding-bottom: 52px; }
.doc .cards .card p + p { margin-top: .6em; }
.doc .ticklist { list-style: none; padding: 0; counter-reset: c; display: grid; gap: 10px; margin: 0 0 1.4em; }
.doc .ticklist > li { position: relative; margin: 0; padding: 12px 16px 12px 56px; background: #fff; border: 1px solid var(--line); border-radius: 12px; counter-increment: c; }
.doc .ticklist > li::before { content: counter(c); position: absolute; left: 14px; top: 11px; width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--teal); color: var(--teal); font-weight: 600; font-size: .88rem; display: grid; place-items: center; }
.doc .ticklist b { color: var(--ink); }
.doc .plain { list-style: none; padding: 0; }
.doc .ticks { padding-left: 0; }
.doc .chips { padding-left: 0; margin: 4px 0 14px; }
.doc .chips li { margin: 0; }
.doc .labels { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; }
.doc .labels li { margin: 0; }
.doc .labels .chip { font-size: .8rem; padding: 5px 12px; }

/* figures: own inline SVG drawings, no photos */
.fig { margin: 1.2em 0 1.8em; }
.fig svg { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); background: #D3EBDF; }
.fig figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.doc .fig-key { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; font-size: .97rem; }
.doc .fig-key li { display: flex; gap: 8px; align-items: center; margin: 0; }
.fig-key .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 600; font-size: .82rem; display: grid; place-items: center; }
.fig-key .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); }
.fig-key .dot.helper { background: var(--amber); border: 2px solid #2B2521; }

/* calls to action and callouts */
.cta-box { margin: 2em 0; padding: 20px 22px; border-radius: var(--r); background: var(--amber-soft); border: 1px solid var(--line); color: var(--ink); }
.cta-box p { margin: 0 0 14px; }
.cta-box .btn { width: 100%; }
@media (min-width: 560px) { .cta-box .btn { width: auto; } }
.doc .script { margin: 0 0 1.2em; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0; color: var(--ink); }
.doc .script p:last-child { margin: 0; }
.script-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.doc .note { margin: 0 0 1.4em; }
.doc .links-list { list-style: none; padding: 0; }
.doc .links-list li { margin: 0; }
.doc .links-list a { display: inline-flex; align-items: center; min-height: 44px; }
.doc .more { margin-top: -.2em; }
.doc .more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* questions answered on the page (FAQPage mirrors these word for word) */
.doc .qa { display: grid; gap: 12px; margin: 0 0 1.2em; }
.doc .qa > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.doc .qa h3 { font-size: 1.1rem; margin: 0 0 .45em; }
.doc .qa p:last-child { margin-bottom: 0; }

/* the 12 signs */
.doc .sign { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 20px; }
.doc .sign h3 { display: flex; gap: 12px; align-items: center; font-size: 1.2rem; margin: .7em 0 .55em; }
.sign-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--paper); font-size: .98rem; font-weight: 600; display: grid; place-items: center; }
.doc .ask { background: var(--soft-2); border-left: 4px solid var(--teal); padding: 10px 14px; border-radius: 0 10px 10px 0; color: var(--ink); }
.doc .try { color: var(--muted); }
.doc .ladder { list-style: none; padding: 0; counter-reset: st; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 .6em; }
@media (min-width: 640px) { .doc .ladder { grid-template-columns: repeat(4, 1fr); } }
.doc .ladder li { counter-increment: st; margin: 0; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.doc .ladder li::before { content: counter(st); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--teal); font-size: .8rem; font-weight: 600; display: grid; place-items: center; }

/* author box on guides */
.author { display: flex; gap: 14px; align-items: flex-start; margin: 2.4em 0 0; padding: 18px; border-radius: var(--r); background: var(--soft-2); border: 1px solid var(--line); }
.author .av { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: var(--paper); font-weight: 600; font-size: 1.2rem; display: grid; place-items: center; }
.author p { margin: 0; }
.author p + p { margin-top: .3em; }
.author a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* home-page links to the new pages (content-tools/apply_home_changes.py adds the markup) */
.sec-more { margin: 16px 0 0; font-weight: 600; color: var(--ink); }
.sec-more a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-card { display: block; color: var(--body); text-decoration: none; transition: border-color .15s, transform .15s; }
.guide-card h3 { color: var(--teal); }
.guide-card:hover { border-color: var(--teal); transform: translateY(-1px); color: var(--body); }

/* Round 2 (2 Oct 2026): text for screen readers and crawlers only, e.g. the ": " between the H1 eyebrow and the slogan,
   so the heading reads "Property checks in Kenya for Kenyans abroad: See the true condition..." and not as one run-on. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Two Ends light rebrand (7 Oct 2026) ---------- */
/* Small labels in the brand's mono, as in the reports. */
.eyebrow, .kicker, .badge, .rc-tag, .script-label, .who-card dt, .foot h2, .foot .foot-h, .chip { font-family: var(--mono); font-weight: 500; }

/* Hero: a fanned deck of real photos from the sample visit (shared with the owner's permission). */
.deck-wrap { margin: 0; }
.deck { position: relative; max-width: 460px; margin: 0 auto 26px; aspect-ratio: 1 / .95; }
.dcard { position: absolute; left: 12%; right: 12%; top: 14%; background: #fff; border-radius: 14px; padding: 8px 8px 0; box-shadow: 0 18px 44px rgba(0, 0, 0, .34); transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.dcard img { display: block; width: 100%; height: auto; border-radius: 9px; }
.dcard-photo { position: relative; }
.dcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 4px 10px; font-size: .8rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.d4 { transform: translate(17%, 14%) rotate(9deg); }
.d3 { transform: translate(-18%, 6%) rotate(-9deg); }
.d2 { transform: translate(12%, -17%) rotate(6deg); }
.d1 { transform: translate(-3%, 4%) rotate(-2deg); }
.deck-word { position: absolute; left: 0; bottom: 2%; z-index: 2; transform: rotate(-4deg); background: #fff; border: 1px solid #D2CCBF; border-radius: 4px; padding: 6px 10px; font-size: .74rem; line-height: 1.3; color: var(--muted); box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.deck-word-k { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.rc-cap a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) {
  .deck:hover .d4 { transform: translate(22%, 17%) rotate(12deg); }
  .deck:hover .d3 { transform: translate(-23%, 8%) rotate(-12deg); }
  .deck:hover .d2 { transform: translate(15%, -22%) rotate(8deg); }
}
@media (max-width: 560px) {
  .dcard { left: 10%; right: 10%; }
  .deck { margin-bottom: 52px; }
  .deck-word { bottom: -9%; }
  .d4 { transform: translate(10%, 12%) rotate(7deg); }
  .d3 { transform: translate(-11%, 6%) rotate(-7deg); }
  .d2 { transform: translate(8%, -14%) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) { .dcard { transition: none; } }

/* Tagline beside the logo: "Jionee mwenyewe" (see it for yourself). Hidden below 1024px, where the menu and the
   WhatsApp button needs the room; the footer carries it on every page. */
.brand-tag { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.2; white-space: nowrap; }
.foot-tag b { color: var(--paper); font-weight: 600; }
@media (max-width: 1023px) { .brand-tag { display: none; } }
.hero h1 { text-wrap: balance; }

/* Sample report page and photo album (moved out of the pages on 7 Nov 2026: the CSP's style-src 'self'
   blocks inline <style>, so these rules never reached visitors and the photos showed stretched). */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin: 1.2em 0 1.6em; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; display: block; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(43,37,33,.12); }
.shots figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 1.6em; }
.album { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin: 1em 0 1.4em; align-items: start; }
@media (min-width: 640px) { .album { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .album { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.album figure { margin: 0; }
.album a { display: block; }
.album img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; display: block; border-radius: var(--r);
             border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(43,37,33,.12); background: var(--paper); }
.album figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.how-photo { margin: 28px 0 0; }
.how-photo img { width: 100%; height: auto; display: block; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(43,37,33,.12); }
.how-photo figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }

/* =====================================================================================================================
   RESTYLE, 15 Nov 2026 (Jose: "update truhali website to look like anima.ai, but keep our colours").
   Truhali's palette and own fonts on a lighter, editorial layout: a full-bleed photo hero with very large light type,
   mono labels in hairline boxes, pill segments in the header, numbered section labels, white panels on soft glows,
   split buttons and a closing line of huge type. Overrides only: the rules above still set the structure.
   ===================================================================================================================== */
:root {
  --hair: rgba(43, 37, 33, .16); --hair-d: rgba(246, 242, 234, .3); --panel: #fff; --r2: 18px;
  --glow-j: rgba(127, 203, 174, .32); --glow-l: rgba(211, 235, 223, .9);
  --head-h: 76px;
}
.wrap { max-width: 1280px; padding: 0 20px; }
@media (min-width: 860px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }

/* ---------- type ---------- */
h1, h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(2.15rem, 5.2vw, 4.25rem); }
h3 { font-weight: 500; letter-spacing: -.01em; }
b, strong { font-weight: 600; }

/* ---------- numbered labels: 001/  WHY TRUHALI ---------- */
main { counter-reset: sec; }
.kicker { display: flex; align-items: baseline; gap: 2.6em; font: 500 .74rem/1.3 var(--mono); letter-spacing: .12em; color: var(--muted); margin-bottom: 0; }
.sec .kicker::before { counter-increment: sec; content: "0" counter(sec, decimal-leading-zero) "/"; color: var(--ink); }

/* heading left, text right, on a hairline rule */
.sec-head { max-width: none; display: grid; gap: 18px 56px; padding-top: 22px; border-top: 1px solid var(--hair); margin-bottom: 48px; }
.sec-head .kicker { grid-column: 1 / -1; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; font-size: 1.08rem; color: var(--muted); max-width: 38em; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.2fr .8fr; align-items: end; } .sec-head p { padding-bottom: .35em; } }

/* ---------- sections: paper, soft colour glows, white panels ---------- */
.sec { padding: 72px 0; }
@media (min-width: 860px) { .sec { padding: 116px 0; } }
/* glows sit well inside each band and fade out before its edges, so no band ends in a hard line */
.sec-soft { background: radial-gradient(40% 24% at 90% 30%, var(--glow-l), rgba(211, 235, 223, 0) 100%), radial-gradient(34% 22% at 4% 72%, var(--glow-j), rgba(127, 203, 174, 0) 100%), var(--paper); }
.sec-tint { background: radial-gradient(36% 22% at 8% 30%, var(--glow-j), rgba(127, 203, 174, 0) 100%), radial-gradient(42% 24% at 96% 70%, var(--glow-l), rgba(211, 235, 223, 0) 100%), var(--paper); }

.card, .get, .price, .steps li, .faq details, .toc li, .slot, .doc .qa > div, .doc .ticklist > li, .doc .ladder li, .author {
  background: var(--panel); border: 0; border-radius: var(--r2); box-shadow: none; }
.card, .get { padding: 26px; }
.grid, .gets { gap: 12px; }
.ico { background: transparent; border: 1px solid var(--hair); border-radius: 10px; color: var(--ink); width: 44px; height: 44px; margin-bottom: 22px; }
.ico .i { width: 24px; height: 24px; }
.get { gap: 18px; }
.get.hl { background: var(--ink); }
.get.hl .ico { background: transparent; border-color: var(--hair-d); color: var(--amber); }
.note { border-left: 0; border-radius: var(--r2); background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px var(--hair); padding: 22px 24px; max-width: 860px; }
.aside { background: transparent; border: 1px solid var(--hair); border-radius: var(--r2); padding: 18px 20px; }
.fine { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; }
.sec-more a { font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* steps: mono numbers, no circles */
.steps { gap: 12px; }
.steps li { padding: 26px; }
.steps li::before { content: "0" counter(s) "/"; position: static; display: block; width: auto; height: auto; border-radius: 0;
  background: none; color: var(--muted); font: 500 .78rem/1 var(--mono); letter-spacing: .12em; margin-bottom: 30px; }
@media (min-width: 1000px) { .steps li { padding: 26px 24px 30px; } }
.how-photo img, .shots img, .album img { border-radius: 14px; border: 0; box-shadow: none; }
.how-photo figcaption, .shots figcaption, .album figcaption, .fig figcaption { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; }

/* small labels: mono, uppercase, hairline boxes */
.chips li { background: transparent; border: 1px solid var(--hair); border-radius: 6px; color: var(--ink); font: 500 .76rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; }
.badge { border-radius: 6px; top: -12px; letter-spacing: .1em; }
.toc li { padding: 14px 18px; }
.toc li::before { content: "0" counter(t); font: 500 .78rem/1.6 var(--mono); color: var(--muted); min-width: 2em; }

/* prices */
.price { padding: 30px 26px 26px; }
.price.feat { border: 0; box-shadow: inset 0 0 0 1px var(--ink); }
.amt b { font-weight: 400; font-size: 3.1rem; letter-spacing: -.04em; }
.price .sub, .price .when { background: transparent; border: 1px solid var(--hair); border-radius: 10px; }
.promise { border-radius: var(--r2); }

/* FAQ */
.faq details { border: 0; }
.faq summary { font-weight: 500; padding: 20px 64px 20px 22px; }
.faq summary::after { width: 34px; height: 34px; border-radius: 8px; background: transparent; border: 1px solid var(--hair); color: var(--ink); font-weight: 400; }

/* never: the dark band, hairline rows */
.never { background: radial-gradient(36% 36% at 90% 30%, rgba(127, 203, 174, .14), rgba(127, 203, 174, 0) 100%), var(--night); }
.never .sec-head { border-top-color: var(--hair-d); }
.never .kicker { color: #B9AFA6; }
.never .kicker::before { color: var(--paper); }
.never-list { gap: 0 32px; }
.never-list li { border-top: 1px solid var(--hair-d); padding: 14px 0; }

/* who: duotone photo on jade, mono name pills */
.who-card { background: var(--amber); color: var(--ink); border-radius: var(--r2); padding: 12px; }
.who-card .who-photo { max-width: none; border-radius: 12px; margin-bottom: 14px; filter: grayscale(1) contrast(1.1) brightness(1.06); mix-blend-mode: multiply; }
.who-card dl { gap: 8px; padding: 0 6px 8px; }
.who-card dl > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.who-card dt { color: var(--ink); background: rgba(246, 242, 234, .6); border-radius: 6px; padding: 6px 9px; font-size: .7rem; }
.who-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.who-card :focus-visible { outline-color: var(--ink); }
.founder-photo { border-radius: 12px; }
.guide-card h3 { color: var(--ink); }
.guide-card:hover { transform: none; box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- buttons: mono labels, split jade button with an arrow square ---------- */
.btn { border-radius: 12px; font: 500 .82rem/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; min-height: 50px; padding: .8em 1.25em; gap: .6em; }
.btn:hover { transform: none; }
.btn .i { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; font-size: .86rem; padding: .85em 1.4em; }
.btn-sm { min-height: 44px; font-size: .76rem; }
.btn-amber { --sq: 54px; position: relative; isolation: isolate; background: transparent; color: var(--ink); border: 0; padding-right: calc(var(--sq) + 1.4em); }
.btn-amber::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: calc(var(--sq) + 4px); border-radius: 12px; background: var(--amber); z-index: -1; transition: background-color .15s; }
.btn-amber::after { content: "\2192"; position: absolute; top: 0; bottom: 0; right: 0; width: var(--sq); border-radius: 12px; background: var(--amber);
  display: grid; place-items: center; font: 400 1.15rem/1 var(--font); transition: background-color .15s, transform .15s; }
.btn-amber:hover { background: transparent; color: var(--ink); }
.btn-amber:hover::before, .btn-amber:hover::after { background: var(--amber-d); }
.btn-amber:hover::after { transform: translateX(3px); }
.btn-teal { background: var(--ink); }
.btn-line-light { border-width: 1px; border-color: var(--hair-d); }
.btn-line { border-width: 1px; border-color: var(--ink); background: transparent; }
.cta-box { background: rgba(255, 255, 255, .72); border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: var(--r2); padding: 22px 24px; }

/* ---------- header: floating pill segments ---------- */
.top { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
.top-in { min-height: var(--head-h); gap: 6px; max-width: none; padding: 0 14px; }
.top-in > * { pointer-events: auto; }
.brand, .pg .brand { min-height: 48px; padding: 0 16px; align-items: center; border-radius: 14px; background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 1px var(--hair); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand img { width: 112px; }
.brand-tag { padding: 9px 11px; border: 0; border-radius: 6px; background: rgba(246, 242, 234, .82); box-shadow: inset 0 0 0 1px var(--hair);
  color: var(--ink); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-left: 10px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav { gap: 0; padding: 2px 6px; border-radius: 14px; background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 1px var(--hair);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav a, .pg .nav a { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; color: var(--ink); font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.top .btn, .pg .top .btn { --sq: 46px; position: relative; isolation: isolate; min-height: 48px; padding: 0 calc(var(--sq) + 1.1em) 0 1.1em;
  background: transparent; color: var(--paper); border: 0; }
.top .btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: calc(var(--sq) + 4px); border-radius: 14px; background: var(--ink); z-index: -1; }
.top .btn::after { content: "+"; position: absolute; top: 0; bottom: 0; right: 0; width: var(--sq); border-radius: 14px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font: 400 1.3rem/1 var(--font); }
.top .btn:hover { background: transparent; color: var(--paper); }
.top .btn:hover::before, .top .btn:hover::after { background: var(--teal-d); }
.top :focus-visible { outline-color: var(--ink); }
@media (min-width: 720px) { .nav + .btn { margin-left: 6px; } }
@media (max-width: 479px) { .top .btn .i { display: none; } .brand img { width: 100px; } }

/* the first band slides up under the floating header */
.top + main > .hero:first-child, .top + main > .doc-hero:first-child { margin-top: calc(-1 * var(--head-h)); padding-top: var(--head-h); }

/* ---------- home hero: full-bleed photo, very large light type ---------- */
.hero { background: var(--night); isolation: isolate; }
.hero::before { content: none; }
.hero-photo { position: absolute; inset: 0; z-index: -1; background: url(hero/on-site.jpg?v=20261107) 50% 40% / cover no-repeat; filter: grayscale(1) contrast(1.1); }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 85% 30%, rgba(127, 203, 174, .22), rgba(127, 203, 174, 0) 70%),
              linear-gradient(180deg, rgba(43, 37, 33, .78) 0%, rgba(43, 37, 33, .84) 45%, rgba(30, 25, 22, .97) 100%); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; }
.tag { display: inline-block; font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper); border: 1px solid var(--hair-d); border-radius: 4px; padding: 9px 11px; }
.hero-display { margin: 26px 0 0; padding: 0 14px; color: var(--paper); font: 400 clamp(4rem, 16.5vw, 16.5rem)/.8 var(--font); font-stretch: 75%; letter-spacing: -.05em; }
.hero-display span { display: block; }
.hero-display span + span { padding-left: .55em; }
.hero-in { padding: 34px 20px 64px; gap: 34px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; max-width: 15em; }
.hero h1 .eyebrow { display: flex; width: fit-content; min-height: 0; margin-bottom: 18px; padding: 9px 11px; border: 1px solid var(--hair-d); border-radius: 4px;
  font-size: .7rem; line-height: 1.2; letter-spacing: .12em; color: var(--paper); }
.hero .lede { font-size: 1.08rem; }
.hero-facts { gap: 0; border-top: 1px solid var(--hair-d); }
.hero-facts li { border-bottom: 1px solid var(--hair-d); padding: 11px 0; }
.rc-cap { font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: start; padding: 30px 32px 96px; }
  .deck-wrap { margin-top: -9vw; position: relative; z-index: 2; }
}
@media (min-width: 1500px) { .deck-wrap { margin-top: -135px; } }
@media (max-width: 479px) { .hero-tags { gap: 6px; } .tag { font-size: .62rem; letter-spacing: .08em; padding: 8px 8px; } }

/* ---------- inner pages: light top band with a very large heading ---------- */
.doc-hero, .pg .doc-hero { background: radial-gradient(38% 46% at 88% 40%, var(--glow-l), rgba(211, 235, 223, 0) 100%),
  radial-gradient(30% 40% at 6% 62%, var(--glow-j), rgba(127, 203, 174, 0) 100%), var(--paper); color: var(--body); border-bottom: 1px solid var(--hair); }
.pg .doc-hero { padding-bottom: 56px; }
.doc-hero h1, .pg .doc-hero h1 { color: var(--ink); font-size: clamp(2.4rem, 6.6vw, 5.1rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin-top: 22px; }
.doc-hero p a, .pg .doc-hero b, .crumbs li, .crumbs a, .crumbs a:hover, .back, .back:hover { color: var(--ink); }
.pg .doc-hero .intro { color: var(--body); }
.pg .doc-hero .checked { color: var(--muted); font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.doc-hero :focus-visible { outline-color: var(--ink); }
.crumbs ol { font: 500 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; gap: 0; }
.crumbs li + li::before { color: var(--muted); }
.back { font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; min-height: 44px; }

/* long reads: numbered headings on hairlines */
.pg .doc { counter-reset: dh; }
.doc h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; border-top: 1px solid var(--hair); padding-top: .8em; }
.doc h2:first-child { margin-top: 0; }
.pg .doc h2::before { counter-increment: dh; content: "0" counter(dh, decimal-leading-zero) "/"; display: block; margin-bottom: 1.1em;
  font: 500 .74rem/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.doc .box { background: rgba(255, 255, 255, .72); border: 0; box-shadow: inset 0 0 0 1px var(--hair); border-radius: var(--r2); }
.doc .script { border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair); }
.doc .ticklist > li::before { border-width: 1px; border-color: var(--hair); color: var(--ink); font-family: var(--mono); font-weight: 500; }
.doc .ask { border-left: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--hair); background: rgba(255, 255, 255, .72); }
.sign-n { background: transparent; border: 1px solid var(--hair); color: var(--ink); font-family: var(--mono); font-weight: 500; border-radius: 8px; }
.author .av { background: var(--amber); color: var(--ink); }
.doc th { background: transparent; font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.fig svg { border: 0; border-radius: 14px; }

/* ---------- closing: light, a moving line of huge type and a round WhatsApp disc ---------- */
.final { background: radial-gradient(36% 30% at 14% 66%, var(--glow-j), rgba(127, 203, 174, 0) 100%),
  radial-gradient(40% 32% at 88% 34%, var(--glow-l), rgba(211, 235, 223, 0) 100%), var(--paper); color: var(--body); text-align: left; padding-top: 28px; overflow: hidden; }
.final h2 { color: var(--ink); }
.final p { margin-left: 0; color: var(--body); }
.final .cta-row { justify-content: flex-start; }
.final .small { opacity: 1; color: var(--muted); }
.final .small a { color: var(--ink); }
.final .btn-line-light { border-color: var(--ink); color: var(--ink); }
.final .btn-line-light:hover { background: rgba(43, 37, 33, .06); color: var(--ink); border-color: var(--ink); }
.final :focus-visible { outline-color: var(--ink); }
.marquee { position: relative; overflow: hidden; padding: 6px 0 30px; margin-bottom: 56px; border-bottom: 1px solid var(--hair); }
.marquee-track { display: flex; width: max-content; animation: tru-marquee 40s linear infinite; }
.marquee-track span { color: var(--ink); font: 400 clamp(4.2rem, 13.5vw, 12.5rem)/1 var(--font); font-stretch: 75%; letter-spacing: -.05em; white-space: nowrap; padding-right: .4em; }
@keyframes tru-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.wa-disc { position: absolute; left: 50%; top: calc(50% - 12px); transform: translate(-50%, -50%); z-index: 2; width: clamp(112px, 13vw, 168px); aspect-ratio: 1;
  border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; text-decoration: none;
  font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: background-color .15s, transform .2s; }
.wa-disc:hover { background: var(--amber-d); color: var(--ink); transform: translate(-50%, -50%) scale(1.04); }
.wa-disc:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
@media (max-width: 699px) { .marquee { padding: 26px 0 38px; margin-bottom: 44px; } .wa-disc { width: 96px; top: 50%; font-size: .72rem; } }

/* ---------- footer: the dark base, mono labels, hairlines ---------- */
.foot { padding-top: 64px; }
.foot-grid > div + div { border-top: 1px solid #4A403A; padding-top: 18px; }
@media (min-width: 860px) { .foot-grid > div + div { border-top: 0; padding-top: 0; border-left: 1px solid #4A403A; padding-left: 22px; } }
.foot .warn { border-radius: 12px; background: rgba(246, 242, 234, .06); box-shadow: inset 0 0 0 1px #4A403A; }
.foot li a { display: inline-block; padding: 10px 0; min-width: 44px; }
.skip { min-height: 44px; display: inline-flex; align-items: center; }
.foot ul { gap: 0; }
.foot-base { font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; }

/* ---------- MENU on every page: all pages grouped under subheadings. No script: a <details> that opens a panel. ---------- */
.top-in { position: relative; }
.menu { position: static; flex: none; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px 0 16px;
  border-radius: 14px; background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 1px var(--hair); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); -webkit-user-select: none; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: "+"; font: 400 1.25rem/1 var(--font); transition: transform .2s; }
.menu[open] > summary::after { transform: rotate(45deg); }
.menu > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.menu-panel { position: absolute; top: calc(100% - 4px); left: 14px; z-index: 30; width: min(1000px, calc(100vw - 28px));
  max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: 6px 30px; padding: 22px 24px 12px; border-radius: var(--r2); background: #fff;
  box-shadow: 0 0 0 1px var(--hair), 0 24px 60px rgba(43, 37, 33, .18); counter-reset: mcol; }
@media (min-width: 760px) { .menu-panel { grid-template-columns: 1fr 1.7fr 1fr; padding: 26px 28px 16px; } .menu-col:nth-child(2) ul { columns: 2; column-gap: 26px; } }
.menu-col { counter-increment: mcol; }
.menu-h { display: flex; gap: 1.8em; margin: 0 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--hair);
  font: 500 .7rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu-h::before { content: "0" counter(mcol) "/"; color: var(--ink); }
.menu-col ul { list-style: none; margin: 0 0 16px; padding: 0; }
.menu-col li { break-inside: avoid; }
.menu-col a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.25;
  border-bottom: 1px solid rgba(43, 37, 33, .08); }
.menu-col a:hover { text-decoration: underline; color: var(--ink); }
.menu-col a[aria-current="page"] { font-weight: 600; }
.menu-col a[aria-current="page"]::before { content: ""; flex: none; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--amber); }
/* the short section links stay on wide screens; between 720 and 1099 px the menu carries them */
.nav { display: none; }
@media (min-width: 1100px) { .nav { display: flex; } }
@media (max-width: 1099px) { .top .nav + .btn { margin-left: auto; } }
@media (max-width: 479px) {
  .brand, .pg .brand { padding: 0 12px; }
  .menu > summary { padding: 0 12px; gap: 8px; }
  .top .btn, .pg .top .btn { --sq: 0px; padding: 0 14px; }
  .top .btn::before { right: 0; }
  .top .btn::after { display: none; }
}

/* =====================================================================================================================
   MOTION, 16 Nov 2026 (Jose: "site is not as dynamic as it was in the anima website").
   CSS only, so the CSP (style-src 'self', no inline styles, no new scripts) is untouched.
   - Load: the home hero plays a short entrance; inner pages raise their big heading.
   - Scroll: inside @supports (animation-timeline: view()), sections reveal as they enter. Browsers without
     scroll-driven animations simply show everything, as before.
   - Everything sits inside prefers-reduced-motion: no-preference, so "reduce motion" gets the old, still site.
   Reveals move the individual `translate` / `scale` properties, never `transform`, so the deck's fan, the disc's
   centring and hover effects keep their own transforms. Reveals use fill `backwards`: once a reveal is done the
   element is back to its plain style, so hover still works.
   ===================================================================================================================== */

/* overflow:hidden makes an element a scroll container, which freezes view() timelines inside it; clip does not.
   Browsers without overflow:clip ignore this and keep hidden. */
.hero, .final, .marquee { overflow: clip; }

@keyframes tru-rise { from { opacity: 0; translate: 0 26px; } }
@keyframes tru-rise-lg { from { opacity: 0; translate: 0 64px; } }
@keyframes tru-fade { from { opacity: 0; } }
@keyframes tru-settle { from { opacity: 0; scale: 1.14; } }
/* a line of display type rising from behind its own baseline: it moves down by 115% of its height and is clipped
   above that baseline, both shrinking together */
@keyframes tru-line {
  from { translate: 0 115%; clip-path: polygon(-10% -15%, 110% -15%, 110% -15%, -10% -15%); }
  to   { translate: 0 0;    clip-path: polygon(-10% -30%, 110% -30%, 110% 130%, -10% 130%); }
}
/* from-only: each card ends on its own fan transform, whatever the breakpoint */
@keyframes tru-deal { from { opacity: 0; transform: translate(0, 16%) rotate(0deg) scale(.92); } }
@keyframes tru-pop { from { opacity: 0; transform: rotate(-16deg) scale(.55); } }
@keyframes tru-drop { from { opacity: 0; translate: 0 -10px; } }
@keyframes tru-grow { from { opacity: 0; scale: .45; } }
@keyframes tru-ring {
  0% { box-shadow: 0 0 0 0 rgba(127, 203, 174, .6); }
  70%, 100% { box-shadow: 0 0 0 26px rgba(127, 203, 174, 0); }
}

@media (prefers-reduced-motion: no-preference) {

  /* ---------- home hero entrance ---------- */
  .hero-photo { animation: tru-settle 1.8s cubic-bezier(.16, 1, .3, 1) backwards; }
  .hero-tags .tag { animation: tru-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero-tags .tag:nth-child(1) { animation-delay: .15s; }
  .hero-tags .tag:nth-child(2) { animation-delay: .23s; }
  .hero-tags .tag:nth-child(3) { animation-delay: .31s; }
  .hero-display span { animation: tru-line 1.15s cubic-bezier(.16, 1, .3, 1) backwards .2s; }
  .hero-display span + span { animation-delay: .32s; }
  .hero-copy > * { animation: tru-rise .8s cubic-bezier(.2, .7, .2, 1) backwards .45s; }
  .hero-copy > :nth-child(2) { animation-delay: .53s; }
  .hero-copy > :nth-child(3) { animation-delay: .6s; }
  .hero-copy > :nth-child(4) { animation-delay: .67s; }
  .hero-copy > :nth-child(5) { animation-delay: .74s; }
  .hero-copy > :nth-child(n+6) { animation-delay: .8s; }
  .dcard { animation: tru-deal 1s cubic-bezier(.16, 1, .3, 1) backwards; }
  .d4 { animation-delay: .5s; }
  .d3 { animation-delay: .6s; }
  .d2 { animation-delay: .7s; }
  .d1 { animation-delay: .8s; }
  .deck-word { animation: tru-pop .7s cubic-bezier(.34, 1.56, .64, 1) backwards 1.25s; }
  .rc-cap { animation: tru-fade .8s ease backwards 1.3s; }

  /* ---------- inner pages: the big heading rises in ---------- */
  .doc-hero h1 { animation: tru-rise-lg .9s cubic-bezier(.16, 1, .3, 1) backwards .08s; }
  .doc-hero .crumbs, .doc-hero .back { animation: tru-fade .6s ease backwards; }
  .doc-hero h1 ~ * { animation: tru-rise .8s cubic-bezier(.2, .7, .2, 1) backwards .25s; }

  /* ---------- small interactions ---------- */
  .menu[open] .menu-panel { animation: tru-drop .28s cubic-bezier(.2, .7, .2, 1) backwards; }
  .faq details[open] > :not(summary) { animation: tru-rise .4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .wa-disc { animation: tru-ring 2.8s ease-out infinite 1s; }
  @media (hover: hover) {
    .guide-card { transition: translate .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
    .guide-card:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--ink), 0 18px 40px rgba(43, 37, 33, .1); }
  }

  /* ---------- scroll-driven: only where the browser supports it ---------- */
  @supports (animation-timeline: view()) {

    /* the floating header gains depth once the page moves */
    @keyframes tru-lift { to { box-shadow: 0 0 0 1px var(--hair), 0 14px 34px rgba(43, 37, 33, .16); } }
    .brand, .pg .brand, .nav, .menu > summary { animation: tru-lift linear both; animation-timeline: scroll(root); animation-range: 0px 180px; }

    /* hero on scroll: the photo lags behind, the two big words slide apart, the deck floats up */
    @keyframes tru-drift { to { translate: 0 18%; } }
    @keyframes tru-slide-l { to { transform: translateX(-10vw); } }
    @keyframes tru-slide-r { to { transform: translateX(8vw); } }
    @keyframes tru-float { to { translate: 0 -70px; } }
    .hero-photo { animation: tru-settle 1.8s cubic-bezier(.16, 1, .3, 1) backwards, tru-drift linear both;
      animation-timeline: auto, scroll(root); animation-range: normal, 0px 100vh; }
    .hero-display span { animation: tru-line 1.15s cubic-bezier(.16, 1, .3, 1) backwards .2s, tru-slide-l linear both;
      animation-timeline: auto, scroll(root); animation-range: normal, 0px 85vh; }
    .hero-display span + span { animation: tru-line 1.15s cubic-bezier(.16, 1, .3, 1) backwards .32s, tru-slide-r linear both;
      animation-timeline: auto, scroll(root); animation-range: normal, 0px 85vh; }
    @media (min-width: 960px) { .deck-wrap { animation: tru-float linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; } }

    /* section heads: the hairline draws itself, then label, heading and intro rise */
    @keyframes tru-draw { from { background-size: 0% 1px; } to { background-size: 100% 1px; } }
    .sec-head { background: linear-gradient(var(--ink), var(--ink)) 0 0 / 0% 1px no-repeat border-box;
      animation: tru-draw linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .never .sec-head { background-image: linear-gradient(var(--paper), var(--paper)); }
    .sec-head .kicker, .sec-head h2, .sec-head p, .final h2, .final > .wrap > p, .final .cta-row, .doc h2 {
      animation: tru-rise-lg linear backwards; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .sec-head .kicker { animation-name: tru-rise; }
    .sec-head p, .final > .wrap > p { animation-range: entry 8% cover 32%; }
    .final .cta-row { animation-name: tru-rise; animation-range: entry 10% cover 34%; }

    /* blocks: rise in one after another */
    .card, .get, .steps li, .price, .faq details, .toc li, .never-list li, .who-card, .slot, .cta-box, .note, .aside,
    .chips li, .doc .box, .doc .qa > div, .doc .ticklist > li, .doc .ladder li, .author {
      animation: tru-rise linear backwards; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    :is(.card, .get, .steps li, .price, .faq details, .toc li, .never-list li, .chips li, .doc .ticklist > li, .doc .ladder li):nth-child(3n+2) { animation-range: entry 6% cover 27%; }
    :is(.card, .get, .steps li, .price, .faq details, .toc li, .never-list li, .chips li, .doc .ticklist > li, .doc .ladder li):nth-child(3n+3) { animation-range: entry 12% cover 32%; }

    /* photos: a soft curtain opens */
    @keyframes tru-unveil {
      from { clip-path: inset(10% 8% 10% 8% round 14px); scale: 1.06; opacity: .35; }
      to   { clip-path: inset(0 0 0 0 round 14px); scale: 1; opacity: 1; }
    }
    .how-photo img, .shots img, .album img, .doc .fig svg, .founder-photo {
      animation: tru-unveil linear backwards; animation-timeline: view(); animation-range: entry 0% cover 35%; }

    /* the WhatsApp disc grows in as the closing band arrives, then keeps its slow pulse */
    .wa-disc { animation: tru-grow linear backwards, tru-ring 2.8s ease-out infinite 1s;
      animation-timeline: view(), auto; animation-range: entry 0% cover 30%, normal; }
  }
}
