:root {
  --ink: #071b2b;
  --ink-2: #0d2a3e;
  --cyan: #66d6dd;
  --cyan-soft: #bdeef0;
  --yellow: #ffd454;
  --paper: #f2f4ef;
  --white: #ffffff;
  --muted: #9fb2bd;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(7, 27, 43, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--yellow); padding: 10px 14px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled { background: rgba(7, 27, 43, .88); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; }
.brand-name { font-size: 20px; }
.brand-name span { color: var(--cyan); font-size: 11px; letter-spacing: .12em; margin-left: 4px; vertical-align: top; }
.brand-mark { width: 28px; height: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; transform: skew(-12deg); }
.brand-mark i { display: block; background: var(--cyan); border-radius: 1px; }
.brand-mark i:nth-child(2) { transform: translateY(5px); background: var(--yellow); }
.brand-mark i:nth-child(3) { transform: translateY(10px); }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.site-nav > a:not(.nav-cta) { color: #d7e0e5; transition: color .2s; }
.site-nav > a:not(.nav-cta):hover { color: var(--cyan); }
.nav-cta { border: 1px solid var(--cyan); color: var(--cyan); padding: 11px 16px; display: inline-flex; gap: 20px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--cyan); color: var(--ink); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: white; margin: 6px 0; transition: transform .2s; }

.section-dark { background: var(--ink); color: var(--white); }
.hero { min-height: 800px; position: relative; overflow: hidden; padding: 150px 0 90px; }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% 36%; height: 80%; background: radial-gradient(circle, rgba(102,214,221,.16), transparent 62%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent 0, #000 40%, #000 100%); }
.hero-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 74px; align-items: center; position: relative; z-index: 2; }
.eyebrow, .section-kicker { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan-soft); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.status-dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,212,84,.12); }
.hero h1 { margin: 30px 0 26px; font-size: clamp(50px, 6.1vw, 86px); line-height: .95; letter-spacing: -.065em; font-weight: 600; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 610px; color: #b8c7cf; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 230px; gap: 28px; padding: 17px 20px; border: 0; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); }
.text-link { color: var(--cyan); font-size: 13px; font-weight: 700; display: inline-flex; gap: 18px; border-bottom: 1px solid rgba(102,214,221,.4); padding: 10px 0; }
.hero-proof { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); max-width: 580px; }
.hero-proof > div { display: flex; gap: 13px; padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-proof > div:last-child { border: 0; margin-right: 0; }
.hero-proof strong { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 10px; }
.hero-proof span { font-size: 11px; line-height: 1.45; color: #98abb5; text-transform: uppercase; letter-spacing: .04em; }

.hero-visual { min-height: 540px; position: relative; }
.machine-label { position: absolute; top: 10px; right: 0; left: 52px; display: flex; justify-content: space-between; color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .14em; }
.document-stack { position: absolute; top: 58px; left: 8%; right: 0; bottom: 20px; }
.doc-card { position: absolute; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); }
.doc-back { top: 20px; left: 0; width: 66%; height: 75%; background: #14384e; transform: rotate(-7deg); padding: 28px; color: #8facbb; display: flex; flex-direction: column; gap: 8px; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .1em; }
.doc-back b { color: white; font-size: 24px; }
.doc-front { right: 0; top: 28px; width: 84%; min-height: 420px; background: #f9fbf7; color: var(--ink); padding: 24px; transform: rotate(1.5deg); }
.doc-topline, .doc-footer { display: flex; justify-content: space-between; align-items: center; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .08em; }
.doc-topline { border-bottom: 1px solid #dfe6e5; padding-bottom: 17px; }
.live-dot { color: #27795f; display: inline-flex; gap: 6px; align-items: center; }
.live-dot::before { content: ""; width: 6px; height: 6px; background: #39b986; border-radius: 50%; }
.scan-summary { display: flex; align-items: center; gap: 22px; padding: 24px 0; }
.scan-summary > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.scan-summary b { font-size: 20px; }
.scan-summary span { font-size: 11px; color: #687983; }
.scan-ring { width: 80px; height: 80px; border: 6px solid var(--cyan); border-right-color: #dce8e9; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-10deg); }
.scan-ring > * { transform: rotate(10deg); }
.scan-ring span { color: var(--ink); font-size: 26px; font-weight: 800; line-height: 1; }
.scan-ring small { font-family: "DM Mono", monospace; font-size: 7px; }
.result-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #dfe6e5; padding: 14px 4px; font-family: "DM Mono", monospace; font-size: 9px; }
.result-row b { font-size: 8px; padding: 6px 8px; }
.result-row.ok b { color: #28795f; background: #dbf1e8; }
.result-row.warning b { color: #765900; background: #fff0bc; }
.doc-footer { border-top: 1px solid #dfe6e5; padding-top: 18px; margin-top: 8px; color: #6c7d86; }
.tech-note { position: absolute; font-family: "DM Mono", monospace; font-size: 8px; line-height: 1.45; color: #879eaa; letter-spacing: .08em; }
.tech-note b { color: var(--cyan); }
.tech-note::before { content: ""; position: absolute; top: 8px; height: 1px; width: 34px; background: var(--cyan); }
.tech-note-a { left: -20px; bottom: 20px; padding-left: 48px; }
.tech-note-a::before { left: 0; }
.tech-note-b { right: -18px; top: 105px; padding-right: 46px; text-align: right; }
.tech-note-b::before { right: 0; }

.objective { padding: 120px 0 0; background: var(--paper); }
.section-kicker { color: #34727b; margin-bottom: 28px; }
.section-kicker.light { color: var(--cyan); }
.objective-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-bottom: 96px; }
.objective h2, .section-heading h2, .example h2, .contact h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.03; letter-spacing: -.055em; }
.objective-copy { border-left: 1px solid var(--dark-line); padding-left: 44px; }
.objective-copy p { color: #536772; line-height: 1.75; }
.objective-copy .large-copy { color: var(--ink); font-size: 20px; line-height: 1.55; margin-top: 0; }
.signal-strip { border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); padding: 20px 0; display: grid; grid-template-columns: 250px 1fr; align-items: center; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .08em; }
.signal-strip > span { color: #687b85; }
.ticker { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 10px; }
.ticker i { width: 4px; height: 4px; background: var(--cyan); border-radius: 50%; flex: 0 0 auto; }

.section-light { background: #e7ece8; }
.approach { padding: 130px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 60px; }
.section-heading .section-kicker { align-self: flex-start; }
.section-heading h2 { max-width: 760px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.approach-card { min-height: 390px; padding: 30px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.approach-card.featured { background: var(--cyan-soft); }
.step-number { font-family: "DM Mono", monospace; font-size: 10px; color: #6e7f87; }
.step-icon { font-size: 50px; line-height: 1; margin: 68px 0 26px; color: #276d76; }
.approach-card h3 { font-size: 22px; margin: 0 0 14px; letter-spacing: -.025em; }
.approach-card p { color: #52656e; line-height: 1.7; font-size: 14px; }
.approach-card small { margin-top: auto; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .08em; color: #5e747c; }

.example { padding: 130px 0; position: relative; overflow: hidden; }
.example::before { content: ""; position: absolute; width: 500px; height: 500px; right: 10%; top: 10%; background: radial-gradient(circle, rgba(102,214,221,.13), transparent 66%); }
.example-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; position: relative; z-index: 2; }
.example-copy > p { color: #a9bac3; line-height: 1.75; font-size: 16px; max-width: 510px; }
.check-list { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.check-list li { color: #d9e3e7; font-size: 13px; }
.check-list span { color: var(--yellow); margin-right: 10px; }
.example-caution { border-left: 2px solid var(--yellow); padding: 4px 0 4px 18px; display: flex; flex-direction: column; gap: 5px; max-width: 500px; }
.example-caution b { color: var(--yellow); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.example-caution span { color: #8da2ad; font-size: 11px; line-height: 1.55; }
.comparison { background: #eff3ef; color: var(--ink); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow); }
.comparison-toolbar { height: 48px; padding: 0 18px; background: #dfe6e2; border-bottom: 1px solid #cbd6d2; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .08em; }
.comparison-toolbar > span:nth-child(2) { text-align: center; }
.comparison-toolbar > span:last-child { text-align: right; color: #6d7f86; }
.tool-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.tool-dot.red { background: #e98d82; } .tool-dot.amber { background: #e7c45e; } .tool-dot.green { background: #74c89b; }
.comparison-body { padding: 34px; }
.file-pill { display: grid; grid-template-columns: 52px 1fr 24px; gap: 16px; align-items: center; background: white; border: 1px solid #d8e0dd; padding: 18px; }
.file-pill > span { width: 44px; height: 44px; background: var(--ink); color: var(--cyan); display: grid; place-items: center; font-family: "DM Mono", monospace; font-size: 9px; }
.file-pill div { display: flex; flex-direction: column; gap: 4px; }
.file-pill b { font-size: 13px; }
.file-pill small { color: #718289; font-size: 10px; }
.file-pill i { color: #2f9a72; font-style: normal; }
.compare-arrow { text-align: center; color: #74878e; margin: 9px 0; }
.analysis-button { width: 100%; border: 0; background: var(--ink); color: white; padding: 18px 20px; margin-top: 22px; display: flex; justify-content: space-between; cursor: pointer; font-size: 12px; font-weight: 700; }
.analysis-button:hover { background: #11364d; }
.analysis-button.loading span::after { content: "..."; animation: ellipsis 1s infinite steps(4); }
@keyframes ellipsis { 0% { content: "" } 25% { content: "." } 50% { content: ".." } 75%,100% { content: "..." } }
.analysis-result { margin-top: 24px; border-top: 1px solid #ced8d4; padding-top: 20px; opacity: .45; transition: opacity .3s; }
.analysis-result.active { opacity: 1; }
.analysis-result > div:first-child { display: flex; justify-content: space-between; font-family: "DM Mono", monospace; font-size: 8px; }
.analysis-result b { color: #886600; }
.mini-progress { height: 4px; background: #d9e1de; margin: 13px 0; overflow: hidden; }
.mini-progress i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .8s ease; }
.analysis-result.active .mini-progress i { width: 100%; }
.analysis-result small { color: #718289; }

.principles { padding: 125px 0; }
.section-heading.compact { align-items: flex-start; }
.principles-list { border-top: 1px solid var(--dark-line); }
.principle { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 30px; align-items: center; min-height: 150px; border-bottom: 1px solid var(--dark-line); }
.principle > span { font-family: "DM Mono", monospace; font-size: 10px; color: #4d7d83; }
.principle h3 { font-size: 20px; max-width: 320px; }
.principle p { color: #586b74; font-size: 14px; line-height: 1.7; }

.section-accent { background: var(--yellow); }
.contact { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 110px; align-items: start; }
.contact-copy p { max-width: 520px; font-size: 16px; line-height: 1.75; }
.contact-meta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 25px; font-family: "DM Mono", monospace; font-size: 9px; }
.contact-meta span { display: inline-flex; align-items: center; gap: 7px; }
.contact-meta i { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
.contact-form { background: #fff8da; padding: 32px; border: 1px solid rgba(7,27,43,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; font-size: 10px; font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.contact-form input, .contact-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(7,27,43,.28); padding: 11px 2px; outline: 0; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 14px; text-transform: none; letter-spacing: normal; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8b8f80; }
.button-dark { width: 100%; background: var(--ink); color: white; margin-top: 5px; }
.form-note { color: #696d62; font-size: 9px; line-height: 1.6; margin: 12px 0 0; }

.site-footer { background: #04131f; color: white; padding: 58px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.brand-footer { justify-self: start; }
.footer-top p { color: #8ea3ad; font-size: 13px; text-align: center; }
.footer-email { color: var(--cyan); justify-self: end; font-family: "DM Mono", monospace; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; color: #657d88; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .05em; }

.reveal { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-sm { transition-delay: .1s; }
.reveal-delay { transition-delay: .18s; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 82px; left: 0; right: 0; background: rgba(7,27,43,.98); padding: 28px 24px 34px; flex-direction: column; align-items: stretch; gap: 22px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { justify-content: space-between; }
  .hero { padding-top: 130px; }
  .hero-layout, .example-layout, .contact-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero h1 { font-size: clamp(54px, 10vw, 78px); }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .objective-grid { grid-template-columns: 1fr; gap: 38px; }
  .objective-copy { padding-left: 0; border-left: 0; }
  .signal-strip { grid-template-columns: 1fr; gap: 18px; overflow: hidden; }
  .ticker { min-width: 850px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { min-height: 330px; }
  .step-icon { margin-top: 45px; }
  .example-copy { max-width: 650px; }
  .comparison { max-width: 650px; width: 100%; }
  .contact-grid { gap: 55px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .nav-wrap { height: 70px; }
  .site-nav { top: 70px; }
  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero h1 { font-size: 49px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-proof { display: grid; grid-template-columns: 1fr; }
  .hero-proof > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 0; margin: 0; }
  .hero-visual { min-height: 430px; }
  .machine-label { left: 8px; }
  .document-stack { left: 0; }
  .doc-back { display: none; }
  .doc-front { width: 100%; min-height: 390px; padding: 18px; }
  .tech-note { display: none; }
  .objective, .approach, .example, .principles, .contact { padding: 85px 0; }
  .objective h2, .section-heading h2, .example h2, .contact h2 { font-size: 41px; }
  .section-heading { display: block; }
  .section-heading .section-kicker { margin-bottom: 24px; }
  .check-list { grid-template-columns: 1fr; }
  .comparison-body { padding: 20px; }
  .file-pill { grid-template-columns: 47px 1fr 18px; padding: 14px; }
  .principle { grid-template-columns: 45px 1fr; gap: 16px; padding: 25px 0; }
  .principle p { grid-column: 2; margin-top: -8px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .footer-top p { text-align: left; }
  .footer-email { justify-self: start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
