/* Good Expectations — Apple-style live stylesheet.
   Built from the site's original inline CSS: every selector, animation,
   modal/chat/vote state, breakpoint and accessibility helper is preserved.
   Only the visual language changed — Apple palette, SF system type,
   pill buttons, border-only cards, no shadows/gradients/glass. */
:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e7eb;
  --line-strong: #e5e7eb;
  --accent: #0071e3;
  --primary: #0071e3;
  --secondary: #0066cc;
  --tertiary: #f5f5f7;
  --accent-soft: #f5f5f7;
  --button-ink: #ffffff;
  --success: #275c45;
  --shadow: rgba(0, 0, 0, 0);
  --max: 1280px;
  --pad: clamp(20px, 4.2vw, 64px);
  --section: 102px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #ffffff; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 72%, var(--ink)); outline-offset: 3px; }
.skip { position: fixed; left: 14px; top: -72px; z-index: 100; padding: 10px 15px; border-radius: 8px; background: var(--ink); color: var(--button-ink); }
.skip:focus { top: 14px; }
label.skip { position: absolute; top: auto; left: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--muted); font: 500 12px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { max-width: 1040px; margin-inline: auto; margin-bottom: 26px; font-size: clamp(52px, 7.4vw, 106px); line-height: .95; font-weight: 700; }
h2 { max-width: 880px; margin-bottom: 24px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; font-weight: 650; }
h3 { margin-bottom: 16px; font-size: clamp(25px, 3vw, 39px); line-height: 1.08; }
.lede { max-width: 680px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--button-ink); font-weight: 700; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); background: var(--accent); color: #ffffff; }
.button-light { background: var(--surface); color: var(--ink); }
.button-accent { border-color: var(--accent); background: var(--accent); color: #ffffff; }
.button-accent:hover { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: var(--muted); }

.mast { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in srgb, var(--line) 84%, transparent); background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(16px); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 800; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: var(--ink); color: var(--accent); font-size: 12px; letter-spacing: -.08em; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav-links > a { font-size: 13px; font-weight: 650; text-decoration: none; }
.nav-links > a:not(.button):hover { color: var(--muted); }
.nav-links .button { min-height: 42px; padding: 9px 18px; }

.hero { padding: clamp(84px, 11vw, 150px) 0 72px; text-align: center; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .lede { margin: 0 auto 36px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-form { width: min(100%, 590px); display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 34px auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: none; text-align: left; }
.hero-form input { min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero-form input::placeholder { color: var(--muted); }
.hero-form .button { min-height: 48px; border: 0; }
.hero-note { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; max-width: 1100px; margin: 76px auto 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; text-align: left; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--accent); opacity: .72; }
.visual-top { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 4px 4px 20px; color: var(--muted); font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.visual-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.visual-main, .visual-card { border: 1px solid var(--line); background: var(--surface); }
.visual-main { min-height: 350px; padding: clamp(24px, 4vw, 50px); border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.visual-main strong { max-width: 540px; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.visual-main p { max-width: 520px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.visual-side { display: grid; gap: 16px; }
.visual-card { min-height: 167px; padding: 24px; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.visual-card.accent { background: var(--ink); color: var(--button-ink); }
.visual-card .mini { font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; color: var(--muted); }
.visual-card.accent .mini { color: color-mix(in srgb, var(--button-ink) 68%, transparent); }
.visual-card b { font-size: 28px; line-height: 1.08; letter-spacing: -.04em; }

.logo-band { padding: 32px 0 38px; border-block: 1px solid var(--line); background: var(--surface); }
.band-label { margin: 0 0 24px; color: var(--muted); font-size: 12px; text-align: center; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.logo-row { display: flex; width: max-content; gap: 10px; animation: logo-marquee 24s linear infinite; }
.logo-placeholder { width: clamp(180px, 20vw, 250px); min-height: 62px; flex: 0 0 auto; display: grid; place-items: center; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--muted); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; text-align: center; }
.ticker-row { animation-duration: 42s; }
.ticker-dup { display: contents; }
.logo-marquee:hover .ticker-row, .logo-marquee:focus-within .ticker-row { animation-play-state: paused; }
.ticker-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--page); color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background .18s, border-color .18s; }
.ticker-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.ticker-chip:hover { border-color: var(--ink); background: var(--surface); }
@keyframes logo-marquee { to { transform: translateX(calc(-50% - 5px)); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.engine { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.engine-intro { max-width: 900px; margin-bottom: 46px; }
.engine-intro h2 { margin-bottom: 18px; }
.engine-intro p { max-width: 650px; color: var(--muted); font-size: 18px; }
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engine-card { min-height: 390px; padding: clamp(32px, 5vw, 60px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; }
.engine-card.accent { background: var(--accent); color: #ffffff; }
.engine-card h3 { max-width: 520px; margin: 54px 0 22px; font-size: clamp(37px, 5vw, 62px); }
.engine-card p { max-width: 520px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.engine-card.accent p { color: #1d1d1f; }
.stat { padding: clamp(38px, 5vw, 68px) var(--pad); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 13px; font-size: clamp(42px, 6vw, 78px); line-height: .92; letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: 14px; }
.placeholder-tag { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font: 500 10px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .03em; text-transform: uppercase; }
.placeholder-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: clamp(52px, 7vw, 90px); }
.section-head p { max-width: 460px; margin-bottom: 0; color: var(--muted); }
.services-list { display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature:nth-child(even) .feature-art { order: 1; }
.feature-copy { padding: clamp(34px, 5.6vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.feature-num { margin-bottom: 44px; color: var(--muted); font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.feature-copy p { max-width: 520px; margin-bottom: 30px; color: var(--muted); font-size: 17px; }
.feature-art { position: relative; display: grid; place-items: center; min-height: 440px; padding: clamp(24px, 4vw, 54px); background: var(--surface-2); overflow: hidden; }
.feature-art::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 1px solid var(--line-strong); }
.feature-art::after { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; border: 1px solid var(--line-strong); }
.art-stack { position: relative; z-index: 2; width: min(100%, 400px); display: grid; gap: 12px; }
.art-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }
.art-row span { color: var(--muted); font: 500 10px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.art-row b { font-size: 14px; }
.art-row.highlight { border-color: var(--ink); background: var(--ink); color: var(--button-ink); transform: translateX(22px); }
.art-row.highlight span { color: color-mix(in srgb, var(--button-ink) 66%, transparent); }

.process-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin: 72px 0 26px; }
.process-intro h3 { margin-bottom: 0; font-size: clamp(34px, 4.5vw, 58px); }
.process-intro p { max-width: 580px; margin-bottom: 0; color: var(--muted); }
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.process-step { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step span { display: block; margin-bottom: 55px; color: var(--muted); font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.process-step h3 { font-size: 23px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.ecosystem-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; }
.node-list { display: grid; gap: 8px; }
.node { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.node::after { content: "→"; color: var(--muted); }
.node:hover, .node.active { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.node.active::after { color: var(--accent); }
.node-detail { min-height: 480px; padding: clamp(36px, 6vw, 78px); border-radius: 8px; background: var(--accent); color: #ffffff; display: flex; flex-direction: column; justify-content: space-between; }
.detail-index { font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.node-detail h3 { margin: 18px 0; font-size: clamp(52px, 7vw, 86px); }
.node-detail p { max-width: 650px; font-size: clamp(20px, 2.4vw, 29px); line-height: 1.35; }
.detail-chain { padding-top: 20px; border-top: 1px solid rgba(29, 29, 31, .3); font: 500 12px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }

.lab-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.lab { min-height: 300px; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.lab:last-child { border-right: 0; }
.lab-num { color: var(--muted); font: 500 10px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.lab h3 { font-size: 28px; }
.lab p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.status { width: fit-content; padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 10px; }

.projects-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.project-card { min-height: 530px; padding: clamp(34px, 5vw, 62px); border: 1px solid var(--line); border-radius: 8px; background: var(--ink); color: var(--button-ink); display: flex; flex-direction: column; justify-content: space-between; }
.project-card .placeholder-tag { background: #1d1d1f; color: #e5e7eb; }
.project-card h3 { margin-top: 44px; font-size: clamp(42px, 5.5vw, 70px); }
.project-card p { color: color-mix(in srgb, var(--button-ink) 68%, transparent); font-size: 18px; }
.project-card .text-link { color: var(--accent); }
.case-story { padding: clamp(34px, 5vw, 62px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.case-block { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.case-block:first-child { padding-top: 0; }
.case-block:last-child { border-bottom: 0; padding-bottom: 0; }
.case-block span { color: var(--muted); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.case-block p { margin: 0; font-size: 19px; line-height: 1.5; }
.project-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; }
.project-link:hover { border-color: var(--ink); }
.project-link strong { font-size: 19px; }
.project-link span { color: var(--muted); font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }

.signals-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.article-card, .newsletter-card { min-height: 520px; padding: clamp(34px, 5vw, 62px); border-radius: 8px; }
.article-card { border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; }
.article-card h3 { margin: 44px 0 18px; font-size: clamp(38px, 5vw, 62px); }
.article-card p { color: var(--muted); font-size: 18px; }
.article-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.newsletter-card { background: var(--accent); color: #ffffff; display: flex; flex-direction: column; justify-content: space-between; }
.newsletter-card h3 { margin: 28px 0 18px; font-size: clamp(42px, 5vw, 64px); }
.newsletter-card p { max-width: 500px; font-size: 18px; }
.newsletter-form { margin-top: 48px; }
.newsletter-field { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 8px; border-radius: 999px; background: #f5f5f7; }
.newsletter-field input { min-width: 0; height: 48px; padding: 0 13px; border: 0; outline: 0; background: transparent; color: #ffffff; }
.newsletter-note { min-height: 22px; margin: 11px 5px 0 !important; font-size: 11px !important; }

.proof-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card { min-height: 350px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; }
.quote-card blockquote { margin: 38px 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.quote-card cite { color: var(--muted); font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-style: normal; text-transform: uppercase; }

.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engagement { min-height: 410px; padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; }
.engagement.featured { background: var(--ink); color: var(--button-ink); }
.engagement .type { margin-bottom: 46px; color: var(--muted); font: 500 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.engagement.featured .type, .engagement.featured p { color: color-mix(in srgb, var(--button-ink) 66%, transparent); }
.engagement h3 { font-size: 31px; }
.engagement p { color: var(--muted); }
.engagement ul { margin: 16px 0 34px; padding: 0; list-style: none; }
.engagement li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.engagement.featured li { border-color: #1d1d1f; }
.engagement .button { margin-top: auto; align-self: flex-start; }

.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.product-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.product-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-info { display: flex; min-height: 210px; flex-direction: column; padding: 24px; }
.product-variant { margin: 0 0 10px; color: var(--muted); font: 500 10px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.product-info h3 { margin-bottom: 12px; font-size: clamp(23px, 2.3vw, 30px); }
.product-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 24px; }
.product-price strong { font-size: 20px; }
.product-price span { color: var(--muted); font: 500 9px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.product-info .button { width: 100%; margin-top: auto; }
.product-info .button[aria-disabled="true"] { cursor: not-allowed; opacity: .72; }
.shop-note { max-width: 720px; margin: -48px 0 46px; color: var(--muted); font-size: 13px; }
.shop-status { min-height: 22px; margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.tools-strip { margin-bottom: 56px; }
.tools-buttons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tool-btn { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--button-ink); text-decoration: none; transition: background .18s, transform .18s, box-shadow .18s; }
.tool-btn:hover { background: #1d1d1f; transform: translateY(-2px); box-shadow: none; }
.tool-btn:active { transform: translateY(0); }
.tool-emoji { font-size: 30px; line-height: 1; }
.tool-text { display: flex; flex-direction: column; gap: 2px; }
.tool-text strong { font-size: 17px; font-weight: 800; }
.tool-text small { font-size: 13px; opacity: .72; }
@media (max-width: 1024px) { .tools-buttons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tools-buttons { grid-template-columns: 1fr; } .tool-btn { min-height: 72px; } }
.tools-cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 36px 0 12px; }
.tools-strip .tools-cat:first-of-type { margin-top: 18px; }
.dir-cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; list-style: none; margin: 20px 0 4px; }
.pages-group ul li.dir-cat:first-child { margin-top: 2px; }

/* Site directory — every page, one tap away */
.pages-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; margin-top: 10px; }
.pages-group h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pages-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pages-group a { display: flex; flex-direction: column; gap: 2px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pages-group a:hover { transform: translateY(-2px); box-shadow: none; border-color: var(--line-strong); }
.pages-group a strong { font-size: 15px; font-weight: 700; }
.pages-group a span { font-size: 13px; color: var(--muted); }

.toolkit-panel { display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; overflow: hidden; }
.toolkit-copy { padding: clamp(42px, 6vw, 80px); background: var(--ink); color: var(--button-ink); }
.toolkit-copy .eyebrow { color: color-mix(in srgb, var(--button-ink) 65%, transparent); }
.toolkit-copy h2 { margin: 30px 0 24px; }
.toolkit-copy p { max-width: 560px; color: color-mix(in srgb, var(--button-ink) 70%, transparent); font-size: 18px; }
.toolkit-copy .text-link { margin-top: 30px; color: var(--accent); }
.toolkit-words { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--surface-2); }
.toolkit-words span { display: grid; place-items: center; min-height: 110px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; text-align: center; }
.toolkit-words span:nth-child(2n) { border-right: 0; }
.toolkit-words span:nth-last-child(-n+2) { border-bottom: 0; }
.toolkit-words .accent { background: var(--accent); color: #ffffff; }

.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.founder-portrait { min-height: 560px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.founder-portrait img { width: 100%; height: 100%; min-height: 560px; display: block; object-fit: cover; object-position: center 20%; }
.about-copy { min-height: 560px; padding: clamp(36px, 5.6vw, 72px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; }
.founder-profile { display: grid; grid-template-columns: .6fr 1.4fr; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.founder-name strong { display: block; font-size: 24px; }
.founder-name span { display: block; margin-top: 8px; color: var(--muted); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.founder-profile p { margin: 0; color: var(--muted); font-size: 18px; }

.future-panel { display: grid; grid-template-columns: 1fr .9fr; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.future-copy { padding: clamp(42px, 6vw, 80px); }
.future-copy p { max-width: 590px; color: var(--muted); font-size: 19px; }
.future-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0; }
.future-tabs span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.future-art { position: relative; min-height: 500px; display: grid; place-items: center; background: var(--accent); color: #ffffff; overflow: hidden; }
.future-art::before, .future-art::after { content: ""; position: absolute; width: 450px; aspect-ratio: 1; border: 1px solid rgba(29, 29, 31, .35); border-radius: 50%; }
.future-art::after { width: 290px; }
.future-art strong { position: relative; z-index: 2; max-width: 300px; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.055em; text-align: center; }

.final-cta { padding: var(--section) 0; background: var(--ink); color: var(--button-ink); text-align: center; }
.final-cta .eyebrow { color: color-mix(in srgb, var(--button-ink) 65%, transparent); }
.final-cta h2 { max-width: 920px; margin-inline: auto; font-size: clamp(46px, 6.8vw, 88px); }
.final-cta p { max-width: 620px; margin: 0 auto 34px; color: color-mix(in srgb, var(--button-ink) 68%, transparent); font-size: 20px; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 7vw, 100px); }
.contact-copy p { max-width: 440px; color: var(--muted); font-size: 18px; }
.contact-copy a { display: inline-block; margin-top: 20px; }
.contact-form { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.field { display: grid; gap: 8px; margin-bottom: 23px; }
.field label { color: var(--muted); font: 500 11px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 74%, transparent); }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.form-status { min-height: 22px; margin: 0; color: var(--muted); font-size: 12px; }

.site-footer { padding: 58px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 46px; }
.footer-statement { max-width: 500px; margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.18; letter-spacing: -.035em; }
.footer-group { display: grid; align-content: start; gap: 10px; font-size: 13px; }
.footer-group strong { margin-bottom: 8px; color: var(--muted); font: 500 10px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.footer-group a { width: fit-content; }
.footer-placeholder { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-link { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; text-transform: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-link:hover { color: var(--ink); }
body.modal-open { overflow: hidden; }
.legal-modal[hidden] { display: none; }
.legal-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.legal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(29, 29, 31, .72); cursor: pointer; }
.legal-panel { position: relative; width: min(760px, 100%); max-height: min(820px, calc(100svh - 40px)); overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }
.legal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-head h2 { margin: 0; font-size: clamp(36px, 6vw, 62px); }
.legal-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 23px; line-height: 1; }
.legal-close:hover { border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.legal-meta { margin: -16px 0 34px; color: var(--muted); font: 500 10px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.legal-copy h3 { margin: 34px 0 10px; font-size: 21px; letter-spacing: -.025em; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 15px; }
.legal-copy p { margin-bottom: 14px; }
.legal-copy ul { margin: 12px 0 0; padding-left: 20px; }
.legal-copy li + li { margin-top: 8px; }
.legal-copy a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

.chat-launcher { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 70; min-height: 50px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 17px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--button-ink); box-shadow: none; cursor: pointer; font-size: 12px; font-weight: 700; }
.chat-launcher:hover { background: var(--accent); color: #ffffff; }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chat-panel { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 66px); z-index: 69; display: none; width: min(410px, calc(100vw - 40px)); height: min(610px, calc(100svh - 110px)); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: none; overflow: hidden; }
.chat-panel.open { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: 17px; }
.chat-head span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.chat-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.chat-close:hover { background: var(--surface-2); }
.chat-body { min-height: 0; overflow-y: auto; padding: 18px; }
.chat-message { max-width: 88%; margin-bottom: 12px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); font-size: 14px; }
.chat-message.visitor { margin-left: auto; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--button-ink); }
.chat-action { display: inline-block; margin-top: 8px; font-weight: 700; text-underline-offset: 3px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 15px; }
.chat-quick button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; }
.chat-quick button:hover { background: var(--surface-2); }
.chat-compose { padding: 14px; border-top: 1px solid var(--line); }
.chat-compose form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.chat-compose input { min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--page); color: var(--ink); outline: 0; }
.chat-compose button { padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--button-ink); cursor: pointer; font-weight: 700; }
.chat-disclosure { margin: 8px 4px 0; color: var(--muted); font-size: 9px; }

@media (max-width: 980px) {
  .nav-links > a:not(.button) { display: none; }
  .nav-links > a.nav-shop { display: block; }
  .feature, .engine-grid, .ecosystem-shell, .projects-grid, .signals-layout, .toolkit-panel, .about-layout, .future-panel, .contact-layout { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-copy, .feature:nth-child(even) .feature-art { order: initial; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .process-strip { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .lab:nth-child(2n) { border-right: 0; }
  .lab { border-bottom: 1px solid var(--line); }
  .lab:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .proof-cards, .engagement-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-card { min-height: 280px; }
  .engagement { min-height: auto; }
  .founder-profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-statement { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  :root { --pad: 18px; --section: 76px; }
  .nav-shell { min-height: 66px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 22px; height: 22px; border-radius: 4px; font-size: 10px; }
  .nav-links { gap: 10px; }
  .nav-links .nav-shop { font-size: 12px; }
  .nav-links .button { min-height: 40px; padding-inline: 14px; font-size: 12px; }
  .hero { padding-top: 74px; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-form, .newsletter-field { grid-template-columns: 1fr; border-radius: 8px; }
  .hero-form .button, .newsletter-field .button { width: 100%; }
  .hero-visual { margin-top: 52px; padding: 12px; border-radius: 8px; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-main { min-height: 310px; }
  .visual-card { min-height: 145px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .section-head, .process-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
  .feature { min-height: 0; border-radius: 8px; }
  .feature-copy { padding: 34px 24px; }
  .feature-art { min-height: 360px; }
  .feature-num { margin-bottom: 32px; }
  .art-row.highlight { transform: translateX(8px); }
  .process-strip { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .process-step span { margin-bottom: 28px; }
  .node-detail { min-height: 400px; padding: 32px 24px; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab, .lab:nth-child(2n), .lab:last-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .lab:last-child { border-bottom: 0; }
  .lab { min-height: 250px; }
  .project-card, .case-story, .article-card, .newsletter-card, .about-copy, .contact-form { padding: 30px 24px; border-radius: 8px; }
  .case-block { grid-template-columns: 1fr; gap: 9px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-note { margin-top: -34px; }
  .product-info { min-height: 0; padding: 24px; }
  .article-meta { align-items: flex-start; flex-direction: column; }
  .toolkit-copy, .future-copy { padding: 42px 24px; }
  .toolkit-words span { min-height: 90px; padding: 12px; font-size: 14px; }
  .founder-portrait, .founder-portrait img { min-height: 420px; }
  .future-art { min-height: 380px; }
  .form-bottom { align-items: flex-start; flex-direction: column; }
  .form-bottom .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-statement { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-modal { padding: 12px; align-items: end; }
  .legal-panel { max-height: calc(100svh - 24px); padding: 28px 22px; border-radius: 8px; }
  .legal-head { gap: 18px; margin-bottom: 28px; }
  .legal-meta { margin-top: -12px; }
  .chat-launcher { position: static; width: 50px; margin: 0 12px max(12px, env(safe-area-inset-bottom)) auto; padding: 0; justify-content: center; }
  .chat-launcher > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-panel { right: 12px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 62px); width: calc(100vw - 24px); height: min(600px, calc(100svh - 92px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .logo-row { transform: translateX(0) !important; }
}
  /* Stack the chat button (and its panel) above the Cal booking bubble so neither covers the other */
.chat-launcher { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 78px); }
.chat-panel { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 144px); height: min(610px, calc(100svh - 188px)); }
@media (max-width: 760px) {
  .chat-launcher { position: fixed; right: 12px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 70px); margin: 0; }
  .chat-panel { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 130px); height: min(600px, calc(100svh - 160px)); }
}
/* Phones: keep the header inside the screen */
@media (max-width: 430px) {
  .nav-shell { gap: 12px; }
  .nav-links { gap: 8px; }
  .nav-links .button { padding-inline: 12px; white-space: nowrap; }
  .nav-links > a.nav-shop { display: none; }
}




/* ---------- Alive: motion + live signals ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; z-index: 70; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
html.alive .rv { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-delay, 0ms); }
html.alive .rv.in { opacity: 1; transform: none; }
html.alive .hw { display: inline-block; opacity: 0; transform: translateY(.35em) rotate(1.5deg); animation: hw-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes hw-rise { to { opacity: 1; transform: none; } }
html.alive .eyebrow::before { animation: dot-breathe 2.6s ease-in-out infinite; }
@keyframes dot-breathe { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 10%, transparent); } }
.nav-links a:not(.button) { position: relative; }
.nav-links a:not(.button)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s ease; }
.nav-links a.is-active::after, .nav-links a:not(.button):hover::after { transform: scaleX(1); }
.hero-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%); mix-blend-mode: multiply; }
.hero-visual.lit::after { opacity: 1; }
html.alive .visual-card { animation: float 7s ease-in-out infinite; }
html.alive .visual-card:nth-child(2) { animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.lab, .a-card, .engagement, .product-card, .lab-panel, .project-card, .article-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .18s; }
@media (hover: hover) {
  .engagement:hover, .product-card:hover, .lab-panel:hover, .project-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: none; }
}
.pulse { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 22px auto 0; opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s; }
.pulse.ready { opacity: 1; transform: none; }
.pulse-live, .pulse-item { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: 500 12px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .01em; text-decoration: none; }
.pulse-item b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pulse-item span { color: var(--ink); }
a.pulse-item:hover { border-color: var(--ink); color: var(--ink); }
.pulse-live { border-color: var(--ink); background: var(--ink); color: var(--button-ink); text-transform: uppercase; letter-spacing: .08em; }
.pulse-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 640px) { .pulse-item[data-pulse="article"] span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .pulse-live i::after { animation: none; } .pulse { transition: none; } }

/* Homepage articles */
.card-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-card { display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .18s, transform .18s; }
.a-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.a-card .k { color: var(--muted); font: 500 11px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.a-card h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.a-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.a-card .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; }
.a-card.lead { grid-column: 1 / -1; padding: clamp(28px, 4vw, 46px); border-color: var(--ink); background: var(--ink); color: var(--button-ink); }
.a-card.lead h3 { max-width: 820px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.a-card.lead p { max-width: 680px; color: color-mix(in srgb, var(--button-ink) 72%, transparent); font-size: 17px; }
.a-card.lead .k { color: color-mix(in srgb, var(--button-ink) 62%, transparent); }
.a-card.lead .go { color: var(--accent); }
@media (max-width: 980px) { .home-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home-articles, .card-list { grid-template-columns: 1fr; } }

/* Labs as links, Shop chip, About extras */
a.lab { color: var(--ink); text-decoration: none; transition: background .18s; }
a.lab:hover { background: var(--page); }
a.lab:hover .status { background: var(--accent); }
.ticker-shop { background: var(--ink); border-color: var(--ink); color: var(--button-ink); }
.ticker-shop::before { box-shadow: none; }
.ticker-shop:hover { background: #1d1d1f; border-color: #1d1d1f; color: var(--button-ink); }
.founder-body { display: grid; gap: 16px; }
.about-extra { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 24px; }
.principles, .facts { margin: 0; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.principles h3 { margin: 0 0 18px; font-size: 26px; }
.principles ol { display: grid; gap: 14px; margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 17px; }
.principles li::marker { color: var(--ink); font-weight: 800; }
.principles strong { color: var(--ink); }
.facts { display: grid; align-content: start; gap: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; } .facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { margin-bottom: 6px; color: var(--muted); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.facts a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 900px) { .about-extra { grid-template-columns: 1fr; } }


/* Labs extras: waitlists, SEO snapshot, build log, vote */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.labs-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.lab-panel { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3.4vw, 38px); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.lab-panel h3 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -.02em; }
.lab-panel > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.lab-panel.offer { background: var(--accent); border-color: var(--accent); }
.lab-panel.offer > p, .lab-panel.offer .lab-num, .lab-panel.offer .lead-status { color: #ffffff; }
.lab-panel.vote { grid-column: 1 / -1; }
.lead-form, .vote-form { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.lead-row { display: flex; gap: 8px; }
.lead-row input { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--page); color: var(--ink); font: inherit; font-size: 15px; }
.lead-row input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.lead-row .button { flex: 0 0 auto; min-height: 50px; padding: 0 20px; font-size: 14px; }
.lead-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 13px; }
.lead-status.ok { color: var(--success); font-weight: 700; } .lead-status.err { color: #d92d20; font-weight: 700; }
.log-list { display: grid; gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.log-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.log-list strong { color: var(--ink); } .log-list a { color: var(--ink); font-weight: 700; }
.log-tag { padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font: 500 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; }
.log-tag.next { background: var(--accent); }
.vote-form fieldset { margin: 0; padding: 0; border: 0; }
.vote-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vote-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--page); cursor: pointer; }
.vote-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.vote-opt input { width: 18px; height: 18px; margin: 0; accent-color: #1d1d1f; }
.vote-label { font-weight: 700; font-size: 15px; }
.vote-count { grid-column: 3; grid-row: 1; color: var(--muted); font: 500 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: nowrap; }
.vote-bar { grid-column: 2 / 4; grid-row: 2; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; display: none; }
.vote-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #1d1d1f; transition: width .5s; }
.vote-form.has-results .vote-bar { display: block; }
@media (max-width: 900px) { .labs-more, .vote-options { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lead-row { flex-direction: column; } .lead-row .button { width: 100%; } }

/* Email contact touches */
.mail-card { max-width: 460px; margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.contact-copy .mail-card a { margin-top: 0; }
.mail-label { display: block; margin-bottom: 10px; color: var(--muted); font: 500 10px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.contact-copy .mail-card .mail-address { display: inline-block; font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; text-decoration: none; }
.mail-address:hover { text-decoration: underline; text-underline-offset: 5px; }
.mail-actions, .mail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.contact-copy .mail-card .mail-btn, .mail-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--button-ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.mail-btn-ghost { background: transparent !important; color: var(--ink) !important; border-color: var(--line-strong) !important; }
.mail-chips-label { width: 100%; margin: 4px 0 0; color: var(--muted); font-size: 13px !important; }
.contact-copy .mail-card .mail-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.mail-chip:hover { background: var(--accent); }
.final-cta .final-alt { margin: 24px auto 0; font-size: 16px; }
.final-alt a { color: var(--accent); font-weight: 700; text-underline-offset: 4px; }

/* ============================================================
   APPLE RESTYLE OVERRIDES
   Visual language only — no layout/behavior changes beyond the
   design tokens the user supplied. Later in the file, so these
   win over the preserved base rules at equal specificity.
   ============================================================ */

/* Type scale — SF Pro hierarchy, tighter and quieter */
h1 { font-size: clamp(44px, 6.4vw, 72px); line-height: 1.08; letter-spacing: -.022em; font-weight: 700; }
h2 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
h3 { letter-spacing: -.018em; font-weight: 600; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; }
.eyebrow { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; letter-spacing: .06em; }
.eyebrow::before { box-shadow: none; }

/* Quiet, minimal top nav (Apple: 48px, translucent white) */
.mast { background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 52px; }
.brand { font-weight: 600; }
.brand-mark { background: var(--ink); color: #ffffff; border-radius: 4px; }
.nav-links > a { font-weight: 400; font-size: 13px; }
.nav-links .button { min-height: 44px; padding: 11px 21px; }

/* Buttons — Apple primary / secondary / link */
.button { min-height: 44px; padding: 11px 21px; border: 1px solid transparent; border-radius: 980px; background: var(--accent); color: #ffffff; font-weight: 400; box-shadow: none; }
.button:hover { background: var(--secondary); color: #ffffff; transform: none; }
.button-accent { border-color: var(--secondary); background: transparent; color: var(--secondary); }
.button-accent:hover { border-color: var(--secondary); background: var(--secondary); color: #ffffff; }
.button-light { border-color: var(--secondary); background: transparent; color: var(--secondary); }
.button-light:hover { background: var(--secondary); color: #ffffff; }
.text-link { color: var(--secondary); font-weight: 400; text-decoration: none; }
.text-link:hover { color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }
.hero-form .button, .lead-row .button { min-height: 44px; }
.merch-buy { min-height: 44px; padding: 11px 21px; border-radius: 980px; }
.mail-btn { border-color: transparent; background: var(--accent); color: #ffffff; font-weight: 400; }
.mail-btn:hover { background: var(--secondary); }
.mail-btn-ghost { background: transparent !important; color: var(--secondary) !important; border-color: var(--secondary) !important; }
.mail-chip:hover { background: var(--accent); color: #ffffff; }

/* Hero — centered, spacious, imagery in a border-only frame */
.hero { padding: 102px 0 84px; }
.hero-form { box-shadow: none; border-radius: 980px; }
.hero-visual { border-radius: 8px; box-shadow: none; }
.hero-visual::before { background: var(--surface-2); opacity: 1; }
.hero-visual::after { background: none; }

/* Section bands — alternate white / #f5f5f7 by existing section id/class */
.logo-band { background: var(--surface-2); }
.engine { background: var(--surface-2); }
section#ecosystem, section#projects, section#signals, section#shop { background: var(--surface-2); }
section#services, section#labs, section#articles, section#engagements, section#pages, section#about, section#contact { background: #ffffff; }

/* Cards — 1px border, 8px radius, no shadow (reinforced) */
.engine-card, .article-card, .product-card, .project-card, .lab-panel,
.a-card, .visual-card, .visual-main, .case-block, .engagement,
.principles, .facts, .mail-card, .newsletter-card, .node-detail {
  border: 1px solid var(--line); border-radius: 8px; box-shadow: none;
}
.node, .vote-opt, .toolkit-panel { border-radius: 8px; }

/* Tools — white cards instead of black tiles */
.tool-btn { background: #ffffff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.tool-btn:hover { background: var(--surface-2); transform: none; box-shadow: none; }
.tool-text strong { font-weight: 600; }
.tool-text small { color: var(--muted); opacity: 1; }

/* Accent panels keep white text on Apple blue */
.lab-panel.offer > p, .lab-panel.offer .lab-num, .lab-panel.offer .lead-status { color: #ffffff; }
.log-tag.next { background: var(--accent); color: #ffffff; }

/* Vote — blue selection + progress */
.vote-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.vote-opt input { accent-color: var(--accent); }
.vote-bar i { background: var(--accent); }

/* Chat — Apple blue launcher and visitor bubbles, border-only panel */
.chat-launcher { background: var(--accent); border-color: transparent; color: #ffffff; border-radius: 980px; box-shadow: none; font-weight: 400; }
.chat-launcher:hover { background: var(--secondary); color: #ffffff; }
.chat-dot { background: #ffffff; }
.chat-panel { border-radius: 8px; box-shadow: none; }
.chat-message.visitor { background: var(--accent); color: #ffffff; }
.chat-message.guide { background: var(--surface-2); color: var(--ink); }
.chat-compose button { background: var(--accent); border-color: transparent; color: #ffffff; border-radius: 980px; font-weight: 400; }
.chat-quick button:hover { border-color: var(--secondary); color: var(--secondary); }

/* Legal modal — border-only panel */
.legal-panel { border-radius: 8px; box-shadow: none; }
.legal-copy a { color: var(--secondary); }

/* Classes the original stylesheet never styled explicitly
   (previously covered only via a companion class on the same element) */
.signup-form { margin-top: 34px; }            /* companion: .hero-form */
.signup-status { min-height: 22px; }          /* companion: .hero-note */
.lab-panel.soon { background: var(--surface); } /* companion: .lab-panel */
.__cf_email__ { color: inherit; }             /* Cloudflare-injected span */

/* Top-3 fixes (2026-10-15): zero-count pulse items must stay hidden.
   alive.js toggles the hidden attribute, but .pulse-item's display:inline-flex above overrides it. */
[hidden] { display: none !important; }

/* Global 8-tab bar (2026-10-15): tabs stay visible and clickable at any scroll position, on every screen size. */
html { scroll-padding-top: 72px; }
.nav-shell { gap: 18px; }
.brand { flex: 0 0 auto; }
.nav-links { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links > a { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 980px) {
  .nav-links > a:not(.button) { display: block; }
  .nav-links > a.nav-shop { display: block; }
}
