/* gooeygoat.com shared styles. Layout: a calculation sheet. A 12-column grid, hairline rules
   between records, Fig.-numbered drawings and mono labels, as on a hydraulic printout. The brand's
   45-degree chamfer (Gooey Goat guide, cover band and letterhead) is the one shape motif; a page
   that wears the Firefinch kit swaps it for the kit's rounded corners through --chamfer,
   --frame-cut and --radius. */

/* Fonts are served from this site (drafts/fonts, SIL Open Font Licence), never from a third
   party: a visit sends nothing to anyone but us (WEB-016). */
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/geist-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/geist-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/geist-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #0B2232;          /* Obsidian Core */
  --bg-deep: #071A27;
  --panel: #102D42;
  --fg: #F5F1E7;          /* Base */
  --muted: #A9BDCD;
  --rule: rgba(189, 211, 230, 0.16);
  --rule-strong: rgba(189, 211, 230, 0.34);
  --accent: #DDFE55;      /* Kinetic Lime, fills */
  --accent-ink: #DDFE55;  /* lime where it is text or a line */
  --accent-hover: #E9FF8C;
  --on-accent: #0B2232;
  --mark: #DDFE55;
  --fire: #E05C00;        /* Firefinch mark, as drawn in the logo */
  --flow: #DDFE55;
  --hatch: rgba(221, 254, 85, 0.22);
  --grid-dot: rgba(189, 211, 230, 0.20);
  --pass: #8CE3A8;
  --note-bg: rgba(221, 254, 85, 0.08);
  --band-bg: #0B2232;     /* the closing band and footer stay Obsidian in both themes */
  --band-deep: #061926;
  --band-fg: #F5F1E7;
  --band-muted: #A9BDCD;
  --band-rule: rgba(189, 211, 230, 0.16);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --display-weight: 300;
  --chamfer: 14px;
  --frame-cut: 28px;
  --radius: 0px;
  --radius-sm: 0px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F1E7; --bg-deep: #ECE6D8; --panel: #FDFCFC; --fg: #0B2232; --muted: #4B6375;
    --rule: rgba(11, 34, 50, 0.13); --rule-strong: rgba(11, 34, 50, 0.30);
    --accent: #DDFE55; --accent-ink: #0E415B; --on-accent: #0B2232; --mark: #B1CB44;
    --flow: #0E415B; --hatch: rgba(14, 65, 91, 0.13); --grid-dot: rgba(11, 34, 50, 0.16);
    --pass: #1F7A44; --note-bg: rgba(177, 203, 68, 0.16);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F5F1E7; --bg-deep: #ECE6D8; --panel: #FDFCFC; --fg: #0B2232; --muted: #4B6375;
  --rule: rgba(11, 34, 50, 0.13); --rule-strong: rgba(11, 34, 50, 0.30);
  --accent: #DDFE55; --accent-ink: #0E415B; --on-accent: #0B2232; --mark: #B1CB44;
  --flow: #0E415B; --hatch: rgba(14, 65, 91, 0.13); --grid-dot: rgba(11, 34, 50, 0.16);
  --pass: #1F7A44; --note-bg: rgba(177, 203, 68, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--bg);
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--rule); }
.section.deep { background: var(--bg-deep); }

.label {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.label.ink { color: var(--accent-ink); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.h2 { font-weight: var(--display-weight); font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.section-head { display: grid; gap: 18px; max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--fg); }
.more svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.more:hover { color: var(--accent-ink); }
.more:hover svg { transform: translateX(3px); }

/* Buttons: the chamfer is painted on a pseudo-element so the focus ring is not clipped */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 0; background: none; cursor: pointer; color: var(--fg); white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rule-strong); border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
  transition: background 0.15s ease;
}
.btn::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--bg); border-radius: calc(var(--radius) - 1px);
  clip-path: polygon(0 0, calc(100% - var(--chamfer) + 0.4px) 0, 100% calc(var(--chamfer) - 0.4px), 100% 100%, 0 100%);
}
.btn:hover::before { background: var(--accent-ink); }
.btn.primary { color: var(--on-accent); }
.btn.primary::before { background: var(--accent); }
.btn.primary::after { display: none; }
.btn.primary:hover::before { background: var(--accent-hover); }
.btn.small { padding: 10px 18px; font-size: 0.875rem; --chamfer: 10px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { font-size: 0.875rem; color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand svg { height: 30px; width: auto; display: block; }
.gg-mark { fill: var(--mark); }
.gg-word { fill: var(--fg); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav > a { text-decoration: none; font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
.nav > a:hover { color: var(--fg); }
@media (max-width: 1080px) { .nav { gap: 18px; } }
/* On a phone the plain links go; the Products menu stays, so every product is one tap away */
@media (max-width: 960px) { .nav > a { display: none; } .nav:not(:has(.menu)) { display: none; } .site-header .btn { margin-left: auto; } }

/* The Products menu: apps, then services. A details element, so it works without a script. */
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-size: 0.9rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease;
}
.menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.menu summary:hover, .menu[open] summary { color: var(--fg); }
.menu-panel {
  position: absolute; top: calc(100% + 16px); left: -18px; width: 330px; z-index: 30;
  display: grid; gap: 4px; padding: 16px 12px 12px; background: var(--panel); border: 1px solid var(--rule-strong);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
}
.menu-panel .label { padding: 6px 10px 2px; }
.menu-panel .label + .menu-item { margin-bottom: 6px; }
.menu-item { display: grid; gap: 6px; padding: 10px; text-decoration: none; color: var(--fg); }
.menu-item:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.menu-item .ff-lockup { height: 20px; }
.menu-item .product-tag { gap: 10px; }
.menu-name { font-weight: 600; font-size: 0.95rem; }
.menu-item .fine { font-size: 0.82rem; }
@media (max-width: 960px) { .menu-panel { left: auto; right: -8px; width: min(330px, calc(100vw - 32px)); } }

/* The product header: the company wordmark leads home, then the product's name */
.crumbs { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.crumbs .brand svg { height: 22px; }
.crumbs .sep { width: 1px; height: 26px; background: var(--rule-strong); transform: skewX(-20deg); }
.crumbs .crumb-name { font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--fg); white-space: nowrap; }
@media (max-width: 520px) { .crumbs .brand .gg-word { display: none; } .crumbs .brand svg { width: 26px; } }

/* Hero: drawing paper that fades out */
.hero { position: relative; isolation: isolate; padding-block: clamp(56px, 9vw, 112px) clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 58rem; }
.hero h1 {
  font-weight: var(--display-weight); font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 1.03; letter-spacing: -0.03em;
}
.hero h1 em, .display em { font-style: normal; color: var(--accent-ink); }
.hero .lead { max-width: 36em; }
.product-tag { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-tag .ff-lockup { width: auto; display: block; }
.ff-mark { fill: var(--fire); }
.ff-word { fill: var(--fg); }
.chip {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em;
  padding: 3px 8px; border: 1px solid var(--rule-strong); color: var(--muted); border-radius: var(--radius-sm);
}

/* The line-up: what Gooey Goat makes, one hairline cell each */
.lineup {
  margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.lineup .live { grid-row: span 2; }
@media (max-width: 760px) { .lineup { grid-template-columns: minmax(0, 1fr); } .lineup .live { grid-row: auto; } }
.product { background: var(--bg); padding: 26px 24px 28px; display: grid; gap: 14px; align-content: start; text-decoration: none; }
.product h3 { font-size: 1.15rem; font-weight: 600; }
.product p { color: var(--muted); font-size: 0.95rem; max-width: 34em; }
.product .fine.mono { font-size: 0.78rem; text-wrap: balance; }
.product.later h3 { font-weight: 400; }
a.product.later:hover h3 { color: var(--accent-ink); }
.product.live {
  background: var(--panel); box-shadow: inset 0 2px 0 var(--fire);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px 30px;
  position: relative; overflow: hidden; isolation: isolate;
}
.product.live .ff-lockup { height: clamp(26px, 3vw, 34px); }
.product.live .go { margin-top: auto; padding-top: 12px; }
.product.live .ff-big {
  position: absolute; right: -40px; bottom: -60px; z-index: -1; pointer-events: none;
  height: clamp(180px, 19vw, 270px); width: auto; aspect-ratio: 258 / 317; color: var(--fire);
}
@media (max-width: 760px) { .product.live .ff-big { display: none; } }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.go svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.product:hover .go svg { transform: translateX(3px); }
.product:hover .go { color: var(--accent-ink); }

/* Firefinch FHC on the home page: its own chapter, opened by its lockup and marked by its orange */
.section.product-intro { border-top: 2px solid var(--fire); }
.product-head { display: grid; gap: 26px; max-width: 58rem; }
.product-head .ff-lockup { height: clamp(30px, 4vw, 44px); }
.display { font-weight: var(--display-weight); font-size: clamp(2.4rem, 5.6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; }
.ff-glyph { width: 13px; height: 16px; flex: none; color: var(--fire); }
.label.ff { display: inline-flex; align-items: center; gap: 10px; }
.nav a.ff { display: inline-flex; align-items: center; gap: 8px; }
.nav a.ff .ff-glyph { width: 11px; height: 14px; }

/* Figures */
.figure { margin: clamp(40px, 6vw, 64px) 0 0; display: grid; gap: 14px; }
.figure-frame {
  position: relative; background: var(--panel); border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - var(--frame-cut)) 0, 100% var(--frame-cut), 100% 100%, 0 100%);
}
.fig1-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
@media (max-width: 900px) { .fig1-grid { grid-template-columns: minmax(0, 1fr); } }
.drawing-scroll { overflow-x: auto; min-width: 0; }
.drawing-scroll svg { display: block; width: 100%; min-width: 560px; height: auto; }
.figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.figcaption .label { color: var(--fg); }

.d-pipe { stroke: var(--muted); stroke-width: 2; fill: none; stroke-linecap: square; }
.d-main { stroke: var(--muted); stroke-width: 4; fill: none; }
.d-flow { stroke: var(--flow); stroke-width: 3; fill: none; stroke-dasharray: 10 14; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .d-flow { animation: none; stroke-dasharray: none; } }
.d-head { fill: var(--panel); stroke: var(--fg); stroke-width: 1.6; }
.d-head.on { fill: var(--accent); stroke: var(--on-accent); }
.d-ring { fill: none; stroke: var(--flow); stroke-width: 1.6; }
.d-area { fill: url(#hatch); stroke: var(--flow); stroke-width: 1.4; stroke-dasharray: 5 5; }
.d-hatch { stroke: var(--hatch); stroke-width: 2; }
.d-dot { fill: var(--grid-dot); }
.d-text { font-family: var(--font-mono); font-size: 12px; fill: var(--muted); letter-spacing: 0.04em; }
.d-text.ink { fill: var(--flow); }
.d-text.strong { fill: var(--fg); }
.d-riser { fill: var(--panel); stroke: var(--fg); stroke-width: 2; }
.d-riser-dot { fill: var(--fg); }
.d-scale { fill: var(--fg); }
/* Levels in 3D: each floor a sheet with its drawing, the network drawn over it */
.d-floor { fill: var(--bg-deep); fill-opacity: 0.9; stroke: var(--rule-strong); stroke-width: 1.2; }
.d-wall { stroke: var(--muted); stroke-opacity: 0.45; stroke-width: 1.4; fill: none; }
.d-net { stroke: var(--fg); stroke-width: 1.6; fill: none; }
.d-net.main { stroke-width: 2.6; }
.d-up { stroke: var(--flow); stroke-width: 3; fill: none; }
.d-sp { fill: var(--panel); stroke: var(--fg); stroke-width: 1.2; }

.callout { border-left: 1px solid var(--rule); padding: 28px 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (max-width: 900px) { .callout { border-left: 0; border-top: 1px solid var(--rule); } }
.readout { display: grid; gap: 0; margin: 0; }
.readout div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--rule-strong); font-size: 0.875rem; }
.readout dt, .readout dd { margin: 0; }
.readout dt { color: var(--muted); font-family: var(--font-mono); font-size: 0.8rem; }
.readout dd { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.verdict { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--pass); }
.verdict::before { content: ""; width: 8px; height: 8px; background: var(--pass); }

/* Spec strip */
.spec-strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg-deep); }
.spec-strip ul { display: flex; flex-wrap: wrap; }
.spec-strip li {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); padding: 16px 22px 16px 0; margin-right: 22px;
  border-right: 1px solid var(--rule);
}
.spec-strip li:last-child { border-right: 0; }
.spec-strip strong { color: var(--fg); font-weight: 500; }

/* Workflow */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { border-top: 2px solid var(--rule-strong); padding-top: 20px; display: grid; gap: 12px; align-content: start; }
.step:first-child { border-top-color: var(--accent-ink); }
.step h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step .io { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg); padding-top: 4px; }
.codes { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.codes .label { margin-right: 6px; }

/* Verify */
.verify-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .verify-grid { grid-template-columns: minmax(0, 1fr); } }
.proofs { display: grid; gap: 0; }
.proof { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.proof:first-child { padding-top: 0; }
.proof::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--accent); grid-row: span 2; border-radius: var(--radius-sm); }
.proof h3 { font-size: 1.02rem; font-weight: 600; }
.proof p { color: var(--muted); font-size: 0.95rem; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); }
@media (max-width: 920px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }
.proof-grid .proof:first-child { padding-top: 18px; }
.record { padding: 26px 26px 22px; display: grid; gap: 18px; }
.record-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; border-bottom: 1px solid var(--rule-strong); padding-bottom: 14px; }
.record-head strong { font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.06em; }
.record dl { margin: 0; display: grid; }
.record dl div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px dotted var(--rule-strong); }
.record dt { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.record dd { margin: 0; font-family: var(--font-mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 480px) { .record dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* A criteria record: answer or value, then the table or clause it came from */
.record .group { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); padding-top: 10px; }
.record.cited dl div { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr) minmax(0, 9.5rem); }
.record.cited .cite { margin: 0; font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent-ink); text-align: right; }
@media (max-width: 560px) {
  .record.cited dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .record.cited .cite { text-align: left; }
}

/* Prose pages (the privacy notice and the like) */
.prose { max-width: 46rem; display: grid; gap: 16px; }
.prose h2 { font-size: 1.3rem; font-weight: 600; margin-top: 22px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.prose td { color: var(--muted); }

.split { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split > div { padding: 24px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.split > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
@media (max-width: 720px) { .split > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }
.split h3 { font-size: 1.05rem; font-weight: 600; }
.ticks li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 2px; background: var(--accent-ink); }
.ticks strong { color: var(--fg); font-weight: 600; }

/* Features: a hairline table of cells */
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.cells.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cells, .cells.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cells, .cells.three { grid-template-columns: minmax(0, 1fr); } }
.cell { background: var(--bg); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.section.deep .cell { background: var(--bg-deep); }
.cell h3 { font-size: 1.02rem; font-weight: 600; }
.cell p { color: var(--muted); font-size: 0.93rem; }
.highlight-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* Two columns: text and a figure */
.pair { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.pair .section-head { margin-bottom: 0; }
.iso svg { display: block; width: 100%; height: auto; }
.figure-frame.shot { background: #000; overflow: hidden; }
.figure-frame.shot img { display: block; width: 100%; height: auto; }

/* AI */
.apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.facts { display: grid; gap: 0; margin-top: 8px; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
.facts strong { color: var(--fg); font-weight: 600; }
.transcript { padding: 24px; display: grid; gap: 18px; font-size: 0.92rem; }
.turn { display: grid; gap: 6px; }
.turn .who { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.turn.you p { color: var(--fg); }
.turn.assistant p { color: var(--muted); }
.calls { display: grid; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.calls li { display: grid; grid-template-columns: 16px minmax(0, 12rem) minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-size: 0.78rem; align-items: baseline; }
.calls li:last-child { border-bottom: 0; }
.calls .ok { color: var(--pass); }
.calls .wait { color: var(--accent-ink); }
.calls .name { color: var(--fg); overflow-wrap: anywhere; }
.calls .what { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 520px) { .calls li { grid-template-columns: 16px minmax(0, 1fr); } .calls .what { grid-column: 2; } }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 920px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier { border: 1px solid var(--rule-strong); padding: 28px; display: grid; gap: 18px; align-content: start; border-radius: var(--radius); }
.tier.lead-tier { background: var(--panel); border-color: var(--accent-ink); }
.tier .price { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.2rem; line-height: 1.1; letter-spacing: -0.02em; }
.tier .per { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.tier p { color: var(--muted); font-size: 0.95rem; }
.tier .ticks { border-top: 1px solid var(--rule); }
.tier .btn { justify-self: start; }
.pricing-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 720px) { .pricing-notes { grid-template-columns: minmax(0, 1fr); } }
.pricing-notes p { font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--rule-strong); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--font-mono); font-size: 1.2rem; color: var(--accent-ink); }
.faq details[open] summary::after { content: "-"; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 44em; display: grid; gap: 10px; }

/* Closing band and footer: Obsidian in both themes, colours from the band tokens only */
.band { background: var(--band-bg); color: var(--band-fg); position: relative; overflow: hidden; border-top: 1px solid var(--band-rule); }
.band .wrap { position: relative; z-index: 1; padding-block: clamp(80px, 11vw, 140px); display: grid; gap: 24px; justify-items: start; }
.band .goat { position: absolute; right: -6%; bottom: -24%; width: min(62vw, 640px); height: auto; z-index: 0; }
.band .goat path { fill: #DDFE55; }
.band h2 { font-weight: 300; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em; color: #DDFE55; max-width: 9em; }
.band p { color: var(--band-muted); max-width: 32em; font-size: 1.1rem; }
.band .about { max-width: 34em; display: grid; gap: 14px; }
.band .btn { color: var(--band-fg); }
.band .btn::after { background: var(--band-bg); }
.band .btn::before { background: rgba(189, 211, 230, 0.34); }
.band .btn.primary { color: #0B2232; }
.band .btn.primary::before { background: #DDFE55; }
@media (max-width: 720px) { .band .goat { opacity: 0.22; right: -30%; bottom: -10%; width: 110vw; } }
/* The product's closing band wears the page's own tokens and the product mark */
.band.product-band { background: var(--bg-deep); color: var(--fg); border-top: 1px solid var(--rule); }
.band.product-band .ff-huge { position: absolute; right: -4%; bottom: -30%; height: min(118%, 560px); width: auto; aspect-ratio: 258 / 317; color: var(--fire); z-index: 0; }
.band.product-band h2 { color: var(--fg); font-family: var(--font-display); font-weight: var(--display-weight); }
.band.product-band h2 em { font-style: normal; color: var(--accent-ink); }
.band.product-band p { color: var(--muted); }
.band.product-band .btn { color: var(--fg); }
.band.product-band .btn::after { background: var(--bg-deep); }
.band.product-band .btn::before { background: var(--rule-strong); }
.band.product-band .btn.primary { color: var(--on-accent); }
.band.product-band .btn.primary::before { background: var(--accent); }
@media (max-width: 720px) { .band.product-band .ff-huge { opacity: 0.25; right: -24%; } }

.footer { background: var(--band-deep); color: var(--band-fg); }
.footer .wrap { padding-block: 64px 40px; display: grid; gap: 48px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 920px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-top .f-brand { grid-column: 1 / -1; } }
.f-brand { display: grid; gap: 14px; align-content: start; }
.f-brand svg { height: 34px; width: auto; }
.f-brand .gg-mark { fill: #DDFE55; }
.f-brand .gg-word { fill: var(--band-fg); }
.f-brand p { color: var(--band-muted); font-size: 0.9rem; }
.f-col { display: grid; gap: 10px; align-content: start; }
.f-col .label { color: var(--band-muted); margin-bottom: 4px; }
.f-col a { text-decoration: none; color: var(--band-fg); font-size: 0.9rem; opacity: 0.86; }
.f-col a:hover { opacity: 1; text-decoration: underline; }
.footer .ff-glyph { color: #E05C00; }
.f-legal { border-top: 1px solid var(--band-rule); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-family: var(--font-mono); font-size: 0.75rem; color: var(--band-muted); }
.f-legal .tag { color: #DDFE55; }

/* The review switch between design versions of a page */
.vbar { background: #000; color: #F5F1E7; font-family: var(--font-mono); font-size: 0.75rem; }
.vbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 44px; padding-block: 6px; }
.vbar .label { color: #A9BDCD; }
.vbar button {
  font: inherit; letter-spacing: 0.04em; cursor: pointer; padding: 6px 12px; border-radius: 4px;
  background: transparent; color: #F5F1E7; border: 1px solid rgba(245, 241, 231, 0.3);
}
.vbar button[aria-pressed="true"] { background: #F5F1E7; color: #000; border-color: #F5F1E7; }
.vbar .hint { color: #A9BDCD; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 40; background: var(--accent); color: var(--on-accent); padding: 8px 12px; }
