/* InnoCraft Labs. One stylesheet, no framework, no JS.
   Brand (marketing/brand): black #0B0B0C, white #F5F5F2, one accent Lab Lime #C6F432, Inter.
   Black-led identity: nav, hero and footer are black in both themes; lime is used as full-bleed
   blocks and solid pills; each app block carries its own app colour. Content pages follow the
   reader's light/dark preference. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --black: #0b0b0c;
  --carbon: #161618;
  --line-dark: #2a2a2e;
  --white: #f5f5f2;
  --on-black: #f5f5f2;
  --on-black-2: #c9c9cd;
  --lime: #c6f432;
  /* content surfaces (switch with the theme) */
  --bg: #f5f5f2;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #3f3f45;
  --line: #d9d9d3;
  --link: #0b0b0c;
  /* app colours, from each app's icon and theme */
  --dm: #04588f;
  --dm-ink: #ffffff;
  --tv-bg: #0b0b0a;
  --tv: #ff9d3f;
  --nv-bg: #134e4a;
  --nv: #d4af37;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #161618;
    --ink: #f5f5f2;
    --ink-2: #c3c3c8;
    --line: #2a2a2e;
    --link: #f5f5f2;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 3px; border-radius: 4px; }
/* Focus ring colour per surface: ink on paper (light and dark), lime on black/app colours, black on lime. */
.black, .tv, .nv, .dm, .site-header, .site-footer { --focus: var(--lime); }
.lime { --focus: var(--black); }
.pill:focus-visible { border-radius: 999px; }
h1, h2, h3 { margin: 0 0 0.45em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--black); padding: 10px 14px; z-index: 20; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; }
.display { font-size: clamp(2.7rem, 11vw, 5.6rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase; }
.h-xl { font-size: clamp(2.3rem, 6.4vw, 5rem); font-weight: 850; line-height: 0.98; letter-spacing: -0.038em; }
.h-l { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.032em; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 36rem; }

/* Pills (buttons) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.pill-lime, .pill-lime:link, .pill-lime:visited, .nav a.pill-lime, .nav a.pill-lime:visited { background: var(--lime); color: var(--black); }
.pill-lime:hover, .nav a.pill-lime:hover { background: #d9ff5e; color: var(--black); }
.pill-lime:active, .nav a.pill-lime:active { background: #b3dd1f; color: var(--black); }
.pill-black, .pill-black:visited { background: var(--black); color: var(--white); }
.pill-black:hover { background: #26262a; color: var(--white); }
.pill-ink, .pill-ink:visited { background: var(--ink); color: var(--bg); }
.pill-ink:hover { background: var(--ink-2); color: var(--bg); }
.pill-white, .pill-white:visited { background: var(--white); color: var(--black); }
.pill-white:hover { background: #ffffff; color: var(--black); }
.pill-tv, .pill-tv:visited { background: var(--tv); color: var(--black); }
.pill-tv:hover { background: #ffb366; color: var(--black); }
.pill-ghost, .pill-ghost:visited { background: transparent; color: inherit; border-color: currentColor; }
.pill-ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.pill-static { background: transparent; color: currentColor; border: 2px dashed currentColor; cursor: default; }
.pill-static:hover { filter: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.badge-play img { height: 48px; width: auto; }
.badge-play { display: inline-block; border-radius: 9px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--black); color: var(--on-black); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.footer-brand img { display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.brand { min-height: 44px; }
.nav a:not(.pill) { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-black); text-decoration: none; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 10px; }
.nav a:not(.pill)[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }
.nav a:not(.pill):hover { color: var(--lime); }
.nav .pill { min-height: 44px; padding: 0 18px; margin-left: 8px; font-size: 0.75rem; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 8px; }
  .brand img { height: 20px; }
  .nav a:not(.pill) { padding: 0 7px; font-size: 0.7rem; letter-spacing: 0.08em; }
  .nav .pill { display: none; }
}

/* Full-bleed blocks */
.block { position: relative; overflow: hidden; }
.black { background: var(--black); color: var(--on-black); }
.black .muted, .black .lead { color: var(--on-black-2); }
.black a:not(.pill) { color: var(--on-black); }
.lime { background: var(--lime); color: var(--black); }
.lime a:not(.pill) { color: var(--black); }
.paper { background: var(--bg); color: var(--ink); }
.dm { background: var(--dm); color: var(--dm-ink); }
.dm .lead, .dm .muted { color: #e4eef6; }
.dm a:not(.pill) { color: #ffffff; }
.tv { background: var(--tv-bg); color: var(--on-black); }
.tv .eyebrow, .tv .accent { color: var(--tv); }
.tv .lead, .tv .muted { color: var(--on-black-2); }
.tv a:not(.pill) { color: var(--on-black); }
.nv { background: var(--nv-bg); color: #ffffff; }
.nv .eyebrow, .nv .accent { color: var(--nv); }
.nv .lead { color: #dcebe8; }
.nv a:not(.pill) { color: #ffffff; }
.black .eyebrow { color: var(--lime); }
.pad { padding: 72px 0; }
@media (min-width: 900px) { .pad { padding: 112px 0; } }

/* Hero */
.hero { padding-top: 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end; }
@media (min-width: 980px) { .hero { padding-top: 96px; } .hero-grid { grid-template-columns: 1.4fr 0.6fr; gap: 48px; } .hero .phones { justify-content: flex-end; } .hero .phones .phone:nth-child(2) { margin-left: -150px; position: relative; z-index: 1; } }
.hero .display { margin-bottom: 28px; }
.hero-copy { padding-bottom: 56px; }
@media (min-width: 980px) { .hero-copy { padding-bottom: 112px; } }

/* Phones: real captures inside a real device frame (rendered by scripts/make-devices.py).
   The image is the whole device; .phones only crops it at the block's bottom edge. */
.phones { --pw: min(42vw, 280px); position: relative; display: flex; gap: 4vw; justify-content: center; align-items: flex-start; height: calc(var(--pw) * 1.62); clip-path: inset(-40px -100vw 0 -100vw); margin-bottom: -1px; }
.phone { flex: none; width: var(--pw); }
.phone img { width: 100%; height: auto; }
.phone + .phone { margin-top: calc(var(--pw) * 0.16); }
@media (min-width: 980px) {
  .phones { --pw: 270px; gap: 28px; }
  .crop-lg { --pw: 290px; }
}
.hero .phones { justify-content: center; }
@media (min-width: 980px) { .hero .phones { justify-content: flex-end; } .hero .phone + .phone { margin-left: -150px; position: relative; z-index: 1; } }

/* App blocks on the home page */
.app-block { padding-top: 72px; }
@media (min-width: 900px) { .app-block { padding-top: 112px; } }
.app-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: end; }
@media (min-width: 980px) { .app-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .app-grid.flip > :first-child { order: 2; } }
.app-copy { padding-bottom: 64px; }
@media (min-width: 980px) { .app-copy { padding-bottom: 112px; } }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.app-id img { width: 56px; height: 56px; border-radius: 14px; }
.app-id strong { display: block; font-size: 1.05rem; font-weight: 750; letter-spacing: -0.01em; }
.app-id span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid currentColor; }
.facts li { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; font-size: 0.98rem; }
.facts b { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }
.soon-note { font-size: 0.9rem; font-weight: 600; margin: 14px 0 0; }

/* Rows: editorial list with rules (principles, features) */
.split2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 980px) { .split2 { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.rows li { padding: 22px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.rows h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.rows p { margin: 0; font-size: 1.02rem; }
.rows.numbered li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 8px; }
.rows .n { font-size: 0.8rem; font-weight: 750; letter-spacing: 0.1em; padding-top: 5px; }
.paper .rows p { color: var(--ink-2); }

/* Money table */
.money { width: 100%; border-collapse: collapse; font-size: 1rem; border-top: 2px solid var(--ink); }
.money th, .money td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.money thead th { font-size: 0.72rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.money tbody th { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; white-space: nowrap; }
.money tbody th a { text-decoration: none; color: var(--ink); }
.money td { color: var(--ink-2); }
@media (max-width: 760px) {
  .money, .money tbody, .money tr, .money th, .money td { display: block; }
  .money thead { display: none; }
  .money tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .money th, .money td { border: 0; padding: 5px 0; }
  .money td::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
}

/* Section heads on paper */
.head { max-width: 46rem; margin-bottom: 40px; }
.head p { color: var(--ink-2); }
.paper .eyebrow { color: var(--ink); }
.block.dm .eyebrow { color: #ffffff; }
.block.tv .eyebrow { color: var(--tv); }
.block.nv .eyebrow { color: var(--nv); }

/* Post list */
.post-rows { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.post-rows li { position: relative; display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .post-rows li { grid-template-columns: 11rem 1fr; } }
.post-rows h2, .post-rows h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 6px; }
.post-rows h2 a, .post-rows h3 a { color: var(--ink); text-decoration: none; }
.post-rows h2 a::after, .post-rows h3 a::after { content: ""; position: absolute; inset: 0; }
.post-rows li:hover h2 a, .post-rows li:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; }
.post-rows p { margin: 0; color: var(--ink-2); }
.post-rows .meta { flex-direction: column; gap: 4px; }
.meta { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 8px 14px; padding-top: 6px; }

/* Page header band (content pages) */
.band { padding: 56px 0 48px; }
@media (min-width: 900px) { .band { padding: 96px 0 72px; } }
.band h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 850; letter-spacing: -0.038em; line-height: 0.98; max-width: 18ch; margin-bottom: 18px; }
.band .lead { color: var(--on-black-2); }
.crumbs { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 22px; color: var(--lime); }
.crumbs a { color: var(--lime) !important; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* App page */
.app-hero { padding-top: 56px; }
@media (min-width: 980px) { .app-hero { padding-top: 88px; } }
.app-hero .crumbs { color: currentColor; }
.app-hero .crumbs a { color: currentColor !important; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(58vw, 250px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); overscroll-behavior-x: contain; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgb(0 0 0 / 0.16)); }
.gallery figcaption { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 14px; }
.gallery figcaption small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: none; color: var(--ink-2); margin-top: 2px; }
.gallery:focus-visible { outline-offset: -3px; }
.fine { font-size: 0.875rem; color: var(--ink-2); }
.black .fine, .tv .fine { color: var(--on-black-2); }
.dm .fine { color: #e4eef6; }
.lime .fine { color: #1d1f12; }
.cols2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .cols2 { grid-template-columns: 1fr 1fr; gap: 72px; } }
.list { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.list li { padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.paper .list li { color: var(--ink-2); }
.dl { margin: 0; border-top: 2px solid currentColor; }
.dl div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
@media (min-width: 720px) { .dl div { grid-template-columns: 12rem 1fr; gap: 24px; } }
.dl dt { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 4px; }
.dl dd { margin: 0; font-size: 1.1rem; font-weight: 500; }
.big-icon { width: 120px; height: 120px; border-radius: 28px; }

/* Prose: privacy, support, blog */
.prose { max-width: 44rem; font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
@media (min-width: 720px) { .prose { font-size: 1.125rem; } }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 850; letter-spacing: -0.035em; margin: 0 0 0.5em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -0.025em; margin: 2.1em 0 0.6em; line-height: 1.15; }
.prose h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.015em; margin: 1.7em 0 0.5em; line-height: 1.25; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin: 0.4em 0; }
.prose li > ul, .prose li > ol { margin: 0.4em 0 0; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 0.1em 0.35em; border-radius: 5px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.6em 0; padding: 2px 0 2px 22px; border-left: 4px solid var(--lime); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose a { word-break: break-word; text-decoration-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95em; display: block; overflow-x: auto; margin: 0 0 1.4em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); font-size: 0.85em; }
.prose img { margin: 2em auto; border-radius: 14px; border: 1px solid var(--line); }
.prose img.portrait { width: 100%; max-width: 380px; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 18px 40px -22px rgb(0 0 0 / 0.35); background: var(--surface); }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption, .prose img + em { display: block; text-align: center; font-size: 0.9rem; color: var(--ink-2); margin-top: 10px; }
.prose p:has(> img:only-child) { margin: 0; }
.page-body { padding: 56px 0 96px; }
@media (min-width: 900px) { .page-body { padding: 80px 0 120px; } }

/* Blog post */
.article-meta { color: var(--lime); }
.related { margin-top: 64px; max-width: 44rem; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center; padding: 28px; }
.related img { width: 72px; height: 72px; border-radius: 17px; }
.related .eyebrow { margin: 0 0 6px; }
.related h2 { font-size: 1.5rem; font-weight: 850; letter-spacing: -0.03em; margin: 0 0 6px; }
.related h2 a { text-decoration: none; }
.related h2 a::after { content: ""; position: absolute; inset: 0; }
.related p { margin: 0; font-size: 1rem; }
.related .go { grid-column: 1 / -1; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.related-apps { margin-top: 64px; max-width: 44rem; }
.related-apps ul { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.related-apps li a { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.related-apps li img { width: 48px; height: 48px; border-radius: 12px; }
.related-apps li span { display: block; color: var(--ink-2); font-size: 0.95rem; }

/* Contact block */
.contact-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.email-pill { font-size: clamp(0.9rem, 3.4vw, 1.05rem); text-transform: none; letter-spacing: 0; min-height: 56px; padding: 0 26px; }

/* Footer */
.site-footer { background: var(--black); color: var(--on-black); padding: 72px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--on-black-2); font-size: 0.95rem; max-width: 22rem; }
.site-footer h2 { font-size: 0.72rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; font-size: 0.95rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: var(--on-black); text-decoration: none; }
.footer-play { margin-top: 12px; }
.footer-play p { font-size: 0.82rem; color: var(--on-black-2); margin: 8px 0 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-contact { grid-column: auto; } }
.footer-contact a.mail { overflow-wrap: anywhere; }
.footer-contact .badge-play { margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-black-2); }

/* 404 */
.notfound .display { max-width: 12ch; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.post-cover { width: 100%; max-width: 900px; border-radius: 18px; margin: 0 0 40px; }

/* Breadcrumbs (visible trail, mirrors the BreadcrumbList JSON-LD) */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: 0.6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs [aria-current] { opacity: 0.85; }

/* Quick answer at the top of app pages and posts */
.answer { max-width: 44rem; margin: 0 0 40px; padding: 22px 24px; border-left: 4px solid var(--ink); background: var(--surface); border-radius: 0 14px 14px 0; font-size: 1.08rem; line-height: 1.6; }
.answer p { margin: 0; }
.answer p + p { margin-top: 0.6em; }
.answer .label { display: block; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
@media (prefers-color-scheme: dark) { .answer { border-left-color: var(--lime); } }

/* Fact table (app pages): label / value rows, comparison friendly */
.fact-table { width: 100%; border-collapse: collapse; font-size: 1rem; border-top: 2px solid var(--ink); }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.fact-table th { width: 34%; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 17px; }
.fact-table td { color: var(--ink-2); }
@media (max-width: 600px) {
  .fact-table, .fact-table tbody, .fact-table tr, .fact-table th, .fact-table td { display: block; width: auto; }
  .fact-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .fact-table th, .fact-table td { border: 0; padding: 2px 0; }
}

/* FAQ: always visible (quotable), one question per row */
.faq { max-width: 52rem; border-top: 2px solid var(--ink); }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; margin: 0 0 8px; }
.faq p { margin: 0; color: var(--ink-2); max-width: 46rem; }
.faq p + p { margin-top: 0.6em; }

/* Blog: byline, related guides, previous / next */
.byline { font-size: 0.9rem; color: var(--on-black-2); margin: 0; }
.byline a { color: var(--on-black) !important; }
.related-guides { margin-top: 64px; max-width: 44rem; }
.related-guides h2 { font-size: 1.5rem; font-weight: 850; letter-spacing: -0.03em; margin: 0 0 16px; }
.related-guides ul { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.related-guides li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.related-guides li strong { display: block; font-size: 1.08rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.35; }
.related-guides li span { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }
.related-guides li a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.post-nav { margin-top: 48px; max-width: 44rem; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); }
.post-nav a:hover { border-color: var(--ink); }
@media (min-width: 640px) { .post-nav .next { text-align: right; grid-column: -2; } }
.post-nav small { display: block; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.post-nav strong { font-weight: 750; line-height: 1.35; }
.prose .cta-line { font-weight: 600; }

/* Studio facts on the home page */
.studio-facts { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); margin: 0; }
.studio-facts div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .studio-facts div { grid-template-columns: 14rem 1fr; gap: 24px; } }
.studio-facts dt { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.studio-facts dd { margin: 0; color: var(--ink-2); }

/* Home hero h1 = studio name + the line (keeps the entity name in the h1) */
.hero h1 { margin: 0 0 28px; }
.hero h1 .eyebrow { color: var(--lime); letter-spacing: 0.16em; line-height: 1.5; }
.hero h1 .display { display: block; }

/* App page: the h1 is the app name; the big line is the tagline */
.app-title { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.app-title span { display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.app-headline { font-size: clamp(2.4rem, 6.6vw, 5.4rem); font-weight: 900; letter-spacing: -0.042em; line-height: 0.95; max-width: 13ch; margin: 0 0 24px; }
.app-hero .crumbs { margin-bottom: 12px; }
.band .crumbs { margin-bottom: 12px; }
.crumbs { margin: 0 0 12px; }

/* Blog index groups */
.blog-group { margin: 0 0 20px; }
.post-rows + .blog-group { margin-top: 72px; }
h2.eyebrow { letter-spacing: 0.16em; line-height: 1.4; font-weight: 700; }

/* Tap targets: at least 44 x 44 px for every stand-alone link */
.site-footer li a, .crumbs a { min-width: 44px; }
.money tbody th a { display: inline-flex; align-items: center; min-height: 44px; margin: -11px 0; }

/* Support page: contact block */
.support-top { align-items: start; }
.support-lead { font-size: 1.12rem; font-weight: 500; margin: 14px 0 24px; max-width: 34ch; }
.support-sub { font-size: 0.92rem; font-weight: 600; margin: 28px 0 12px; }
.support-apps { display: grid; gap: 10px; max-width: 420px; }
.support-app, .support-app:visited { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(11, 11, 12, 0.07); color: var(--black); text-decoration: none; min-height: 60px; transition: background 0.15s; }
.support-app:hover { background: rgba(11, 11, 12, 0.14); }
.support-app img { border-radius: 10px; flex: none; }
.support-app strong { display: block; font-weight: 800; letter-spacing: -0.01em; }
.support-app small { display: block; font-size: 0.82rem; font-weight: 600; opacity: 0.75; }
.support-steps { border-top-color: var(--black); }
.support-steps .num { font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; padding-top: 4px; }
.support-jump { padding: 28px 0; }
.support-jump .eyebrow { margin-bottom: 12px; }
.support-jump-row { display: flex; flex-wrap: wrap; gap: 10px; }
.support-jump-row a, .support-jump-row a:visited { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #3a3a40; color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.support-jump-row a:hover { border-color: var(--lime); color: var(--lime); }

/* "Our apps" link page (/apps/): the link in the social bios. Mobile first (Instagram's in-app browser).
   One card per app from src/apps.mjs; tap targets are 48 px or more. */
.lp { padding: 32px 0 64px; }
@media (min-width: 900px) { .lp { padding: 72px 0 112px; } }
.lp-wrap { max-width: 1120px; }
.lp-head { margin-bottom: 24px; }
.lp-head h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 850; letter-spacing: -0.038em; line-height: 0.98; margin: 0 0 12px; }
.lp-head .lead { font-size: 1.02rem; color: var(--on-black-2); margin: 0; max-width: 30rem; }
@media (min-width: 900px) { .lp-head { margin-bottom: 40px; } .lp-head .lead { font-size: 1.2rem; } }
.lp-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .lp-apps { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; } }
.lp-card { display: flex; flex-direction: column; background: var(--carbon); border: 1px solid var(--line-dark); border-radius: 22px; padding: 6px 18px 18px; }
.lp-card.lp-dm { border-top: 3px solid #3d9ad6; }
.lp-card.lp-tv { border-top: 3px solid var(--tv); }
.lp-card.lp-nv { border-top: 3px solid var(--nv); }
.lp-id { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 12px 0; color: var(--on-black) !important; text-decoration: none; border-radius: 14px; }
.lp-id img { flex: none; width: 64px; height: 64px; border-radius: 16px; }
.lp-txt { flex: 1; min-width: 0; }
.lp-txt h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 6px; }
.lp-id:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.lp-status { display: inline-block; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; padding: 6px 9px; border-radius: 999px; border: 1px solid #5a5a60; color: var(--on-black-2); }
.lp-status.is-live { background: var(--lime); border-color: var(--lime); color: var(--black); }
.lp-chev { flex: none; width: 22px; height: 22px; color: var(--on-black-2); }
.lp-id:hover .lp-chev { color: var(--lime); }
.lp-line { font-size: 1rem; line-height: 1.45; color: var(--on-black-2); margin: 0 0 16px; flex: 1; }
.lp-cta { width: 100%; min-height: 52px; white-space: normal; text-align: center; }
.lp .pill-ghost { color: var(--on-black); border-color: #6a6a70; }
.lp .pill-ghost:hover { border-color: var(--lime); color: var(--lime); background: transparent; }
.lp-more { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
@media (min-width: 900px) { .lp-more { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 72px; } }
.lp-h2 { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin: 0 0 8px; line-height: 1.4; }
.lp-sub { color: var(--on-black-2); font-size: 0.98rem; margin: 0 0 16px; }
.lp-social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-social a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 10px 4px; border: 1px solid var(--line-dark); border-radius: 18px; background: var(--carbon); color: var(--on-black) !important; text-decoration: none; font-size: 0.85rem; font-weight: 700; }
.lp-social a:hover { border-color: var(--lime); color: var(--lime) !important; }
.lp-social svg { width: 26px; height: 26px; }
.lp-links { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.lp-links li { border-bottom: 1px solid var(--line-dark); }
.lp-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 0; color: var(--on-black) !important; text-decoration: none; }
.lp-links a > span { min-width: 0; }
.lp-links b { display: block; font-size: 1.02rem; font-weight: 750; letter-spacing: -0.01em; }
.lp-links b + span { display: block; font-size: 0.9rem; color: var(--on-black-2); }
.lp-links .lp-mail { overflow-wrap: anywhere; }
.lp-links a:hover b { color: var(--lime); }
.lp-links a:hover .lp-chev { color: var(--lime); }
