:root {
  --bg: #f5fbf7;
  --bg-2: #dfece5;
  --surface: rgba(255, 255, 255, .82);
  --surface-soft: #e7f1eb;
  --surface-warm: #ffe4d8;
  --ink: #07100d;
  --muted: #526a61;
  --line: rgba(7, 16, 13, .14);
  --brand: #008f78;
  --brand-text: #006f5e;
  --brand-hover: #006f5e;
  --brand-ink: #03130f;
  --accent: #e84813;
  --danger: #d81f45;
  --inverse-accent: #ff7040;
  --focus: #d73d0c;
  --shadow: 0 22px 58px rgba(7, 16, 13, .13);
  --grid-line: rgba(7, 16, 13, .055);
  --glow-teal: rgba(0, 143, 120, .13);
  --glow-ember: rgba(232, 72, 19, .12);
  --dark-panel: #050707;
  --dark-panel-text: #eef4f0;
  --dark-panel-muted: #bac7c0;
  --dark-panel-line: rgba(238, 244, 240, .14);
  --logo-teal: #00e0b8;
  --logo-ember: #ff5a1f;
  --logo-top-fill: #071b17;
  --logo-mid-fill: #eef4f0;
  --logo-mid-stroke: #07100d;
  --logo-bottom-fill: #ffe4d8;
}
:root[data-theme="dark"] {
  --bg: #050707;
  --bg-2: #09100d;
  --surface: rgba(12, 20, 17, .82);
  --surface-soft: #101a17;
  --surface-warm: #2a160e;
  --ink: #eef4f0;
  --muted: #bac7c0;
  --line: rgba(238, 244, 240, .13);
  --brand: #00e0b8;
  --brand-text: #00e0b8;
  --brand-hover: #35e178;
  --brand-ink: #03130f;
  --accent: #ff5a1f;
  --danger: #ff2d55;
  --focus: #ffb000;
  --shadow: 0 26px 72px rgba(0, 0, 0, .42);
  --grid-line: rgba(238, 244, 240, .045);
  --glow-teal: rgba(0, 224, 184, .15);
  --glow-ember: rgba(255, 90, 31, .16);
  --logo-mid-fill: #0e1513;
  --logo-mid-stroke: #eef4f0;
  --logo-bottom-fill: #2a160e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: radial-gradient(circle at 88% 4%, var(--glow-ember), transparent 25rem), radial-gradient(circle at 12% 7%, var(--glow-teal), transparent 28rem), linear-gradient(180deg, var(--bg), var(--bg-2) 54%, var(--bg)); color: var(--ink); font: 400 17px/1.62 Inter, system-ui, sans-serif; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 36px 36px; opacity: .55; mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .65) 48%, transparent 92%); }
body > * { position: relative; z-index: 1; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[id] { scroll-margin-top: 96px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 14px; top: 10px; padding: 10px 14px; color: var(--bg); background: var(--ink); border-radius: 7px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.sales-header { position: sticky; z-index: 30; top: 0; background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.sales-nav { min-height: 74px; display: flex; align-items: center; gap: 22px; }
.brand { margin-right: auto; display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 Space Grotesk, sans-serif; text-decoration: none; letter-spacing: 0; }
.brand svg { width: 37px; height: 37px; filter: drop-shadow(0 9px 18px var(--glow-teal)); }
.mark-flare { fill: var(--logo-ember); }
.mark-top { fill: var(--logo-top-fill); stroke: var(--logo-teal); }
.mark-mid { fill: var(--logo-mid-fill); stroke: var(--logo-mid-stroke); }
.mark-bottom { fill: var(--logo-bottom-fill); stroke: var(--logo-ember); }
.nav-links { display: flex; gap: 24px; }
.nav-links a, .founder-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .founder-link:hover { color: var(--ink); }
.theme-toggle { display: none; min-height: 44px; min-width: 76px; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle:hover { border-color: var(--brand); }

.sales-hero { min-height: 710px; padding-block: clamp(90px, 11vw, 145px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .5fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.eyebrow, .card-label { margin: 0 0 16px; color: var(--brand-text); font: 600 12px/1.4 IBM Plex Mono, monospace; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, strong { font-family: Space Grotesk, sans-serif; }
h1 { max-width: 880px; margin: 0; font-size: clamp(49px, 5.8vw, 70px); line-height: 1; letter-spacing: -.015em; }
h1 span { color: var(--brand-text); }
.hero-copy { max-width: 740px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: transparent; font-weight: 750; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.button small { font-size: 12px; font-weight: 600; opacity: .78; }
.button.primary { color: var(--brand-ink); background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 72%, #fff 28%)); border-color: var(--brand); }
.button.primary:hover { background: linear-gradient(135deg, var(--brand-hover), color-mix(in srgb, var(--brand-hover) 75%, #fff 25%)); border-color: var(--brand-hover); }
.button.secondary:hover { border-color: var(--brand); }
.helper-link, .text-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 12px; color: var(--brand-text); font-weight: 700; text-underline-offset: 4px; }
.scope-card { position: relative; overflow: hidden; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.scope-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 80%); }
.scope-card > * { position: relative; z-index: 1; }
.scope-card > strong { display: block; font-size: 25px; }
.scope-card ol { margin: 22px 0 0; padding: 0; counter-reset: scope; list-style: none; }
.scope-card li { min-height: 52px; display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.scope-card li::before { counter-increment: scope; content: counter(scope); width: 25px; height: 25px; display: grid; place-items: center; color: var(--brand-text); background: var(--surface-soft); border-radius: 50%; font: 700 12px/1 IBM Plex Mono, monospace; }

.example-section { padding-block: clamp(76px, 9vw, 120px); background: var(--surface-soft); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.section-heading.compact { margin-bottom: 42px; }
h2 { margin: 0; max-width: 750px; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.015em; }
.sample-label { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; }
.mobile-example-launch { display: none; }
.example-grid { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); gap: 20px; align-items: stretch; }
.request-card, .example-fallback, .example-enhanced { padding: clamp(24px, 4vw, 42px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; backdrop-filter: blur(14px); }
.request-card blockquote { margin: 0; font: 600 clamp(22px, 3vw, 30px)/1.35 Space Grotesk, sans-serif; letter-spacing: -.01em; }
.request-card dl { margin: 36px 0 0; }
.request-card dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.request-card dt { color: var(--muted); font-size: 14px; }
.request-card dd { margin: 0; font-weight: 700; text-align: right; }
.example-fallback ol { margin: 0; padding-left: 24px; }
.example-fallback li { margin: 14px 0; }
.example-enhanced { display: none; box-shadow: var(--shadow); }
.demo-ready .example-fallback { display: none; }
.demo-ready .example-enhanced { display: block; }
.example-topline { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 600 13px/1.3 IBM Plex Mono, monospace; }
.scenario-name { color: var(--brand-text); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0 32px; padding: 0; list-style: none; }
.progress li { position: relative; padding-top: 34px; color: var(--muted); font-size: 12px; font-weight: 700; border-top: 3px solid var(--line); }
.progress span { position: absolute; top: 9px; left: 0; font: 600 11px/1 IBM Plex Mono, monospace; }
.progress li.complete { color: var(--brand-text); border-color: var(--brand); }
.progress li.current { color: var(--ink); border-color: var(--accent); }
.step-content { min-height: 185px; }
.step-content h3 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.step-content > p:last-child { margin: 0; color: var(--muted); }
.step-content ul { margin: 16px 0 0; padding-left: 22px; color: var(--muted); }
.step-content li { margin: 6px 0; }
.result-panel { margin-top: 4px; padding-top: 22px; border-top: 1px solid var(--line); }
.result-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.result-status div { padding: 12px; background: var(--surface-soft); border-radius: 8px; }
.result-status span, .customer-reply span { display: block; color: var(--muted); font-size: 12px; }
.result-status strong { display: block; margin-top: 4px; font-size: 15px; }
.customer-reply { margin-top: 12px; padding: 16px; background: var(--surface-warm); border-left: 3px solid var(--accent); }
.customer-reply p { margin: 5px 0 0; }
.result-panel .sample-label { margin-top: 14px; }
.result-panel .text-link { margin-top: 4px; }
.example-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.alternate-button { flex: 1 1 270px; }
.check-details { margin-top: 18px; padding: 0 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.check-details summary, .notes-section summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 750; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 0 24px; }
.detail-grid p { margin: 5px 0 0; color: var(--muted); font-size: 15px; }

.fit-section, .capability-section { padding-block: clamp(76px, 10vw, 125px); }
.fit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; }
.fit-list { margin: 0; padding: 0; list-style: none; }
.fit-list li { position: relative; min-height: 72px; padding: 20px 20px 20px 52px; border-top: 1px solid var(--line); font: 600 19px/1.4 Space Grotesk, sans-serif; }
.fit-list li::before { content: '✓'; position: absolute; left: 14px; color: var(--brand); }
.boundary-card { align-self: start; padding: 28px; background: var(--surface-warm); border-left: 4px solid var(--accent); border-radius: 5px 12px 12px 5px; }
.boundary-card strong { font-size: 22px; }
.boundary-card p { margin: 10px 0 0; color: var(--muted); }
.engagement-section { padding-block: clamp(76px, 9vw, 110px); background: var(--dark-panel); color: var(--dark-panel-text); }
.engagement-section .eyebrow { color: var(--inverse-accent); }
.engagement-section .section-heading > p { max-width: 330px; margin: 0; color: var(--dark-panel-muted); }
.engagement-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--dark-panel-line); list-style: none; }
.engagement-steps li { min-height: 240px; padding: 28px; background: var(--dark-panel); }
.engagement-steps li > span { color: var(--inverse-accent); font: 600 13px/1 IBM Plex Mono, monospace; }
.engagement-steps h3 { margin: 65px 0 9px; font-size: 25px; }
.engagement-steps p { margin: 0; color: var(--dark-panel-muted); }

.capability-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(45px, 8vw, 100px); padding: clamp(30px, 5vw, 60px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.capability-card > div:first-child > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 18px; }
.capability-card ul { margin: 26px 0 0; padding-left: 20px; }
.capability-card li { margin: 10px 0; color: var(--muted); }
.capability-card li strong { color: var(--ink); }
.share-actions { align-self: center; display: flex; flex-direction: column; gap: 10px; }
.copy-status { min-height: 24px; margin: 0; color: var(--brand-text); font-size: 14px; }
.fallback-url { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; text-align: center; }
.partner-section { padding-block: clamp(76px, 10vw, 120px); background: var(--surface-soft); border-block: 1px solid var(--line); }
.partner-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 9vw, 120px); }
.partner-copy { max-width: 620px; margin: 0 0 24px; font-size: 20px; color: var(--muted); }
.email-fallback { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.email-fallback a { color: var(--brand-text); }
.partner-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.notes-section { padding-block: 45px 80px; }
.notes-section details { border-top: 1px solid var(--line); }
.notes-section details:last-child { border-bottom: 1px solid var(--line); }
.notes-section p { max-width: 800px; margin: -3px 0 22px; color: var(--muted); }
.sales-footer { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.sales-footer a { min-height: 44px; display: inline-flex; align-items: center; }

/* The unlinked private brief reuses this stylesheet. */
.partner-hero, .partner-main, .partner-footer { width: min(960px, calc(100% - 40px)); margin-inline: auto; }
.partner-hero { padding: 80px 0 45px; }
.partner-main { padding-bottom: 70px; }
.partner-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); }
.partner-card, .partner-section-card { margin: 18px 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .sales-nav { gap: 10px; }
  .founder-link { font-size: 13px; }
  .sales-hero { min-height: auto; padding-block: 72px 64px; grid-template-columns: 1fr; gap: 0; }
  .sales-hero h1 { font-size: clamp(33px, 8.6vw, 38px); line-height: 1.03; }
  .scope-card { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .example-grid, .fit-grid, .capability-card, .partner-grid { grid-template-columns: 1fr; }
  .engagement-steps { grid-template-columns: 1fr; }
  .engagement-steps li { min-height: auto; }
  .engagement-steps h3 { margin-top: 28px; }
  .detail-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .sales-nav { min-height: 66px; }
  .brand span { font-size: 19px; }
  .brand svg { width: 29px; height: 29px; }
  .founder-link { display: none; }
  .theme-toggle { min-width: 44px; padding-inline: 10px; }
  .theme-toggle [data-theme-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sales-hero { padding-top: 62px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .request-card, .example-fallback, .example-enhanced { padding: 22px; }
  .demo-ready .mobile-example-launch { display: inline-flex; width: 100%; margin: -4px 0 18px; }
  .demo-ready .mobile-example-launch.is-hidden { display: none; }
  .demo-ready:not(.example-started) .example-controls #exampleAction { display: none; }
  .demo-ready .example-enhanced { display: flex; flex-direction: column; }
  .example-controls { order: -1; margin: 0 0 22px; }
  .progress li { font-size: 11px; }
  .result-status { grid-template-columns: 1fr; }
  .request-card dl > div { flex-direction: column; gap: 2px; }
  .request-card dd { text-align: left; }
  .sales-footer { padding-block: 24px; flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
