@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #06090b;
  --bg-2: #0c1216;
  --text: #eef3f3;
  --muted: #9aa7ad;
  --line: rgba(214, 236, 242, .14);
  --accent: #7de6ff;
  --paper: #eef2f1;
  --paper-text: #0b1114;
  --paper-muted: #46545a;
  --paper-line: rgba(11, 17, 20, .14);
  --wrap: min(100% - 2rem, 1320px);
  --header: 72px;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; background: var(--bg); scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; color: var(--text); background: var(--bg); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--text); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.eyebrow { margin-bottom: 1.25rem; font: 500 .875rem/1.4 var(--mono); letter-spacing: .02em; color: var(--muted); }
.paper .eyebrow { color: var(--paper-muted); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem; border: 1px solid var(--text); border-radius: 999px; background: var(--text); color: var(--bg); font: 500 .9375rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button-small { min-height: 40px; padding: 0 1.1rem; font-size: .875rem; }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button-ghost:hover { background: transparent; border-color: var(--text); }
.text-link { font-size: .9375rem; text-underline-offset: .35em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

/* Header */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--header); padding-inline: max(1rem, (100% - 1320px) / 2); display: flex; align-items: center; gap: 2rem; transition: background .3s, color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(6, 9, 11, .82); backdrop-filter: blur(16px); border-color: var(--line); }
.site-header.on-paper { background: rgba(238, 242, 241, .86); color: var(--paper-text); border-color: var(--paper-line); }
.site-header.on-paper .button { background: var(--paper-text); color: var(--paper); border-color: var(--paper-text); }
.site-header.on-paper .button:hover { background: #20343c; }
.brand { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { font-size: .9375rem; text-decoration: none; opacity: .82; padding-block: .75rem; }
.site-nav a:hover { opacity: 1; }
.menu-button { display: none; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit; font: 500 .9375rem var(--sans); cursor: pointer; }
.on-paper .menu-button { border-color: var(--paper-line); }
.menu { position: fixed; z-index: 100; inset: 0; padding: 1.25rem 1rem 2rem; display: flex; flex-direction: column; gap: 2rem; background: var(--bg); }
.menu[hidden] { display: none; }
.menu-close { align-self: flex-end; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--text); font: 500 .9375rem var(--sans); cursor: pointer; }
.menu nav { display: grid; gap: .25rem; margin-top: 1rem; }
.menu nav a { padding: .6rem 0; font-size: 2rem; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .button { align-self: flex-start; }

/* Scene: hero + scroll-built machine */
.scene { position: relative; height: 380vh; }
.scene-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); isolation: isolate; }
.scene-poster img, .scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-canvas { opacity: 0; transition: opacity .4s; }
.scene.is-live .scene-canvas { opacity: 1; }
.scene-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(90deg, rgba(6,9,11,.94) 0%, rgba(6,9,11,.72) 32%, rgba(6,9,11,.12) 64%, rgba(6,9,11,0) 100%),
  linear-gradient(0deg, rgba(6,9,11,.85) 0%, rgba(6,9,11,0) 30%),
  linear-gradient(180deg, rgba(6,9,11,.6) 0%, rgba(6,9,11,0) 18%); }
.scene-hero, .chapters { position: absolute; z-index: 2; left: max(1rem, (100% - 1320px) / 2); width: min(640px, 100% - 2rem); }
.scene-hero { top: 50%; transform: translateY(-50%); will-change: opacity, transform; }
.scene-hero h1 { font-size: clamp(3rem, 7.4vw, 7rem); font-weight: 600; line-height: .96; letter-spacing: -.045em; }
.lede { max-width: 33rem; margin-top: 1.75rem; color: #c9d4d8; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.chapters { bottom: clamp(5.5rem, 14vh, 9rem); margin: 0; padding: 0; list-style: none; }
.chapter { position: absolute; bottom: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.chapter h2 { margin-bottom: 1.1rem; font: italic 400 clamp(3.25rem, 7vw, 6.25rem)/.95 var(--serif); letter-spacing: -.02em; }
.chapter h2 em { font-style: italic; }
.chapter p { max-width: 30rem; color: #c9d4d8; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.rail { position: absolute; z-index: 3; left: max(1rem, (100% - 1320px) / 2); right: max(1rem, (100% - 1320px) / 2); bottom: 2.25rem; display: flex; justify-content: space-between; padding-top: .9rem; border-top: 1px solid var(--line); font: 500 .875rem var(--mono); color: var(--muted); opacity: 0; transition: opacity .3s; }
.rail i { position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.scene.is-building .rail { opacity: 1; }
.scroll-hint { position: absolute; z-index: 3; right: max(1rem, (100% - 1320px) / 2); bottom: 2.25rem; font: 500 .875rem var(--mono); color: var(--muted); transition: opacity .3s; }
.scene.is-building .scroll-hint { opacity: 0; }

/* Static scene (reduced motion / Save-Data / no JS canvas) */
.is-static .scene { height: auto; }
.is-static .scene-stage { position: relative; height: auto; min-height: 100svh; padding: calc(var(--header) + 4rem) 0 4rem; display: flex; flex-direction: column; justify-content: center; }
.is-static .scene-canvas, .is-static .rail, .is-static .scroll-hint { display: none; }
.is-static .scene-shade { background: linear-gradient(90deg, rgba(6,9,11,.92), rgba(6,9,11,.55)), linear-gradient(0deg, rgba(6,9,11,.92) 0%, rgba(6,9,11,.25) 55%); }
.is-static .scene-hero { position: relative; top: auto; left: auto; transform: none; width: var(--wrap); margin-inline: auto; }
.is-static .chapters { position: relative; left: auto; bottom: auto; width: var(--wrap); margin: 5rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.is-static .chapter { position: relative; opacity: 1; visibility: visible; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.is-static .chapter h2 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }

/* Sections */
.section { padding-block: clamp(5rem, 11vw, 9.5rem); }
.paper { background: var(--paper); color: var(--paper-text); color-scheme: light; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 2rem; align-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .eyebrow { margin: .6rem 0 0; }
.section h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); font-weight: 560; line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); }
.service { padding: 2.25rem 2.5rem 2.5rem 0; border-bottom: 1px solid var(--paper-line); }
.service:nth-child(even) { padding: 2.25rem 0 2.5rem 2.5rem; border-left: 1px solid var(--paper-line); }
.service h3 { margin-bottom: .9rem; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 560; letter-spacing: -.025em; }
.service p { max-width: 32rem; color: var(--paper-muted); }
.deliverables { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.deliverables li { padding: .35rem .7rem; border: 1px solid var(--paper-line); border-radius: 999px; font: 500 .875rem var(--mono); color: var(--paper-text); }

/* Blueprint intake */
.blueprint { background: radial-gradient(120% 80% at 80% 0%, #0f2129 0%, var(--bg) 60%); }
.blueprint-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.blueprint-intro > p { max-width: 32rem; margin-top: 1.25rem; color: var(--muted); }
.intake { margin-top: 2.5rem; }
.steps { display: flex; gap: .5rem; margin-bottom: 1.75rem; font: 500 .875rem var(--mono); }
.steps span { flex: 1; padding-top: .6rem; border-top: 2px solid var(--line); color: var(--muted); transition: color .3s, border-color .3s; }
.steps .is-active, .steps .is-done { border-color: var(--accent); color: var(--text); }
.step { margin: 0; padding: 0; border: 0; display: grid; gap: .6rem; }
.step legend { margin-bottom: 1rem; padding: 0; font-size: 1.375rem; font-weight: 560; letter-spacing: -.02em; }
.step label, .label { font-size: .9375rem; color: #c9d4d8; }
.step label:not(:first-of-type), .step .label + .chips + label { margin-top: .9rem; }
.optional, .hint { color: var(--muted); font-size: .875rem; }
textarea, input:not([type="checkbox"]), select { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); color: var(--text); font: inherit; font-size: 1rem; }
textarea { resize: vertical; min-height: 9rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--bg-2); }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(125, 230, 255, .18); }
[aria-invalid="true"] { border-color: #ff9a8a !important; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; margin: 0 !important; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9375rem; transition: background .2s, border-color .2s, color .2s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem !important; font-size: .9375rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.form-error { min-height: 1.5rem; margin-top: 1rem; color: #ffb4a8; font-size: .9375rem; }
.form-actions { display: flex; gap: .75rem; margin-top: .5rem; }
.ai-note { margin-top: 1.25rem; color: var(--muted); font-size: .875rem; }
.intake-done { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--accent); border-radius: 14px; }
.intake-done h3 { margin-bottom: .5rem; font-size: 1.375rem; font-weight: 560; }
.intake-done p { color: #c9d4d8; }

.sheet { position: sticky; top: calc(var(--header) + 2rem); margin: 0; border: 1px solid rgba(125, 230, 255, .35); border-radius: 16px; overflow: hidden; background:
  linear-gradient(rgba(125,230,255,.07) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, rgba(125,230,255,.07) 1px, transparent 1px) 0 0 / 24px 24px,
  #0a1a21; }
.sheet-paper { padding: clamp(1.25rem, 3vw, 2rem); }
.sheet-drawing { width: 100%; height: auto; fill: none; stroke: #b8f1ff; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.sheet-drawing .thin { stroke-width: .7; opacity: .7; }
.sheet-drawing .accent { stroke: var(--accent); stroke-width: 1.5; }
.sheet-drawing .dash { stroke-dasharray: .04 .03; opacity: .75; }
.sheet-drawing text { fill: #9fdcec; stroke: none; font: 500 8.5px var(--mono); letter-spacing: .02em; }
/* Strokes trace themselves, module by module (--i), each time the drawing changes. */
.sheet-drawing.is-tracing .module path:not(.dash), .sheet-drawing.is-tracing .module rect:not(.dash), .sheet-drawing.is-tracing .module circle:not(.dash) { stroke-dasharray: 1; animation: trace 1.1s var(--ease) both; animation-delay: calc(var(--i) * .22s); }
.sheet-drawing.is-tracing .module text, .sheet-drawing.is-tracing .module .dash { animation: ink .5s ease both; animation-delay: calc(var(--i) * .22s + .6s); }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ink { from { opacity: 0; } }
.sheet-legend { margin: .5rem 0 1.5rem; font: 500 .875rem var(--mono); color: var(--muted); }
.sheet-fields { margin: 0; }
.sheet-fields dt { margin-bottom: .3rem; font: 500 .875rem var(--mono); color: var(--accent); }
.sheet-fields dd { margin: 0; color: #d7e3e6; font-size: .9375rem; overflow-wrap: anywhere; }
.sheet-fields dd.is-empty { color: var(--muted); }
.sheet-result { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed rgba(125,230,255,.35); color: #d7e3e6; font-size: .9375rem; }
.sheet-result h4 { margin: 1rem 0 .35rem; font: 500 .875rem var(--mono); color: var(--accent); }
.sheet-result ul { margin: 0; padding-left: 1.1rem; }
.turnstile { margin-top: 1rem; min-height: 65px; }
/* Agent conversation */
.agent-log { display: grid; gap: .6rem; margin-bottom: .75rem; }
.bubble { max-width: 92%; padding: .75rem 1rem; border-radius: 14px; font-size: .9375rem; }
.bubble-ai { justify-self: start; background: rgba(125, 230, 255, .08); border: 1px solid rgba(125, 230, 255, .3); }
.bubble-you { justify-self: end; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.bubble.is-thinking { color: var(--muted); animation: ink 1s ease infinite alternate; }
.unlock { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--accent); border-radius: 14px; }
.unlock h3 { margin-bottom: .5rem; font-size: 1.375rem; font-weight: 560; }
.unlock > p:not(.ai-note):not(.form-error) { color: #c9d4d8; margin-bottom: 1rem; }
.unlock .consent { margin: 0 0 .5rem !important; }
/* Locked part of the preview: visible structure, unreadable content. */
.sheet-locked { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed rgba(125,230,255,.35); }
.locked-label { margin-bottom: .75rem; font: 500 .875rem var(--mono); color: var(--accent); }
.locked-part { margin-bottom: .9rem; animation: reveal .6s var(--ease) both; animation-delay: calc(var(--i) * .12s); }
.locked-part h4 { margin: 0 0 .4rem; font: 500 .875rem var(--mono); color: #d7e3e6; }
.locked-part span { display: block; height: .55rem; margin-bottom: .35rem; border-radius: 4px; background: linear-gradient(90deg, rgba(125,230,255,.22), rgba(125,230,255,.06)); filter: blur(2px); }
.locked-part span:last-child { width: 65%; }
.result-part { animation: reveal .6s var(--ease) both; animation-delay: calc(var(--i) * .35s); }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
/* Title block: the table in the corner of an engineering drawing. */
.title-block { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(125, 230, 255, .35); font-family: var(--mono); }
.title-block > div { min-width: 0; padding: .6rem .9rem; border-right: 1px solid rgba(125, 230, 255, .2); border-bottom: 1px solid rgba(125, 230, 255, .2); }
/* Rows: project | type, stage, start, rev | date, drawn by */
.title-block .tb-project { grid-column: 1 / -1; }
.title-block .tb-status { grid-column: span 3; }
.title-block .tb-project, .title-block > div:nth-child(5), .title-block .tb-status { border-right: 0; }
.title-block > div:nth-child(n+6) { border-bottom: 0; }
.title-block span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.title-block strong { display: block; margin-top: .15rem; font-size: .875rem; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title-block .tb-project strong { font-size: 1rem; }
.title-block strong.is-empty { color: var(--muted); }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: j; }
.journey li { padding-top: 1.5rem; border-top: 1px solid var(--paper-line); counter-increment: j; text-align: center; }
.journey li::before { content: counter(j); display: block; margin-bottom: 2.5rem; font: italic 400 3.5rem/1 var(--serif); color: #1b7d96; }
.journey h3 { margin-bottom: .75rem; font-size: 1.5rem; font-weight: 560; letter-spacing: -.02em; }
.journey p { max-width: 24rem; margin-inline: auto; color: var(--paper-muted); }


/* FAQ */
.faq-grid .section-head { grid-template-columns: 1fr; margin-bottom: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem 4rem; align-items: start; }
.faq { border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-size: 1.1875rem; font-weight: 520; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding-bottom: 1.5rem; color: var(--paper-muted); }

/* Closing + footer */
.closing { padding-block: clamp(6rem, 13vw, 11rem); background:
  linear-gradient(180deg, rgba(6,9,11,.55), rgba(6,9,11,.92)), url("frames/desktop/f100.webp") center / cover no-repeat; }
.closing h2 { max-width: 14ch; font-size: clamp(2.5rem, 5.6vw, 5.25rem); font-weight: 560; line-height: 1; letter-spacing: -.045em; }
.site-footer { padding-block: 3.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-brand { color: var(--text); font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address strong { color: var(--text); font-weight: 500; }
.site-footer nav { display: grid; gap: .6rem; align-content: start; }
.site-footer .ai-note { margin: 0; }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; }
  .blueprint-grid, .faq-grid { grid-template-columns: 1fr; }
  .sheet { position: relative; top: auto; }
}

@media (max-width: 760px) {
  :root { --header: 64px; }
  .header-cta { display: none; }
  .scene { height: 320vh; }
  .scene-shade { background: linear-gradient(0deg, rgba(6,9,11,.96) 0%, rgba(6,9,11,.78) 42%, rgba(6,9,11,.15) 72%, rgba(6,9,11,.35) 100%); }
  .scene-hero { top: auto; bottom: 5.5rem; transform: none; }
  .scene-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .chapters { bottom: 6rem; }
  .chapter h2 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .scroll-hint { display: none; }
  .rail { bottom: 1.5rem; }
  .is-static .chapters { grid-template-columns: 1fr; margin-top: 3rem; }
  .section-head { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 2rem 0; border-left: 0; }
  .journey { grid-template-columns: 1fr; }
  .journey li::before { margin-bottom: 1rem; }
  .sheet-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Demo mode (?demo): narration bar and button press highlight */
.demo-bar { position: fixed; z-index: 300; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: min(100% - 2rem, 760px); display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem .85rem 1.1rem; border: 1px solid rgba(125, 230, 255, .45); border-radius: 14px; background: rgba(6, 9, 11, .92); backdrop-filter: blur(12px); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); font-size: .9375rem; }
.demo-bar span[data-demo-text] { flex: 1; }
.demo-bar a { color: var(--accent); }
.demo-bar button { min-height: 36px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--text); font: inherit; font-size: .875rem; cursor: pointer; }
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, .2); flex: none; animation: ink 1s ease infinite alternate; }
.demo-press { box-shadow: 0 0 0 4px rgba(125, 230, 255, .55) !important; transform: scale(.97); }

/* Chat with the AI */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chat { display: grid; gap: .6rem; }
.chat .agent-log { max-height: 340px; overflow-y: auto; padding-right: .25rem; margin-bottom: 0; scroll-behavior: smooth; }
.chat-input { display: flex; gap: .5rem; align-items: flex-end; }
.chat-input textarea { min-height: 3.2rem; resize: none; }
.bubble { white-space: pre-wrap; }


/* Aura: avatar, name and typing indicator */
.aura-row { display: grid; grid-template-columns: 32px 1fr; column-gap: .6rem; align-items: start; justify-self: start; max-width: 96%; }
.aura-row .bubble { grid-column: 2; max-width: none; justify-self: start; }
.aura-avatar { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #183842, #0a1a21); box-shadow: 0 0 0 1px rgba(125, 230, 255, .45), 0 0 18px rgba(125, 230, 255, .18); }
.aura-avatar svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.aura-avatar circle { stroke-width: .8; stroke-dasharray: 2 2.4; opacity: .7; }
.aura-name { grid-column: 2; margin-bottom: .2rem; font: 500 .8125rem var(--mono); color: var(--accent); }
.typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .35; animation: typing 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }


/* Language */
.i18n-loading body { opacity: 0; }
body { transition: opacity .2s; }
.lang-switch select { width: auto; padding: .45rem 2.2rem .45rem .8rem; font-size: .875rem; }

/* Logo, as on the shirts: light version on dark sections, dark version on paper */
.brand { gap: .65rem; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo.brand-mark-dark, .on-paper .brand-logo.brand-mark-light { display: none; }
.on-paper .brand-logo.brand-mark-dark { display: block; }
@media (max-width: 760px) { .brand-logo { height: 36px; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: auto; height: 44px; }

/* Language pills in the header */
.lang-pills { display: flex; gap: .2rem; margin-left: -1rem; padding: .2rem; border: 1px solid var(--line); border-radius: 999px; }
.on-paper .lang-pills { border-color: var(--paper-line); }
.lang-pills button { min-width: 2.4rem; min-height: 32px; padding: 0 .6rem; border: 0; border-radius: 999px; background: none; color: inherit; font: 500 .8125rem var(--mono); opacity: .7; cursor: pointer; }
.lang-pills button:hover { opacity: 1; }
.lang-pills button[aria-pressed="true"] { background: var(--text); color: var(--bg); opacity: 1; }
.on-paper .lang-pills button[aria-pressed="true"] { background: var(--paper-text); color: var(--paper); }
@media (max-width: 760px) { .lang-pills button { min-width: 2.1rem; padding: 0 .4rem; } }

/* Active menu item: colour and a short underline that slides in */
.site-nav a { position: relative; transition: color .25s, opacity .25s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.site-nav a:hover::after { transform: scaleX(.5); }
.site-nav a.is-active { color: var(--accent); opacity: 1; }
.site-nav a.is-active::after { transform: scaleX(1); }
.on-paper .site-nav a.is-active { color: #1b7d96; }
.menu nav a.is-active { color: var(--accent); }

/* Order facts above the pay button (what, when, final price) */
.order-facts { margin: 1.25rem 0 .25rem; font-size: .9375rem; opacity: .85; }


/* Legal pages: back link and language switch on one line */
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Contrast (WCAG 1.4.3): the frames pass behind the hero text and the header. A uniform 85 % veil under the text column
   (it reaches the left edge and fades out over 12rem after the text, so the drawing is shaded, never cut by a box edge) keeps every letter at 4.5:1 or more. */
.scene-hero::before { content: ""; position: absolute; inset: -3rem -12rem -3rem -50vw; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 9, 11, .85) calc(100% - 12rem), rgba(6, 9, 11, 0)); }
.site-header::before { content: ""; position: absolute; inset: 0 0 -1.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(6, 9, 11, .9) 60%, rgba(6, 9, 11, 0)); transition: opacity .3s; }
.on-paper .site-header::before, .site-header.on-paper::before { opacity: 0; }
.scroll-hint { color: var(--text); padding: .35rem .75rem; border-radius: 999px; background: rgba(6, 9, 11, .88); }
.menu-button { background: rgba(6, 9, 11, .88); }
.on-paper .menu-button { background: transparent; }

/* Offer up front (CRO: price, guarantees and a real sample before the form). */
.hero-offer { margin-top: 1.25rem; color: #c9d4d8; font: 500 .9375rem/1.5 var(--sans); }
.hero-offer b { color: var(--text); font-weight: 600; }
.offer { margin-top: 1.75rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; background: rgba(214, 236, 242, .04); }
.offer-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.offer-head h3 { font-size: 1.25rem; font-weight: 600; }
.offer-price { color: var(--muted); font-size: .9375rem; }
.offer-price b { margin-right: .35rem; color: var(--text); font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; }
.offer-points { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.offer-points li { position: relative; padding-left: 1.6rem; color: #c9d4d8; font-size: 1rem; line-height: 1.5; }
.offer-points li::before { content: ""; position: absolute; left: .15rem; top: .45em; width: .7rem; height: .4rem; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.offer-sample { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: .75rem; min-height: 48px; border: 1px solid var(--line); border-radius: .9rem; color: inherit; text-decoration: none; transition: border-color .2s; }
.offer-sample:hover, .offer-sample:focus-visible { border-color: var(--accent); }
.offer-sample img { width: 64px; height: auto; border-radius: .35rem; background: #fff; }
.offer-sample strong { display: block; font-weight: 600; text-decoration: underline; text-underline-offset: .3em; }
.offer-sample small { display: block; margin-top: .15rem; color: var(--muted); font: 500 .875rem var(--mono); }
.offer-company { margin-top: 1rem; color: var(--muted); font-size: .875rem; }
.offer-company a { color: inherit; }
.button-small { min-height: 44px; }
.hero-offer i, .offer-company i { font-style: normal; } .offer-company b { font-weight: 400; }
.is-pending { visibility: hidden; } /* space kept, so the price appearing does not move the page (CLS) */

/* One type family (jury: the serif italic did not match the rest). */
.chapter h2 { font: 600 clamp(3rem, 6.4vw, 5.75rem)/.98 var(--sans); letter-spacing: -.045em; }
.chapter h2 em { font-style: normal; }
.journey li::before { font: 600 3rem/1 var(--sans); letter-spacing: -.04em; }

/* Case study: the platform itself, with measured results and real screens. */
.case { background: var(--bg); }
.case-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.case-copy > p:not(.eyebrow) { max-width: 34rem; margin-top: 1.25rem; color: #c9d4d8; }
.case-facts { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.case-facts dt { font: 500 .875rem var(--mono); color: var(--muted); }
.case-facts dd { margin: .3rem 0 0; color: var(--text); }
.case-metrics { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
.case-metrics b { display: block; font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
.case-metrics span { display: block; color: #c9d4d8; font-size: .9375rem; line-height: 1.45; }
p.case-note { color: var(--muted); font-size: .875rem; }
.case-shots { position: relative; margin: 0; }
.case-shots > img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1.25rem; }
.case-pdf { position: absolute; right: .75rem; bottom: 2.5rem; width: 34%; border-radius: .5rem; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .55); transition: transform .3s; }
.case-pdf:hover, .case-pdf:focus-visible { transform: translateY(-4px); }
.case-pdf img { display: block; width: 100%; height: auto; border-radius: .5rem; background: #fff; }
.case-shots figcaption { margin-top: .9rem; color: var(--muted); font: 500 .875rem var(--mono); }
@media (min-width: 1360px) { .case-pdf { right: -1.5rem; } }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } .case-pdf { width: 38%; } }

/* Iteration 2 (jury): two clear steps under the hero, readable blueprint fields, softer section changes. */
.hero-steps { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 36rem; }
.hero-steps li { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(6, 9, 11, .72); }
.hero-steps li > b { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent); color: var(--bg); font-size: .875rem; font-weight: 700; }
.hero-steps strong { display: block; color: var(--text); font-size: .9375rem; font-weight: 600; }
.hero-steps strong i { font-style: normal; color: var(--accent); }
.hero-steps small { display: block; margin-top: .15rem; color: #c9d4d8; font-size: .875rem; line-height: 1.4; }
@media (max-width: 760px) { .hero-steps { grid-template-columns: 1fr; gap: .5rem; } .hero-steps li { padding: .7rem .85rem; } }
.title-block strong { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title-block > div { border-right: 1px solid rgba(125, 230, 255, .2); border-bottom: 1px solid rgba(125, 230, 255, .2); }
  .title-block > div:nth-child(odd):not(.tb-project) { border-right: 0; }
  .title-block .tb-status { grid-column: 1 / -1; border-right: 0; }
  .title-block strong { font-size: .9375rem; }
}
/* Sections after the opening scene overlap with rounded tops instead of a hard cut between dark and light. */
.scene ~ .section, .scene ~ .closing { position: relative; margin-top: -2.5rem; border-radius: 2.5rem 2.5rem 0 0; box-shadow: 0 -1.5rem 3rem rgba(0, 0, 0, .18); }
@media (max-width: 760px) { .scene ~ .section, .scene ~ .closing { margin-top: -1.5rem; border-radius: 1.5rem 1.5rem 0 0; } }
/* Iteration 3 (jury): less empty space on phones; the animated real product keeps the static frame style. */
.case-shots picture, .case-shots picture img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1.25rem; }
.case-shots picture img { border: 0; }
@media (max-width: 760px) { .section { padding-block: 3.75rem; } .case-facts { margin-top: 1.5rem; } }


/* Brand iteration 2: compact first phone screen (both steps visible). */
@media (max-width: 900px) {
  .hero-copy h1, .scene-hero h1 { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .scene-hero .lede { margin-top: 1rem; font-size: 1rem; }
  .scene-hero .actions { margin-top: 1.25rem; }
  .hero-steps { margin-top: 1rem; }
}
/* Brand iteration 3: one concrete example per service (an idea of what can be built, not a past project). */
.service-example { margin-top: 1rem; padding-left: .9rem; border-left: 2px solid #1b7d96; color: var(--paper-text); font-size: .9375rem; line-height: 1.5; }
.service-example span:first-child { display: block; font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #1b7d96; }
.service-example { border-left-color: #10586a; }
.service-example span:first-child { color: #10586a; } /* 6.9:1 on the paper background (the lighter cyan was 4.2:1) */
/* Brand iteration 4 (jury): brighter secondary text, the sample as a real secondary button, the free → €39 path in one line. */
:root { --muted: #b3bfc4; }
.paper { --muted: var(--paper-muted); }
.button-ghost { background: transparent; color: var(--text); border: 1px solid rgba(214, 236, 242, .45); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--accent); color: var(--accent); }
.hero-path { margin-top: .9rem; color: #c9d4d8; font-size: .9375rem; }
.hero-path span:first-child { color: var(--accent); font-weight: 600; }
.hero-path i { font-style: normal; color: var(--text); font-weight: 600; }

/* One sentence to start: project details are optional and folded away (they still drive the live drawing). */
.more-context { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.more-context summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent); font-weight: 500; }
.more-context[open] summary { margin-bottom: .5rem; }
/* Doubts that stop a purchase, answered right before the form. */
.doubts { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.doubts details { border-bottom: 1px solid var(--line); }
.doubts summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; padding: .5rem 0; font-weight: 500; }
.doubts details p { padding-bottom: 1rem; color: #c9d4d8; font-size: .9375rem; }
/* Sticky free-preview button on phones. */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta:not([hidden]) { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; align-items: center; min-height: 52px;
    border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .45); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) { .mobile-cta:not([hidden]) { animation: rise .25s ease-out; } @keyframes rise { from { transform: translateY(1rem); opacity: 0; } } }


/* Sample evaluation shown in the page: a paper sheet on a dark backdrop. */
.sample { width: min(760px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; border-radius: 1.25rem; background: var(--paper); color: var(--paper-text); overflow: auto; color-scheme: light; }
.sample::backdrop { background: rgba(6, 9, 11, .78); backdrop-filter: blur(4px); }
.sample-sheet { padding: clamp(1.25rem, 4vw, 2.5rem); }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.sample-tag { display: inline-flex; gap: .2rem; padding: .3rem .7rem; border-radius: 999px; background: #10586a; color: #fff; font: 500 .8125rem var(--mono); }
.sample-tag i { font-style: normal; }
.sample-close { min-width: 44px; min-height: 44px; border: 1px solid var(--paper-line); border-radius: 50%; background: transparent; color: var(--paper-text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sample .eyebrow { color: var(--paper-muted); margin-bottom: .4rem; }
.sample h3 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.sample-summary { margin-top: .9rem; color: var(--paper-muted); }
.sample-sections { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.sample-sections section { padding-top: .9rem; border-top: 2px solid #10586a; }
.sample-sections h5 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.sample-sections ul { margin: 0; padding-left: 1.1rem; color: var(--paper-text); font-size: .9375rem; line-height: 1.5; }
.sample-sections li + li { margin-top: .3rem; }
.sample-foot { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--paper-line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.sample-foot p { max-width: 30rem; color: var(--paper-muted); font-size: .9375rem; }
.sample-foot .button { background: var(--paper-text); color: var(--paper); border-color: var(--paper-text); }
.offer-sample { width: 100%; font: inherit; text-align: left; background: transparent; cursor: pointer; }
@media (max-width: 640px) { .sample-sections { grid-template-columns: 1fr; } }

/* Static hero (reduced motion, Save-Data or ?static): the brand still replaces the scroll frames; the headline sits on its dark side. */
.hero-art { display: none; }
.is-static .scene-poster, .is-static .scene-shade { display: none; }
.is-static .hero-art { display: block; position: absolute; inset: 0 0 auto; height: 100svh; z-index: 1; pointer-events: none; }
.hero-art picture, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-art::before { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: 1; background: linear-gradient(0deg, var(--bg), rgba(6, 9, 11, 0)); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 11, .92) 0%, rgba(6, 9, 11, .55) 42%, rgba(6, 9, 11, 0) 70%); }
.is-static .scene-hero { bottom: auto; margin-inline: max(1rem, (100% - 1320px) / 2) auto; width: min(600px, 52vw); } /* bottom: the phone scene offset must not push the first line under the header */
@media (max-width: 900px) {
  .is-static .hero-art { height: 50svh; }
  .hero-art img { object-position: center top; } /* the phone still is composed for this box: the parts at the top, the text below */
  .hero-art::after { background: linear-gradient(0deg, rgba(6, 9, 11, .96) 0%, rgba(6, 9, 11, .78) 22%, rgba(6, 9, 11, 0) 48%); }
  .is-static .scene-stage { justify-content: flex-start; padding-top: calc(var(--header) + 27svh); } /* taller than the screen: start below the header, never centre */
  .is-static .scene-hero { width: var(--wrap); margin-inline: auto; order: 1; }
  .is-static .chapters { order: 3; }
}

/* Sample: first what the free preview shows, then what the specialist consultation adds. */
.sample-part { margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid var(--paper-text); }
.sample-part-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; font-size: 1.125rem; font-weight: 600; }
.sample-part-title i { font-style: normal; }
.sample-part-title small { flex-basis: 100%; color: var(--paper-muted); font-size: .875rem; font-weight: 400; }
.sample-complexity { margin-top: .75rem; font: 500 .875rem var(--mono); color: #10586a; }
.sample-findings { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .9375rem; line-height: 1.5; }
.sample-findings li + li { margin-top: .3rem; }
.sample-part .sample-sections { margin-top: 1rem; }

/* Phones, live scene: the line above keeps the free start and the price, and the steps are explained next to the form, so the
   first screen shows the drawing above the headline instead of an empty band (judges). */
/* Phones, live scene: the line about the price gives way to a compact comparison of the two steps (jury: "free vs €39 beside the CTA"). */
@media (max-width: 760px) {
  html:not(.is-static) .hero-path { display: none; }
  html:not(.is-static) .hero-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
  html:not(.is-static) .hero-steps li { flex-direction: column; gap: .4rem; padding: .7rem .75rem; }
  html:not(.is-static) .hero-steps li > b { width: 1.5rem; height: 1.5rem; font-size: .8125rem; }
  html:not(.is-static) .hero-steps small { font-size: .8125rem; }
  html:not(.is-static) .scene-hero { bottom: 2.5rem; }
}
/* Phones: the veil under the hero text fades in from above, so the drawing above the headline is never cut by a straight edge. */
@media (max-width: 760px) {
  .scene-hero::before { inset: -7rem -1rem -3rem -1rem; background: linear-gradient(180deg, rgba(6, 9, 11, 0), rgba(6, 9, 11, .85) 6rem); }
}

/* Aura greets at the start of the form, so the conversation is the first thing in the section (Dirección: "se pierde"). */
.aura-hello { margin-bottom: 1.25rem; max-width: 100%; }
.aura-hello .bubble { font-size: 1rem; }
.blueprint-intro .offer { margin-top: 2rem; }


/* How it works: the four steps of the buying path, each with what it costs. */
.journey-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.journey-4 li { text-align: left; }
.journey-4 li::before { margin-bottom: 1.25rem; }
.journey-4 p { margin-inline: 0; }
.journey-tag { display: inline-flex; gap: .3rem; margin-bottom: .75rem; padding: .25rem .65rem; border-radius: 999px; background: #dbe9ec; color: #0d4a59; font: 500 .8125rem var(--mono); }
.journey-tag i { font-style: normal; }
button.text-link { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: .9375rem; text-decoration: underline; text-underline-offset: .35em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); cursor: pointer; }
@media (max-width: 1100px) { .journey-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { /* phones: number on the left, the step beside it (four steps in about one screen) */
  .journey-4 { grid-template-columns: 1fr; gap: 0; }
  .journey-4 li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .75rem; padding-block: 1.25rem; }
  .journey-4 li::before { grid-row: span 3; margin: 0; font-size: 2rem; }
  .journey-4 li > * { grid-column: 2; }
  .journey-4 .journey-tag { justify-self: start; margin-bottom: .5rem; }
  .journey-4 h3 { font-size: 1.25rem; margin-bottom: .4rem; }
}

/* Brand iteration 5 (jury, 12-10): brighter secondary text on dark, and the main actions in the accent colour
   (the white button blended in with the white navigation text). On paper the accent is the deep teal. */
:root { --muted: #c3cdd1; }
.lede, .chapter p, .hero-path, .step label, .label, .intake-done p, .unlock > p:not(.ai-note):not(.form-error), .doubts details p { color: #e1e8ea; }
.blueprint-intro > p { color: #d6dee1; }
.button { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.button:hover, .button:focus-visible { background: var(--text); border-color: var(--text); color: var(--bg); }
.button-ghost { background: transparent; border-color: rgba(214, 236, 242, .45); color: var(--text); }
.button-ghost:hover, .button-ghost:focus-visible { background: transparent; border-color: var(--accent); color: var(--accent); }
.site-header.on-paper .button, .sample-foot .button { background: #0d4a59; border-color: #0d4a59; color: #fff; }
.site-header.on-paper .button:hover, .sample-foot .button:hover { background: #10586a; border-color: #10586a; }
@media (max-width: 760px) { .mobile-cta:not([hidden]) { background: var(--accent); color: var(--bg); } }

/* Services on dark (jury 12-10: the cut from the dark scene to a white section was abrupt). */
.services-dark { background: var(--bg); color: var(--text); }
.services-dark .eyebrow { color: var(--muted); }
.services-dark .services, .services-dark .service { border-color: var(--line); }
.services-dark .service p { color: #d6dee1; }
.services-dark .deliverables li { border-color: rgba(214, 236, 242, .28); color: var(--text); }
.services-dark .service-example { border-left-color: var(--accent); color: #e1e8ea; }
.services-dark .service-example span:first-child { color: var(--accent); }

/* The live sheet says it is live, and lights up while the visitor types (jury: "is it a tool or an illustration?"). */
.sheet-live { position: absolute; z-index: 2; top: .75rem; right: .75rem; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem;
  border: 1px solid rgba(125, 230, 255, .45); border-radius: 999px; background: rgba(6, 9, 11, .85); color: var(--accent); font: 500 .8125rem var(--mono); }
.sheet-live-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(125, 230, 255, .6); }
.sheet { transition: border-color .3s, box-shadow .3s; }
.sheet.is-listening { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 2.5rem rgba(125, 230, 255, .18); }
@media (prefers-reduced-motion: no-preference) {
  .sheet-live-dot { animation: live 1.8s ease-out infinite; }
  @keyframes live { 70% { box-shadow: 0 0 0 .5rem rgba(125, 230, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 230, 255, 0); } }
}

/* Gentle entrance while scrolling (jury): text glides up a little.
   Transform only, never opacity, so text is always readable and its contrast never changes. Only for content below the first screen. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(32px); transition: transform 1s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
  .reveal.is-in { transform: none; }
}

/* Aura's mark, alive (next to her chat). Idle: it breathes. Listening (the visitor is writing): waves go out and the
   bars move. Answering (her reply is on its way): the mark lights up. Reduced motion: a still mark. */
.aura-live { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.aura-live-mark { width: 96px; height: 96px; flex: none; overflow: visible; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.aura-live-mark .ring { stroke-width: 1.6; fill: rgba(125, 230, 255, .06); transition: fill .4s, filter .4s; }
.aura-live-mark .orbit { stroke-width: .8; stroke-dasharray: 3 4; opacity: .55; transform-origin: 60px 60px; }
.aura-live-mark .glyph { stroke-width: 3; }
.aura-live-mark .wave { stroke-width: 1.6; opacity: 0; transform-origin: 60px 60px; }
.aura-live-bars { display: flex; align-items: center; gap: 5px; height: 36px; }
.aura-live-bars i { width: 5px; height: 8px; border-radius: 2px; background: var(--accent); opacity: .5; }
.aura-live.is-speaking .ring { fill: rgba(125, 230, 255, .28); filter: drop-shadow(0 0 10px rgba(125, 230, 255, .7)); }
@media (prefers-reduced-motion: no-preference) {
  .aura-live-mark .orbit { animation: aura-orbit 14s linear infinite; }
  .aura-live-mark .ring { animation: aura-breathe 4s ease-in-out infinite; }
  .aura-live.is-listening .wave { animation: aura-wave 1.8s ease-out infinite; }
  .aura-live.is-listening .w2 { animation-delay: .6s; }
  .aura-live.is-listening .w3 { animation-delay: 1.2s; }
  .aura-live.is-listening .aura-live-bars i, .aura-live.is-speaking .aura-live-bars i { animation: aura-bar .9s ease-in-out infinite alternate; opacity: .9; }
  .aura-live-bars i:nth-child(2) { animation-delay: .15s !important; }
  .aura-live-bars i:nth-child(3) { animation-delay: .3s !important; }
  .aura-live-bars i:nth-child(4) { animation-delay: .45s !important; }
  .aura-live-bars i:nth-child(5) { animation-delay: .6s !important; }
  @keyframes aura-orbit { to { transform: rotate(360deg); } }
  @keyframes aura-breathe { 50% { transform: scale(1.04); } }
  @keyframes aura-wave { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
  @keyframes aura-bar { from { height: 8px; } to { height: 34px; } }
}
.aura-live-mark circle { transform-box: view-box; transform-origin: 60px 60px; }


/* How it works (Direccion, 14-10): a larger label and a slightly smaller heading. In each step the description is what
   matters, so the number and the title step back and the text reads darker (the big type was hiding it). */
#how .section-head .eyebrow { font-size: 1.125rem; color: var(--paper-text); }
#how h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.journey-4 li::before { font-size: 2.25rem; color: #1b7d96; }
.journey-4 h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.journey-4 p:not(.journey-tag) { color: #1f2b31; font-size: 1.125rem; line-height: 1.6; }
@media (max-width: 760px) { .journey-4 li::before { font-size: 1.75rem; } .journey-4 h3 { font-size: 1.2rem; } }

/* Aura next to her chat (proposal 19-10): the mark and two lines, then the form. */
.aura-meet { display: flex; align-items: center; gap: 1.25rem; max-width: 34rem; margin-top: 1.75rem; }
.aura-meet .aura-live { flex: none; margin: 0; }
.blueprint-intro .aura-meet p { margin: 0; color: #d6dee1; font-size: 1rem; line-height: 1.55; }
@media (max-width: 560px) { .aura-meet { flex-direction: column; align-items: flex-start; gap: .75rem; } }
