/* shared stylesheet for every page of the company site */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-wdth.woff2) format('woff2-variations'), url(/fonts/archivo-wdth.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/source-serif-4-italic.woff2) format('woff2'); }
:root {
  --paper: #EDF1F5;      /* drafting table */
  --sheet: #FFFFFF;      /* drawing sheet */
  --ink: #18222F;        /* drawing ink */
  --muted: #566577;
  --rule: #C9D3DE;
  --grid: #E3E9EF;
  --hot: #E8761A;        /* hot water, as in the app */
  --anti: #2A9D8F;       /* antifreeze, as in the app */
  --chw: #2F6FB5;        /* chilled water */
  --sans: 'Archivo', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  --serif: 'Source Serif 4', 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="ko"] body { word-break: keep-all; }   /* Korean wraps between words, not inside them */
html[lang="ko"] .hero h1 { max-width: 10.5em; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }   /* the hidden attribute always wins over display rules */
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--chw); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(237, 241, 245, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-stretch: 88%; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.mark svg { width: 34px; height: 34px; flex: none; }
nav.links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--ink); border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
nav.links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--hot); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--ink); }
.lang { background: none; border: 1px solid var(--rule); border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; border-radius: 7px; padding: 11px 20px; font-size: 16px; white-space: nowrap; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #26354a; }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.small { padding: 7px 14px; font-size: 14px; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero h1 { margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; font-weight: 700; font-stretch: 78%; letter-spacing: -.015em; max-width: 13ch; }
.hero .lead { margin: 0 0 22px; font-size: 18px; color: #2c3a4b; max-width: 46ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* the drawing sheet */
.sheet { position: relative; margin-top: 44px; background: var(--sheet); border: 1.5px solid var(--ink); padding: 14px; }
.sheet .frame { position: relative; border: 1px solid var(--ink); padding: 36px 36px 120px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.sheet .drawing { position: relative; }
.sheet .drawing svg { display: block; width: 100%; height: auto; }
.sheet .zone { position: absolute; font-size: 11px; color: var(--muted); font-stretch: 85%; }
.titleblock { position: absolute; right: -1px; bottom: -1px; display: grid; grid-template-columns: auto auto auto auto; border: 1px solid var(--ink); background: var(--sheet); font-size: 13px; line-height: 1.3; }
.titleblock div { padding: 6px 12px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.titleblock .k { color: var(--muted); font-size: 11px; display: block; }
.titleblock .wide { grid-column: span 4; border-top: 0; font-weight: 650; font-stretch: 85%; font-size: 15px; }
.titleblock div:nth-child(2), .titleblock div:nth-child(1) { border-left: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .sheet .drawing svg { clip-path: inset(0 100% 0 0); animation: plot 2.4s cubic-bezier(.45, .05, .3, 1) .35s forwards; }
  .js .sheet .pen { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 1.5px solid var(--hot); left: 0; opacity: 0; animation: pen 2.4s cubic-bezier(.45, .05, .3, 1) .35s forwards; }
  @keyframes plot { to { clip-path: inset(0 0 0 0); } }
  @keyframes pen { 0% { left: 0; opacity: 1; } 96% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
}

/* sections */
section.band { padding: 88px 0; border-top: 1px solid var(--rule); }
section.band h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; font-stretch: 82%; letter-spacing: -.01em; max-width: 22ch; }
section.band .intro { margin: 0 0 40px; color: #2c3a4b; max-width: 62ch; }

/* figures */
.figs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
figure { margin: 0; }
figure .plate { background: var(--sheet); border: 1px solid var(--rule); padding: 18px; }
figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.45; color: #2c3a4b; max-width: 60ch; }
figcaption b { font-style: normal; font-family: var(--sans); font-weight: 650; font-size: 14px; margin-right: 6px; }
.figs .full { grid-column: 1 / -1; }

/* steps: a real sequence */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
ol.steps li { padding: 22px 26px 6px 0; }
ol.steps li + li { padding-left: 26px; border-left: 1px solid var(--rule); }
ol.steps .num { display: block; font-size: 54px; line-height: 1; font-weight: 300; font-stretch: 70%; color: var(--muted); margin-bottom: 14px; }
ol.steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; font-stretch: 90%; }
ol.steps p { margin: 0; color: #2c3a4b; }

/* fit */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1.5px solid var(--ink); background: var(--sheet); }
.fit > div { padding: 28px 32px; }
.fit > div + div { border-left: 1.5px solid var(--ink); }
.fit h3 { margin: 0 0 12px; font-size: 19px; font-weight: 650; font-stretch: 90%; }
.fit ul { margin: 0; padding-left: 20px; } .fit li { margin: 6px 0; }
.fit .ours h3::before { content: ''; display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--hot); vertical-align: middle; margin-right: 10px; }
.fit .bim h3::before { content: ''; display: inline-block; width: 22px; height: 0; border-top: 3px dashed var(--muted); vertical-align: middle; margin-right: 10px; }

/* trust */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.trust h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; font-stretch: 90%; }
.trust p { margin: 0; color: #2c3a4b; }

/* faq */
.faq { max-width: 820px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 20px; color: #2c3a4b; max-width: 66ch; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about p { margin: 0 0 14px; color: #2c3a4b; max-width: 60ch; }
.contact { background: var(--sheet); border: 1.5px solid var(--ink); padding: 26px 28px; }
.contact h3 { margin: 0 0 6px; font-size: 19px; font-weight: 650; font-stretch: 90%; }
.contact p { margin: 0 0 16px; color: #2c3a4b; }
.contact a.mail { font-weight: 600; word-break: break-all; }

footer.site { border-top: 1.5px solid var(--ink); background: var(--sheet); padding: 48px 0 28px; font-size: 15px; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
footer.site h2 { margin: 0 0 10px; font-size: 14px; font-weight: 650; color: var(--ink); }
footer.site ul { list-style: none; margin: 0; padding: 0; } footer.site li { margin: 6px 0; }
footer.site a { color: var(--muted); text-decoration: none; } footer.site a:hover { color: var(--ink); text-decoration: underline; }
footer.site .about-col p { margin: 12px 0 0; max-width: 32ch; }
footer.site .mark { color: var(--ink); }
footer.site .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; }

@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  nav.links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
  nav.links.open { display: flex; }
  nav.links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 17px; }
  nav.links .lang { align-self: flex-start; margin: 14px 0 10px; }
  nav.links .btn { justify-content: center; }
  footer.site .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer.site .about-col { grid-column: 1 / -1; }
  .hero-head, .about { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .figs, .trust, .fit { grid-template-columns: minmax(0, 1fr); }
  .fit > div + div { border-left: 0; border-top: 1.5px solid var(--ink); }
  ol.steps { grid-template-columns: minmax(0, 1fr); }
  ol.steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .sheet .frame { padding: 18px 14px 110px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  header.top .wrap { gap: 10px; }
  header.top .mark span { display: none; }
  .hero { padding-top: 40px; }
  .titleblock { grid-template-columns: auto auto; left: -1px; }
  .titleblock .wide { grid-column: span 2; }
  .titleblock div:nth-child(3), .titleblock div:nth-child(5) { border-left: 0; }
  .sheet .frame { padding-bottom: 150px; }
  section.band { padding: 64px 0; }
}
.mobile-note { display: none; }
@media (max-width: 960px), (pointer: coarse) and (max-width: 1100px) { .mobile-note { display: block; } }

/* ---- inner pages ---- */
.page-head { padding: 64px 0 36px; }
.page-head .kicker { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.page-head h1 { margin: 0 0 16px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; font-stretch: 78%; letter-spacing: -.015em; max-width: 18ch; }
html[lang="ko"] .page-head h1 { max-width: 14em; }
.page-head .lead { margin: 0; font-size: 19px; color: #2c3a4b; max-width: 58ch; }
.prose p { margin: 0 0 16px; color: #2c3a4b; max-width: 64ch; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
/* facts: a title-block style table */
dl.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border: 1.5px solid var(--ink); background: var(--sheet); }
dl.facts dt, dl.facts dd { margin: 0; padding: 12px 16px; border-top: 1px solid var(--rule); }
dl.facts dt { color: var(--muted); font-size: 14px; border-right: 1px solid var(--rule); }
dl.facts dt:first-of-type, dl.facts dt:first-of-type + dd { border-top: 0; }
/* principles: plain columns with a pipe-run rule on top */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.principles > div { border-top: 3px solid var(--ink); padding-top: 16px; }
.principles > div:nth-child(2) { border-top-color: var(--hot); } .principles > div:nth-child(3) { border-top: 3px dashed var(--anti); }
.principles h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; font-stretch: 90%; } .principles p { margin: 0; color: #2c3a4b; }
/* timeline: a vertical pipe with valves */
ol.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; max-width: 760px; }
ol.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; border-left: 3px solid var(--hot); }
ol.timeline li { position: relative; padding: 0 0 28px; }
ol.timeline li::before { content: ''; position: absolute; left: -29px; top: 6px; width: 14px; height: 14px; background: var(--sheet); border: 2px solid var(--ink); border-radius: 50%; }
ol.timeline li.plan::before { border-style: dashed; }
ol.timeline .when { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
ol.timeline h3 { margin: 2px 0 4px; font-size: 19px; font-weight: 650; font-stretch: 90%; } ol.timeline p { margin: 0; color: #2c3a4b; max-width: 60ch; }
/* person */
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; border: 1.5px solid var(--ink); background: var(--sheet); padding: 28px; }
.person .portrait { width: 200px; height: 240px; border: 1px solid var(--ink); display: grid; place-items: center; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; }
.person .portrait span { font-size: 64px; font-weight: 300; font-stretch: 70%; color: var(--muted); }
.person h2 { margin: 0; font-size: 30px; font-weight: 700; font-stretch: 82%; } .person .role { margin: 4px 0 16px; color: var(--hot); font-weight: 650; }
.person p { margin: 0 0 12px; color: #2c3a4b; max-width: 62ch; }
.person ul.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.person ul.tags li { border: 1px solid var(--rule); border-radius: 999px; padding: 3px 12px; font-size: 14px; }
/* tables */
table.spec { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1.5px solid var(--ink); font-size: 16px; }
table.spec th, table.spec td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--rule); vertical-align: top; }
table.spec thead th { border-top: 0; border-bottom: 1.5px solid var(--ink); font-size: 14px; color: var(--muted); font-weight: 600; }
table.spec td.n { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
/* feature list */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.features > div { padding: 20px 0; border-top: 1px solid var(--rule); }
.features h3 { margin: 0 0 6px; font-size: 19px; font-weight: 650; font-stretch: 90%; } .features p { margin: 0; color: #2c3a4b; }
/* roadmap */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--ink); background: var(--sheet); }
.road > div { padding: 24px 26px; } .road > div + div { border-left: 1px solid var(--rule); }
.road h3 { margin: 0 0 4px; font-size: 19px; font-weight: 650; font-stretch: 90%; } .road .who { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.road ul { margin: 0; padding-left: 18px; } .road li { margin: 6px 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border: 1.5px solid var(--ink); background: var(--sheet); padding: 28px 32px; }
.cta-band p { margin: 0; font-size: 20px; font-weight: 650; font-stretch: 88%; }
@media (max-width: 960px) {
  .two, .principles, .features, .road { grid-template-columns: minmax(0, 1fr); }
  .road > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .person { grid-template-columns: minmax(0, 1fr); } .person .portrait { width: 140px; height: 168px; }
}

/* ---- brand (CI) page ---- */
.ci-meaning { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ci-hero { background: var(--sheet); border: 1.5px solid var(--ink); padding: 40px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.ci-hero svg { display: block; width: 100%; height: auto; max-width: 380px; margin: 0 auto; }
.ci-points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 32px; }
.ci-points h3 { margin: 0 0 6px; font-size: 19px; font-weight: 650; font-stretch: 90%; } .ci-points p { margin: 0; color: #2c3a4b; }
.ci-logos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.ci-plate { background: var(--sheet); border: 1px solid var(--rule); height: 220px; display: grid; place-items: center; padding: 28px 40px; }
.ci-plate.dark { background: var(--ink); border-color: var(--ink); }
.ci-plate > svg { width: 100%; max-width: 460px; height: auto; max-height: 160px; }
.ci-syms { display: flex; gap: 28px; align-items: center; } .ci-syms svg { width: 96px; height: 96px; display: block; }
.ci-syms .dk { background: var(--ink); padding: 10px; }
.ci-ratio { display: flex; height: 26px; border: 1.5px solid var(--ink); margin-bottom: 28px; } .ci-ratio span { display: block; }
.ci-colors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.sw .chip { display: block; height: 110px; border: 1px solid transparent; } .sw .chip.line { border-color: var(--rule); }
.sw h3 { margin: 12px 0 2px; font-size: 18px; font-weight: 650; font-stretch: 90%; } .sw p { margin: 0 0 10px; color: #2c3a4b; font-size: 14px; min-height: 3em; }
.sw dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sw dt { color: var(--muted); } .sw dd { margin: 0; }
.ci-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.ci-type { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ci-type > div { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.ci-type h3 { margin: 0 0 6px; font-size: 17px; font-weight: 650; } .ci-type p { margin: 0; color: #2c3a4b; }
.spec-a { font-size: 44px !important; font-weight: 700; font-stretch: 80%; color: var(--ink) !important; line-height: 1.1; margin-bottom: 10px !important; }
.spec-b { font-family: var(--serif); font-style: normal; font-size: 34px !important; color: var(--ink) !important; line-height: 1.25; margin-bottom: 10px !important; }
.spec-b i { font-style: italic; }
.spec-c { font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; font-size: 36px !important; font-weight: 700; color: var(--ink) !important; line-height: 1.2; margin-bottom: 10px !important; }
.prose h3 { margin: 0 0 6px; font-size: 19px; font-weight: 650; font-stretch: 90%; }
.ci-clear { background: var(--sheet); border: 1px solid var(--rule); padding: 32px; }
.ci-clear .box { outline: 1.5px dashed var(--hot); outline-offset: 22px; margin: 22px; }
.ci-clear svg { display: block; width: 100%; height: auto; }
.ci-dont-h { margin: 44px 0 16px; font-size: 19px; font-weight: 650; font-stretch: 90%; }
.ci-donts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ci-donts .d { position: relative; height: 150px; background: var(--sheet); border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; }
.ci-donts .d::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1.5px), #c62828 calc(50% - 1.5px), #c62828 calc(50% + 1.5px), transparent calc(50% + 1.5px)); }
.ci-donts .d svg { width: 84px; height: 84px; display: block; }
.ci-donts .d.busy { background: repeating-linear-gradient(45deg, #e8761a 0 10px, #2a9d8f 10px 20px, #f3c58f 20px 30px); }
.ci-donts figcaption { font-family: var(--sans); font-style: normal; font-size: 15px; }
@media (max-width: 960px) {
  .ci-meaning, .ci-points, .ci-logos, .ci-type { grid-template-columns: minmax(0, 1fr); }
  .ci-colors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ci-donts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- feedback board (/feedback/) ---------- */
.board-band { padding-top: 40px; }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.board-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip:focus-visible, .post-form :focus-visible, .post button:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.posts { border-top: 1.5px solid var(--ink); }
.post { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.post.is-hidden { opacity: .55; }
.post-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }
.tag { font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 4px; border: 1.5px solid currentColor; }
.tag.bug { color: #B42318; } .tag.idea { color: #1F7A6F; } .tag.question { color: #2F5DA8; } .tag.other { color: var(--muted); }
.tag.hid { color: var(--ink); border-style: dashed; }
.post h3 { margin: 8px 0 6px; font-size: 20px; font-weight: 650; font-stretch: 90%; line-height: 1.3; }
.post .body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #2c3a4b; }
.who { font-weight: 600; color: var(--ink); }
.verified { font-size: 12px; color: #1F7A6F; font-weight: 600; }
.reply { margin: 14px 0 0; padding: 12px 16px; background: var(--sheet); border-left: 3px solid var(--hot); }
.reply .rh { font-size: 13px; font-weight: 650; margin: 0 0 4px; }
.reply p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #2c3a4b; }
.post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.post-actions button, .linkish { font: inherit; font-size: 13px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink); cursor: pointer; }
.post-actions textarea { width: 100%; font: inherit; font-size: 15px; padding: 8px 10px; border: 1.5px solid var(--rule); border-radius: 6px; }
.muted { color: var(--muted); }
#fbMore { margin-top: 20px; }
.board-side { position: sticky; top: 88px; }
.post-form { background: var(--sheet); border: 1.5px solid var(--ink); padding: 24px; display: grid; gap: 14px; }
.post-form h2 { margin: 0; font-size: 22px; font-weight: 700; font-stretch: 85%; }
.post-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.post-form .opt { font-weight: 400; color: var(--muted); }
.post-form input, .post-form select, .post-form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 8px 10px; border: 1.5px solid var(--rule); border-radius: 6px; background: #fff; color: var(--ink); }
.post-form textarea { resize: vertical; min-height: 140px; }
.post-form label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.post-form .count { justify-self: end; font-size: 12px; font-weight: 400; color: var(--muted); }
.post-form .fine { margin: 0; font-size: 13px; color: var(--muted); }
.post-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.post-form .status { margin: 0; font-size: 14px; min-height: 1.2em; }
.status.err { color: #B42318; } .status.ok { color: #1F7A6F; }
.account { font-size: 14px; color: #2c3a4b; padding: 10px 12px; background: var(--paper); border-radius: 6px; }
.account button { margin-top: 6px; }
@media (max-width: 960px) {
  .board { grid-template-columns: 1fr; }
  .board-side { position: static; order: -1; }
}
/* board: images and replies */
.attach { display: grid; gap: 6px; font-size: 14px; border: 1.5px dashed var(--rule); border-radius: 6px; padding: 10px 12px; }
.attach.drag { border-color: var(--hot); background: #fff7ef; }
.attach-head { font-weight: 600; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--paper); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(24,34,47,.8); color: #fff; font-size: 14px; line-height: 22px; padding: 0; cursor: pointer; }
.shots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.shots a { display: block; border: 1px solid var(--rule); background: var(--sheet); }
.shots img { display: block; max-width: 220px; max-height: 160px; width: auto; height: auto; }
.comments { margin: 14px 0 0; padding-left: 16px; border-left: 2px solid var(--rule); display: grid; gap: 12px; }
.comments:empty { display: none; }
.comment { font-size: 15px; }
.comment.is-hidden { opacity: .55; }
.comment .ctop { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--muted); }
.comment p { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #2c3a4b; }
.comment .post-actions { margin-top: 6px; }
.team { font-size: 11px; font-weight: 700; color: #fff; background: var(--ink); border-radius: 4px; padding: 1px 6px; }
.reply-form { margin-top: 12px; display: grid; gap: 8px; max-width: 560px; }
.reply-form input[type=text], .reply-form textarea { font: inherit; font-size: 15px; padding: 7px 10px; border: 1.5px solid var(--rule); border-radius: 6px; background: #fff; }
.reply-form textarea { min-height: 80px; resize: vertical; }
.reply-form .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.reply-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* legal pages */
.page-head .updated { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.legal-doc .prose { max-width: 820px; }
.legal-doc h2 { margin: 36px 0 10px; font-size: 24px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; color: #2c3a4b; max-width: 64ch; } .legal-doc li { margin: 6px 0; }
.legal-doc table.spec { margin: 8px 0 18px; }
.legal-doc table.spec thead th { text-align: left; font-size: 14px; color: var(--muted); }
footer.site .legal a { color: inherit; }
/* examples gallery */
.gal-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.gal-jump a { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--sheet); text-decoration: none; }
.gal-jump a:hover { border-color: var(--ink); }
.gal-group h2 .n { font-weight: 400; color: var(--muted); font-size: .6em; margin-left: 10px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.gal-card { margin: 0; background: var(--sheet); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.gal-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 10px; border-bottom: 1px solid var(--rule); background: #fff; cursor: zoom-in; }
.gal-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gal-body { font-family: var(--sans); font-style: normal; margin: 0; max-width: none; padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.gal-body h3 { margin: 0; font-size: 18px; font-weight: 650; font-stretch: 90%; line-height: 1.3; }
.gal-body p { margin: 0; font-size: 15px; color: #2c3a4b; }
.gal-view { display: flex; gap: 6px; margin-top: 4px; }
.gal-view button { font: inherit; font-size: 13px; padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; }
.gal-view button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-view button:focus-visible, .gal-img:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.lightbox { border: 1.5px solid var(--ink); padding: 18px; max-width: min(1440px, 96vw); max-height: 94vh; background: #fff; }
.lightbox::backdrop { background: rgba(24, 34, 47, .7); }
.lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 90px); width: auto; height: auto; margin: 0 auto; }
.lightbox .lb-cap { margin: 10px 0 0; font-family: var(--serif); font-style: italic; color: #2c3a4b; }
.lb-close { position: absolute; top: 6px; right: 10px; font-size: 26px; line-height: 1; border: 0; background: none; cursor: pointer; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.cta-row p { margin: 0; font-size: 18px; }
@media (max-width: 560px) { .gal-grid { grid-template-columns: 1fr; } }
/* user guide (/docs/) */
.docs-band { padding-top: 32px; }
.docs { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.docs-toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; font-size: 14px; padding-right: 8px; }
.docs-toc ol { list-style: none; margin: 0; padding: 0; }
.docs-toc ol ol { padding-left: 14px; margin: 2px 0 8px; }
.docs-toc a { display: block; padding: 3px 0; text-decoration: none; color: var(--muted); }
.docs-toc > ol > li > a { color: var(--ink); font-weight: 600; margin-top: 6px; }
.docs-toc a:hover, .docs-toc a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: 4px; }
.docs-search { display: grid; gap: 4px; font-weight: 600; margin-bottom: 14px; }
.docs-search input { font: inherit; font-weight: 400; padding: 7px 10px; border: 1.5px solid var(--rule); border-radius: 6px; background: #fff; }
.docs-body { font-size: 16px; line-height: 1.7; color: #2c3a4b; max-width: 900px; }
.docs-body section.ch { margin: 0 0 56px; scroll-margin-top: 84px; }
.docs-body h2 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); font-size: 30px; font-weight: 700; font-stretch: 82%; color: var(--ink); }
.docs-body h3 { margin: 30px 0 8px; font-size: 21px; font-weight: 650; font-stretch: 90%; color: var(--ink); scroll-margin-top: 84px; }
.docs-body h4 { margin: 18px 0 6px; font-size: 17px; color: var(--ink); }
.docs-body figure { margin: 14px 0 20px; }
.docs-body figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--rule); background: #fff; }
.docs-body figcaption { font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--muted); margin-top: 6px; }
.docs-body ol.steps { counter-reset: st; list-style: none; padding-left: 0; }
.docs-body ol.steps > li { counter-increment: st; position: relative; padding: 4px 0 4px 38px; }
.docs-body ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--hot); color: #fff; font-weight: 700; font-size: 13px; text-align: center; line-height: 24px; }
.docs-body .see { color: #1F7A6F; font-weight: 600; }
.docs-body .see::before { content: "→ "; }
.docs-body .tip, .docs-body .warn { padding: 10px 14px; margin: 12px 0; font-size: 15px; background: var(--sheet); border-left: 3px solid #2A9D8F; }
.docs-body .warn { border-left-color: var(--hot); }
.docs-body .tip::before { content: "Tip  "; font-weight: 700; color: var(--ink); }
.docs-body .warn::before { content: "Note  "; font-weight: 700; color: var(--ink); }
.docs-body table { border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; background: var(--sheet); }
.docs-body th, .docs-body td { border: 1px solid var(--rule); padding: 6px 10px; text-align: left; vertical-align: top; }
.docs-body th { background: var(--paper); }
.docs-body kbd { display: inline-block; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 4px; padding: 0 6px; font-size: 13px; background: #fff; font-family: inherit; }
.docs-body .ui { background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 0 5px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.docs-body .n { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--hot); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 20px; margin: 0 2px; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr; } .docs-toc { position: static; max-height: none; } }
/* release notes + citation */
ol.log { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); max-width: 860px; }
ol.log > li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
ol.log time { color: var(--muted); font-size: 15px; padding-top: 4px; }
ol.log h2 { margin: 0 0 8px; font-size: 22px; font-weight: 650; font-stretch: 90%; grid-column: 2; }
ol.log ul { grid-column: 2; margin: 0; padding-left: 20px; color: #2c3a4b; } ol.log li li { margin: 4px 0; }
@media (max-width: 640px) { ol.log > li { grid-template-columns: 1fr; } ol.log h2, ol.log ul { grid-column: 1; } }
.cite { display: grid; gap: 22px; max-width: 860px; }
.cite h3 { margin: 0 0 6px; font-size: 17px; font-weight: 650; }
.cite pre { margin: 0 0 6px; padding: 14px 16px; background: var(--sheet); border: 1px solid var(--rule); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.notfound { padding-bottom: 120px; }
/* specificity fixes: section.band h2 is more specific than the page rules above */
section.band .docs-body h2 { max-width: none; font-size: 30px; margin: 0 0 14px; }
section.band ol.log h2 { max-width: none; font-size: 22px; margin: 0 0 8px; }
section.legal-doc .prose { max-width: 820px; margin-left: max(20px, calc((100% - 1180px) / 2)); margin-right: auto; }
section.legal-doc h2 { max-width: none; font-size: 24px; margin: 36px 0 10px; }
section.legal-doc h2:first-child { margin-top: 0; }
.board-search { display: block; margin-bottom: 12px; }
.board-search input { width: 100%; font: inherit; font-size: 16px; padding: 9px 12px; border: 1.5px solid var(--rule); border-radius: 6px; background: #fff; }
.board-search input:focus-visible { outline: 2px solid var(--hot); outline-offset: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post.flash { animation: flash 2.4s ease-out; }
@keyframes flash { 0%, 30% { background: #fff1e3; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .post.flash { animation: none; outline: 2px solid var(--hot); } }
section[id], .post { scroll-margin-top: 76px; }

/* 30-second demo video on the homepage */
.demo-video { border: 1px solid var(--rule); background: #0f1720; }
.demo-video video { display: block; width: 100%; height: auto; }
