/* One screen that never scrolls: the logo and one link on top, one sentence and one button in the middle. */
:root {
  --page: #f6f3ec; --ink: #211d19; --soft: #5a544c; --yellow: #ebc444; --on-yellow: #211d19; --shadow: #211d19;
  --display: "Special Gothic Condensed One", "Arial Narrow", Impact, sans-serif;
  --body: Inter, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --page: #181512; --ink: #f6f3ec; --soft: #bdb5a8; --yellow: #ebc444; --on-yellow: #211d19; --shadow: #000; color-scheme: dark } }
:root[data-theme="dark"] { --page: #181512; --ink: #f6f3ec; --soft: #bdb5a8; --yellow: #ebc444; --on-yellow: #211d19; --shadow: #000; color-scheme: dark }
html, body { height: 100%; overflow: hidden; }
body { margin: 0; background: var(--page); color: var(--ink); font: 500 17px/1.4 var(--body); }
.screen { height: 100%; box-sizing: border-box; display: grid; grid-template-rows: auto 1fr auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.screen[hidden] { display: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { color: inherit; text-decoration: none; min-height: 44px; border-radius: 10px; display: inline-flex; align-items: center; gap: 10px; font: 400 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.links { display: flex; justify-content: flex-end; gap: clamp(8px, 2vw, 20px); padding-block: 8px; }
.links a { color: inherit; text-decoration: none; min-height: 44px; min-width: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font: 500 17px/1.2 var(--body); }
.links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.links a:focus-visible, .go:focus-visible, .brand:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.middle { display: grid; place-items: center; min-height: 0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; padding-block: 4px 8px; font: 400 14px/1.3 var(--body); color: var(--soft); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot a { color: inherit; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

/* The button: a solid black pill with only its words. In the dark theme it turns light, so it never disappears into the page. */
.go { display: inline-flex; align-items: center; justify-content: center; min-height: 72px; padding: 0 40px; border: 0; border-radius: 999px; background: var(--ink); color: var(--page); font: 400 clamp(28px, 2.6vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; transition: transform .12s ease; }
.go:hover, .go:focus-visible { transform: translateY(-2px); }
.go:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .go { transition: none; } }


/* The home: one sentence, then the button. */
.stack { display: grid; justify-items: center; gap: clamp(24px, 4vh, 44px); padding-block: 16px; }
#home h1 { margin: 0; max-width: 15em; font: 400 clamp(32px, 6.2vw, 92px)/1.02 var(--display); letter-spacing: 0; text-align: center; text-wrap: balance; }

/* The home scrolls in whole screens: the first one, then four sections, each one full view. */
#home { display: block; padding: 0; overflow-y: auto; scroll-snap-type: y proximity; }
#home[hidden] { display: none; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.panel { min-height: 100%; box-sizing: border-box; display: grid; grid-template-rows: 1fr; scroll-snap-align: start; }
#home .panel.first { grid-template-rows: auto 1fr; }
#home .stack .note { margin: calc(-1 * clamp(10px, 2vh, 24px)) 0 0; font: 400 clamp(17px, 1.5vw, 20px)/1.3 var(--body); color: var(--soft); text-align: center; }
.panel.show { padding-top: 16px; gap: 4px; }
.panel:last-child { grid-template-rows: 1fr auto; }
.panel.alt { background: var(--yellow); color: var(--on-yellow); }
.panel h2 { margin: 0; font: 400 clamp(40px, 5.4vw, 80px)/0.98 var(--display); letter-spacing: 0; text-wrap: balance; }
.duo { width: 100%; max-width: 1180px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: 32px; }
.duo > * { min-width: 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; gap: 24px; } .panel h2 { text-align: center; } }
/* The picture: a room seen from above with the roof off (isometric). Everything is drawn one way: flat colours with the same ink outline, for the room, the AIs (teddy bears in red capes, seen from behind) and the people. No face is drawn. */
.scene { width: 100%; max-width: 720px; max-height: 80vh; height: auto; justify-self: center; display: block; }
.sc-h { font: 400 22px var(--display); text-transform: uppercase; fill: #211d19; letter-spacing: 0.02em; }
.sc-col { font: 400 12px var(--display); text-transform: uppercase; fill: #211d19; letter-spacing: 0.02em; }
.sc-who { font: 500 19px var(--body); fill: #211d19; }
@keyframes talk { to { stroke-dashoffset: -32; } }
/* The examples: pictures of the "open decisions" page an AI keeps for its person. They copy that page's look (Oswald, Source Sans, paper cards), fixed in both themes. */
.od { justify-self: center; width: 100%; max-width: 580px; box-sizing: border-box; border: 2px solid #211d19; border-radius: 16px; overflow: hidden; background: #f5f1ea; color: #211d19; font: 400 16px/1.45 "Source Sans 3", "Segoe UI", system-ui, sans-serif; text-align: left; }
.od p { margin: 0; }
.od-bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: #e9e3d8; font-size: 14px; }
.od-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc7b9; }
.od-bar b { margin-left: 8px; font-weight: 600; }
.od-body { padding: 16px; display: grid; gap: 12px; }
.od-h { font: 600 20px/1.05 Oswald, "Arial Narrow", sans-serif; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.od-h span { font: 700 14px/1.5 "Source Sans 3", system-ui, sans-serif; background: #211d19; color: #f5f1ea; border-radius: 999px; padding: 0 9px; }
.od-card { background: #fffdf9; border: 1px solid #ddd5c8; border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; min-width: 0; }
.od-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.od-num { font: 600 16px/1 Oswald, "Arial Narrow", sans-serif; width: 34px; height: 34px; border-radius: 50%; background: #ebc444; display: inline-grid; place-items: center; }
.od-chip { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 9px; }
.od-chip.decide { color: #b8322a; }
.od-src { color: #6b6259; }
.od-card h4 { margin: 0; font: 600 20px/1.1 Oswald, "Arial Narrow", sans-serif; text-transform: uppercase; text-wrap: balance; }
.od-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.od-opts li { border: 1px solid #ddd5c8; border-radius: 8px; padding: 7px 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.od-opts b { font: 600 16px/1.45 Oswald, "Arial Narrow", sans-serif; }
.od-list { list-style: none; margin: 0; padding: 0; background: #fffdf9; border: 1px solid #ddd5c8; border-radius: 12px; }
.od-list li { display: grid; grid-template-columns: 3.2ch minmax(0, 1fr) 4.2ch auto; align-items: center; gap: 4px 12px; padding: 7px 14px; }
.od-list li + li { border-top: 1px solid #ddd5c8; }
.od-t { font: 600 14px/1 Oswald, "Arial Narrow", sans-serif; color: #6b6259; }
.od-own { font-weight: 700; }
.od-list .od-chip { justify-self: end; white-space: nowrap; }
.od-chip.doing { background: #ebc444; border-color: #ebc444; }
.od-chip.done { color: #3d6b4f; }
.od-chip.wait { color: #6b6259; }
@media (max-width: 760px) { .od-list li { grid-template-columns: minmax(0, 1fr) auto; padding: 6px 12px; } .od-t { display: none; } .od-what { grid-column: 1 / -1; } .od-own { grid-row: 2; } .od-list .od-chip { grid-row: 2; } }
@media (max-width: 760px) { .od { font-size: 15px; } .od-body { padding: 12px; gap: 10px; } .od-card { padding: 12px; } }
.od-opts li.picked { border-color: #211d19; box-shadow: inset 0 0 0 1px #211d19; }
.od-opts i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #211d19; color: #f5f1ea; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
@media (max-width: 760px) { .duo { padding-block: 12px; gap: 16px; } .od-list li { padding: 4px 12px; } .od-opts li { padding: 5px 10px; } .od-card { gap: 6px; } }

/* The platforms: each mark on its own light tile, so it reads the same in both themes. */
.plat { justify-self: center; width: 100%; max-width: 700px; display: grid; gap: 18px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logos li { flex: 0 1 150px; box-sizing: border-box; }
.logo-word { width: clamp(52px, 8vw, 84px); aspect-ratio: 1; border-radius: 22%; background: #211d19; color: #f6f3ec; display: grid; place-items: center; font: 400 clamp(30px, 5vw, 48px)/1 var(--display); }
.logos img { width: clamp(52px, 8vw, 84px); height: auto; border-radius: 22%; display: block; }
.logos li { background: #fffdf9; color: #211d19; border: 2px solid #211d19; border-radius: 20px; padding: 26px 10px 18px; display: grid; justify-items: center; gap: 14px; font: 500 19px/1.2 var(--body); }
.logos svg { width: clamp(52px, 8vw, 84px); height: auto; }
.plat-more { margin: 0; font: 400 17px/1.4 var(--body); text-align: center; }
@media (max-width: 420px) { .logos { gap: 8px; } .logos li { flex-basis: 104px; padding: 18px 6px 12px; font-size: 17px; } }

/* The onboarding, three steps: the reason on yellow, the step beside it. Every form is inert in this prototype. */
.onb { overflow-y: auto; }
.onb .split { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); min-height: 0; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
.onb .say { background: var(--yellow); color: var(--on-yellow); display: grid; align-content: center; padding: 32px clamp(24px, 5vw, 72px); font: 500 clamp(24px, 2.6vw, 32px)/1.25 var(--body); }
.onb .say p { margin: 0; max-width: 16em; }
.onb .form { display: grid; align-content: center; justify-items: stretch; gap: 14px; padding: 32px clamp(24px, 5vw, 72px); }
.onb .form > * { width: 100%; max-width: 480px; margin-inline: auto; }
.onb ol.steps { list-style: none; margin: 0 auto 8px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; font: 400 13px/1.2 var(--body); color: var(--soft); text-align: center; }
.onb ol.steps li { display: grid; justify-items: center; gap: 6px; position: relative; }
.onb ol.steps li + li::before { content: ""; position: absolute; top: 14px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 1px; background: var(--soft); opacity: .5; }
.onb ol.steps b { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--soft); display: grid; place-items: center; font-weight: 500; }
.onb ol.steps li[aria-current] { color: var(--ink); font-weight: 500; }
.onb ol.steps li[aria-current] b { background: var(--ink); color: var(--page); border-color: var(--ink); }
.onb h1 { margin: 0; font: 400 clamp(30px, 3.4vw, 40px)/1 var(--display); text-transform: uppercase; }
.onb p { margin: 0; }
.onb .soft { color: var(--soft); }
.onb label { font-weight: 500; }
.onb input { font: 400 17px/1.3 var(--body); color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 14px; min-height: 52px; padding: 0 14px; box-sizing: border-box; }
.onb input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.onb button { min-height: 52px; border: 0; border-radius: 999px; background: var(--ink); color: var(--page); font: 400 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer; }
.onb button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.onb [role="status"] { min-height: 1.4em; color: var(--soft); }
@media (max-width: 760px) { .onb .split { grid-template-columns: 1fr; } .onb .say { padding-block: 24px; } }
.onb ol.steps li.done b { background: var(--ink); color: var(--page); border-color: var(--ink); }
.onb ol.steps li.done + li::before { opacity: 1; background: var(--ink); }
.onb .quiet { background: transparent; color: var(--ink); border: 0; min-height: 44px; font: 500 16px/1.2 var(--body); text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.onb .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.onb .check input { min-height: 0; width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.onb .chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 52px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: 14px; box-sizing: border-box; }
.onb .chips span { border: 1px solid var(--soft); border-radius: 999px; padding: 4px 10px; font-size: 15px; }
.onb .group { font: 500 12px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--soft); margin-top: 6px; }
.onb .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.onb .cards a { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--soft); color: inherit; text-decoration: none; min-width: 0; }
.onb .cards a:hover, .onb .cards a:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
.onb .cards b { font: 500 16px/1.2 var(--body); }
.onb .cards span { font-size: 13.5px; color: var(--soft); }
.onb .cards.one { grid-template-columns: 1fr; }
.onb .msg { font: 400 14.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; border: 1px solid var(--ink); border-radius: 14px; padding: 12px 14px; box-sizing: border-box; white-space: pre-wrap; }
@media (max-width: 760px) { .onb .cards { grid-template-columns: 1fr; } }

/* The animated home: three home offices side by side, the teddies and the hatches drawn over them. */
#home .anim .middle { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: stretch; gap: 12px; padding-top: 4px; }
.stage { position: relative; min-height: 0; border-radius: 18px; overflow: hidden; background: #d9d3c6; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ov { position: absolute; inset: 0; pointer-events: none; font-family: var(--body); }
.ov > * { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.ln { top: 0; bottom: 0; width: 8px; margin-left: -4px; background: var(--page); }
.tb svg { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 6px 8px rgba(0,0,0,.28)); }
.tb .halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,253,249,.85), rgba(255,253,249,0)); z-index: -1; }
.tb .wisp { position: absolute; left: 50%; top: 92%; width: 34%; height: 46%; margin-left: -17%; background: linear-gradient(rgba(255,253,249,.85), rgba(255,253,249,0)); clip-path: polygon(0 0, 100% 0, 58% 100%, 46% 100%); }
.chip { background: #fffdf9; color: #211d19; border: 2px solid #211d19; border-radius: 12px; padding: 5px 10px; font: 600 15px/1.2 var(--body); text-align: center; box-sizing: border-box; }
.pill { background: #211d19; color: #fffdf9; border-radius: 999px; padding: 7px 14px; font: 600 15px/1.2 ui-monospace, Menlo, monospace; white-space: nowrap; }
.pill::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: #ebc444; vertical-align: -0.15em; }
.nm { background: rgba(33,29,25,.82); color: #fffdf9; border-radius: 999px; padding: 4px 12px; font: 600 15px/1.2 var(--body); }
.hatch { background: #fffdf9; border: 3px solid #211d19; border-radius: 14px; overflow: hidden; box-sizing: border-box; box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.hatch .door { position: absolute; top: 0; bottom: 0; width: 50%; background: #ebc444; }
.hatch .door.l { left: 0; transform-origin: left center; border-right: 1.5px solid #211d19; }
.hatch .door.r { right: 0; transform-origin: right center; border-left: 1.5px solid #211d19; }
.hatch .door::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #211d19; }
.hatch .door.l::after { right: 5px; } .hatch .door.r::after { left: 5px; }
.board { position: absolute; inset: 0; padding: 8px 10px; box-sizing: border-box; display: grid; gap: 5px; align-content: center; color: #211d19; }
.board .row { display: grid; grid-template-columns: 5.4em 1fr 1fr; align-items: center; gap: 5px; font: 700 13px/1 var(--body); }
.board .row i { height: 7px; border-radius: 4px; background: #d9d3c6; transition: background .3s; }
.board .row i.ok { background: #2f8f5b; }
.dots { display: flex; gap: 4px; background: #fffdf9; border: 2px solid #211d19; border-radius: 999px; padding: 5px 8px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: #211d19; }
.lock { background: #efe9dd; border: 4px solid #211d19; border-radius: 18px; box-sizing: border-box; overflow: hidden; box-shadow: 0 0 0 4px #b9b2a4, 0 10px 22px rgba(0,0,0,.35); }
.lk-top { position: absolute; left: 0; right: 0; top: 0; height: 20px; background: #ebc444; color: #211d19; font: 700 11px/20px var(--body); text-align: center; letter-spacing: .04em; text-transform: uppercase; border-bottom: 2px solid #211d19; }
.lock .board { inset: 22px 0 auto 0; padding: 7px 10px; background: #fffdf9; border-bottom: 2px solid #211d19; }
.lk-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: #b9b2a4; border-top: 2px solid #211d19; }
.gate { position: absolute; bottom: 10px; height: 38%; width: 8px; background: #ebc444; transform-origin: center top; }
.gate.l { left: 0; border-right: 2px solid #211d19; } .gate.r { right: 0; border-left: 2px solid #211d19; }
.lamp { position: absolute; bottom: calc(38% + 16px); width: 8px; height: 8px; border-radius: 50%; background: #d6352b; border: 1.5px solid #211d19; }
.lamp.l { left: 4px; } .lamp.r { right: 4px; } .lamp.on { background: #35b06c; }
@media (max-width: 640px) { .lk-top { font-size: 9px; letter-spacing: 0; } .lock .board { padding: 5px 6px; } .lock .board .row { font-size: 10px; grid-template-columns: 4.7em 1fr; gap: 3px; } .dots { padding: 3px 5px; gap: 3px; } .dots span { width: 4px; height: 4px; } }
.lock.one .board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; padding: 7px 14px 8px; }
.lock.one .board .row { grid-template-columns: 1fr 1fr; gap: 4px 5px; font-size: 13px; }
.lock.one .board .row b { grid-column: 1 / -1; }
.lock.one .board .row i + i { display: block; }
.gate.m { left: 50%; bottom: 0; height: 10px; border: 0; border-left: 2px solid #211d19; border-right: 2px solid #211d19; transform-origin: left center; box-sizing: border-box; }
.lamp.m { bottom: 14px; }
@media (max-width: 640px) { .lock.one .board { gap: 6px; padding: 5px 7px 6px; grid-template-columns: 1fr 1.35fr 1fr; } .lock.one .board .row { font-size: 10px; gap: 3px; } .lock.one .board .row i { height: 5px; } }
.tb .pg { position: absolute; left: 58%; top: 50%; width: 44%; height: 44%; background: #fffdf9 repeating-linear-gradient(#fffdf9 0 22%, #b9b2a4 22% 30%); background-clip: content-box; padding: 14% 12% 8%; box-sizing: border-box; border: 2px solid #211d19; border-radius: 2px; transform: rotate(9deg) scale(0); transform-origin: 20% 80%; transition: transform .25s; }
.tb .pg.on { transform: rotate(9deg) scale(1); }
.tb .pg::after { content: ""; position: absolute; right: -5px; top: -5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #211d19; background: #fffdf9; display: none; }
.tb .pg.note::after { display: block; background: #ebc444; } .tb .pg.ok::after { display: block; background: #35b06c; }
.gate.m { margin-left: 0; }
/* the airlock doors: a round pressure door with a yellow seal and a wheel that turns before it swings open */
.port { display: none !important; }
.port { border-radius: 50%; background: radial-gradient(circle, #14110f 0 55%, #3a332c 100%); box-shadow: 0 0 0 3px #211d19, 0 0 0 8px #ebc444, 0 0 0 11px #211d19, 0 6px 14px 8px rgba(0,0,0,.28); box-sizing: border-box; }
.port .leaf { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #211d19; box-sizing: border-box; background: radial-gradient(circle, #e3e6ea 0 46%, #8f959d 47% 52%, #c3c8ce 53% 82%, #8f959d 83% 100%); transform-origin: left center; }
.port .leaf::before { content: ""; position: absolute; left: -7px; top: 34%; width: 9px; height: 32%; background: #6f757d; border: 2px solid #211d19; border-radius: 3px; box-sizing: border-box; }
.port .wheel { position: absolute; inset: 24%; border-radius: 50%; border: 4px solid #211d19; box-sizing: border-box; background: linear-gradient(#211d19, #211d19) center / 100% 4px no-repeat, linear-gradient(#211d19, #211d19) center / 4px 100% no-repeat; }
.port .wheel::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: #ebc444; border: 2px solid #211d19; }
.plamp { position: absolute; left: 50%; top: -22px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #d6352b; border: 1.5px solid #211d19; box-shadow: 0 0 0 2px #fffdf9; }
.plamp.on { background: #35b06c; }
@media (max-width: 640px) { .port { box-shadow: 0 0 0 2px #211d19, 0 0 0 5px #ebc444, 0 0 0 7px #211d19; } .port .wheel { border-width: 3px; background-size: 100% 3px, 3px 100%; } .plamp { top: -17px; } }
.ctl { position: absolute; right: 10px; top: 10px; display: flex; gap: 8px; }
.ctl .replay { position: static; }
.lk-board { position: absolute; left: 0; right: 0; top: 22px; padding: 6px 12px 7px; background: #fffdf9; border-bottom: 2px solid #211d19; color: #211d19; font: 600 13px/1.25 var(--body); min-height: 3.2em; }
.lk-board b { display: block; font-weight: 800; margin-bottom: 3px; }
.lk-rows { display: flex; flex-wrap: wrap; gap: 3px 14px; }
.lk-rows span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.lk-rows span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #d9d3c6; border: 1.5px solid #211d19; flex: none; }
.lk-rows .note::before { background: #ebc444; } .lk-rows .ok::before { background: #35b06c; }
.say { background: #fffdf9; color: #211d19; border: 2px solid #211d19; border-radius: 14px; padding: 7px 13px 9px; font: 600 17px/1.25 var(--body); box-shadow: 0 6px 14px rgba(0,0,0,.28); box-sizing: border-box; width: max-content; }
.say .tip { position: absolute; top: -9px; width: 14px; height: 14px; background: inherit; border-left: 2px solid; border-top: 2px solid; border-color: inherit; transform: rotate(45deg); box-sizing: border-box; }
.say small { display: block; font: 800 11px/1.5 var(--body); letter-spacing: .05em; text-transform: uppercase; color: #a82219; }
.say.me { background: #211d19; color: #fffdf9; border-color: #fffdf9; } .say.me small { color: #ebc444; }
.dots { transition: opacity .3s; opacity: 0; }
.veil { inset: 0; width: 100%; height: 100%; background: var(--page); }
@media (max-width: 640px) { .lk-board { top: 18px; padding: 4px 7px 5px; font-size: 11px; } .say { font-size: 15px; padding: 6px 10px 7px; } .gate.l, .gate.r { height: 30%; } .lamp.l, .lamp.r { bottom: calc(30% + 16px); } .ctl .replay { padding: 0 12px; } }
.replay { min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(33,29,25,.86); color: #fffdf9; font: 600 15px/1 var(--body); cursor: pointer; }
.replay:focus-visible { outline: 3px solid #ebc444; outline-offset: 2px; }
.pitch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding-bottom: 4px; }
#home .pitch h1 { max-width: 24em; font: 400 clamp(21px, 2.5vw, 36px)/1.08 var(--display); text-align: center; }
.pitch .go { min-height: 56px; padding: 0 30px; font-size: clamp(22px, 2vw, 28px); }
@media (max-width: 640px) { .chip, .nm { font-size: 13px; padding: 3px 7px; } .pill { font-size: 12px; padding: 5px 9px; } .board { padding: 5px 6px; gap: 4px; } .board .row { font-size: 11px; grid-template-columns: 4.9em 1fr; } .board .row i + i { display: none; } }

/* The four sections under the first screen: the words on one side, an example on the other. */
.say-it { display: grid; gap: 18px; }
.say-it .lede { margin: 0; max-width: 26em; font: 400 clamp(19px, 1.7vw, 24px)/1.35 var(--body); }
@media (max-width: 760px) { .say-it { justify-items: center; text-align: center; } }
.od-list .od-mail { overflow-wrap: anywhere; }
.od-chip.ai { background: #ebc444; border-color: #ebc444; color: #211d19; }
.od-msg { display: grid; gap: 4px; }
.od-msg .od-who { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.od-people { display: flex; flex-wrap: wrap; gap: 6px; }
.od-people span { font-size: 14px; border: 1px solid #ddd5c8; border-radius: 999px; padding: 2px 10px; background: #fffdf9; }
.od-kind { font: 600 14px/1 Oswald, "Arial Narrow", sans-serif; text-transform: uppercase; color: #6b6259; padding: 4px 2px 0; }

/* The busywork section: the words on top, then three examples side by side. */
.busy { width: 100%; max-width: 1240px; display: grid; gap: clamp(24px, 4vh, 40px); padding-block: 32px; }
.busy .say-it { justify-items: center; text-align: center; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.trio figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.trio figcaption { font: 500 17px/1.3 var(--body); text-align: center; }
.trio .od { max-width: none; }
@media (max-width: 960px) { .trio { grid-template-columns: 1fr; max-width: 560px; justify-self: center; width: 100%; } }
.kb { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.kb-col { display: grid; gap: 8px; align-content: start; background: #ece6db; border-radius: 10px; padding: 8px; }
.kb .od-kind { padding: 2px 2px 0; }
.kb .od-card { padding: 10px; gap: 6px; }
.kb .od-card h4 { font-size: 15px; }
.kb .od-src { font-size: 13px; }
.od-opts em.rec { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3d6b4f; border: 1.5px solid #3d6b4f; border-radius: 4px; padding: 0 5px; white-space: nowrap; }
.od-list.files li { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 14px; }
.od-list.files .od-src { font-size: 13px; }
.od-kind.fold { font-size: 16px; color: #211d19; }
.od-saved { font-size: 14px; color: #6b6259; text-align: right; }

/* Top links: on a phone only Pricing and Log in stay. */
@media (max-width: 560px) { .links .wide-only { display: none; } }
/* The FAQ: questions that open in place. */
.faq-wrap { width: 100%; max-width: 820px; display: grid; gap: 24px; padding-block: 32px; }
.faq-wrap h2 { text-align: center; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fffdf9; color: #211d19; border: 2px solid #211d19; border-radius: 14px; }
.faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 10px 18px; font: 500 clamp(18px, 1.6vw, 21px)/1.3 var(--body); }
.faq summary:focus-visible { outline: 3px solid #211d19; outline-offset: 3px; border-radius: 12px; }
.faq details p { margin: 0; padding: 0 18px 16px; font: 400 17px/1.5 var(--body); }
.faq a { color: inherit; }
.faq .addr { overflow-wrap: anywhere; }
.panel h2.end { text-align: center; max-width: 14em; }
.od-list.rooms li { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 14px; }
.od-list.rooms li.here { background: #fbf3d6; }
.od-list.rooms .ico { font: 600 16px/1 Oswald, "Arial Narrow", sans-serif; color: #6b6259; }
/* Pricing and About: pages that scroll like the home. */
.screen.page { overflow-y: auto; grid-template-rows: auto minmax(min-content, 1fr) auto; }
.price-wrap { width: 100%; max-width: 620px; display: grid; justify-items: center; gap: 22px; padding-block: 24px; text-align: center; }
.price-wrap h1, .big { margin: 0; font: 400 clamp(44px, 7vw, 96px)/1 var(--display); text-align: center; }
.price-wrap .lede { margin: 0; font: 400 clamp(19px, 1.7vw, 24px)/1.35 var(--body); }
.od.price { text-align: left; }
.od.price .od-card { justify-items: start; }

/* Security: four promises as plain text, two by two. */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.points li { border-top: 3px solid currentColor; padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.points h3 { margin: 0; font: 400 clamp(26px, 2.6vw, 36px)/1.02 var(--display); text-transform: uppercase; }
.points p { margin: 0; font: 400 17px/1.45 var(--body); }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }
/* Pricing: one plan, in plain type. */
.plan { width: 100%; box-sizing: border-box; border: 2px solid var(--ink); border-radius: 20px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 14px; text-align: left; }
.plan p { margin: 0; }
.plan-free { font: 400 17px/1.4 var(--body); background: var(--yellow); color: var(--on-yellow); border-radius: 12px; padding: 10px 14px; }
.plan-price { display: flex; align-items: baseline; gap: 12px; }
.plan-price .amt { font: 400 clamp(64px, 9vw, 104px)/0.9 var(--display); }
.plan-price .per { font: 400 20px/1 var(--body); color: var(--soft); }
.plan-inc { font: 500 20px/1.3 var(--body); }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--soft); font: 400 17px/1.4 var(--body); }
.plan-list b { font-weight: 500; }

/* The room, drawn like the real conversation screen (rooms.nativeport.ai): the title, the facts as pills, bubbles. */
.rv { justify-self: center; width: 100%; max-width: 560px; box-sizing: border-box; background: #f6f3ec; color: #211d19; border: 2px solid #211d19; border-radius: 18px; padding: 20px 20px 24px; display: grid; gap: 12px; font: 400 16px/1.5 Inter, system-ui, sans-serif; text-align: left; }
.rv p { margin: 0; }
.rv-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.rv-title { font: 400 clamp(28px, 2.6vw, 34px)/1.05 "Special Gothic Condensed One", "Arial Narrow", sans-serif; text-transform: uppercase; }
.rv-sub { color: #554f48; }
.rv-more { width: 40px; height: 40px; flex: none; border: 1px solid rgba(33, 29, 25, .2); border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.rv-fact { text-align: center; }
.rv-fact span { display: inline-flex; align-items: center; gap: 6px; background: rgba(33, 29, 25, .055); border: 1px solid rgba(33, 29, 25, .14); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 13.6px; color: #554f48; }
.rv-fact i { font-style: normal; font-size: 12px; } .rv-fact b { color: #211d19; font-weight: 600; } .rv-fact em { font-style: normal; color: #35b06c; }
.rv-msg { display: flex; gap: 10px; align-items: start; max-width: 88%; }
.rv-msg.mine { margin-left: auto; justify-content: flex-end; }
.rv-av { width: 26px; height: 26px; flex: none; margin-top: 24px; border-radius: 50%; background: #e2ded7; display: grid; place-items: center; font: 600 13px/1 Inter, system-ui, sans-serif; }
.rv-meta { font-size: 13px; color: #554f48; margin: 0 0 4px 4px !important; }
.rv-bubble { background: rgba(33, 29, 25, .055); border-radius: 22px; padding: 11px 16px; }
.rv-msg.mine .rv-bubble { background: #211d19; color: #f6f3ec; }

.promises { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font: 400 17px/1.4 var(--body); }
.promises li { display: grid; grid-template-columns: auto 1fr; gap: 10px; text-align: left; }
.promises li::before { content: "\2713"; font-weight: 700; }

/* New conversation, drawn like rooms.nativeport.ai/invite */
.nc { justify-self: center; width: 100%; max-width: 480px; box-sizing: border-box; background: #f6f3ec; color: #211d19; border: 2px solid #211d19; border-radius: 18px; padding: 22px 24px 26px; display: grid; gap: 8px; font: 400 16px/1.5 Inter, system-ui, sans-serif; text-align: left; }
.nc p { margin: 0; }
.nc-steps { list-style: none; margin: 0 0 6px; padding: 0; display: flex; justify-content: space-between; position: relative; }
.nc-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 11px; border-top: 1px solid #554f48; }
.nc-steps li { position: relative; display: grid; justify-items: center; gap: 4px; font: 400 12.8px/1.2 Inter, system-ui, sans-serif; color: #554f48; }
.nc-steps li.on { color: #211d19; font-weight: 600; }
.nc-steps span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #554f48; background: #f6f3ec; display: grid; place-items: center; font-size: 12px; }
.nc-steps li.on span { background: #211d19; border-color: #211d19; color: #f6f3ec; }
.nc-h { font: 400 clamp(28px, 2.6vw, 34px)/1.05 "Special Gothic Condensed One", "Arial Narrow", sans-serif; text-transform: uppercase; }
.nc-l { font-weight: 600; margin-top: 6px !important; }
.nc-in { background: #fffcf6; border: 1px solid #554f48; border-radius: 14px; padding: 12px 14px; }
.nc-area { min-height: 48px; }
.nc-chip { display: inline-flex; gap: 8px; align-items: center; background: rgba(33, 29, 25, .07); border-radius: 999px; padding: 2px 12px; }
.nc-help { font-size: 13.6px; line-height: 1.5; color: #554f48; }
.nc-btn { margin-top: 10px !important; background: #211d19; color: #f6f3ec; border-radius: 999px; min-height: 44px; display: grid; place-items: center; font: 400 18.4px/1 "Special Gothic Condensed One", "Arial Narrow", sans-serif; text-transform: uppercase; }
/* Questions: an open list with lines, no boxes. */
.faq-wrap { max-width: 1180px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(24px, 5vw, 72px); }
.faq-wrap h2 { text-align: left; }
.faq { gap: 0; border-top: 2px solid currentColor; }
.faq details { background: none; color: inherit; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; }
.faq summary { list-style: none; justify-content: space-between; gap: 16px; padding: 20px 0; font: 400 clamp(28px, 2.8vw, 40px)/1.05 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 32px/1 var(--body); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; max-width: 34em; font-size: 18px; }
@media (max-width: 760px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap h2 { text-align: center; } }

/* Pricing, after the benchmark (Linear, Slack, Notion, Basecamp): Free has its own card; one line per price. */
.price-wrap { max-width: 900px; }
.tiers { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: left; }
.tier { border: 2px solid var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; align-content: start; gap: 12px; }
.tier.main { background: var(--ink); color: var(--page); }
.tier h2 { margin: 0; font: 400 32px/1 var(--display); text-transform: uppercase; }
.tier p { margin: 0; }
.t-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.t-price .amt { font: 400 clamp(56px, 7vw, 84px)/0.9 var(--display); }
.t-price .per { font: 400 18px/1.3 var(--body); opacity: .8; }
.t-for { font: 500 18px/1.4 var(--body); min-height: 2.8em; }
.t-go { min-height: 56px; font-size: 24px; justify-self: stretch; }
.tier.main .t-go { background: var(--yellow); color: var(--on-yellow); }
.t-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font: 400 17px/1.4 var(--body); }
.t-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.t-list li::before { content: "\2713"; font-weight: 700; }
.t-list li.lead { font-weight: 600; grid-template-columns: 1fr; }
.t-list li.lead::before { content: none; }
.t-ex { width: 100%; text-align: left; }
.t-ex-h { margin: 0 0 8px; font: 600 17px/1.4 var(--body); }
.t-ex ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.t-ex li { border-top: 2px solid var(--ink); padding-top: 10px; display: grid; gap: 2px; font: 400 17px/1.3 var(--body); }
.t-ex li span { font: 400 32px/1 var(--display); }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } .t-for { min-height: 0; } }

/* The list of conversations, drawn like the left side of rooms.nativeport.ai */
.cl { justify-self: center; width: 100%; max-width: 420px; box-sizing: border-box; background: #f6f3ec; color: #211d19; border: 2px solid #211d19; border-radius: 18px; padding: 18px 14px 14px; display: grid; gap: 12px; font: 400 16px/1.5 Inter, system-ui, sans-serif; text-align: left; }
.cl p { margin: 0; }
.cl-new { background: #211d19; color: #f6f3ec; border-radius: 999px; min-height: 44px; display: grid; place-items: center; font: 400 18.4px/1 "Special Gothic Condensed One", "Arial Narrow", sans-serif; text-transform: uppercase; }
.cl-h { font: 400 20px/1 "Special Gothic Condensed One", "Arial Narrow", sans-serif; text-transform: uppercase; padding: 6px 6px 0; }
.cl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cl li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; }
.cl li.on { background: rgba(33, 29, 25, .07); }
.cl-av { width: 32px; height: 32px; border-radius: 50%; background: #e2ded7; display: grid; place-items: center; font: 600 13px/1 Inter, system-ui, sans-serif; }
.cl-t, .cl-s { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.cl-t b { font-weight: 600; } .cl-t time { font-size: 13px; color: #554f48; flex: none; }
.cl-s span { font-size: 14px; color: #554f48; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-s em { flex: none; font-style: normal; font-size: 12px; font-weight: 600; background: #211d19; color: #f6f3ec; border-radius: 999px; padding: 1px 8px; }
.t-note { margin: -4px 0 0 !important; font: 400 15px/1.3 var(--body); text-align: center; opacity: .8; }
.panel .stack .note { margin: calc(-1 * clamp(10px, 2vh, 24px)) 0 0; font: 400 clamp(17px, 1.5vw, 20px)/1.3 var(--body); color: var(--soft); text-align: center; }
.panel.alt .stack .note, #home .panel.alt .stack .note { color: var(--on-yellow); }

/* NativePort's own fix, not in the prototype (Alex, 21/11, A): on the home's last, yellow panel the footer took
   the gray --soft and was close to invisible; there it takes the panel's own ink. */
.panel.alt .foot { color: var(--on-yellow); }
/* The home after the launch video (room #963, Thiago's proposal, 23/11): the video under the headline, its room scene
   in the rooms section, and the animated board in the busy-work section, as the proposal's stylesheet has them. */
.stack .hero-vid { display: block; width: min(100%, 880px, calc(50vh * 16 / 9)); height: auto; aspect-ratio: 16 / 9; margin: calc(-1 * clamp(6px, 1.2vh, 16px)) 0 0; box-sizing: border-box; border: 2px solid #211d19; border-radius: 18px; background: #f6f2ea; }
@media (prefers-color-scheme: dark) { .stack .hero-vid { border-color: #5a534b; } }
@media (max-width: 760px) { .stack .hero-vid { width: 100%; } }
.sec-vid { display: block; width: 100%; height: auto; box-sizing: border-box; border: 2px solid #211d19; border-radius: 18px; background: #ebc444; }
.sec-vid.wide { max-width: 1040px; justify-self: center; }
.busy-anim { display: block; width: 100%; max-width: 1040px; height: auto; justify-self: center; }
.busy-anim .ba-rec, .busy-anim .ba-st { transform-box: fill-box; transform-origin: 50% 50%; }
.busy-anim .ba-rec { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .busy-anim .ba-all { animation: ba-all 16s linear infinite; }
  .busy-anim .ba-c { animation: ba-c 16s ease-in-out infinite; }
  .busy-anim .ba-a { animation: ba-a 16s ease-in-out infinite; }
  .busy-anim .ba-rec { animation: ba-rec 16s ease-in-out infinite; }
  .busy-anim .ba-r1 { animation: ba-in1 16s linear infinite; } .busy-anim .ba-r2 { animation: ba-in2 16s linear infinite; }
  .busy-anim .ba-r3 { animation: ba-in3 16s linear infinite; } .busy-anim .ba-r4 { animation: ba-in4 16s linear infinite; }
  .busy-anim .ba-st { animation: ba-st 16s ease-out infinite; }
  .busy-anim .ba-reg { animation: ba-late 16s linear infinite; } .busy-anim .ba-file { animation: ba-late 16s linear infinite; }
}
@keyframes ba-all { 0% { opacity: 0 } 2%, 97% { opacity: 1 } 99%, 100% { opacity: 0 } }
@keyframes ba-c { 0%, 7% { transform: translate(-200px, -74px) } 16%, 100% { transform: none } }
@keyframes ba-a { 0%, 66% { transform: translate(-400px, -148px) } 75%, 100% { transform: none } }
@keyframes ba-rec { 0%, 19% { opacity: 0; transform: translateY(14px) } 23%, 54% { opacity: 1; transform: none } 62%, 100% { opacity: 0; transform: translateY(335px) scale(.3) } }
@keyframes ba-in1 { 0%, 25% { opacity: 0 } 27%, 100% { opacity: 1 } }
@keyframes ba-in2 { 0%, 31% { opacity: 0 } 33%, 100% { opacity: 1 } }
@keyframes ba-in3 { 0%, 37% { opacity: 0 } 39%, 100% { opacity: 1 } }
@keyframes ba-in4 { 0%, 42% { opacity: 0 } 44%, 100% { opacity: 1 } }
@keyframes ba-st { 0%, 47% { opacity: 0; transform: scale(1.6) } 50%, 100% { opacity: 1; transform: none } }
@keyframes ba-late { 0%, 59% { opacity: 0 } 64%, 100% { opacity: 1 } }
