
@font-face{font-family:"Space Grotesk";src:url(/assets/space-600.woff2) format("woff2");font-weight:600 700;font-display:swap}
@font-face{font-family:Manrope;src:url(/assets/manrope-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url(/assets/manrope-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/assets/mono-400.woff2) format("woff2");font-weight:400;font-display:swap}

:root{
  --cjk:"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;
  --dis:"Space Grotesk",var(--cjk);--bod:Manrope,var(--cjk);--mon:"JetBrains Mono",ui-monospace,var(--cjk);
  --shell:74rem;--gut:2.75rem;
  /* paper */
  --bg:#f1eee7;--bg-2:#eae6dc;--bg-3:#faf8f4;
  /* The footer used to be #17171a in light mode -- the dark theme's footer on
     a cream page, under a band that was also near-black. Of 15 comparable
     sites with a light page, 12 keep the footer on the same paper (Tapbots,
     Iconfactory, Bear, Rogue Amoeba, Cultured Code, Ragic, iCook, 臺灣吧,
     SPARKFUL, Tally, Notion, iCHEF); only 3 drop a dark slab (Flexibits, KDAN,
     綠藤), and none of those three put a second dark field above it. The band
     is the transition; the footer is where the page lands. */
  --bg-4:#eae6dc;
  --fg:#191817;--fg-2:#57544e;--fg-3:#656158;--fg-inv:#191817;--fg-inv-2:#57544e;
  --foot-line:#1918171f;--foot-focus:#1f3a31;--focus:#1f3a31;
  --line:#1918171f;--line-2:#1918178c;
  /* the company's own colour. products keep theirs -- see .p-* below.
     deep enough to read as settled rather than loud; it has to sit next to
     Keeva's terracotta for years without either one winning. */
  --co:#1f3a31;--co-ink:#172c25;--on-co:#f2efe8;
  /* the band and the sign are the two large colour fields, and they are not
     the button colour. --co has to stay deep enough to carry white text at
     small sizes; a field the height of a screen does not, and holding both to
     one token is what put a 0.0354-luminance slab directly above a
     0.0087-luminance footer -- 1.45:1, two black shapes with a seam. */
  --band:#31604f;--on-band:#f2efe8;--band-edge:#26503f;
  --sign:#31604f;--sign-hole:#1d3a30;
}
:root[data-theme="dark"]{
  --bg:#141416;--bg-2:#1a1a1d;--bg-3:#1f1f23;--bg-4:#0e0e10;
  --fg:#ecebe8;--fg-2:#a4a29d;--fg-3:#8f8c86;--fg-inv:#ecebe8;--fg-inv-2:#8d8a84;
  --foot-line:#ecebe81f;--foot-focus:#7fae99;--focus:#7fae99;
  --line:#ecebe81f;--line-2:#ecebe870;
  --co:#427561;--co-ink:#4d8770;--on-co:#f2efe8;
  --band:#223f34;--on-band:#e6ebe8;--band-edge:#2f5546;
  /* --co is boxed in: white text needs 4.5:1 and the fill needs 3:1 against
     the lifted surface, and #427561 is very nearly the only value that clears
     both -- every desaturation tried drops one of them. The sign carries no
     interactive meaning, so it is free of the 3:1 floor and can be the muted
     green --co is not allowed to be. */
  --sign:#3d5b50;--sign-hole:#26382f;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#141416;--bg-2:#1a1a1d;--bg-3:#1f1f23;--bg-4:#0e0e10;
  --fg:#ecebe8;--fg-2:#a4a29d;--fg-3:#8f8c86;--fg-inv:#ecebe8;--fg-inv-2:#8d8a84;
  --foot-line:#ecebe81f;--foot-focus:#7fae99;--focus:#7fae99;
  --line:#ecebe81f;--line-2:#ecebe870;
  --co:#427561;--co-ink:#4d8770;--on-co:#f2efe8;
  --band:#223f34;--on-band:#e6ebe8;--band-edge:#2f5546;
  --sign:#3d5b50;--sign-hole:#26382f;
}}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-padding-top:11rem}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}
}
body{background:var(--bg);color:var(--fg);font-family:var(--bod);font-size:16px;line-height:1.7;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
.shell{max-width:var(--shell);margin:0 auto;padding:0 var(--gut)}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--dis);font-weight:600;letter-spacing:-.03em;line-height:1.1}
/* Latin display metrics do not transfer to Han: 1.1 overflows the line box
   by 10.5px, -.03em crams fixed-pitch glyphs, and Noto Sans TC 600 has a
   6px stem against Space Grotesk 600's 7px -- 700 measures 7px exactly. */
:lang(zh-Hant) h1,:lang(zh-Hant) h2,:lang(zh-Hant) h3{
  font-weight:700;letter-spacing:0;line-height:1.35}
.eb{font-family:var(--mon);font-size:12px;letter-spacing:2.4px;color:var(--fg-3)}
/* 2.4px of tracking on Han characters renders as 怎 麼 做 到 */
.eb:lang(zh-Hant),:lang(zh-Hant) .foot h3,
:lang(zh-Hant) .doc-updated,:lang(zh-Hant) .foot .bar span,
:lang(zh-Hant) .panel dt,:lang(zh-Hant) .legal-pair,
.legal-pair [lang="zh-Hant"],.foot .bar [lang="zh-Hant"],
.lang a[lang="zh-Hant"]{letter-spacing:.08em}
.eb{margin-bottom:1rem}

/* ---- theme + language controls ---- */
.lang{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.lang a{font-family:var(--mon);font-size:12px;letter-spacing:1.4px;color:var(--fg-3);
  /* 30x31 and 32x32 clear WCAG 2.2 AA at 24x24 and miss AAA at 44x44, and a
     reader on a phone reported missing them. The row they sit in is a fixed
     68px, so 44 costs no header height -- the space was already there. */
  display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 10px;transition:background .15s,color .15s}
.lang a:hover{color:var(--fg);background:color-mix(in srgb,var(--fg) 6%,transparent)}
.lang a[aria-current]{color:var(--fg);background:color-mix(in srgb,var(--fg) 8%,transparent)}
.tt{display:grid;place-items:center;width:44px;height:44px;padding:0;cursor:pointer;
  background:none;border:1px solid var(--line);border-radius:5px;color:var(--fg-3);
  transition:color .15s,border-color .15s}
.tt:hover{color:var(--fg);border-color:var(--line-2)}
.tt svg{width:15px;height:15px;display:none}
.tt[data-mode="auto"] .i-auto,.tt[data-mode="light"] .i-light,.tt[data-mode="dark"] .i-dark{display:block}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:3px}
/* The band CTA sat on --co, which DESIGN.md calls the button colour rather
   than the field colour -- and outline-offset puts both sides of the ring on
   band ground, so it measured 1.71:1 in light and 2.16:1 in auto-dark. The
   band already carries a colour guaranteed to read on it. */
.band :focus-visible{outline-color:var(--on-band)}
/* deep pine measured 1.33:1 on the old dark footer, hence the mint. The
   light footer is paper now, so it takes the ordinary brand outline again. */
.foot :focus-visible{outline-color:var(--foot-focus)}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--co);color:var(--on-co);
  padding:.7rem 1.1rem;border-radius:0 0 5px 0}
.skip:focus{left:0}
/* announced but never drawn: the live region and any other text that is
   for a screen reader only */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
main:focus{outline:none}
main:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}

/* ---- topbar ---- */
.top{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--bg) 86%,transparent);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.top .shell{display:flex;align-items:center;gap:26px;height:68px}
.brand{display:flex;align-items:baseline;gap:11px}
.wm{font-family:var(--dis);font-weight:600;font-size:20px;letter-spacing:-.025em}
.brand small{font-size:12px;color:var(--fg-3);font-weight:400}
.top nav{display:flex;gap:24px;margin-left:auto;font-size:14px;color:var(--fg-2)}
/* WCAG 2.2 target size: these measured 23px tall before the padding */
.top nav a{display:inline-flex;align-items:center;min-height:24px;padding:.35rem 0}
.top nav a:hover{color:var(--fg)}
.tools{display:flex;align-items:center;gap:10px}
.lang{font-family:var(--mon);font-size:12px;letter-spacing:1.4px;color:var(--fg-3);
  border:1px solid var(--line);border-radius:4px  /* the padding here was for an older pill that held plain text. The two
     links inside now carry their own 44px targets and padding, so it was
     padding a box whose contents already had padding -- 12px of height
     nobody asked for. */}
.lang b{color:var(--fg);font-weight:400}
.btn{display:inline-flex;align-items:center;gap:8px;font-size:14px;padding:11px 20px;border-radius:5px;
  border:1px solid var(--line-2);color:var(--fg);transition:background .15s,border-color .15s}
.btn:hover{border-color:var(--fg-3)}
.btn--sm{padding:8px 15px;font-size:13px;min-height:44px}  /* the pill and the theme button beside it are 44 square for the same
     reason this is: three controls in a row, one of them 40, looked like
     an accident and was the only one still short of the target size. */
.btn--fill{background:var(--co);border-color:var(--co);color:var(--on-co);font-weight:600}
.btn--fill:hover{background:var(--co-ink);border-color:var(--co-ink)}

/* ---- hero ---- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.grain{position:absolute;inset:0;opacity:.55;mix-blend-mode:multiply;pointer-events:none}
:root[data-theme="dark"] .grain{opacity:.3;mix-blend-mode:screen}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .grain{opacity:.3;mix-blend-mode:screen}}
.hero .shell{position:relative;z-index:2;display:grid;grid-template-columns:1.02fr .98fr;
  gap:3rem;align-items:center;padding-top:5.5rem;padding-bottom:5.5rem;min-height:33rem}
.hero h1{font-size:clamp(2.4rem,4.4vw,3.55rem)}
.hero .sub{color:var(--fg-2);margin-top:1.15rem;font-size:1.05rem;max-width:34ch}
:lang(zh-Hant) .hero .sub{max-width:22em}
:lang(zh-Hant) .foot p{max-width:20em}
:lang(zh-Hant) .band p{max-width:26em}
:lang(zh-Hant) .page-head .lede{max-width:30em}
.hero .cta{display:flex;gap:.75rem;margin-top:2rem;flex-wrap:wrap}
.hero .eb{margin-bottom:1.35rem}

/* the sign: the company as one object you could hang on a door */
.signwrap{position:relative;display:grid;place-items:center;min-height:26rem}
.sign{position:relative;z-index:3;width:17.5rem;max-width:100%;aspect-ratio:1/1.08;background:var(--sign);
  border-radius:14px;padding:3.1rem 2.1rem 2.4rem;display:flex;flex-direction:column;
  justify-content:center;align-items:center;transform:rotate(-3deg);
  box-shadow:0 42px 64px -20px #19181759,0 4px 12px #1918172e}
.sign .hole{position:absolute;top:1.15rem;left:50%;transform:translateX(-50%);width:26px;height:10px;
  border-radius:6px;background:var(--sign-hole);box-shadow:inset 0 2px 3px #00000059}
.sign .n1{font-family:var(--dis);font-size:2.4rem;letter-spacing:-.045em;color:var(--on-co);line-height:1}

/* blank rounded squares: the shape of an app icon, with nothing claimed inside */
.slot{position:absolute;border-radius:22%;box-shadow:0 22px 38px -14px #1918172e;z-index:1;
  background-image:var(--sl)}
/* these were fixed pastel gradients with no dark variant, which made them the
   brightest objects on a 0.007-luminance page. They now follow the theme. */
:root{--sl1:linear-gradient(150deg,#ded3ac,#c2b385);--sl2:linear-gradient(150deg,#bccbc1,#93a89b);
  --sl3:linear-gradient(150deg,#c3c9d6,#98a1b4);--sl4:linear-gradient(150deg,#ddbba7,#c1937b)}
:root[data-theme="dark"]{--sl1:linear-gradient(150deg,#443f2e,#2f2c1f);--sl2:linear-gradient(150deg,#31413a,#212c27);
  --sl3:linear-gradient(150deg,#343a48,#232833);--sl4:linear-gradient(150deg,#453329,#2f231c)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --sl1:linear-gradient(150deg,#443f2e,#2f2c1f);--sl2:linear-gradient(150deg,#31413a,#212c27);
  --sl3:linear-gradient(150deg,#343a48,#232833);--sl4:linear-gradient(150deg,#453329,#2f231c)}}
.s1{width:7.2rem;height:7.2rem;left:2%;top:6%;--sl:var(--sl1);transform:rotate(-13deg)}
.s2{width:5.4rem;height:5.4rem;right:4%;top:2%;--sl:var(--sl2);transform:rotate(10deg)}
.s3{width:6.4rem;height:6.4rem;right:-3%;bottom:3%;--sl:var(--sl3);transform:rotate(-7deg)}
/* one slot in front of the sign, kept clear of the type, so the stack has depth */
.s4{width:4.4rem;height:4.4rem;left:1%;bottom:9%;--sl:var(--sl4);transform:rotate(17deg);z-index:4}

/* ---- facts ---- */
.creed{border-bottom:1px solid var(--line);background:var(--bg);padding:5.5rem 0 6rem}
.creed .shell{max-width:44rem}
.creed p{font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.6;letter-spacing:-.005em}
.creed p+p{margin-top:.55rem;color:var(--fg)}
.creed p:first-child{color:var(--fg-2)}

/* ---- generic section ---- */
.sec{padding:6rem 0;border-bottom:1px solid var(--line)}
.sec--tint{background:var(--bg-2)}
.sec--lift{background:var(--bg-3)}

/* section 2: image left, copy right -- the mirror of the hero. */
.mech{position:relative;overflow:hidden}
.mech .shell{display:grid;grid-template-columns:1.02fr .98fr;gap:4.5rem;align-items:center}
/* a 1fr track takes min-width:auto from its contents; without this the
   figure's fixed-width bars set a 313px floor and broke reflow at 320 */
.mech .shell>*{min-width:0}
.mech h2{font-size:clamp(1.75rem,2.8vw,2.35rem);margin-top:.9rem}
.pts{margin-top:2.5rem}
.pts div{padding:1.35rem 0;border-top:1px solid var(--line)}
.pts div:last-child{border-bottom:1px solid var(--line)}
.pts h3{font-size:1.2rem}
.pts p{color:var(--fg-2);font-size:.97rem;margin-top:.3rem;max-width:68ch}

/* the build panel: an abstract work surface that writes itself. No product is
   depicted, because none exists yet. */
/* deliberately NOT window-shaped: three dots and a title bar would read as a
   mocked-up app, on a site whose copy refuses to show what isn't built. This is
   a figure with a caption -- a diagram convention, not a UI one. */
.build{margin:0}
.build{position:relative}
.build .pl{display:block;width:100%;height:auto;border-radius:14px;
  border:1px solid var(--line);box-shadow:0 18px 44px #1918170f}
.build .pl--night{position:absolute;inset:0;opacity:0}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .build .pl--day{opacity:0}
  :root:not([data-theme="light"]) .build .pl--night{opacity:1}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .build .pl{border-color:transparent;box-shadow:none}}
[data-theme="dark"] .build .pl{border-color:transparent;box-shadow:none}
[data-theme="light"] .build .pl{border-color:var(--line)}
[data-theme="dark"] .build .pl--day{opacity:0}
[data-theme="dark"] .build .pl--night{opacity:1}
[data-theme="light"] .build .pl--day{opacity:1}
[data-theme="light"] .build .pl--night{opacity:0}
.build figcaption{font-family:var(--mon);font-size:12px;letter-spacing:2px;
  text-transform:uppercase;color:var(--fg-3);margin-top:1.5rem;padding-left:1.35rem}
@keyframes wline{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes cursor{0%,50%{opacity:0}50.01%,100%{opacity:1}}
@media (prefers-reduced-motion:reduce){
    }

/* product: the icon carries the section, the way Things and Panic do it */
.prod{text-align:center}
.prod-block{position:relative;overflow:hidden}
.prod-block .halo{position:absolute;left:50%;top:14rem;width:52rem;height:52rem;transform:translate(-50%,-50%);
  background:radial-gradient(circle,color-mix(in srgb,var(--p) 13%,transparent),transparent 62%);pointer-events:none}
.prod-icon{width:11rem;height:11rem;border-radius:24.5%;box-shadow:0 32px 52px -18px #19181745,0 3px 8px #1918171f}
.prod h2{font-size:clamp(2.2rem,3.6vw,3rem);margin-top:1.75rem}
.prod-shot{display:block;width:min(21rem,76vw);height:auto;margin:2.75rem auto 0}
/* The button used to carry the space under the shot; without it the block
   sat 34px lighter at the bottom than at the top. */
.prod-shot:last-child{margin-bottom:2.1rem}
.prod .tag{color:var(--fg-2);margin-top:.7rem;font-size:1.05rem}
.chip{display:inline-flex;align-items:center;gap:.55rem;margin-top:1.35rem;font-size:13px;font-weight:600;
  padding:.5rem 1rem;border-radius:999px;background:color-mix(in srgb,var(--p) 13%,transparent);color:var(--p-ink)}
.chip i{width:6px;height:6px;border-radius:99px;background:var(--p)}
.prod-notify{margin:1.1rem auto 0;font-size:14px;color:var(--fg-2);max-width:34ch}
.spec{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:3.25rem;text-align:left}
.spec div{background:var(--bg-3);padding:1.15rem 1.25rem}
.spec dt{font-family:var(--mon);font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--fg-3)}
.spec dd{margin-top:.3rem;font-size:.95rem;font-weight:600}
/* product colour scopes are generated from products.py */
.p-keeva{--p:#b8482a;--p-ink:#9c3a20}
:root[data-theme="dark"] .p-keeva{--p:#e07a55;--p-ink:#eb9070}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .p-keeva{--p:#e07a55;--p-ink:#eb9070}}

/* name */

/* registry */
.panel{border:1px solid var(--line-2);border-radius:10px;background:var(--bg-3);overflow:hidden}
.panel .rows{padding:.5rem 2rem}
.panel .rows div{display:grid;grid-template-columns:11rem 1fr;gap:1.5rem;padding:1.1rem 0}
.panel .rows div+div{border-top:1px solid var(--line)}
.panel dt{font-family:var(--mon);font-size:12px;letter-spacing:1.8px;text-transform:uppercase;color:var(--fg-3)}
.panel dd{font-size:1rem}
.panel dd a{display:inline-flex;align-items:center;min-height:24px}

/* footer */
.foot{background:var(--bg-4);color:var(--fg-inv);padding:4.5rem 0 2.25rem}
.foot .cols{display:grid;grid-template-columns:1.4fr repeat(2,1fr);gap:3rem}
.foot .wm{color:var(--fg-inv)}
.foot p{color:var(--fg-inv-2);font-size:.9rem;margin-top:1rem;max-width:34ch}
.foot h3{font-family:var(--mon);font-size:12px;letter-spacing:2.2px;text-transform:uppercase;
  color:var(--fg-inv-2);font-weight:400;margin-bottom:1rem}
.foot li{list-style:none;margin-bottom:.35rem;font-size:.92rem}
.foot li a{display:inline-flex;align-items:center;min-height:24px;padding:.2rem 0}
.foot li a{color:var(--fg-inv);opacity:.82}
.foot li a:hover{opacity:1}
.foot .bar{margin-top:3.25rem;padding-top:1.5rem;border-top:1px solid var(--foot-line);
  display:flex;justify-content:space-between;gap:1rem;font-family:var(--mon);font-size:12px;
  letter-spacing:1.8px;text-transform:uppercase;color:var(--fg-inv-2)}
.foot .bar span:last-child{white-space:nowrap}

/* atmosphere band -- the one section carrying no information. It is a colour
   field, not a dark surface: at the brand's full strength it measured 1.45:1
   against the footer directly beneath it, so the bottom of every light page
   was two black shapes with a seam between them. Both themes now sit above
   their footer rather than beside it. */
.band{position:relative;overflow:hidden;background:var(--band);color:var(--on-band);
  padding:7.5rem 0;border-top:1px solid var(--band-edge);border-bottom:1px solid var(--band-edge)}
.band .shell{position:relative;z-index:3}
.band h2,.band .shell>p{max-width:34rem}
.band .eb{color:color-mix(in srgb,var(--on-band) 58%,transparent);margin-bottom:1.6rem}
.band h2{font-size:clamp(1.9rem,3.4vw,2.6rem);max-width:19ch}
:lang(zh-Hant) .band h2{max-width:15em}
/* 76% and 72% were set against a band at 0.0354 luminance. Lifting the band to
   0.0958 took the paragraph to 4.40:1 -- verify.py caught it in light mode
   only, which is exactly the pair of numbers a dark-only luminance check
   cannot reason about. The hierarchy between the two lines is kept. */
.band p{margin-top:1.6rem;max-width:48ch;font-size:1.1rem;line-height:1.8;
  color:color-mix(in srgb,var(--on-band) 84%,transparent)}
/* a meridian drawn through a sphere: decoration that means something */
.band-mail{margin-top:2.4rem;font-size:1rem;
  color:color-mix(in srgb,var(--on-band) 82%,transparent)}
.band .btn--fill{background:var(--on-band);border-color:var(--on-band);color:var(--band);
  margin-top:1.4rem}
.band .btn--fill:hover{background:color-mix(in srgb,var(--on-band) 88%,var(--band));
  border-color:color-mix(in srgb,var(--on-band) 88%,var(--band))}
.band .ring{position:absolute;right:2rem;top:50%;width:22rem;height:22rem;z-index:1;
  transform:translateY(-50%);border-radius:50%;pointer-events:none;
  border:1px solid color-mix(in srgb,var(--on-band) 30%,transparent)}
.band .ring:after{content:"";position:absolute;inset:0;border-radius:50%;
  border-left:1px solid color-mix(in srgb,var(--on-band) 30%,transparent);
  border-right:1px solid color-mix(in srgb,var(--on-band) 30%,transparent);
  transform:scaleX(.42)}
.band .ring:before{content:"";position:absolute;left:50%;top:-3.5rem;bottom:-3.5rem;width:1px;
  background:linear-gradient(180deg,transparent,
    color-mix(in srgb,var(--on-band) 42%,transparent) 26%,
    color-mix(in srgb,var(--on-band) 42%,transparent) 74%,transparent)}

/* closing call to action */

/* company page */
.page-head{padding-top:.5rem}
.page-head h1{font-size:clamp(2.1rem,4vw,3.4rem)}
.page-head .lede{color:var(--fg-2);margin-top:1.4rem;max-width:56ch;font-size:1.08rem}
.page-head .legal-pair{font-family:var(--mon);font-size:12px;letter-spacing:1.6px;}
:lang(zh-Hant) .page-head .legal-pair,.page-head .legal-pair [lang="zh-Hant"]{letter-spacing:.08em}
.page-head .legal-pair{
  color:var(--fg-3);margin-top:1rem}
@media(max-width:900px){
  .band .ring{display:none}.band h2{max-width:none}
  .mech .shell{grid-template-columns:1fr;gap:2.5rem}
  /* these sat on top of the sign's own labels once the column collapsed */
  .s3,.s4{display:none}
  .sign{width:min(20rem,100%)}}
/* Han characters are square, so a nine-character line needs nine times the
   font size and the clamp's rem floor stopped scaling before it fitted --
   「一張還在畫的星圖。」 broke after the eighth character, orphaning 圖 and its
   full stop on a line of their own. Latin wraps at spaces and does not care,
   so this is scoped to the script that has the problem. */
@media(max-width:520px){:lang(zh-Hant) .hero h1{font-size:8.4vw}}
@media(max-width:400px){.hero h1{font-size:8.4vw}}

/* ---- long-form legal pages ---- */
/* one measure for both scripts, so switching language does not resize the
   column inside a header and footer that stay put */
.doc{max-width:46rem;margin:0 auto}
:lang(en) .doc{max-width:32rem}
.doc-updated{font-family:var(--mon);font-size:12.5px;letter-spacing:2px;color:var(--fg-3);
  margin-top:1.1rem}
/* 404's exits were indistinguishable from headings. Underline on the link
   itself, and the whole card is the target rather than the few characters
   of its title. */
.pts h3 a{text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:#19181766;text-decoration-thickness:1px}
.pts h3 a:hover{text-decoration-color:currentColor}
.pts>div{position:relative}
.pts h3 a::after{content:'';position:absolute;inset:0}
/* Inline links in body prose sat at 22px against a 44px touch floor -- on
   the support page, of all places, whose job is hearing that something
   could not be tapped. Padding buys the target without moving the text. */
.doc p a,.panel a,.foot .bar a{display:inline-block;padding:.55rem 0;margin:-.55rem 0}
.doc section{margin-top:3.25rem}
.doc h2{font-size:1.3rem;margin-bottom:1rem}
.doc p{color:var(--fg-2);margin-top:1rem}
.doc a{color:var(--fg);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--line-2)}
.doc a:hover{text-decoration-color:var(--fg)}
.doc code{font-family:var(--mon);font-size:.88em;background:color-mix(in srgb,var(--fg) 7%,transparent);
  padding:.1em .4em;border-radius:3px;color:var(--fg)}
.doc-list,.doc-ol{color:var(--fg-2);margin-top:1rem;padding-left:1.3rem}
.doc-list li,.doc-ol li{margin-top:.5rem}
.doc-list{list-style:disc}.doc-ol{list-style:decimal}
.doc-dl{margin-top:1.25rem;border-top:1px solid var(--line)}
.doc-dl dt{font-weight:600;font-size:.95rem;padding-top:1rem}
.doc-dl dd{color:var(--fg-2);font-size:.95rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}

@media print{
  /* the privacy policy and the company details are the pages that get printed
     for a bank or a platform review */
  .top,.foot,.skip,.tt,.lang,.btn,.grain,.signwrap,.build,.band .ring{display:none!important}
  body{background:#fff;color:#000;font-size:11pt}
  .shell{max-width:none;padding:0}
  .sec{padding:1.5rem 0;border:0}
  .doc,.doc p,.panel dd{color:#000;max-width:none}
  .panel{border:1px solid #999;break-inside:avoid}
  a{color:#000;text-decoration:underline}
  a[href^="http"]::after,a[href^="/"]::after{content:" (" attr(href) ")";font-size:9pt;color:#555}
  h1,h2,h3{break-after:avoid}
}
@media(max-width:560px){
  /* one nowrap flex row broke the legal name around the location at 320px */
  .foot .bar{flex-direction:column;gap:.5rem}
  .foot .bar span:last-child{white-space:normal}
}
@media(max-width:760px){
  /* Three rows -- brand, controls, nav -- came to 176px, a fifth of a 375px
     screen and a third of a 320px one, held there on every page. Enlarging the
     tap targets to 44 made it worse, so this is paying that back. Not sticky
     below 760: the cost becomes one scroll past rather than a permanent window
     two thirds the height of the phone. The nav is in the footer too, so
     nothing becomes unreachable, and above 760 the header still follows. */
  .top{position:static}

  /* the register table hard-codes an 11rem label column, which left 139px for
     hello@meriena.com and clipped it inside overflow:hidden */
  .panel .rows{padding:.5rem 1.25rem}
  .panel .rows div{grid-template-columns:1fr;gap:.3rem}
  .panel dd{overflow-wrap:anywhere}
  /* one flex row cannot hold brand + nav + tools at phone widths; wrap the nav
     onto its own line rather than letting it push the page sideways */
  .top .shell{height:auto;flex-wrap:wrap;gap:.55rem 1rem;
    padding-top:.7rem;padding-bottom:.7rem}
  .brand{flex:1 1 auto;min-width:0}
  .brand small{display:none}
  .tools{order:2;flex:none}
  .top nav{order:3;flex:1 0 100%;margin-left:0;gap:1.3rem;font-size:13.5px;
    border-top:1px solid var(--line);padding-top:.6rem}
}
@media(max-width:900px){
  :root{--gut:1.5rem}
  .hero .shell{grid-template-columns:1fr}
  .creed{padding:3.75rem 0 4rem}
    .spec{grid-template-columns:1fr 1fr}
    .foot .cols{grid-template-columns:1fr}
}
