/* GoBordz — hand-written stylesheet. No framework. Fonts are self-hosted (SIL OFL). */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/geist.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); }

:root {
  --paper: #F3EFE6;
  --paper-2: #EAE5D9;
  --card: #FBF9F4;
  --ink: #15140F;
  --ink-2: #3B392F;
  --mute: #6C685C;
  --line: rgba(21, 20, 15, 0.14);
  --line-strong: rgba(21, 20, 15, 0.82);
  --accent: #D93A12;
  --accent-ink: #B02C0A;
  --live: #1C6B4A;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.accent { color: var(--accent); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(243, 239, 230, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 7px; }
.brand b { font-weight: 600; }
.brand i { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { color: var(--paper); text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font: 500 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); cursor: pointer; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid var(--ink); transition: background .18s, color .18s, transform .18s; white-space: nowrap; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg { width: 14px; height: 14px; transition: transform .18s; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000 0%, transparent 70%); opacity: .55; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(28, 107, 74, 0.16); flex: none; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8.6vw, 124px); line-height: 0.94; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lede { margin-top: 30px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* product index card */
.index { background: var(--card); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 8px 8px 0 var(--ink); }
.index-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-strong); }
.index-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-row:last-of-type { border-bottom: 0; }
a.index-row:hover { background: var(--paper-2); }
.index-row .n { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.index-row .t { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.index-row .d { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--mute); margin-top: 4px; line-height: 1.45; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-strong); white-space: nowrap; }
.pill.live { background: var(--live); border-color: var(--live); color: #fff; }
.pill.soon { color: var(--mute); border-style: dashed; }
.index-foot { padding: 12px 16px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 12px; }

.strip { position: relative; margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in > div { padding: 22px 20px 24px 0; }
.strip-in > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.strip dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.strip dd { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.35; }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 136px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 56px); }
.sec-label { position: sticky; top: 96px; align-self: start; }
.sec-label .num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--accent); display: block; margin-bottom: 10px; }
.sec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16em; }
.sec h2 em { font-style: italic; }
.sec-lede { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19.5px); color: var(--ink-2); max-width: 38em; }
.sec-lede + .sec-lede { margin-top: 16px; }

/* principles */
.rows { margin-top: 56px; border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row .n { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.row p { color: var(--ink-2); font-size: 16.5px; }

/* product feature */
.prod { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border: 1px solid var(--line-strong); border-radius: 6px; background: var(--card); overflow: hidden; }
.prod-main { padding: clamp(24px, 3.4vw, 44px); }
.prod-main h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 18px 0 16px; }
.prod-main p { color: var(--ink-2); max-width: 30em; }
.prod-main .btn { margin-top: 28px; }
.spec { border-left: 1px solid var(--line-strong); background: var(--paper-2); }
.spec div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.spec dd { font-weight: 500; }
.note { margin-top: 14px; font-size: 13.5px; color: var(--mute); }
.next { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next div { border: 1px dashed var(--line-strong); border-radius: 6px; padding: 22px; }
.next h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 12px 0 6px; }
.next p { font-size: 15px; color: var(--mute); }

/* steps */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); counter-reset: s; }
.steps li { padding: 24px 22px 8px 0; counter-increment: s; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 10px 0 8px; }
.steps p { font-size: 15.5px; color: var(--ink-2); }

/* dark band */
.dark { background: var(--ink); color: var(--paper); border-top: 0 !important; }
.dark .mono, .dark .sec-lede, .dark .row p, .dark .row .n { color: rgba(243, 239, 230, 0.66); }
.dark .rows { border-top-color: rgba(243, 239, 230, 0.7); }
.dark .row { border-bottom-color: rgba(243, 239, 230, 0.16); }
.dark .sec-label .num { color: #FF6A3D; }
.dark a { color: var(--paper); }
.dark + .sec { border-top: 0; }

/* faq */
.faq { margin-top: 48px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 22px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--accent); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; max-width: 44em; color: var(--ink-2); }
.faq .a p + p { margin-top: 12px; }

/* cta */
.cta { text-align: left; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.4vw, 108px); line-height: 0.96; letter-spacing: -0.025em; }
.cta h2 em { font-style: italic; color: #FF6A3D; }
.cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta .btn.ghost { color: var(--paper); border-color: rgba(243, 239, 230, 0.6); }
.cta .btn.ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--paper); padding: 64px 0 0; border-top: 1px solid rgba(243, 239, 230, 0.16); overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.ftr p { color: rgba(243, 239, 230, 0.66); font-size: 15px; max-width: 26em; margin-top: 16px; }
.ftr h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 239, 230, 0.55); margin-bottom: 16px; }
.ftr li + li { margin-top: 9px; }
.ftr a { text-decoration: none; font-size: 15px; color: rgba(243, 239, 230, 0.9); }
.ftr a:hover { color: #FF6A3D; }
.ftr .brand { color: var(--paper); }
.ftr-base { margin-top: 56px; padding: 20px 0; border-top: 1px solid rgba(243, 239, 230, 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(243, 239, 230, 0.55); }
.wordmark { font-family: var(--serif); font-size: clamp(120px, 27vw, 420px); line-height: 0.74; letter-spacing: -0.04em; color: rgba(243, 239, 230, 0.07); white-space: nowrap; margin: 24px 0 -0.06em -0.04em; user-select: none; }
.wordmark i { color: rgba(217, 58, 18, 0.5); font-style: italic; }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line-strong); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.025em; max-width: 12em; }
.page-head h1 em { font-style: italic; color: var(--accent); }
.page-head .sec-lede { max-width: 40em; }
.meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 28px; }

.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 120px); }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc ol { margin-top: 14px; border-left: 1px solid var(--line); counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--mute); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.toc-more { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc-more a { padding-left: 0; border: 0; }

.prose { max-width: 46em; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.01em; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h2:first-child, .prose .tldr + h2 { margin-top: 40px; }
.prose h3 { font-size: 17px; font-weight: 600; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: "—"; position: absolute; left: -1.3em; color: var(--accent); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.prose a:hover { color: var(--accent-ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .caps { font-size: 14.5px; letter-spacing: 0.01em; }
.tldr { background: var(--card); border: 1px solid var(--line-strong); border-radius: 6px; padding: 24px 26px; box-shadow: 6px 6px 0 var(--ink); }
.tldr .mono { display: block; margin-bottom: 10px; color: var(--accent-ink); }
.tldr ul { margin-top: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 20px; display: block; overflow-x: auto; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); min-width: 9em; }
.tbl th { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); border-bottom-color: var(--line-strong); }
.tbl td { color: var(--ink-2); }

/* contact + cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.card { background: var(--card); border: 1px solid var(--line-strong); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 12px 0 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .mail { margin-top: auto; padding-top: 20px; font-family: var(--mono); font-size: 14.5px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); word-break: break-all; }
.card .mail:hover { color: var(--accent-ink); }
.legal-list { border-top: 1px solid var(--line-strong); }
.legal-list a { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr) 24px; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.legal-list a:hover { background: var(--paper-2); }
.legal-list .t { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.legal-list .d { color: var(--ink-2); font-size: 15.5px; }
.legal-list .n { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.legal-list .go { color: var(--accent); }
.plain { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }

.nf { min-height: 62vh; display: flex; align-items: center; }
.nf h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 12vw, 180px); line-height: 0.9; letter-spacing: -0.03em; }
.nf h1 em { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in, .sec-grid, .prod, .doc { grid-template-columns: minmax(0, 1fr); }
  .sec-label, .toc { position: static; max-height: none; }
  .sec-label { display: flex; align-items: baseline; gap: 14px; }
  .sec-label .num { margin: 0; font-size: 34px; }
  .spec { border-left: 0; border-top: 1px solid var(--line-strong); }
  .strip-in, .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-in > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 40px minmax(0, 1fr); }
  .row p { grid-column: 2; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid > :first-child { grid-column: 1 / -1; }
  .toc { border: 1px solid var(--line); border-radius: 6px; padding: 18px; }
  .legal-list a { grid-template-columns: 36px minmax(0, 1fr) 20px; }
  .legal-list .d { grid-column: 2; }
  .legal-list .go { grid-row: 1; grid-column: 3; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; padding: 14px 22px; }
  .index { box-shadow: 5px 5px 0 var(--ink); }
  .cards, .next { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .hero-cta .btn, .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 480px) {
  .strip-in, .steps { grid-template-columns: 1fr; }
  .strip-in > div, .steps li { padding-left: 0 !important; border-left: 0 !important; }
  .strip-in > div + div, .steps li + li { border-top: 1px solid var(--line); }
  .ftr-grid { grid-template-columns: 1fr; }
}
@media print { .hdr, .ftr, .toc, .skip { display: none; } body { background: #fff; } .doc { display: block; } }
.mt-lg { margin-top: 56px; }
