@font-face { font-family: "Dsk Serif"; src: url(../fonts/instrument-serif-normal-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Dsk Serif"; src: url(../fonts/instrument-serif-italic-400.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Dsk Sans"; src: url(../fonts/geist-normal-400-600.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Dsk Mono"; src: url(../fonts/geist-mono-normal-400-500.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
:root {
  --bg: #f6f1e7; --surface: #fffcf6; --surface-2: #f1e9d8; --ink: #1d2a30; --ink-2: #4a5a61; --ink-3: #7b898e;
  --line: rgba(29, 42, 48, .12); --line-2: rgba(29, 42, 48, .22);
  --accent: #c8553d; --accent-2: #b0472f; --accent-ink: #fff8f3; --accent-soft: rgba(200, 85, 61, .1);
  --teal: #2b8a7e; --teal-soft: rgba(43, 138, 126, .12); --sea: #2f6f86;
  --water: #8cc3cc; --water-2: #7ab6c1; --land: #ebe2cf;
  --shallow: #a8d6da; --sand: #f3e7cb; --tree: #a9bf8e; --tree-2: #8fa676; --roof-old: #9aa5a8; --roof-old-2: #879296; --post: #7a5a3a; --cabin: #fbf7ef; --wood: #c69c6d; --hull: #34495a; --deck: #efe4cc; --foam: #fff;
  --term: #1d2a30; --term-ink: #e7eef0; --term-dim: #8a9ba1;
  --sky: #e5eeec; --sun: #f5d79f; --hills: #c6d4b0; --cloud: rgba(255, 255, 255, .88); --star: transparent; --shed-hot: #c8553d; --shed-hot-2: #b0472f;
  --shadow: 0 1px 0 rgba(29, 42, 48, .04), 0 18px 40px -26px rgba(29, 42, 48, .45);
  --serif: "Dsk Serif", "Instrument Serif", Georgia, serif; --sans: "Dsk Sans", "Geist", system-ui, sans-serif; --mono: "Dsk Mono", "Geist Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0e181d; --surface: #13222a; --surface-2: #182a33; --ink: #e7eef0; --ink-2: #a8b8be; --ink-3: #72868d; --line: rgba(231, 238, 240, .09); --line-2: rgba(231, 238, 240, .18);
  --accent: #e6795c; --accent-2: #f08d72; --accent-ink: #1d0d07; --accent-soft: rgba(230, 121, 92, .14); --teal: #55c4b2; --teal-soft: rgba(85, 196, 178, .13); --sea: #6fb4cb;
  --water: #173d4a; --water-2: #133540; --land: #1f2c32; --shallow: #1d4c59; --sand: #2b3a3f; --tree: #2f4d3f; --tree-2: #243d32; --roof-old: #4b5a60; --roof-old-2: #404e54; --post: #3a2a1e; --cabin: #cfd8db; --wood: #5a4532; --hull: #4c6474; --deck: #3a3a33; --foam: #9fd0dc; --term: #081015;
  --sky: #0f222a; --sun: #dfe7e9; --hills: #1a322e; --cloud: rgba(231, 238, 240, .07); --star: #cfe3ea; --shed-hot: #b9513a; --shed-hot-2: #9a4230;
  --shadow: 0 1px 0 rgba(0,0,0,.2), 0 18px 40px -24px rgba(0,0,0,.7); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0e181d; --surface: #13222a; --surface-2: #182a33; --ink: #e7eef0; --ink-2: #a8b8be; --ink-3: #72868d; --line: rgba(231, 238, 240, .09); --line-2: rgba(231, 238, 240, .18);
  --accent: #e6795c; --accent-2: #f08d72; --accent-ink: #1d0d07; --accent-soft: rgba(230, 121, 92, .14); --teal: #55c4b2; --teal-soft: rgba(85, 196, 178, .13); --sea: #6fb4cb;
  --water: #173d4a; --water-2: #133540; --land: #1f2c32; --shallow: #1d4c59; --sand: #2b3a3f; --tree: #2f4d3f; --tree-2: #243d32; --roof-old: #4b5a60; --roof-old-2: #404e54; --post: #3a2a1e; --cabin: #cfd8db; --wood: #5a4532; --hull: #4c6474; --deck: #3a3a33; --foam: #9fd0dc; --term: #081015;
  --sky: #0f222a; --sun: #dfe7e9; --hills: #1a322e; --cloud: rgba(231, 238, 240, .07); --star: #cfe3ea; --shed-hot: #b9513a; --shed-hot-2: #9a4230;
  --shadow: 0 1px 0 rgba(0,0,0,.2), 0 18px 40px -24px rgba(0,0,0,.7); color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.012em; }
h3 { font: 600 17px/1.3 var(--sans); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.caps { font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .shell { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); border-radius: 999px; }
.brand .mark { width: 30px; height: 30px; flex: none; transition: transform .25s ease; }
.brand .word { font: 600 21px/1 var(--sans); letter-spacing: -.04em; }
.brand:hover .mark { transform: rotate(-8deg) translateY(-1px); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
/* Appearance menu (right-click the theme button) */
.nav-tools { position: relative; }
#theme { position: relative; }
:root[data-theme-pref="system"] #theme::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--bg); }
.theme-menu { position: absolute; z-index: 60; min-width: 168px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 1px 0 rgba(29, 42, 48, .04), 0 16px 36px -14px rgba(29, 42, 48, .4); }
.theme-menu[hidden] { display: none; }
.theme-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 14px/1 inherit; font-family: inherit; text-align: left; cursor: pointer; }
.theme-menu button:hover, .theme-menu button:focus-visible { background: var(--surface-2); outline: none; }
.theme-menu svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-2); }
.theme-menu span { flex: 1; }
.theme-menu .tick { color: var(--accent); visibility: hidden; stroke-width: 2.4; }
.theme-menu button[aria-checked="true"] .tick { visibility: visible; }
/* GitHub link with the star count (2026-11-22) */
.gh-btn.has-stars { width: auto; padding: 0 13px 0 11px; border-radius: 999px; display: inline-flex; gap: 8px; text-decoration: none; }
.gh-stars { display: inline-flex; align-items: center; gap: 4px; font: 500 13px/1 var(--mono); color: var(--ink-2); }
.gh-stars svg { color: var(--accent); }
.gh-btn:hover, .gh-btn:hover .gh-stars { color: var(--ink); border-color: var(--line-2); }
.icon-btn .sun { display: none; } :root[data-theme="dark"] .icon-btn .sun { display: block; } :root[data-theme="dark"] .icon-btn .moon { display: none; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.hero .shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; font: 500 12.5px/1 var(--mono); color: var(--ink-2); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: .98; margin: 20px 0 20px; }
.hero h1 em { color: var(--accent); }
.hero .lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 560px; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.facts li svg { color: var(--teal); width: 18px; height: 18px; }
.scene { width: 100%; height: auto; display: block; border-radius: 26px; box-shadow: var(--shadow); }
.s-water { fill: var(--water); } .s-land { fill: var(--land); } .s-wood { fill: var(--wood); } .s-hull { fill: var(--hull); } .s-deck { fill: var(--deck); }
.s-wave { fill: none; stroke: var(--foam); stroke-width: 2.4; stroke-linecap: round; opacity: .5; animation: drift 6s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(8px); opacity: .25; } }
.h-ripples path { fill: none; stroke: var(--foam); stroke-width: 2; stroke-linecap: round; opacity: .45; animation: drift 5s ease-in-out infinite alternate; }
.h-ripples path:nth-child(2n) { animation-duration: 7s; animation-delay: -2s; }
.h-shallow { fill: var(--shallow); stroke: var(--shallow); stroke-width: 30; stroke-linejoin: round; }
.h-beach { fill: var(--sand); stroke: var(--sand); stroke-width: 9; stroke-linejoin: round; }
.h-tree { fill: var(--tree); } .h-tree-2 { fill: var(--tree-2); } .h-tree-hi { fill: rgba(255,255,255,.18); }
.h-roof-old { fill: var(--roof-old); } .h-roof-old-2 { fill: var(--roof-old-2); }
.h-ridge { stroke: rgba(255,255,255,.3); stroke-width: 1.5; } .h-seam { stroke: rgba(0,0,0,.08); stroke-width: 1.5; }
.h-sign { fill: var(--surface); stroke: var(--line-2); }
.h-label { font: 500 11px var(--mono); fill: var(--ink-2); }
.h-plank { stroke: rgba(0,0,0,.14); stroke-width: 1; } .h-post { fill: var(--post); }
.h-door { fill: var(--wood); }
.h-route { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; opacity: .55; }
.h-wake path { fill: none; stroke: var(--foam); stroke-width: 2; stroke-linecap: round; }
.h-cabin { fill: var(--cabin); } .h-glass { fill: var(--sea); opacity: .7; }

/* Sections */
.sec { padding: clamp(70px, 9vw, 120px) 0 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.02; margin: 12px 0 14px; }
.sec-head h2 em { color: var(--accent); }
.sec-head p { color: var(--ink-2); font-size: 18px; }

/* Demo */
.tour { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.tour button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 500; font-size: 14px; color: var(--ink); }
.tour button:hover, .tour button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.tour button b { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.browser { max-width: 1240px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 50px 90px -50px rgba(29, 42, 48, .55); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.browser-bar span { margin: 0 auto; font: 500 12px/1 var(--mono); color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 8px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser iframe { display: block; width: 100%; height: 780px; border: 0; background: #f6f1e7; }
.demo-note { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 14px; }

/* Ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 0 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.way svg.art { display: block; width: 100%; height: auto; }
.way .body { padding: 18px 22px 0; display: grid; gap: 8px; }
.way h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.way p { color: var(--ink-2); font-size: 15.5px; }
.badge { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--teal-soft); color: var(--teal); padding: 5px 8px; border-radius: 999px; }
.dev-line { text-align: center; margin-top: 20px; color: var(--ink-2); font-size: 15.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; border-top: 2px dashed var(--line-2); }
.step { position: relative; padding: 0 14px; text-align: center; }
.step .dot { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--accent); }
.step .dot svg { width: 28px; height: 28px; }
.step .n { font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: .14em; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 6px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; max-width: 250px; margin: 0 auto; }

/* Safety */
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.safe div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
.safe svg { color: var(--accent); width: 24px; height: 24px; grid-row: span 2; margin-top: 2px; }
.safe h3 { font-size: 16.5px; }
.safe p { color: var(--ink-2); font-size: 15px; grid-column: 2; }

/* Free */
.free { position: relative; overflow: hidden; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.free .copy { padding: clamp(32px, 5vw, 60px); }
.free h2 { font-size: clamp(42px, 5.6vw, 72px); line-height: .98; margin: 12px 0 16px; }
.free h2 em { color: var(--accent); }
.free p { color: var(--ink-2); font-size: 18px; max-width: 520px; }
.free ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.free li { display: flex; gap: 9px; align-items: center; font-weight: 500; }
.free li svg { color: var(--teal); width: 18px; height: 18px; }
.free .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.free .art { background: var(--water); position: relative; min-height: 320px; }
.free .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* CLI */
.cli { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.cli h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; margin: 10px 0 12px; }
.cli p { color: var(--ink-2); }
.term { background: var(--term); color: var(--term-ink); border-radius: 16px; padding: 18px 20px; font: 400 13.5px/1.9 var(--mono); overflow-x: auto; box-shadow: var(--shadow); }
.term div { white-space: pre; }
.term .c { color: var(--term-dim); }
.term .p { color: var(--term-dim); user-select: none; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 0; font: 400 25px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font: 400 26px/1 var(--sans); color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 700px; }

/* Final */
.final { text-align: center; padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 6vw, 80px); }
.final h2 { font-size: clamp(48px, 7vw, 92px); line-height: 1; margin-bottom: 14px; }
.final p { color: var(--ink-2); font-size: 18px; margin-bottom: 28px; }
.final .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.site-foot .shell { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; padding-top: 26px; padding-bottom: 46px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.site-foot nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .hero .shell, .free, .cli { grid-template-columns: 1fr; }
  .ways, .safe { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .steps::before { display: none; }
  .browser iframe { height: 720px; }
}
@media (max-width: 640px) {
  .shell { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .btn.primary { display: none; }
  .ways, .safe, .steps { grid-template-columns: 1fr; }
  .safe div { padding-right: 0; }
  .free ul { grid-template-columns: 1fr; }
  .browser { border-radius: 12px; }
  .browser iframe { height: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .s-wave, .h-ripples path { animation: none; }
}

@keyframes sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { [style*="sweep"] { animation: none !important; } }

/* Theme extras */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.site-foot { margin-top: clamp(40px, 6vw, 80px); }
.page-main + .site-foot { margin-top: 0; }
.muted { color: var(--ink-3); }
img { max-width: 100%; height: auto; }

/* Any site, any shape */
.xfer { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); display: grid; gap: clamp(18px, 2.4vw, 26px); }
.xfer-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: end; }
.xfer fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 9px; }
.xfer legend { padding: 0; margin-bottom: 9px; }
.xfer .dir { justify-items: center; text-align: center; }
.xfer .dir legend { margin-left: auto; margin-right: auto; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { flex: 1 1 auto; min-height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid transparent; background: transparent; cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.seg[data-pick="dir"] button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.xfer-scene { display: block; width: 100%; height: auto; border-radius: 18px; }
.x-slot-dash { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 4 4; }
.x-pop { transition: opacity .45s ease, transform .45s ease; transform-box: fill-box; transform-origin: center; }
.x-pending .x-pop { opacity: 0; transform: scale(.6); }
.x-arrived .x-pop { opacity: 1; transform: none; }
.x-left-src .x-take { transition: opacity .4s ease; }
.x-taken .x-take { opacity: .28; }
.x-run rect { fill: var(--accent); } .x-run text { font: 600 11.5px var(--sans); fill: var(--accent-ink); }
.x-main-tag { font: 500 9.5px var(--mono); fill: rgba(255,255,255,.8); letter-spacing: .06em; }
.x-cap { font: 500 10.5px var(--mono); fill: var(--ink-3); }
.xfer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.xfer-col { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.xfer-col h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; letter-spacing: -.01em; }
.xfer-col p { color: var(--ink-2); font-size: 15.5px; }
.xfer-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.xfer-how ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.xfer-how li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.xfer-how li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 12.5px/1 var(--mono); }
.xfer-how li b { color: var(--ink); font-weight: 600; }
.xfer-how li code, .xfer-note code { font: 500 13px var(--mono); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.xfer-how .term { margin-top: 10px; white-space: pre-wrap; word-break: break-word; }
.xfer-how .term div { white-space: pre-wrap; }
.xfer-note { color: var(--ink-3); font-size: 14px; margin-top: 10px; }

/* Posts and pages */
.page-main { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.shell.narrow { max-width: 780px; }
.page-head { margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; margin-top: 10px; }
.post-list { display: grid; gap: 14px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.post-card h2 { font-size: 30px; line-height: 1.1; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-2); }
.pager { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pager .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lead-img { margin: 0 0 28px; } .lead-img img { border-radius: 18px; }
.prose { font-size: 17.5px; line-height: 1.72; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.prose code { font: 500 .88em var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--term); color: var(--term-ink); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font: 400 14px/1.7 var(--mono); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose img { border-radius: 14px; }
.prose figure { margin: 1.6em 0; } .prose figcaption { color: var(--ink-3); font-size: 14px; margin-top: 8px; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; color: var(--ink-2); } .post-nav a:hover { color: var(--accent); }
.lost { text-align: center; } .lost h1 { font-size: clamp(54px, 8vw, 96px); margin: 10px 0 12px; } .lost p { margin-bottom: 22px; }

@media (max-width: 960px) {
  .xfer-pick { grid-template-columns: 1fr; }
  .xfer .dir { justify-items: start; text-align: left; }
  .xfer .dir legend { margin-left: 0; }
  .xfer-cols, .xfer-how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .seg button { flex: 1 1 100%; }
  .seg[data-pick="dir"] button { flex: 1 1 0; }
}

.sec, .hero { scroll-margin-top: 72px; }
.nw { white-space: nowrap; }
.xfer-note code { white-space: nowrap; }
.seg button { font-size: 14px; padding: 0 12px; }

/* ---------- v3 brand + side-on harbor (2026-11-20) ---------- */
.s-sky { fill: var(--sky); } .s-sun { fill: var(--sun); } .s-hills { fill: var(--hills); } .s-shore { fill: var(--sand); }
.s-stars circle { fill: var(--star); }
.s-cloud path { fill: var(--cloud); }
.s-cloud { animation: cloud 34s ease-in-out infinite alternate; } .s-cloud-2 { animation-duration: 46s; animation-direction: alternate-reverse; }
@keyframes cloud { to { transform: translateX(26px); } }
.s-birds path { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-water-front { fill: var(--water); opacity: .55; }
.h-pile { fill: var(--post); }
.h-course { fill: none; stroke: rgba(0, 0, 0, .055); stroke-width: 1.5; }
.fr-mast { stroke: var(--hull); stroke-width: 2.4; stroke-linecap: round; }
.bob { animation: bob 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 80%; }
@keyframes bob { 50% { transform: translateY(1.8px) rotate(.7deg); } }
.you rect, .you path { fill: var(--teal); }
.you text { font: 600 10.5px var(--sans); letter-spacing: .03em; fill: var(--surface); }

/* every move: from → to */
.board { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(16px, 2.4vw, 24px); box-shadow: var(--shadow); margin-bottom: 18px; }
.board-col ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.board-col li { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg); display: grid; gap: 3px; align-content: start; }
.board-col li b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.board-col li small { color: var(--ink-3); font-size: 13px; line-height: 1.35; }
.board-mid { position: relative; height: 100%; min-height: 96px; display: grid; place-items: center; }
.board-mid svg:first-child { position: absolute; inset: 50% 0 auto; width: 100%; height: 60px; transform: translateY(-50%); }
.board-mid .mark { position: relative; border-radius: 50%; box-shadow: 0 0 0 8px var(--surface); }
.way .body .route { font: 500 11.5px/1 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.dev-line code, .cli p code { font: 500 .88em var(--mono); background: var(--surface-2); padding: 2px 7px; border-radius: 6px; }
.final-sea { display: block; width: min(640px, 100%); height: auto; margin: 0 auto 26px; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.foot-brand .mark { width: 24px; height: 24px; }
.foot-brand .word { font-size: 17px; }
@media (max-width: 960px) {
  .board { grid-template-columns: 1fr; }
  .board-mid { min-height: 112px; }
  .board-mid svg:first-child { display: none; }
  .board-mid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dotted var(--accent); opacity: .6; }
}
@media (max-width: 640px) {
  .board-col ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bob, .s-cloud { animation: none; } }

/* ---------- Docs (page-docs.php, 2026-11-20) ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.h-tag { fill: var(--surface); stroke: var(--accent); stroke-opacity: .45; }
.h-tag-t { font: 500 10.5px var(--mono); fill: var(--accent); }
@media (max-width: 820px) {
  /* Narrow screens: the section links stay hidden, the docs link stays. */
  .nav-links { display: flex; margin-left: auto; }
  .nav-links a:not(.nav-docs) { display: none; }
  .nav-tools { margin-left: 0; }
  .nav .shell { gap: 16px; }
}

.docs code { font: 500 .86em var(--mono); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.docs a:not(.btn):not(.anchor) { color: var(--accent); text-underline-offset: 3px; }
.docs-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.docs-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: .98; margin: 18px 0 16px; }
.docs-hero h1 em { color: var(--accent); }
.docs-hero .lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 700px; }
.docs-pick { list-style: none; padding: 0; margin: clamp(26px, 3.5vw, 38px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.docs-pick a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; align-items: start; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--ink) !important; transition: border-color .2s, transform .15s; }
.docs-pick a:hover { border-color: var(--accent); transform: translateY(-1px); }
.docs-pick .n { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 500 11.5px/1 var(--mono); }
.docs-pick b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.docs-pick small { color: var(--ink-3); font-size: 13.5px; line-height: 1.4; }

.docs-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.docs-side { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; overscroll-behavior: contain; padding: 0 4px 12px 0; }
.toc summary { display: none; }
.toc nav > .caps { display: block; margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0 0 22px; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2) !important; text-decoration: none; font-size: 14px; line-height: 1.35; }
.toc a:hover { color: var(--ink) !important; }
.toc a[aria-current="true"] { color: var(--accent) !important; border-left-color: var(--accent); }
.toc a .n { font: 500 11px var(--mono); color: var(--ink-3); margin-right: 7px; }

.docs-body { min-width: 0; }
.doc-sec { scroll-margin-top: 84px; }
.doc-sec + .doc-sec { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.doc-sec h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.04; margin: 10px 0 12px; }
.anchor { margin-left: .2em; color: var(--ink-3); text-decoration: none; font: 400 .62em var(--sans); opacity: 0; vertical-align: .1em; transition: opacity .15s, color .15s; }
.doc-sec h2:hover .anchor, .doc-block h3:hover .anchor, .anchor:focus-visible { opacity: 1; }
.anchor:hover { color: var(--accent); }
@media (hover: none) { .anchor { opacity: .5; } }
.scn-lede { color: var(--ink-2); font-size: 17.5px; max-width: 640px; }
.scn-lede .when { color: var(--ink); font-weight: 600; }

/* Basics */
.doc-block { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 24px); box-shadow: var(--shadow); min-width: 0; display: grid; gap: 10px; align-content: start; scroll-margin-top: 84px; }
.doc-block h3 { display: flex; align-items: center; gap: 10px; font: 600 16.5px/1.3 var(--sans); }
.doc-block h3 svg.i { color: var(--accent); width: 20px; height: 20px; }
.doc-block p { color: var(--ink-2); font-size: 15.5px; }
.doc-block p b { color: var(--ink); font-weight: 600; }
.doc-block.wide { margin: 24px 0 14px; }
.basics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.ft { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
table.ft th, table.ft td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
table.ft th { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
table.ft td:first-child, table.ft td:nth-child(2) { color: var(--ink); font-weight: 500; white-space: nowrap; }
table.ft tr:last-child td { border-bottom: 0; }
table.ft td b { color: var(--ink); }

/* Code */
pre.code { margin: 0; background: var(--term); color: var(--term-ink); border-radius: 14px; padding: 15px 18px; font: 400 13.5px/1.8 var(--mono); overflow-x: auto; white-space: pre; max-width: 100%; }
pre.code code { font: inherit; background: none; padding: 0; color: inherit; overflow-wrap: normal; white-space: inherit; }
pre.code .c { color: var(--term-dim); }
pre.code .p { color: var(--term-dim); user-select: none; }
pre.code:focus-visible { outline-offset: 2px; }

/* Scenarios */
.scn-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 30px; align-items: center; margin-bottom: 22px; }
.scn-art { margin: 0; }
.scn-art svg { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.scn-how { display: grid; gap: 14px; margin-top: 18px; }
.scn-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 24px); box-shadow: var(--shadow); min-width: 0; }
.scn-card h3, .scn-after h3 { display: flex; align-items: center; gap: 9px; font: 600 15.5px/1.3 var(--sans); margin-bottom: 14px; }
.scn-card h3 svg.i, .scn-after h3 svg.i { width: 19px; height: 19px; color: var(--accent); }
ol.num { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
ol.num li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 15.5px; }
ol.num li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 600 12.5px/1 var(--mono); margin-top: 1px; }
ol.num li b { color: var(--ink); font-weight: 600; }
.cli-intro { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.cli-note { color: var(--ink-3); font-size: 14.5px; margin-top: 12px; }
.scn-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.scn-after > div { border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 24px); min-width: 0; }
.scn-gotchas { background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 22%, transparent) !important; }
.scn-after ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.scn-after li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15px; }
.scn-after li b { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.marks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.callout { margin: 0 0 4px; padding: 18px 22px; border-radius: 0 18px 18px 0; border-left: 3px solid var(--teal); background: var(--teal-soft); display: grid; gap: 8px; }
.callout h3 { display: flex; align-items: center; gap: 9px; font: 600 15.5px/1.3 var(--sans); }
.callout h3 svg.i { width: 19px; height: 19px; color: var(--teal); }
.callout p { color: var(--ink-2); font-size: 15.5px; }
.callout.warn { border-left-color: var(--accent); background: var(--accent-soft); }
.callout.warn h3 svg.i { color: var(--accent); }
.plan { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: p; }
.plan li { counter-increment: p; position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 52px; background: var(--surface); display: grid; gap: 3px; }
.plan li::before { content: counter(p); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 600 12.5px/1 var(--mono); }
.plan b { font-weight: 600; font-size: 15px; }
.plan span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* Cove card */
.cove { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; padding: clamp(18px, 2.4vw, 24px); border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); margin: 0 0 4px; }
.cove-art { width: 72px; height: 72px; display: block; }
.cove-copy { display: grid; gap: 8px; min-width: 0; }
.cove h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.1; letter-spacing: -.01em; }
.cove p { color: var(--ink-2); font-size: 15.5px; }
.cove-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; font-size: 14.5px !important; }
.cove-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.cove-link svg.i { width: 16px; height: 16px; transition: transform .15s; }
.cove-link:hover svg.i { transform: translateX(2px); }

/* Commands */
.cmds { display: grid; gap: 14px; margin: 0 0 4px; }
.cmds-group { border: 1px solid var(--line); border-radius: 20px; padding: 16px clamp(16px, 2.4vw, 22px) 6px; background: var(--surface); }
.cmds dl { margin: 10px 0 0; }
.cmds dl > div { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-top: 1px solid var(--line); }
.cmds dt code { background: none; padding: 0; color: var(--ink); font-size: 13.5px; white-space: normal; overflow-wrap: anywhere; }
.cmds dd { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* The end */
.docs-end { margin-top: clamp(56px, 7vw, 90px); padding: clamp(28px, 4vw, 44px); text-align: center; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.docs-end h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin-bottom: 10px; }
.docs-end p { color: var(--ink-2); margin-bottom: 22px; }
.docs-end .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .scn-head { grid-template-columns: 1fr; gap: 18px; }
  .scn-art { max-width: 460px; }
}
@media (max-width: 960px) {
  .docs-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .docs-side { top: 66px; z-index: 20; max-height: none; overflow: visible; margin: 0 -24px; padding: 8px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .docs-side:has(.toc[open]) { box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .45); }
  .toc summary { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary svg.i { width: 18px; height: 18px; color: var(--accent); }
  .toc summary::after { content: ""; width: 8px; height: 8px; margin: 0 4px 3px auto; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; flex: none; }
  .toc[open] summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
  .toc-cur { color: var(--ink-3); font-weight: 400; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .toc-cur:not(:empty)::before { content: "· "; }
  .toc nav { max-height: min(60vh, 520px); overflow: auto; padding: 10px 0 4px; }
  .doc-sec, .doc-block { scroll-margin-top: 130px; }
  .scn-after { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .basics-grid, .plan { grid-template-columns: 1fr; }
  .cmds dl > div { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .docs-pick { grid-template-columns: 1fr; }
  .docs-side { margin: 0 -16px; padding: 6px 16px; }
  .cove { grid-template-columns: 1fr; gap: 14px; }
  .cove-art { width: 56px; height: 56px; }
  .cove-link { margin-left: 0; }
  pre.code { font-size: 12.5px; padding: 13px 14px; }
}

/* ---------------------------------------------------------- brand page */
.brand-all { margin-top: 26px; }
.brand-all .mark { width: 20px; height: 20px; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.brand-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.brand-card.wide { grid-column: span 1; }
.brand-card.full { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
.brand-card.full .brand-show { border-bottom: 0; border-right: 1px solid var(--line); height: 100%; min-height: 240px; }
.brand-card.full .brand-about { align-self: center; }
.brand-colors code { justify-self: start; }
.brand-show { display: grid; place-items: center; height: 220px; padding: 28px; border-bottom: 1px solid var(--line); }
.brand-show img { max-width: 100%; max-height: 150px; width: auto; height: auto; }
.brand-card:not(.wide) .brand-show img { width: 150px; height: 150px; }
.brand-show.light { background: #f6f1e7; }
.brand-show.dark { background: #0e181d; }
.brand-show.coral { background: #c8553d; }
.brand-about { padding: 20px 22px 22px; }
.brand-about h2 { font: 400 28px/1.1 var(--serif); margin: 0 0 6px; }
.brand-about p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.brand-files { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brand-files a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12.5px/1 var(--mono); color: var(--ink) !important; text-decoration: none; }
.brand-files a:hover { border-color: var(--accent); color: var(--accent) !important; }
.brand-sec { margin-bottom: clamp(40px, 6vw, 64px); }
.brand-sec h2 { font: 400 clamp(32px, 4vw, 44px)/1.05 var(--serif); margin: 0 0 18px; }
.brand-colors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brand-colors li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.brand-colors .sw { grid-row: span 3; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line-2); }
.brand-colors b { font-weight: 600; font-size: 15px; }
.brand-colors small { color: var(--ink-3); font-size: 13px; line-height: 1.35; }
.brand-type { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brand-type li { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.brand-type .sample { font-size: 34px; line-height: 1.1; margin-bottom: 8px; overflow-wrap: anywhere; }
.brand-type .sans { font-family: var(--sans); font-weight: 600; letter-spacing: -.04em; }
.brand-type .serif { font-family: var(--serif); }
.brand-type .mono { font-family: var(--mono); font-size: 22px; }
.brand-type small, .brand-note { color: var(--ink-3); font-size: 14px; }
.brand-note { margin-top: 12px; }
.brand-rules { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
@media (max-width: 860px) {
  .brand-grid, .brand-colors, .brand-type, .brand-card.full { grid-template-columns: minmax(0, 1fr); }
  .brand-card.full .brand-show { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; height: 180px; }
  .brand-show { height: 180px; }
}
