/* ============================================================================
   theme.css — Kestrove "De Uitademing" (the Exhale) tokens + the quiet product
   page (owner decision 2026-09-08, direction "Product eerst"). Per-brand, NOT
   sync-checked. Deep "keep" green + verified green + calm amber; NO alarm-red
   anywhere (docs/brand.md). The 2026-08 page's dread-to-relief statebox, the
   atmosphere photos and the in-frame films are gone with their CSS: one still
   per section at most, and the calm is the absence of noise.

   Brand direction amended 2026-06-24 (owner): the earlier "system font ONLY,
   no serif — look like a stock Apple utility" rule is retired here. The Exhale
   uses an editorial SYSTEM-SERIF display face (no web font — brand axiom A3):
   stillness, space and one reassuring movement communicate certainty more
   convincingly than utility-mimicry. See docs/brand.md.

   tokens.css supplies structure; this supplies colour + the brand knobs and the
   redesign's component CSS. Light + dark; dark follows prefers-color-scheme.
   ============================================================================ */

/* ---- light ---- */
:root,
[data-theme="light"] {
  /* 2026-10-01: white and cool sage instead of the warm cream paper (owner: "niet mooi"). */
  --bg:#ffffff; --bg-2:#edf3ef; --surface:#ffffff;
  --text:#10201a; --text-soft:#4c5a53; --faint:#7d8a83;
  --accent:#2f6a4f; --accent-2:#27543f; --accent-ink:#fff;
  --accent-text:#27543f;        /* deep "keep" green, ~7:1 on paper — AA */
  --line:#d7e0da; --line-2:#e5ece8;
  /* MIRRORED BY HAND from design/tokens/kestrove.tokens.json — the site's two status hues are
     the app's own. They used to carry site-only values because the app tokens missed AA on this
     paper; the 2026-08-16 contrast tune retired that reason, so both now read the token:
     Verified #157559 = 5.18:1 and Caution #8A6218 = 5.01:1 on --bg (was #2f6a4f / #9c7a2e, the
     latter only 3.68:1). Still stated here, now for ONE reason: tokens-generated.css IS linked
     since 2026-08-16 (first stylesheet, below everything), but its dark block is keyed on
     [data-theme="dark"], which nothing on any oomny site ever sets — so deleting these two lines
     would give the LIGHT hue in dark mode. tools/design-token-mirror.py reports the pair as
     mirroring the token, and will say so the day one of them stops. */
  --verified:#157559; --caution:#8a6218;
  --caution-text: var(--caution); /* was a darker AA variant beside a 3.68:1 --caution; the
                                     token clears AA on its own, so it is an alias now. Retained
                                     as a NAME because the byte-synced site.css reads it. */
  --display: var(--serif);      /* Kestrove Exhale = system serif display face */
  --radius:16px; --radius-sm:12px;
  --halo: radial-gradient(120% 60% at 50% -14%, #2f6a4f10, transparent 60%);
}

/* ---- dark (warm-shifted to keep the editorial paper feel) ---- */
[data-theme="dark"] {
  --bg:#1c1e1d; --bg-2:#232624; --surface:#262928;
  --text:#e8eae8; --text-soft:#9aa39d; --faint:#7c847e;
  --accent:#7fb5a3; --accent-2:#95c6b6; --accent-ink:#11201b;
  --accent-text:#95c6b6;
  --line:#333735; --line-2:#3b403d;
  --verified:#79c9a6; --caution:#d9b36a; --caution-text:var(--caution);
  --display: var(--serif); --radius:16px; --radius-sm:12px; --chip-bg:#323633;
  --halo: radial-gradient(120% 60% at 50% -14%, #7fb5a31c, transparent 60%);
}

/* The block system dark mode actually resolves through: nothing ever SETS data-theme (no oomny
   site ships a theme toggle), so the [data-theme="dark"] block above is unreachable in practice
   and this one carries dark for real. Dark token values mirrored the same way: #79c9a6 reads
   8.56:1 and #d9b36a 8.47:1 on --bg. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg:#1c1e1d; --bg-2:#232624; --surface:#262928;
    --text:#e8eae8; --text-soft:#9aa39d; --faint:#7c847e;
    --accent:#7fb5a3; --accent-2:#95c6b6; --accent-ink:#11201b;
    --accent-text:#95c6b6;
    --line:#333735; --line-2:#3b403d;
    --verified:#79c9a6; --caution:#d9b36a; --caution-text:var(--caution);
    --display: var(--serif); --radius:16px; --radius-sm:12px; --chip-bg:#323633;
    --halo: radial-gradient(120% 60% at 50% -14%, #7fb5a31c, transparent 60%);
  }
}

/* ---- local aliases: the design wrote CSS against --green/--ink/--paper; map
   them onto the token palette so dark mode + the colorset stay upstream. ---- */
:root,[data-theme]{
  --paper:var(--bg); --paper-2:var(--bg-2);
  --ink:var(--text); --ink-soft:var(--text-soft); --ink-faint:var(--faint);
  --green:var(--accent); --green-deep:var(--accent-text);
  --green-tint:color-mix(in srgb,var(--accent) 12%,transparent);
  --amber:var(--caution); --amber-tint:color-mix(in srgb,var(--caution) 13%,transparent);
  --line-soft:var(--line-2);
  --shadow-soft:0 2px 8px rgba(27,34,30,.04),0 22px 60px -34px rgba(27,34,30,.20);
}
[data-theme="dark"]{
  --shadow-soft:0 2px 8px rgba(0,0,0,.3),0 22px 60px -34px rgba(0,0,0,.55);
}

/* ---- atmosphere: one faint, slow warmth from above ---- */
body{background:var(--paper);color:var(--ink)}
.atmos{position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(120% 60% at 50% -14%, color-mix(in srgb,var(--green) 6%,transparent), transparent 60%),
    radial-gradient(80% 50% at 82% 4%, color-mix(in srgb,var(--amber) 5%,transparent), transparent 60%);
}
::selection{background:var(--green-tint)}

.measure{max-width:34rem;margin-inline:auto}

/* ---- editorial section rhythm ---- */
.x-sec{padding-block:clamp(5.5rem,12vw,10rem)}
.eyebrow{font-size:.74rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--green-deep);display:inline-flex;align-items:center;gap:.7rem}
.eyebrow.center{justify-content:center}
.eyebrow::before{content:"";width:1.7rem;height:1px;background:currentColor;opacity:.6}
.eyebrow.center::before{display:none}

.x-h1{font-family:var(--display);font-weight:400;line-height:1.04;letter-spacing:-.018em;
  font-size:clamp(2.7rem,6.4vw,5rem);margin:1.6rem 0 0;text-wrap:balance}
.x-h2{font-family:var(--display);font-weight:400;line-height:1.08;letter-spacing:-.015em;
  font-size:clamp(2rem,4.4vw,3.3rem);margin:0;text-wrap:balance}
.x-h1 em,.x-h2 em{font-style:italic;color:var(--green-deep)}
.x-lede{font-size:clamp(1.12rem,1.7vw,1.32rem);line-height:1.62;color:var(--ink-soft);
  margin:1.7rem auto 0;font-weight:400}

/* ---- HERO: the product first (index.html), one still left of one sentence ----
   The centred .x-hero rules above stay for switching-from-encircle and features, which
   still open with a one-column hero. */
.x-hero{text-align:center;padding-top:clamp(1.5rem,4vw,3rem)}
.x-hero .x-lede{max-width:33rem}
.x-hero-product{text-align:left;display:grid;grid-template-columns:minmax(0,1fr);
  gap:clamp(2rem,5vw,4rem);align-items:center;max-width:72rem;margin-inline:auto;
  padding:clamp(2rem,5vw,4rem) clamp(1.1rem,4vw,2.5rem) 0}
.x-hero-product .x-lede{margin-left:0;margin-right:0;max-width:32rem}
.x-hero-product .x-cta{justify-content:flex-start}
.x-hero-product .x-h1{margin-top:1.4rem;font-size:clamp(2.5rem,5.4vw,4.2rem)}
.x-hero-figure{display:grid;justify-items:center}
.x-hero-figure .device.dv-iphone{--dv-scale:.74;--rot:0deg}
@media(min-width:861px){
  .x-hero-product{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2.5rem,6vw,5.5rem)}
}
.x-cta{display:flex;gap:1rem;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:2.4rem}
.x-btn{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--sans);
  font-size:1.02rem;font-weight:600;letter-spacing:.005em;
  padding:.95rem 1.75rem;border-radius:var(--radius-pill);cursor:pointer;border:1px solid transparent;
  transition:transform .35s var(--ease),box-shadow .4s var(--ease),background .4s var(--ease);text-decoration:none}
.x-btn.primary{background:var(--green-deep);color:var(--accent-ink);box-shadow:0 10px 30px -14px color-mix(in srgb,var(--green-deep) 85%,transparent)}
.x-btn.primary:hover{transform:translateY(-2px);color:var(--accent-ink)}
.x-btn .arrow{transition:transform .35s var(--ease)}
.x-btn.primary:hover .arrow{transform:translateX(3px)}
.x-btn.text{color:var(--ink-soft);padding:.95rem .4rem}
.x-btn.text:hover{color:var(--ink)}
.x-btn.text u{text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:1px}
.x-fine{font-size:.92rem;color:var(--ink-faint);margin-top:1.6rem}
.x-fine b{color:var(--ink-soft);font-weight:600}
.x-more{color:var(--accent-text);font-weight:600;text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:1px}
.x-more:hover{color:var(--ink);border-color:var(--ink)}

/* ---- store badges + launch swap (the dual-platform CTA standard, Exhale clothing).
   Every block that says anything about availability carries data-launch="{{launchState}}",
   which build.mjs resolves from app.toml [app] appstore_url — the same fact that resolves
   {{appStoreAttr}}. So the wording and the link flip TOGETHER at launch and cannot disagree;
   nothing is hand-flipped per page. The swap rules below are deliberately
   container-agnostic (no .x-cta ancestor): a hero badge row, a closing-CTA button and a
   fine-print prose line all swap with the same two class names. ---- */
.x-store{display:inline-flex;align-items:center;gap:.7rem;text-align:left;
  padding:.65rem 1.2rem;border-radius:14px;background:var(--ink);color:var(--paper);
  text-decoration:none;transition:transform .35s var(--ease)}
.x-store:hover{transform:translateY(-2px);color:var(--paper)}
.x-store small{display:block;font-size:10px;font-weight:500;letter-spacing:.03em;line-height:1.15}
.x-store b{display:block;font-size:16px;font-weight:650;line-height:1.15}
/* hero badge row layout — the flex pair is specific to .x-cta, the swap below is not. */
.x-cta .launch-live,.x-cta .launch-prelaunch{display:flex;gap:.9rem;flex-wrap:wrap;
  align-items:center;justify-content:center}
.x-hero-product .x-cta .launch-live,.x-hero-product .x-cta .launch-prelaunch{justify-content:flex-start}
/* the swap. Equal specificity to the layout rule above, so source order decides — keep these last. */
[data-launch="prelaunch"] .launch-live{display:none}
[data-launch="live"] .launch-prelaunch{display:none}
/* Per-store badge visibility (2026-08-20): a store's badge renders only when THAT store is
   live (iosBadgeState/androidBadgeState from build.mjs) — the one-fact data-launch swap above
   cannot hide a single dead badge while the other store is already out. */
[data-store-badge="prelaunch"], [data-store-badge="absent"]{display:none}

/* ---- device presentation: the SHARED .device dv-iphone/dv-ipad frame (site.css) ----
   The whole portfolio renders screenshots through ONE ratio-derived system (no crop — site.css
   derives the screen window from --shot-w/--shot-h, injected by build.mjs from the real asset).
   Kestrove only tunes the per-slot SIZE here via --dv-scale. .col-media is the
   switching-from-encircle page's slot; .x-feature-figure the homepage's. */
.col-media .device.dv-iphone{--dv-scale:.86;margin-inline:auto}
.col-media .device.dv-ipad{--dv-scale:.72;margin-inline:auto}
.x-feature-figure{display:grid;justify-items:center;margin:0}
.x-feature-figure .device.dv-iphone{--dv-scale:.66;--rot:0deg}
.x-feature-figure .device.dv-ipad{--dv-scale:.74;--rot:0deg}

/* ---- per-band frame scales ----
   The shared frame's footprint is FIXED px (--dv-fw × --dv-scale: 430px native iPhone, 546px
   iPad), while the sections around it are fluid. Below 860px every row stacks, so the media
   column has nothing to shrink against the frame and the WIDEST frame sets the document's
   minimum width. Budget per band = its TIGHTEST width minus the 2px .device-power nub and
   subpixel rounding (the stacked content box is vw − 85px):
     429px → 340px usable → iPhone ≤.79, iPad ≤.62
     381px → 292px usable → iPhone ≤.67, iPad ≤.53
     320px → 231px usable → iPhone ≤.53, iPad ≤.42   (320px is the floor — iPhone SE 1st gen)
   Verified with tools/website-overflow-harness.js: no horizontal page overflow anywhere. */
@media (min-width:861px) and (max-width:1152px){
  .x-hero-figure .device.dv-iphone{--dv-scale:.62}
  .x-feature-figure .device.dv-iphone{--dv-scale:.58}
  .x-feature-figure .device.dv-ipad{--dv-scale:.58}
}
@media (max-width:500px){
  .col-media .device.dv-iphone{--dv-scale:.78}
  .col-media .device.dv-ipad{--dv-scale:.61}
  .x-feature-figure .device.dv-ipad{--dv-scale:.6}
}
@media (max-width:428px){
  .x-hero-figure .device.dv-iphone,.x-feature-figure .device.dv-iphone,
  .col-media .device.dv-iphone{--dv-scale:.66}
  .col-media .device.dv-ipad,.x-feature-figure .device.dv-ipad{--dv-scale:.52}
}
@media (max-width:380px){
  .x-hero-figure .device.dv-iphone,.x-feature-figure .device.dv-iphone,
  .col-media .device.dv-iphone{--dv-scale:.52}
  .col-media .device.dv-ipad,.x-feature-figure .device.dv-ipad{--dv-scale:.41}
}

/* ---- what it does: four benefits, no devices ---- */
.x-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1.6rem,3vw,2.6rem);
  max-width:72rem;margin:clamp(3.5rem,7vw,5.5rem) auto 0;padding:clamp(3rem,6vw,4.4rem) clamp(1.1rem,4vw,2.5rem);
  border-top:1px solid var(--line)}
.x-benefit{display:grid;gap:.7rem;align-content:start}
.x-glyph{color:var(--green-deep);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.x-benefit h3{font-family:var(--display);font-size:1.28rem;font-weight:500;line-height:1.2;
  letter-spacing:-.01em;margin:.2rem 0 0}
.x-benefit p{margin:0;font-size:.97rem;line-height:1.6;color:var(--ink-soft)}
.x-benefit-more{color:var(--ink)}
@media (max-width:1100px){.x-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.x-benefits{grid-template-columns:1fr}}

/* ---- feature rows: one still beside one column of text ---- */
.x-feature{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(2rem,6vw,5rem);align-items:center;max-width:72rem;margin-inline:auto;
  padding:clamp(3rem,7vw,5rem) clamp(1.1rem,4vw,2.5rem);border-top:1px solid var(--line)}
.x-feature.x-flip{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.x-feature .x-h2{margin:.9rem 0 1.1rem;font-size:clamp(1.9rem,3.4vw,2.6rem)}
.x-feature p{color:var(--ink-soft);line-height:1.65;margin:0 0 1rem;max-width:34rem}
.x-feature p:last-child{margin-bottom:0}
.x-feature p a{color:var(--accent-text)}
@media (max-width:860px){
  .x-feature,.x-feature.x-flip{grid-template-columns:minmax(0,1fr)}
  .x-feature-figure{order:-1}
}

/* ---- two-column calm rows ---- */
.x-row{display:grid;grid-template-columns:1fr;gap:clamp(2.5rem,6vw,5rem);align-items:center}
@media(min-width:860px){
  .x-row{grid-template-columns:1.05fr .95fr}
  .x-row.flip .col-text{order:2}
  .x-row.wide{grid-template-columns:1fr 1.15fr}
}
.col-text .x-h2{margin-bottom:0}
.col-text .x-lede{margin-left:0;margin-right:0;max-width:30rem}
.col-media{display:flex;justify-content:center}
.doc-tab{display:inline-flex;align-items:center;gap:.5rem;font-size:.74rem;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:1rem}
.doc-tab i{width:7px;height:7px;border-radius:2px;background:var(--green);display:inline-block}

/* ---- trust: quiet promises ---- */
.x-trust{text-align:center}
.x-trust .promises{list-style:none;padding:0;margin:clamp(3rem,6vw,4.5rem) auto 0;
  max-width:48rem;display:grid;gap:0}
.x-trust li{padding:1.65rem 0;border-top:1px solid var(--line);
  display:grid;grid-template-columns:auto minmax(8rem,13rem) 1fr;gap:1.3rem;text-align:left;align-items:baseline}
.x-trust li:last-child{border-bottom:1px solid var(--line)}
.x-trust li .k{font-family:var(--display);font-size:1.16rem;color:var(--ink);font-weight:500;line-height:1.35;letter-spacing:-.005em}
.x-trust li .v{color:var(--ink-soft);font-size:1rem;line-height:1.62}
.x-trust li .v a{color:var(--accent-text)}
.x-trust li .dot{width:7px;height:7px;border-radius:50%;background:var(--green);align-self:start;margin-top:.55rem}
@media(max-width:620px){.x-trust li{grid-template-columns:1fr;gap:.45rem}.x-trust li .dot{display:none}.x-trust li .k{font-size:1.22rem}}

/* ---- price: one honest number (index.html card; switching-from-encircle's .once/.amt/.desc line) ---- */
.x-price{text-align:center;background:var(--paper-2);position:relative;
  padding:clamp(3.6rem,8vw,6rem) clamp(1.1rem,4vw,2.5rem);display:grid;justify-items:center;gap:1.6rem}
.x-price::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--line)}
.x-price .once{font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--green-deep);font-weight:600}
.x-price .amt{font-family:var(--display);font-size:clamp(3.2rem,8vw,5.2rem);font-weight:300;
  line-height:1;margin:1.4rem 0 .2rem;letter-spacing:-.02em}
.x-price .desc{color:var(--ink-soft);max-width:30rem;margin:1.1rem auto 0}
.x-price .x-cta{margin-top:2.2rem}
.x-price-card{position:relative;width:min(30rem,100%);background:var(--surface);
  border:1px solid var(--line);border-radius:22px;padding:clamp(2rem,5vw,2.8rem);
  box-shadow:var(--shadow-soft);overflow:hidden;display:grid;justify-items:center;gap:.2rem}
.x-price-card::before{content:"";position:absolute;inset:0;background:var(--halo);pointer-events:none}
.x-price-card > *{position:relative}
.x-badge{display:inline-flex;padding:.35rem .8rem;border-radius:var(--radius-pill);font-size:11px;
  font-weight:750;letter-spacing:.08em;text-transform:uppercase;
  background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent-text)}
.x-price-card .amt{font-size:clamp(2.8rem,6vw,3.6rem);margin:.9rem 0 .1rem}
.x-price-card .desc{margin:.6rem 0 1.2rem;font-size:.98rem}
.x-price-card ul{list-style:none;padding:0;margin:0 0 1.6rem;display:grid;gap:.6rem;
  font-size:.96rem;color:var(--ink-soft);text-align:left;max-width:24rem}
.x-price-card li{display:flex;gap:.6rem;align-items:baseline}
.x-check{color:var(--verified);font-weight:800;flex:none}
.x-price-note{font-size:.88rem;color:var(--ink-soft);line-height:1.6;margin:1.1rem 0 0}

/* ---- FAQ (native details, editorial) ---- */
.x-faq{max-width:42rem;margin-inline:auto;padding:clamp(3.6rem,8vw,6rem) clamp(1.1rem,4vw,2.5rem)}
.x-faq .x-h2{text-align:center;margin-bottom:clamp(2rem,4vw,3rem)}
.x-faq details{border-top:1px solid var(--line);padding:1.3rem 0}
.x-faq details:last-of-type{border-bottom:1px solid var(--line)}
.x-faq summary{font-family:var(--display);font-size:1.12rem;font-weight:500;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center;color:var(--ink)}
.x-faq summary::-webkit-details-marker{display:none}
.x-faq summary::after{content:"+";color:var(--green);font-family:var(--sans);font-weight:400;font-size:1.4rem;transition:transform .3s var(--ease)}
.x-faq details[open] summary::after{transform:rotate(45deg)}
.x-faq details p{color:var(--ink-soft);line-height:1.62;margin:.9rem 0 0;font-size:1rem}
.x-faq details p a{color:var(--accent-text)}

/* ---- the design's OWN header (ledger row + nav) ---- */
.x-bar{display:flex;align-items:center;gap:1.4rem;padding-block:clamp(1.4rem,3vw,2.1rem)}
.x-bar .brand{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--display);
  font-size:1.32rem;font-weight:500;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.x-bar .mark{width:30px;height:30px;border-radius:8px;flex:0 0 auto;display:block}
.x-bar .x-nav{display:flex;margin-left:auto;gap:1.6rem}
.x-bar .x-nav a{font-size:.92rem;color:var(--ink-soft);text-decoration:none;letter-spacing:.01em;
  transition:color .3s var(--ease)}
.x-bar .x-nav a:hover{color:var(--ink)}
.x-bar .right{display:flex;align-items:center;gap:1.5rem}
.x-bar .ghost{font-size:.92rem;font-weight:600;color:var(--green-deep);
  padding:.62rem 1.15rem;border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);
  transition:border-color .35s var(--ease),box-shadow .35s var(--ease),transform .35s var(--ease);text-decoration:none;white-space:nowrap}
.x-bar .ghost:hover{box-shadow:var(--shadow-soft);transform:translateY(-1px)}
@media (max-width:860px){
  /* No hamburger on this site: below 860px the nav used to vanish (display:none), which left
     How it feels, Pricing, Questions and Support unreachable from a phone (the same finding
     the owner made on Tondo, 2026-09-07). It wraps to its own row instead, scrolling sideways
     when the words do not fit. */
  .x-bar{flex-wrap:wrap;gap:.9rem 1.4rem}
  .x-bar .x-nav{order:3;flex:1 0 100%;margin:0;gap:1.1rem;overflow-x:auto;
    -webkit-overflow-scrolling:touch;white-space:nowrap;scrollbar-width:none}
  .x-bar .x-nav::-webkit-scrollbar{display:none}
  .x-bar .right{order:2;margin-left:auto}
}
/* Language navigation uses the shared header picker in site.css. */

@media(prefers-reduced-motion:reduce){
  .x-btn,.x-bar .ghost,.x-store{transition:none}
}

/* ---- app footer (kept from the prior theme; token-driven) ---- */
.app-foot{padding:0;border-top:1px solid var(--line)}
.app-foot .app-foot-brand,
.app-foot .app-foot-base{max-width:72rem;margin-inline:auto;
  padding-inline:clamp(1.1rem,4vw,2.5rem);
  display:flex;gap:var(--sp-3);flex-wrap:wrap;align-items:center;justify-content:space-between;
  font-size:var(--step--1);color:var(--text-soft)}
.app-foot .app-foot-brand{padding-block:var(--sp-3)}
.app-foot .app-foot-base{padding-block:var(--sp-2)}
.app-foot .oomny-line{display:inline-flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.app-foot .oomny-line strong{color:var(--text);font-weight:700}
.app-foot .cloud-mark{width:22px;height:22px;color:var(--accent);flex:0 0 auto}
.app-foot a.all-apps{color:var(--accent-text);font-weight:600;white-space:nowrap}
.app-foot a.all-apps:hover{color:var(--accent-text);text-decoration:underline}
.app-foot .app-foot-base .links{display:flex;gap:1.2rem;flex-wrap:wrap}
.app-foot .app-foot-base{position:relative}
.app-foot .app-foot-base::before{content:"";position:absolute;top:0;
  left:50%;width:100vw;transform:translateX(-50%);border-top:1px solid var(--line)}
body[data-brand="kestrove"] .app-langs{ margin-top:2rem; gap:.6rem; }
body[data-brand="kestrove"] .app-langs-lead{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; font-weight:650; color:var(--green-deep); }

/* ============================================================================
   "Het register" (2026-10-01). Michael found the dark house hero and the bento not beautiful
   and asked for a site inspired by Awwwards Sites of the Day. Their shared vocabulary, applied to
   Kestrove's promise (everything you own, on the record, tested): a white page, deep-green ink,
   an oversized system-serif headline, hairline rules like an archive index, flat colour fields
   instead of gradients, one running strip, and the product standing on a ruled panel.
   The <em> in the headline is a rubber stamp in verified green, pressed after the headline lands;
   the brand seal is stamped onto the panel. Buttons are squared (no pills), labels are plain
   sans (no letter-spaced caps), and there is no cream and no italic accent anywhere.
   ============================================================================ */
:root, [data-theme="light"]{ --forest:#0f3a2e; --forest-ink:#eaf3ee; --forest-soft:#b9d2c5; --mint:#9fe0c3;
  --sage:#e6efea; --sage-line:#cbd9d1; --stamp:#157559; }
[data-theme="dark"]{ --forest:#0c2a21; --sage:#222b27; --sage-line:#34413b; --stamp:#79c9a6; }
@media (prefers-color-scheme: dark){ :root:not([data-theme]){ --forest:#0c2a21; --sage:#222b27; --sage-line:#34413b; --stamp:#79c9a6; } }
body[data-brand="kestrove"]{ --radius-pill:10px; }
body[data-brand="kestrove"] .atmos{ display:none; }
body[data-brand="kestrove"] .eyebrow{ font-size:.86rem; font-weight:650; letter-spacing:0; text-transform:none; color:var(--text); gap:.55rem; }
body[data-brand="kestrove"] .eyebrow::before{ width:.6rem; height:.6rem; border-radius:2px; background:var(--stamp); opacity:1; }
body[data-brand="kestrove"] .app-langs-lead{ font-size:.86rem; letter-spacing:0; text-transform:none; color:var(--text); }
body[data-brand="kestrove"] .x-bar .ghost{ border-radius:10px; }
body[data-brand="kestrove"] .x-store{ border-radius:10px; background:var(--text); color:var(--bg); }
body[data-brand="kestrove"] .x-btn.primary{ background:var(--forest); color:#fff; box-shadow:none; }
body[data-brand="kestrove"] .x-badge{ border-radius:4px; letter-spacing:.02em; text-transform:none; font-size:.8rem; }

body:has(.k3-hero) main{ max-width:none; padding-inline:0; overflow-x:clip; }
.k3-in, body:has(.k3-hero) .x-benefits{ max-width:76rem; margin-inline:auto; padding-inline:clamp(1.1rem,4vw,2.5rem); }

/* ---- 1. hero: the headline, then the phone on a ruled panel with the seal ---- */
body .k3-hero{ display:block; max-width:none; margin:0; padding:clamp(1.2rem,4vw,3rem) 0 0; text-align:left; }
.k3-in{ display:grid; grid-template-columns:minmax(0,1fr); gap:2.4rem; }
.k3-copy{ order:1; }
.k3-figure{ order:2; }
.k3-copy .x-h1{ font-size:clamp(3rem,13vw,8.2rem); line-height:.95; letter-spacing:-.035em; font-weight:400; max-width:11ch; margin-top:1.3rem; color:var(--text); }
.k3-copy .x-h1 em{ display:inline-block; font:800 .46em/1 var(--sans); font-style:normal; text-transform:uppercase; letter-spacing:.06em;
  color:var(--stamp); padding:.2em .34em .16em; margin:.12em 0 0 .06em; vertical-align:.32em; border:.09em solid currentColor; border-radius:.12em;
  box-shadow:inset 0 0 0 .07em var(--bg), inset 0 0 0 .13em currentColor; transform:rotate(-7deg); }
.k3-copy .x-lede{ font-size:var(--step-1); line-height:1.5; color:var(--text-soft); max-width:34rem; margin-top:1.6rem; }
.k3-copy .x-cta{ margin-top:2rem; justify-content:flex-start; }
.k3-copy .x-cta .launch-live, .k3-copy .x-cta .launch-prelaunch{ justify-content:flex-start; }
.k3-copy .x-fine{ color:var(--text-soft); }
.k3-copy .x-fine b{ color:var(--text); }
.k3-figure{ position:relative; display:grid; justify-items:center; height:30rem; overflow:hidden; padding-top:3rem; border-radius:24px;
  background:var(--sage) repeating-linear-gradient(180deg, transparent 0 2.6rem, var(--sage-line) 2.6rem calc(2.6rem + 1px)); }
.k3-figure::before{ content:""; position:absolute; top:0; bottom:0; left:3.4rem; width:1px; background:color-mix(in srgb, var(--stamp) 45%, transparent); }
.k3-phone{ position:relative; z-index:1; filter:drop-shadow(0 26px 34px rgba(15,58,46,.25)); }
.k3-phone .device.dv-iphone{ --dv-scale:.62; --rot:0deg; }
.k3-seal{ position:absolute; z-index:2; top:1.2rem; right:1.2rem; width:7.5rem; height:7.5rem; transform:rotate(12deg); filter:drop-shadow(0 10px 14px rgba(15,58,46,.25)); }
.sl-disc{ fill:var(--forest); } .sl-ring{ fill:none; stroke:#fff; stroke-opacity:.35; stroke-width:2; stroke-dasharray:3 4; }
.sl-tick{ fill:none; stroke:var(--mint); stroke-width:9; stroke-linecap:round; stroke-linejoin:round; }
@media (min-width:900px){
  .k3-in{ grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); column-gap:clamp(2.5rem,5vw,4.5rem); align-items:end; }
  .k3-copy, .k3-figure{ order:0; grid-row:1; }
  .k3-copy{ grid-column:1; padding-bottom:3rem; }
  .k3-figure{ grid-column:2; height:40rem; border-radius:28px 28px 0 0; }
  .k3-phone .device.dv-iphone{ --dv-scale:.74; }
  .k3-copy .x-h1{ font-size:clamp(4rem,7.6vw,8.2rem); }
}
@media (prefers-reduced-motion:no-preference){
  .k3-copy > *{ animation:k3-rise .8s cubic-bezier(.2,.8,.2,1) both; }
  .k3-copy > :nth-child(2){ animation-delay:.08s; } .k3-copy > :nth-child(3){ animation-delay:.16s; }
  .k3-copy > :nth-child(n+4){ animation-delay:.24s; }
  .k3-copy .x-h1 em{ animation:k3-stamp .55s .85s cubic-bezier(.3,1.4,.5,1) both; }
  .k3-seal{ animation:k3-seal .6s 1.2s cubic-bezier(.3,1.4,.5,1) both; }
  .k3-phone{ animation:k3-up 1s .2s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes k3-rise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
  @keyframes k3-stamp{ 0%{ opacity:0; transform:scale(2.4) rotate(-18deg); } 70%{ opacity:1; transform:scale(.94) rotate(-6deg); } 100%{ opacity:1; transform:rotate(-7deg); } }
  @keyframes k3-seal{ 0%{ opacity:0; transform:scale(2) rotate(-20deg); } 100%{ opacity:1; transform:rotate(12deg); } }
  @keyframes k3-up{ from{ opacity:0; transform:translateY(80px); } to{ opacity:1; transform:none; } }
}

/* ---- 2. the ticker: documented items running past ---- */
.k3-ticker{ background:var(--forest); color:var(--forest-ink); overflow:hidden; padding:1rem 0; }
.k3-ticker-run{ display:flex; width:max-content; }
.k3-tick{ display:inline-flex; align-items:center; gap:.7rem; padding-right:1.4rem; }
.k3-tick svg{ width:26px; height:26px; fill:none; stroke:var(--mint); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.k3-tick b{ font:400 1.45rem/1 var(--serif); font-variant-numeric:tabular-nums; letter-spacing:-.01em; white-space:nowrap; }
.k3-tick i{ width:5px; height:5px; border-radius:50%; background:var(--mint); opacity:.6; margin-left:.7rem; }
@media (prefers-reduced-motion:no-preference){
  .k3-ticker-run{ animation:k3-run 48s linear infinite; }
  @keyframes k3-run{ to{ transform:translateX(-50%); } }
}

/* ---- 3. the four benefits: ledger rows ---- */
body:has(.k3-hero) .x-benefits{ grid-template-columns:minmax(0,1fr); gap:0 clamp(2rem,5vw,4rem); border-top:0;
  margin-top:clamp(3.5rem,8vw,6rem); padding-block:0; }
body:has(.k3-hero) .x-benefit{ border-top:2px solid var(--text); padding:1.5rem 0 2.4rem; gap:.8rem;
  grid-template-columns:3rem minmax(0,1fr); column-gap:1rem; align-items:start; }
body:has(.k3-hero) .x-benefit > :not(.x-glyph){ grid-column:2; }
body:has(.k3-hero) .x-glyph{ grid-column:1; grid-row:1 / span 3; width:2.6rem; height:2.6rem; padding:0; background:none; color:var(--stamp); stroke-width:1.4; }
body:has(.k3-hero) .x-benefit h3{ font-size:clamp(1.7rem,5.6vw,2.3rem); font-weight:400; line-height:1.05; letter-spacing:-.02em; }
body:has(.k3-hero) .x-benefit p{ font-size:1rem; }
@media (min-width:900px){ body:has(.k3-hero) .x-benefits{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* ---- 4. the claim packet: a forest band, the phone rising out of its lower edge ---- */
body:has(.k3-hero) main > section.x-feature{ max-width:none; border-top:0; column-gap:clamp(2.5rem,6vw,5rem);
  padding:clamp(4.5rem,10vw,7.5rem) max(clamp(1.1rem,4vw,2.5rem), calc((100% - 76rem) / 2 + 2.5rem)) clamp(3rem,7vw,5rem); }
body:has(.k3-hero) .x-feature .x-h2{ font-size:clamp(2.4rem,8.4vw,4.4rem); line-height:1; letter-spacing:-.03em; }
body:has(.k3-hero) main > #proof{ background:var(--forest); color:var(--forest-ink); margin-top:clamp(4rem,9vw,7rem); padding-bottom:0; align-items:end;
  --ink:var(--forest-ink); --ink-soft:var(--forest-soft); --accent-text:var(--mint); --text:var(--forest-ink); --line:rgba(255,255,255,.25); }
body:has(.k3-hero) #proof .x-h2{ color:#fff; }
body:has(.k3-hero) #proof p{ color:var(--forest-soft); }
body:has(.k3-hero) #proof .x-more{ color:var(--mint); border-color:rgba(159,224,195,.4); }
body:has(.k3-hero) #proof > div:first-child{ padding-bottom:clamp(3rem,7vw,5rem); }
.k2-packet{ position:relative; height:30rem; overflow:hidden; padding-top:2.5rem; }
.k2-sheet{ position:absolute; top:3rem; height:30rem; width:58%; border-radius:6px; background:#fff;
  background-image:repeating-linear-gradient(180deg, transparent 0 1.3rem, #d7e0da 1.3rem calc(1.3rem + 1px)); }
.k2-sheet-a{ left:4%; transform:rotate(-8deg); } .k2-sheet-b{ right:2%; transform:rotate(7deg); }
.k2-packet .device{ position:relative; z-index:2; filter:drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
.k2-packet .device.dv-iphone{ --dv-scale:.62; }
@media (max-width:860px){ body:has(.k3-hero) .x-feature-figure{ order:2; } }

/* ---- 5. boxes: white, the box and its label on a ruled panel ---- */
.k2-boxes{ position:relative; height:30rem; overflow:hidden; padding-top:2.5rem; border-radius:24px;
  background:var(--sage) repeating-linear-gradient(180deg, transparent 0 2.6rem, var(--sage-line) 2.6rem calc(2.6rem + 1px)); }
.k2-box{ position:absolute; z-index:3; left:-1.2rem; bottom:-1.2rem; width:min(44%,12rem); transform:rotate(-5deg); filter:drop-shadow(0 16px 18px rgba(15,58,46,.25)); }
.bx-body{ fill:#c9a26d; } .bx-flap{ fill:#dcb886; } .bx-tape{ fill:#efe2c4; opacity:.9; } .bx-label{ fill:#fff; } .bx-qr rect{ fill:#10201a; }
.k2-boxes .device{ position:relative; z-index:2; }
.k2-boxes .device.dv-iphone{ --dv-scale:.62; }

/* ---- 6. devices: a sage field ---- */
body:has(.k3-hero) main > #sync{ background:var(--sage); padding-bottom:clamp(3.5rem,8vw,6rem); }
body:has(.k3-hero) #sync .device.dv-ipad{ --dv-scale:.6; }
@media (max-width:520px){ body:has(.k3-hero) #sync .device.dv-ipad{ --dv-scale:.44; } }

/* ---- 7. price: a certificate ---- */
body:has(.k3-hero) .x-price{ background:var(--bg); padding-block:clamp(4.5rem,10vw,7.5rem); }
body:has(.k3-hero) .x-price::before{ display:none; }
body:has(.k3-hero) .x-price-card{ border:2px solid var(--text); border-radius:6px; box-shadow:none; outline:1px solid var(--text); outline-offset:-10px; margin-top:3.6rem; padding-top:3rem; overflow:visible; }
body:has(.k3-hero) .x-price-card::before{ display:none; }
body:has(.k3-hero) .x-price-card .amt{ font-family:var(--serif); font-weight:400; font-size:clamp(3.6rem,14vw,5.6rem); letter-spacing:-.03em; }
.k2-cert-seal{ width:6rem; height:6rem; margin:-6.2rem 0 .6rem; transform:rotate(-8deg); filter:drop-shadow(0 10px 14px rgba(15,58,46,.25)); }

/* ---- 8. questions: an index of rules ---- */
body:has(.k3-hero) .x-faq{ max-width:52rem; padding-top:clamp(2rem,5vw,4rem); }
body:has(.k3-hero) .x-faq .x-h2{ text-align:left; font-size:clamp(2.6rem,9vw,4.6rem); letter-spacing:-.03em; }
body:has(.k3-hero) .x-faq details{ border-top:2px solid var(--text); padding:1.4rem 0; }
body:has(.k3-hero) .x-faq details:last-of-type{ border-bottom:2px solid var(--text); }
body:has(.k3-hero) .x-faq summary{ font-size:clamp(1.3rem,4.4vw,1.65rem); line-height:1.2; font-weight:400; letter-spacing:-.01em; }

@media (max-width:428px){
  .k3-phone .device.dv-iphone, .k2-packet .device.dv-iphone, .k2-boxes .device.dv-iphone{ --dv-scale:.56; }
  .k3-seal{ width:6rem; height:6rem; }
}
/* long words (de, pl, uk) must wrap inside the oversized headlines */
body:has(.k3-hero) :is(.x-h1, .x-h2){ overflow-wrap:break-word; }
