/* Cormorant website: home and legal pages (www.cormorant.ch).
   Ink #262625 on paper #F3F3F1, from the design rework of 2026-11 (twelve principles:
   type as the image, one colour moment = the globe, hairlines, windows on painted stages,
   sheets that glide). Colour lives only in the globe and the three data signs; red only in
   the short line above the headline and the seal. Everything is served from this origin. */
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth;scroll-padding-top:64px}
body{margin:0;background:var(--bg);color:var(--fg);font:400 16px/1.55 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.label{font:500 12px/1.2 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
h1,h2,h3{margin:0;font-weight:500}
p{margin:0 0 16px}
.note{font:400 13px/1.5 var(--sans);color:var(--mute);max-width:72ch}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:8px;min-height:44px;background:var(--fg);color:var(--bg);padding:12px 16px;border-radius:8px;z-index:40}
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:99px;background:var(--fg);color:var(--bg);text-decoration:none;font:500 15px var(--sans);border:1px solid var(--fg);cursor:pointer}
.btn.ghost{background:transparent;color:var(--fg);border-color:var(--line)}

/* /12/ title and sentence in one breath */
.breath{font:500 clamp(24px,2.7vw,34px)/1.22 var(--sans);letter-spacing:-.028em;color:var(--mute);max-width:31ch;margin:0}
.breath b{color:var(--fg);font-weight:500}
.breath a{display:block;width:max-content;margin-top:20px;font-size:17px;letter-spacing:0;color:var(--fg);text-underline-offset:5px;min-height:44px;line-height:44px}

/* /09/ the bar on top: stays while you scroll, clear over the hero, paper with a hairline once the page moves */
.top{position:sticky;top:0;z-index:30;transition:background .25s,box-shadow .25s}
.top.scrolled{background:color-mix(in srgb,var(--bg) 86%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--hair)}
.top .wrap{display:flex;align-items:center;gap:8px;min-height:64px}
.brand{font-weight:500;font-size:17px;letter-spacing:-.02em;text-decoration:none;display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-right:20px}
.brand i{width:38px;height:30px;background:var(--fg);-webkit-mask:url(/docs/static/art/cormorant-mark.webp) center/contain no-repeat;mask:url(/docs/static/art/cormorant-mark.webp) center/contain no-repeat}
.sp{flex:1}
.nav{display:flex;align-items:center;gap:2px}
.nav a,.toplink{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:99px;font:500 14px var(--sans);color:var(--mute);text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.nav a:hover,.toplink:hover{color:var(--fg)}
.nav a.on{color:var(--fg);background:var(--hair)}
.nav .nav-docs,.nav .nav-go{display:none}
/* text button in a soft yellow-to-red gradient, the one warm spot on the bar, so it is found at once */
.theme{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:0;border-radius:99px;background:linear-gradient(100deg,#F7C65A,#EE6A45);color:#1C1C1B;font:500 14px var(--sans);white-space:nowrap;cursor:pointer;transition:filter .2s}
.theme:hover{filter:brightness(1.06) saturate(1.1)}
.top .go{min-height:40px;padding:0 18px;font-size:14px;margin-left:4px}
.menu{display:none}

/* hero: /01/ giant line, /02/ one object rising, /03/ an ink wash of characters falling from the top edge */
.hero{position:relative;padding:40px 0 0}
/* painted ink mist from the top edge, printed onto the page (multiply); in the dark theme the same mist shows light */
.wash{position:absolute;left:0;right:0;top:-64px;height:min(820px,96vh);pointer-events:none;background:url(/docs/static/art/ink-mist.webp) right top/cover no-repeat;mix-blend-mode:multiply;opacity:.8;-webkit-mask:linear-gradient(#000 50%,transparent);mask:linear-gradient(#000 50%,transparent)}
[data-theme=dark] .wash{filter:invert(1);mix-blend-mode:screen;opacity:.35}
.hero-copy{position:relative;z-index:1}
.hero-row{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.hero-row .lead{margin:0}
/* the two buttons with the live status beside them, on one line */
.hero-act{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.hero-act .status{margin:0 0 0 12px}
.redline{display:block;width:40px;height:3px;background:var(--seal);margin:24px 0 20px}
.hero h1{font-size:clamp(44px,7vw,104px);line-height:.94;letter-spacing:-.058em;margin:20px 0 28px;max-width:13ch}
.lead{font-size:clamp(18px,1.9vw,22px);line-height:1.45;color:var(--mute);max-width:46ch}
.does{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:10px 28px;font:500 clamp(18px,1.8vw,22px)/1.3 var(--sans);letter-spacing:-.015em;color:var(--fg)}
.does li{display:inline-flex;align-items:center;gap:10px}
.does .glyph{font-size:30px;margin:0}
.status{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:16px;text-decoration:none;font:500 12px var(--mono);color:var(--mute)}
.status i{width:8px;height:8px;border-radius:50%;background:var(--mute)}
.status[data-state=ok] i{background:var(--ok)}.status[data-state=info] i{background:var(--info)}.status[data-state=warn] i{background:var(--warn)}.status[data-state=bad] i{background:var(--bad)}

/* the globe rises like a moon over an ink landscape, on the same painted paper as the stages below;
   the frame is paper in both themes, so its text keeps ink colours; in the dark theme the paper is dimmed so it does not glare */
[data-theme=dark] .rise,[data-theme=dark] .stage{filter:brightness(.8)}
.rise{--fg:#262625;--mute:#55554f;--k-fetch:#0B7D6E;--k-search:#2F6FB5;--k-company:#6F5BD6;color:var(--fg);position:relative;height:clamp(600px,62vw,760px);margin-top:24px;border-radius:24px;overflow:hidden;background:#DBD8D1;box-shadow:inset 0 0 0 1px rgba(38,38,37,.06)}
.sky,.mist{position:absolute;inset:0;background:url(/docs/static/art/ink-moon.webp) center bottom/cover no-repeat;pointer-events:none}
/* the same painting again over the globe, shown only from the ridges down: the globe sits behind the mountains */
.mist{z-index:1;-webkit-mask:linear-gradient(transparent 80%,#000 86%);mask:linear-gradient(transparent 80%,#000 86%)}
/* a still picture shows at once, the live canvas fades in over it */
.gl{position:absolute;left:0;right:0;top:0;height:88%;cursor:grab;background:url(/docs/static/art/globe-light.webp) center/auto 100% no-repeat}
.gl canvas{opacity:0;transition:opacity .6s}.gl.on canvas{opacity:1}
@media (prefers-reduced-motion:no-preference){
  [data-theme] .rise .gl{transform:translateY(24%);transition:transform 2.4s cubic-bezier(.16,.84,.3,1)}
  [data-theme] .rise.up .gl{transform:none}
}
.nogl{position:absolute;inset:auto 0 40% 0;text-align:center;color:var(--mute)}.nogl[hidden]{display:none}
.rise-l,.rise-r{position:absolute;top:28px;z-index:2}
.rise-l{left:32px}
.rise-r{right:32px;text-align:right}
.live{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ok);margin-right:8px;vertical-align:1px;animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.35}}
.totals{display:grid;gap:14px;margin-top:16px}
.tot b{display:block;font:500 clamp(26px,2.6vw,36px)/1 var(--sans);letter-spacing:-.04em}
.tot>span{font:400 12px var(--mono);color:var(--mute)}
.legend{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px;justify-items:end;font:500 13px var(--mono);color:var(--mute)}
.legend li{display:inline-flex;align-items:center;gap:10px;flex-direction:row-reverse}
.legend .glyph{font-size:20px}
.more{font:500 13px var(--mono);color:var(--fg);text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}

/* /01/ the ticker runs under the painted globe */
.ticker{position:relative;margin-top:32px;font-size:clamp(64px,9.5vw,136px);pointer-events:none}
.ticker section{overflow:hidden}
.tk-par{overflow:hidden;padding-bottom:.18em}/* room for the tail of the p in "up" */
.tk{display:flex;white-space:nowrap;font:500 1em/1 var(--sans);letter-spacing:-.06em;color:var(--fg)}
.tk-copy{flex-shrink:0;padding-right:.2em}
.ticker .glyph{width:.7em;height:.7em;vertical-align:.1em}/* centred on the words, not hanging under them */
.hero > .note{margin:24px auto 0;padding-bottom:8px}

/* /07/ the three marks */
.glyph{display:inline-grid;place-items:center;width:.8em;height:.8em;border-radius:50%;vertical-align:-.06em;background:var(--c,var(--k-fetch));margin:0 .06em}
.glyph[data-k=fetch]{--c:var(--k-fetch)}.glyph[data-k=search]{--c:var(--k-search)}.glyph[data-k=company]{--c:var(--k-company)}
.glyph svg{width:48%;height:48%;stroke:#fff;fill:#fff}
.glyph.neutral{background:var(--line)}
.glyph.neutral svg{stroke:var(--fg);fill:var(--fg)}

/* /11/ windows on a painted stage */
.act{padding:128px 0}
.stage{position:relative;height:clamp(540px,50vw,640px);margin-top:48px;border-radius:24px;overflow:hidden;background:#DBD8D1 center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(38,38,37,.06)}
/* the paintings load when their stage nears the screen (page.js adds .img) */
.stage-a.img{background-image:url(/docs/static/art/ink-dive.webp)}
.stage-a{background-position:center 85%}
.stage-b.img{background-image:url(/docs/static/art/ink-boat.webp)}
.stage-b{background-position:center 80%}
.stage-c.img{background-image:url(/docs/static/art/ink-reeds.webp)}
.stage-c{background-position:center 85%}
/* rhythm: the first stage runs nearly edge to edge, the registers stage shows the whole landscape, the status stage sits beside its sentence */
.stage.bleed{height:clamp(580px,52vw,680px)}
.stage.bleed .w1{left:5%;top:7%;width:min(600px,56%)}
.stage.bleed .w2{right:5%;bottom:6%;width:min(500px,46%)}
.stage-b{height:clamp(600px,58vw,720px)}
.stage-b .w3{width:min(520px,48%)}
#status-stage.split{padding-top:64px}
.split .wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px 64px;align-items:center}
.split .stage{margin-top:0;height:clamp(520px,46vw,600px)}
.split .w4{left:8%;right:8%;top:8%;width:auto}
.stage-fig{margin:0}
.stage-fig figcaption{margin-top:16px;font-family:var(--mono);font-size:13px;letter-spacing:.02em;color:#55554f}
:root[data-theme=dark] .stage-fig figcaption{color:var(--mute)}
.win{position:absolute;background:#FBFBFA;color:#262625;border-radius:12px;overflow:hidden;box-shadow:0 1px 0 rgba(38,38,37,.06),0 24px 60px rgba(38,38,37,.18)}
.win .bar{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid #e7e6e2;font:400 12px var(--sans);color:#686864}
.win .bar i{width:9px;height:9px;border-radius:50%;background:#dcdcd8;flex:none}
.win .bar span{flex:1;text-align:center;margin-right:33px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.win pre{margin:0;padding:18px 20px;font:400 13px/1.7 var(--mono);white-space:pre;overflow:hidden;color:#262625}
.win pre .c{color:#686864}
.w1{left:5%;top:8%;width:min(660px,62%)}
.w2{right:5%;bottom:7%;width:min(540px,47%)}
.w3{left:5%;top:9%;width:min(560px,54%)}
.w4{right:5%;top:9%;width:min(460px,44%)}
.comp{list-style:none;margin:0;padding:6px 0}
.comp li{display:flex;justify-content:space-between;gap:16px;padding:10px 20px;border-top:1px solid #efeeea;font:400 14px var(--sans)}
.comp li:first-child{border-top:0}
.comp em{display:inline-flex;align-items:center;gap:8px;font:500 12px var(--mono);font-style:normal;color:#686864}
.comp i{width:8px;height:8px;border-radius:50%;background:#9a9a95}
.comp [data-state=ok] i{background:var(--ok)}.comp [data-state=info] i{background:var(--info)}.comp [data-state=warn] i{background:var(--warn)}.comp [data-state=bad] i{background:var(--bad)}
.upd{margin:0;padding:10px 20px 14px;border-top:1px solid #efeeea;font:400 12px var(--mono);color:#686864}

/* the Japanese touch: a haiku written down the empty paper, signed, with the seal */
.haiku{position:absolute;right:6%;top:8%;writing-mode:vertical-rl;font:400 clamp(16px,1.55vw,20px)/1.9 var(--serif-jp);letter-spacing:.14em;color:#3a3a36}
.haiku span{display:block}
.haiku .who{font-size:.78em;padding-top:4.2em;color:#55554f}
.seal{display:inline-grid;place-items:center;writing-mode:horizontal-tb;width:1.9em;height:1.9em;margin-top:.7em;background:var(--seal);color:#F7F2EA;border-radius:3px;font:400 1em/1 var(--serif-jp);letter-spacing:0;font-style:normal}

.receipt .breath,.form-sheet .breath{color:var(--sheetmute)}
.receipt .breath b,.form-sheet .breath b{color:var(--sheetfg)}

/* /08/ the product as the artwork: a dark sheet with a round top edge over the search stage */
.receipt{z-index:1;margin-top:-48px;background:var(--sheet);color:var(--sheetfg);padding:112px 0 176px;border-radius:48px 48px 0 0}
.fields{margin:56px 0 0;font:400 clamp(16px,1.9vw,24px)/1.45 var(--mono)}
.fields>div{display:grid;grid-template-columns:minmax(0,11.5em) minmax(0,1fr);gap:8px 32px;padding:18px 0;border-top:1px solid var(--sheetline)}
.fields dt{color:var(--sheetfg)}
.fields dd{margin:0;color:var(--sheetmute)}
.fields .enc{color:#7d7d78}

/* a light sheet slides back over the dark one */
.sheet{position:relative;z-index:2;margin-top:-48px;background:var(--bg);border-radius:48px 48px 0 0}
/* the stack: the section before each sheet holds still at its last screen (page.js sets its top) while the sheet slides over it */
.pin{position:sticky}
.receipt,.sheet{box-shadow:0 -24px 60px rgba(0,0,0,.14)}

/* /07/ /10/ what you get: one compact grid, products and promises together; marks and big figures instead of numbering.
   Four columns: three products, the batch figure in ink down the right, three promises, then the two figures side by side */
.bento-sec{padding:96px 0 88px}
.bento-sec h2{font-size:clamp(36px,5vw,64px);line-height:1;letter-spacing:-.05em;margin:14px 0 32px}
.bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;border-radius:18px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--hair)}
.tile h3{margin:4px 0 0;font:500 clamp(20px,1.9vw,24px)/1.15 var(--sans);letter-spacing:-.03em}
.tile p{margin:0;color:var(--mute);font-size:15px;max-width:44ch}
.tile code{margin-top:auto;padding-top:6px;font:500 13px var(--mono);color:var(--mute)}
.tile .glyph{font-size:36px;margin:0}
.t-batch{grid-column:4;grid-row:1/span 2}
/* one tile in ink: the batch figure */
.tile.ink{background:var(--fg);color:var(--bg);box-shadow:none}
.tile.ink p,.tile.ink code{color:var(--bg);opacity:.72}
.t-batch h3{margin-top:auto}.t-batch code{margin-top:0}
.big{font:500 clamp(48px,4.6vw,68px)/.9 var(--sans);letter-spacing:-.06em}
.big small{font-size:.36em;letter-spacing:-.02em}
/* the two figure tiles: the number on the left, title and sentence beside it */
.tile.half{grid-column:span 2;display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 28px;align-content:center;align-items:center}
.tile.half .big{grid-row:span 2}
.tile.half h3{margin:0;align-self:end}
.tile.half p{align-self:start}
.vis{display:inline-flex;align-items:center;gap:8px;min-height:32px;font:500 13px var(--mono);color:var(--mute)}
.vis .live{margin:0}
.meter{display:block;width:132px;height:8px;border-radius:99px;background:var(--hair);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.meter i{display:block;width:62%;height:100%;border-radius:99px;background:var(--fg)}
.chip-ink{border:1px solid var(--line);border-radius:99px;padding:6px 12px;color:var(--fg)}

#status-stage{padding-bottom:176px}

/* /05/ the form is the last sheet */
.form-sheet{position:relative;z-index:3;margin-top:-48px;padding:128px 0 96px;background:var(--sheet);color:var(--sheetfg);border-radius:48px 48px 0 0}
.form-sheet .label{color:var(--sheetmute)}
.form-sheet .breath{margin-top:14px}
.form-sheet .sub{color:var(--sheetmute);font-size:18px;max-width:42ch;margin-top:24px}
.cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
form .full{grid-column:1/-1}
form label{display:grid;gap:8px;font:500 13px var(--mono);letter-spacing:.03em;color:#d8d6d0}
input,textarea{width:100%;min-height:48px;padding:12px 14px;border-radius:12px;border:1px solid rgba(243,243,241,.3);background:rgba(243,243,241,.08);color:var(--sheetfg);font:400 16px var(--sans)}
textarea{min-height:120px;resize:vertical}
input:focus,textarea:focus{outline:2px solid var(--sheetfg);outline-offset:1px}
.btn.inv{background:var(--sheetfg);color:var(--sheet);border-color:var(--sheetfg)}
.form-sheet .note{color:var(--sheetmute);margin-top:12px}

.foot{background:var(--sheet);color:var(--sheetmute);padding:40px 0;font-size:14px;border-top:1px solid var(--sheetline)}
.foot .wrap{display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:space-between;align-items:center}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 8px}
.foot a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 6px}
.foot a:hover{color:var(--sheetfg)}

/* narrower screens: the section links fold into a menu under a button; the panel opens below the bar */
/* painted cormorants beside three sections (Codex, 2026-11-08), fetched like the stages; ink printed onto the paper,
   shown light on the dark sheets and in the dark theme. Pine = what you get, the catch = the receipt, wings spread = the request */
.brush{position:absolute;pointer-events:none;background:center/contain no-repeat;mix-blend-mode:multiply;opacity:.6}
.receipt .brush,.form-sheet .brush,[data-theme=dark] .brush{filter:invert(1);mix-blend-mode:screen;opacity:.4}
.ink-pine.img{background-image:url(/docs/static/art/ink-pine.webp)}
.ink-catch.img{background-image:url(/docs/static/art/ink-catch.webp)}
.ink-wings.img{background-image:url(/docs/static/art/ink-wings.webp)}
.bento-sec{position:relative}
.bento{position:relative;z-index:1}
.ink-pine{right:0;top:32px;width:min(340px,30vw);aspect-ratio:724/498}
.receipt .wrap{position:relative}
.ink-catch{right:16px;top:-40px;width:min(400px,34vw);aspect-ratio:683/394}
.ink-wings{position:relative;margin-top:48px;width:min(320px,70%);aspect-ratio:670/506}
@media (max-width:1020px){
  .menu{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--fg);cursor:pointer}
  .menu i,.menu i::before,.menu i::after{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s}
  .menu i{position:relative}
  .menu i::before,.menu i::after{content:"";position:absolute;left:0}
  .menu i::before{top:-6px}.menu i::after{top:6px}
  .top.open .menu i{background:transparent}
  .top.open .menu i::before{transform:translateY(6px) rotate(45deg)}
  .top.open .menu i::after{transform:translateY(-6px) rotate(-45deg)}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 20px;background:var(--bg);box-shadow:0 1px 0 var(--hair),0 18px 32px rgba(0,0,0,.08)}
  .top.open .nav{display:flex}
  .top.open{background:var(--bg)}
  .nav a{min-height:48px;padding:0 4px;font-size:17px;color:var(--fg);border-radius:0;border-bottom:1px solid var(--hair)}
  .nav a.on{background:none;text-decoration:underline;text-underline-offset:6px}
  .nav .nav-docs{display:inline-flex}
  .nav .nav-go{display:inline-flex;justify-content:center;margin-top:16px;border:1px solid var(--fg);border-radius:99px;color:var(--bg)}
}
@media (max-width:900px){
  .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bento .tile,.bento .t-batch{grid-column:span 1;grid-row:auto}
  .bento .tile.half{grid-column:span 1}
  .bento .tile:last-child{grid-column:span 2}
  .cols{grid-template-columns:minmax(0,1fr);gap:48px}
}
@media (max-width:820px){
  .act{padding:96px 0}
  .stage{height:auto;padding:16px 16px 250px;display:grid;gap:12px}
  .stage-a{background-position:6% 100%}
  .stage-b{background-position:86% 100%}
  .stage-c{background-position:40% 100%}
  .win{position:relative;inset:auto;width:auto}
  .stage.bleed,.stage-b,.split .stage{height:auto}
  .stage.bleed .w1,.stage.bleed .w2,.stage-b .w3,.split .w4{left:auto;right:auto;top:auto;width:auto}
  .split .wrap{grid-template-columns:minmax(0,1fr)}
  .w2{margin-left:8%}
  .hero-row{grid-template-columns:minmax(0,1fr);margin-top:0}
  .wash{height:560px}
  .win pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;padding:14px 16px}
  .stage-b{padding-top:176px}
  .haiku{right:20px;top:20px;font-size:16px}
  /* phone: the painting holds only the globe, the numbers and legend follow on plain paper */
  .rise{--glh:min(100vw - 32px,520px);height:auto;display:flex;flex-direction:column;padding-bottom:16px;border-radius:16px}
  .sky,.mist{bottom:auto;height:var(--glh)}
  .sky{-webkit-mask:linear-gradient(#000 88%,transparent);mask:linear-gradient(#000 88%,transparent)}
  .gl{position:relative;left:auto;right:auto;flex:none;width:100%;height:calc(var(--glh) * .88);margin-bottom:calc(var(--glh) * .12)}
  .rise-l,.rise-r{position:relative;top:auto;left:auto;right:auto;padding:0 var(--gutter);text-align:left}
  .ticker{margin-top:24px;font-size:56px}
  .rise-l{padding-top:0}
  .rise .totals{display:flex;flex-wrap:wrap;gap:12px 20px}.rise .tot b{font-size:24px}
  .rise-r{padding-top:20px}
  .legend{justify-items:start}.legend li{flex-direction:row}
  .totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  /* phone: tiles in one column, products first, promises after; the figure tiles stack again */
  .bento{grid-template-columns:minmax(0,1fr);gap:10px}
  .bento .tile,.bento .t-batch,.bento .tile.half,.bento .tile:last-child{grid-column:1/-1;padding:20px}
  .bento .tile.half{display:flex}
  .bento .t-batch h3{margin-top:12px}
  .bento-sec{padding:80px 0 72px}
  .receipt,.form-sheet,.sheet{border-radius:32px 32px 0 0;margin-top:-32px}
  .receipt{padding-top:88px}
  .ink-pine{top:0;width:150px}
  .ink-catch{top:-80px;width:130px}
  .ink-wings{margin-top:32px;width:220px}
  .fields>div{grid-template-columns:minmax(0,1fr)}
  form{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  /* phone bar: brand, theme, menu; documentation and request access live in the menu */
  .top .toplink,.top .go{display:none}
  .theme{min-height:44px;padding:0 14px;margin-right:4px}
  .hero-act .status{margin:0;flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .live{animation:none}
}

/* Additions for the cormorant.ch port (plan steps marked in the canvas notes) */
/* code tabs inside the request window's title bar */
.win .bar.tabbed span{margin-right:0}
.wtabs{display:flex;gap:2px;margin-left:10px}
.wtabs button{min-height:28px;padding:0 10px;border:0;border-radius:99px;background:transparent;color:#686864;font:500 12px var(--mono);cursor:pointer}
.wtabs button[aria-selected=true]{background:#ecebe7;color:#262625}
/* the dive: five routes, one thick soft line leads down (principle 6) */
.dive{position:relative;margin:56px 0 112px;padding-left:48px}
.dive::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:14px;border-radius:99px;background:linear-gradient(var(--sheetline),rgba(243,243,241,.55))}
.dive-end{display:block;font:500 12px/1 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--sheetmute);padding:8px 0}
.routes{list-style:none;margin:0;padding:0}
.routes li{display:grid;grid-template-columns:64px minmax(0,15em) minmax(0,1fr) auto;gap:8px 24px;align-items:baseline;padding:20px 0;border-top:1px solid var(--sheetline)}
.routes li:last-child{border-bottom:1px solid var(--sheetline)}
.routes li:nth-child(2){padding-left:24px}.routes li:nth-child(3){padding-left:48px}.routes li:nth-child(4){padding-left:72px}.routes li:nth-child(5){padding-left:96px}
.rn{font:500 13px var(--mono);color:var(--sheetmute)}
.routes b{font:500 clamp(20px,2vw,26px)/1.2 var(--sans);letter-spacing:-.03em;color:var(--sheetfg)}
.rt{color:var(--sheetmute);font-size:15px}
.rg{font:500 12px var(--mono);color:var(--sheetfg);border:1px solid var(--sheetline);border-radius:99px;padding:5px 12px;white-space:nowrap}
.breath.catch{margin-top:0}
/* the working form: required by default, optional marked, hint under the label, honeypot hidden */
form label .opt{color:var(--sheetmute);font-weight:400}
form label .hint{font:400 13px var(--sans);letter-spacing:0;color:var(--sheetmute);margin-top:-4px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-sheet form{position:relative}
.form-sheet .note a{color:var(--sheetfg)}
/* footer: brand, links, note */
.foot .fb{font-size:15px;margin-right:0;color:var(--sheetfg)}
.foot .fb i{width:30px;height:24px;background:var(--sheetfg)}
.fnote{font-size:13px}
@media (max-width:820px){
  .dive{padding-left:32px;margin:40px 0 80px}
  .routes li,.routes li:nth-child(n){grid-template-columns:48px minmax(0,1fr);padding-left:0}
  .routes .rt,.routes .rg{grid-column:2}
  .routes .rg{justify-self:start}
  .wtabs{margin-left:6px}
}
/* the sources: one hairline grid by region, rendered from the live source list */
.srcs{margin-top:56px}
.srcs-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;align-items:baseline;margin-bottom:16px}
.srcs-head code{font:500 12px var(--mono);color:var(--mute)}
.srcs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line)}
.srcs-col{padding:20px 24px 24px 0;border-right:1px solid var(--hair)}
.srcs-col+.srcs-col{padding-left:24px}
.srcs-col:last-child{border-right:0}
.srcs-col h3{font:500 12px/1.2 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--mute);margin:0 0 14px}
.srcs-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.srcs-col li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;font-size:14px;line-height:1.4}
.srcs-col li b{font:500 12px/1.6 var(--mono);color:var(--fg)}
.srcs-col li span{color:var(--mute)}
.srcs-note{margin-top:16px}
@media (max-width:900px){.srcs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.srcs-col:nth-child(2){border-right:0}.srcs-col:nth-child(3){padding-left:0}}
@media (max-width:560px){.srcs-grid{grid-template-columns:minmax(0,1fr)}.srcs-col,.srcs-col+.srcs-col{padding:16px 0;border-right:0;border-bottom:1px solid var(--hair)}}

/* the request form's server states: errors (422), rate limited (429), sent (303 to /?sent=1) */
.form-error{grid-column:1/-1;margin:0;padding:12px 16px;border-radius:12px;border:1px solid rgba(255,154,143,.5);background:rgba(192,53,43,.16);color:var(--sheetfg);font:400 15px/1.45 var(--sans)}
form .err{font:400 13px/1.4 var(--sans);letter-spacing:0;color:#ff9a8f}
form .bad input,form .bad textarea{border-color:#ff9a8f}
.form-done{display:flex;flex-direction:column;gap:16px;padding:40px;border-radius:24px;border:1px solid var(--sheetline);background:rgba(243,243,241,.04)}
.form-done .redline{margin:0}
.form-done .breath{max-width:24ch}
.form-done:focus{outline:none}
/* the ticker moves by script (landing.js); without it the line stands still */
.tk{will-change:transform}
/* figures that roll once (landing.js): tabular so the width does not jump */
.big,.tot b{font-variant-numeric:tabular-nums}
/* legal pages: one column of text on paper, with the same bar and footer */
.legal-main{padding:64px 0 128px}
.legal-main h1{font-size:clamp(40px,6vw,72px);line-height:.98;letter-spacing:-.05em;margin:0 0 32px}
.legal-main h2{font-size:22px;letter-spacing:-.02em;margin:40px 0 12px}
.legal-main p,.legal-main li{max-width:68ch;color:var(--fg)}
.legal-main a{text-underline-offset:4px}
