/* Reading/support surfaces: the landing's typography and surfaces, without
   changes to legal wording. Since 15 Oct 2026 (founder: "gentle horizon with
   light movement", no video) the reading pages stand in the landing's world:
   the site World backdrop (site-world.css) behind them, the clauses on the
   landing's glass. The World section at the end of this file holds those rules;
   a page without the mount keeps the matte look above it. */
html:has(body.iv-content), html:has(body.iv-install), html:has(body.iv-credits) {
  color-scheme: dark;
  background: var(--iv-bg) !important;
  scroll-padding-top: calc(var(--iv-nav-height) + 20px);
}
body.iv-content {
  --lp2-bg: var(--iv-bg); --lp2-raised: var(--iv-surface); --lp2-line: var(--iv-border);
  --lp2-ink-1: var(--iv-text); --lp2-ink-2: var(--iv-muted); --lp2-ink-3: var(--iv-subtle);
  --lp2-acc: var(--iv-accent); --lp2-display: var(--iv-font); --lp2-body: var(--iv-font);
  --lp2-gutter: var(--iv-gutter); --lp2-max: 1320px;
  --lp2-grad: linear-gradient(var(--iv-button),var(--iv-button)); --lp2-on-grad: var(--iv-button-ink);
  background: var(--iv-bg); color: var(--iv-text); font-family: var(--iv-font);
}
body.iv-content [hidden] { display: none !important; }
body.iv-content :focus-visible, body.iv-install :focus-visible, body.iv-credits :focus-visible {
  outline: 2px solid var(--iv-accent); outline-offset: 5px;
}
body.iv-content .lp2__skip:focus { border-radius: var(--iv-radius-sm); }
body.iv-content .public-language select {
  background: var(--iv-surface); color: var(--iv-text); border-color: var(--iv-border);
  font-family: var(--iv-font); min-height: 44px;
}
body.iv-content .public-language select:focus-visible { outline-color: var(--iv-accent); }
body.iv-content .lp2-nav {
  min-height: var(--iv-nav-height); height: auto; padding-block: 8px;
  background: #090b0bea; border-bottom: 1px solid #ffffff12;
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  gap: 20px; z-index: 20;
}
body.iv-content .lp2-nav__brand { font: 500 18px/1 var(--iv-font); letter-spacing: .15em; flex-shrink: 0; }
body.iv-content .lp2-nav__links { display: flex; align-items: center; gap: 24px; }
body.iv-content .lp2-nav__link, body.iv-content .lp2-nav .lp2-quiet {
  min-height: 44px; font: 400 13px/1.4 var(--iv-font); color: var(--iv-muted); text-transform: none; letter-spacing: 0;
}
body.iv-content .lp2-nav .lp2-quiet {
  padding: 8px 16px; min-height: 38px; border-radius: 999px;
  background: #e1eee8; color: var(--iv-button-ink); white-space: nowrap;
}
body.iv-content .lp2-section { padding-block: clamp(44px, 6vw, 80px); border-top: 0; }
body.iv-content .lp2-shell { max-width: 1200px; }
body.iv-content .lp2-h2 { font: 500 clamp(38px,5vw,68px)/1.07 var(--iv-font); letter-spacing: -.05em; max-width: 21ch; }
body.iv-content .lp2-h3 { font: 500 clamp(21px,2vw,27px)/1.2 var(--iv-font); letter-spacing: -.03em; }
body.iv-content .lp2-body { font: 400 17px/1.7 var(--iv-font); color: var(--iv-muted); }
body.iv-content .lp2-label { font: 500 12px/1.5 var(--iv-font); letter-spacing: .14em; color: #a9bab7; }
body.iv-content .lp2-meta { font: 400 12px/1.6 var(--iv-font); letter-spacing: .025em; text-transform: none; color: var(--iv-subtle); }
body.iv-content .lp2-section > .lp2-shell > .lp2-label { margin-bottom: 18px; }
body.iv-content .lp2-section > .lp2-shell > .lp2-h2 { margin-bottom: 20px; }
body.iv-content .lp2-section > .lp2-shell > .lp2-h2 + .lp2-body { max-width: 66ch; margin-bottom: 36px; }
body.iv-content .lp2-rows { margin-top: 36px; gap: 14px; }
body.iv-content .lp2-row {
  grid-template-columns: 32px minmax(150px, .68fr) minmax(0, 1.65fr);
  gap: 12px 24px; padding: 28px; align-items: start;
  border: 1px solid #d2e5d81c; border-radius: var(--iv-radius);
  background: linear-gradient(145deg,#18232070,#11191970);
}
body.iv-content .lp2-row__n { margin: 0; padding-top: 3px; font: 500 12px/1.7 var(--iv-font); color: var(--iv-accent); }
body.iv-content .lp2-row__h { margin: 0; font: 500 21px/1.3 var(--iv-font); letter-spacing: -.025em; }
body.iv-content .lp2-row__b { grid-column: 3; margin: 0; overflow-wrap: anywhere; }
body.iv-content .lp2-row .lp2-body { font-size: 16px; }
body.iv-content .lp2-body a { color: var(--iv-accent); border-color: #a5e4dc66; text-underline-offset: 4px; }
body.iv-content .lp2-row:hover .lp2-row__h { color: var(--iv-text); }
body.iv-content .lp2-cta {
  border: 0; border-radius: 999px; min-height: 48px; padding: 14px 24px;
  background: var(--iv-button); color: var(--iv-button-ink);
  font: 500 15px/1.3 var(--iv-font); letter-spacing: 0; text-transform: none; box-shadow: none;
}
body.iv-content .lp2-cta:hover { background: var(--iv-accent); }
body.iv-content .lp2-contact__mail { margin: 28px 0 38px; }
body.iv-content .lp2-contact__link { color: var(--iv-accent); font-size: clamp(27px,4.2vw,58px); overflow-wrap: anywhere; border-color: #a5e4dc66; }
body.iv-content .lp2-contact__grid { border: 0; padding: 0; gap: 18px; }
body.iv-content .lp2-contact__grid > div { background: var(--iv-surface); padding: 26px; border: 1px solid #d2e5d81c; border-radius: var(--iv-radius); }
body.iv-content .lp2-contact__grid .lp2-h3 { font-size: 22px; }
body.iv-content .lp2-contact__where { margin-top: 28px; }
body.iv-content .lp2-close { background: #0c1110; padding-top: 48px; border-top: 1px solid #d2e5d81c; }
body.iv-content .lp2-close__mark { font: 500 clamp(34px,8vw,100px)/1 var(--iv-font); letter-spacing: .04em; }
body.iv-content .lp2-close .lp2-body { margin: 20px auto 24px; font-size: 16px; }
body.iv-content .lp2-foot { margin-top: 36px; padding-block: 24px; gap: 16px; border-color: #d2e5d81c; }
body.iv-content .lp2-foot .lp2-meta { color: var(--iv-subtle); font: 400 12px/1.6 var(--iv-font); letter-spacing: 0; }
body.iv-content .lp2-foot a { display: inline-flex; align-items: center; min-height: 32px; }
/* Installation uses the same brand but retains its QR and platform instructions. */
body.iv-install { background: var(--iv-bg); color: var(--iv-text); font-family: var(--iv-font); padding: 28px 20px; }
.iv-install .card { max-width: 470px; padding: 32px; background: var(--iv-surface); border: 1px solid var(--iv-border); border-radius: var(--iv-radius); box-shadow: none; backdrop-filter: none; }
.iv-install .bubble { background: #e1eee8; color: var(--iv-button-ink); border-radius: 22px; box-shadow: none; font-family: var(--iv-font); font-weight: 500; }
.iv-install h1 { font-weight: 500; letter-spacing: -.035em; }
.iv-install .tag, .iv-install .step__t { color: var(--iv-muted); }
.iv-install .qr-hint, .iv-install .platform-title, .iv-install .foot { color: var(--iv-subtle); }
.iv-install .open-btn { background: var(--iv-button); color: var(--iv-button-ink); border-radius: 999px; box-shadow: none; font-weight: 500; }
.iv-install .step { background: var(--iv-raised); border-color: var(--iv-border); border-radius: var(--iv-radius-sm); }
.iv-install .step__n { background: var(--iv-accent); color: var(--iv-button-ink); }
.iv-install .qr { max-width: 100%; }
.iv-install .qr img { object-fit: contain; }
/* Credits remain complete, linked and readable rather than becoming a new hero. */
body.iv-credits { color: var(--iv-text); background: var(--iv-bg); font-family: var(--iv-font); max-width: 860px; padding: 40px 24px; }
.iv-credits h1 { font: 500 clamp(36px,5vw,60px)/1.1 var(--iv-font); letter-spacing: -.045em; }
.iv-credits h2 { padding-top: 26px; margin-top: 32px; border-top: 1px solid var(--iv-border); font-weight: 500; }
.iv-credits p { color: var(--iv-muted); }
.iv-credits a { color: var(--iv-accent); overflow-wrap: anywhere; }
.iv-credits footer { border-color: var(--iv-border); color: var(--iv-subtle); }
@media(max-width:760px) {
  body.iv-content .lp2-row { grid-template-columns: 28px minmax(0,1fr); padding: 22px; gap: 10px 12px; border-radius: 22px; }
  body.iv-content .lp2-row__b { grid-column: 2; }
  body.iv-content .lp2-nav { gap: 6px 14px; padding-block: 9px; }
  body.iv-content .lp2-nav__links { gap: 6px 14px; flex-wrap: wrap; }
  body.iv-content .lp2-nav__brand { font-size: 17px; }
  body.iv-content .lp2-foot { flex-direction: column; align-items: center; }
}
@media(max-width:420px) {
  body.iv-content .lp2-nav { padding-inline: 20px; }
  /* one row on a phone, as on the landing: the wordmark is the way back, so "The idea" steps out */
  body.iv-content .lp2-nav__link[href*="#idea"] { display: none; }
  body.iv-content .lp2-nav__links { margin-left: auto; justify-content: flex-end; gap: 4px 12px; }
  body.iv-content .lp2-nav__link { font-size: 12px; }
  body.iv-content .lp2-nav .lp2-quiet { font-size: 12px; padding: 7px 12px; }
  body.iv-content .lp2-row { grid-template-columns: minmax(0,1fr); padding: 22px; }
  body.iv-content .lp2-row__b { grid-column: 1; }
  body.iv-content .lp2-row__n { font-size: 11px; }
  .iv-install .card { padding: 24px 20px; }
}
@media(max-width:340px) {
  /* the smallest phones keep the wordmark and the sign-in pill; the pages' own links are in the close below */
  body.iv-content .lp2-nav__link { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  body.iv-content *,body.iv-install *,body.iv-credits * { scroll-behavior: auto !important; transition: none !important; }
}

/* =============================================================================
   THE WORLD BEHIND THE READING PAGES (site-world.css; design SPEC v1 §2, §3)
   Every rule here hangs off the mount (.site-world ~ ...), so a page without it
   keeps the matte look above. The landing's grammar: text sits on clean dark
   space, on a scrim or on its own glass, never straight on the planet. The
   heading block starts above the limb and only ever moves up; the clauses and
   the contact cards are on the landing's glass; the close ends the page above
   the dawn line, with the planet filling the room below it. --sw-limb (the top
   of the limb) is set here on <body>, so site-world.css's horizon and the close
   read the same value. Glass: the landing's dashboard glass (landing-world.css,
   the values site-world-ui.css carries), opaque enough to read without
   backdrop-filter, blurred where it is supported.
   ========================================================================== */
body.iv-content { --sw-limb: 80vh; }
.iv-content .site-world ~ .lp2-nav { background: rgba(9, 10, 11, .85); }
/* the landing nav's one principal action: the mint pill */
.iv-content .site-world ~ .lp2-nav .lp2-quiet { background: #b5e7df; color: #13211c; font-weight: 600; }
.iv-content .site-world ~ .lp2-nav .lp2-quiet:hover { background: #e1f5ef; }
/* kickers: the landing World's mono label after a short rule, in mint-grey (peach is light, not UI) */
.iv-content .site-world ~ main .lp2-label {
  display: flex; align-items: center; gap: 12px;
  font: 500 11px/1.4 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: #a9bab7;
}
.iv-content .site-world ~ main .lp2-label::before { content: ""; flex: none; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.iv-content .site-world ~ main :is(.lp2-row, .lp2-contact__grid > div) {
  background: rgba(16, 24, 27, .86); border: 1px solid #cfe3dc2e; box-shadow: inset 0 1px #ffffff14;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .iv-content .site-world ~ main :is(.lp2-row, .lp2-contact__grid > div) {
    background: rgba(17, 25, 28, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  }
}
/* the language control (privacy): a landing chip. Where the browser lets a select draw its own list (customizable
   select, appearance: base-select), the list opens as a window on the landing's popover glass (site-world-ui.css,
   loaded on the page that has the control); elsewhere the system list opens, as before. */
.iv-content .site-world ~ main .public-language select { background-color: #1d272a; border: 1px solid #ffffff26; font-weight: 500; }
@supports (appearance: base-select) {
  .iv-content .site-world ~ main .public-language select,
  .iv-content .site-world ~ main .public-language select::picker(select) { appearance: base-select; }
  .iv-content .site-world ~ main .public-language select { display: inline-flex; align-items: center; gap: 12px; max-width: none; padding: 6px 14px 6px 16px; }
  .iv-content .site-world ~ main .public-language select::picker-icon { color: var(--iv-muted); transition: rotate .2s; }
  .iv-content .site-world ~ main .public-language select:open::picker-icon { rotate: 180deg; }
  .iv-content .site-world ~ main .public-language select::picker(select) {
    min-width: 168px; margin-block: 8px; padding: 6px; color: #f4f6f5;
    background: var(--sw-glass, #10181bdb); border: 1px solid var(--sw-glass-line, #cfe3dc2e); border-radius: var(--sw-radius-pop, 18px);
    box-shadow: var(--sw-glass-inset, inset 0 1px #ffffff14), var(--sw-glass-shadow, 0 40px 60px -35px #000);
    -webkit-backdrop-filter: var(--sw-glass-filter, blur(16px)); backdrop-filter: var(--sw-glass-filter, blur(16px));
  }
  .iv-content .site-world ~ main .public-language select:open::picker(select) { animation: sw-window-in var(--sw-in, 280ms) var(--sw-ease, ease-out) both; }
  .iv-content .site-world ~ main .public-language option { gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 12px; font: 500 14px/1.3 var(--iv-font); color: var(--iv-text); }
  .iv-content .site-world ~ main .public-language option:is(:hover, :focus-visible) { background: #a5e4dc1f; outline: none; }
  .iv-content .site-world ~ main .public-language option:checked { color: var(--iv-accent); }
  .iv-content .site-world ~ main .public-language option::checkmark { color: var(--iv-accent); }
  @media (prefers-reduced-motion: reduce) {
    .iv-content .site-world ~ main .public-language select:open::picker(select) { animation: sw-fade-in 160ms linear both; }
  }
}
/* the notes after the clauses (privacy, terms) and contact's address line: honesty notes, on the same glass */
.iv-content .site-world ~ main :is(.lp2-rows + .lp2-meta, .lp2-contact__where) {
  width: fit-content; max-width: 100%; box-sizing: border-box; padding: 14px 20px; border-radius: 16px;
  background: rgba(16, 24, 27, .86); border: 1px solid #cfe3dc2e; box-shadow: inset 0 1px #ffffff14; color: var(--iv-muted);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .iv-content .site-world ~ main :is(.lp2-rows + .lp2-meta, .lp2-contact__where) {
    background: rgba(17, 25, 28, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  }
}
/* the close: no plate. On a horizon page it ends the page resting on clean space above the dawn line, the planet
   filling the room below it; on the way there it rises across the dawn, so its words gather into one centred column
   with a soft pool of the landing's scrim behind them (rgba(5,7,11,.84), an ellipse, like the landing close's own) */
.iv-content .site-world ~ .lp2-close { background: transparent; border-top: 0; overflow-x: clip; }
.iv-content .site-world[data-site-world="horizon"] ~ .lp2-close { padding-bottom: calc(100vh - var(--sw-limb) + 12vh); }
/* phones: the glow stands taller against a narrow screen, so the close rests a little higher */
@media (max-width: 760px) { .iv-content .site-world[data-site-world="horizon"] ~ .lp2-close { padding-bottom: calc(100vh - var(--sw-limb) + 16vh); } }
.iv-content .site-world[data-site-world="horizon"] ~ .lp2-close .lp2-foot {
  flex-direction: column; align-items: center; gap: 8px; max-width: 520px; margin-inline: auto;
}
.iv-content .site-world[data-site-world="horizon"] ~ .lp2-close > .lp2-shell { position: relative; }
.iv-content .site-world[data-site-world="horizon"] ~ .lp2-close > .lp2-shell::before {
  content: ""; position: absolute; z-index: -1; inset: -14vh max(-12vw, calc(50% - 480px)) -8vh; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 7, 11, .84) 64%, rgba(5, 7, 11, 0));
}
/* At rest the close needs no pool (it sits on clean space above the dawn): where the browser can tie an animation to
   scroll, the pool fades out over the last stretch of the way in, so the end of the page is open sky. Elsewhere, or
   under reduced motion, it simply stays. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .iv-content .site-world[data-site-world="horizon"] ~ .lp2-close { view-timeline: --iv-close block; }
    .iv-content .site-world[data-site-world="horizon"] ~ .lp2-close > .lp2-shell::before {
      animation: iv-pool-rest linear both; animation-timeline: --iv-close; animation-range: entry 80% entry 100%;
    }
  }
}
@keyframes iv-pool-rest { to { opacity: 0; } }
/* small print over the world reads a step lighter than on the matte ground (--iv-muted, not --iv-subtle #a0a6ab), to
   hold 4.5:1 where the dawn line shows through the glass or the pool (the notes above and the credits do the same) */
.iv-content .site-world ~ .lp2-close .lp2-foot .lp2-meta { color: var(--iv-muted); }

/* contact: the globe (site-world.css "globe"), Singapore pulsing beside "based in Singapore". Desktop: the address,
   the three cards and the close in one clear column at the left, the globe on the right, smaller than sign-in's and
   further out, so no word sits on it (the composition #community uses). The column's right edge follows the globe's
   left limb: 80vw - r - 56px, with r = .47 min(vw, vh), the same numbers as the mount's tokens. */
@media (min-width: 901px) {
  .iv-content .site-world[data-site-world="globe"] { --sw-x: 80vw; --sw-y: 54vh; --sw-r: calc(.47 * min(100vw, 100vh)); }
  .iv-content .site-world[data-site-world="globe"] ~ main > .lp2-contact > .lp2-shell,
  .iv-content .site-world[data-site-world="globe"] ~ .lp2-close > .lp2-shell {
    box-sizing: border-box; max-width: calc(80vw - .47 * min(100vw, 100vh) - 56px); margin-inline: 0; padding-right: 0;
  }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__link { font-size: clamp(26px, 2.7vw, 40px); }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .iv-content .site-world[data-site-world="globe"] ~ .lp2-close { text-align: left; }
  .iv-content .site-world[data-site-world="globe"] ~ .lp2-close .lp2-close__mark { font-size: clamp(48px, 6.4vw, 96px); }
  .iv-content .site-world[data-site-world="globe"] ~ .lp2-close .lp2-body { margin-inline: 0; }
}
/* Single column (<= 900px): the globe rides above the page (site-world.css) and the page scrolls over it, so the
   whole address column brings its own glass, as sign-in's invitation does; the three cards become hairline rows
   inside it. */
@media (max-width: 900px) {
  .iv-content .site-world[data-site-world="globe"] ~ main > .lp2-contact > .lp2-shell {
    box-sizing: border-box; margin-inline: var(--lp2-gutter); padding: clamp(22px, 5vw, 32px);
    border: 1px solid #cfe3dc2e; border-radius: 28px; background: rgba(16, 24, 27, .86); box-shadow: inset 0 1px #ffffff14;
  }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__mail { margin: 22px 0 8px; }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__link { font-size: clamp(20px, 6.2vw, 40px); }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__grid { gap: 0; }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__grid > div {
    padding: 22px 0 4px; border: 0; border-top: 1px solid #cfe3dc2e; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .iv-content .site-world[data-site-world="globe"] ~ main .lp2-contact__where {
    padding: 18px 0 0; border: 0; border-top: 1px solid #cfe3dc2e; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 900px) {
    .iv-content .site-world[data-site-world="globe"] ~ main > .lp2-contact > .lp2-shell {
      background: rgba(17, 25, 28, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
    }
  }
}

/* Credits (map sources, Asian scenery): documents first. The horizon below, the document on one sheet of the
   landing's glass above it, and room at the end so the last line rests above the dawn. */
body.iv-credits { --sw-limb: 80vh; }
body.iv-credits:has(> .site-world) { padding-bottom: calc(100vh - var(--sw-limb) + 10vh); }
.iv-credits .site-world ~ :is(main, footer) {
  position: relative; z-index: 1; box-sizing: border-box;
  border: 1px solid #cfe3dc2e; border-radius: 28px; background: rgba(16, 24, 27, .86); box-shadow: inset 0 1px #ffffff14;
}
.iv-credits .site-world ~ main { padding: clamp(22px, 5vw, 48px); }
.iv-credits .site-world ~ footer { margin-top: 16px; padding: 18px clamp(22px, 5vw, 48px); font-size: 13px; color: var(--iv-muted); }
.iv-credits .site-world ~ main .note { color: var(--iv-muted); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .iv-credits .site-world ~ :is(main, footer) {
    background: rgba(17, 25, 28, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  }
}
