:root {
  --navy: #071a2c;
  --navy-2: #0c2740;
  --navy-3: #173650;
  --coral: #f25f48;
  --coral-dark: #d94833;
  --cream: #f7f3e9;
  --paper: #fffdf7;
  --ink: #122333;
  --muted: #64707a;
  --line: #cbd0c8;
  --lime: #c9f06a;
  --radius: 16px;
  --max: 1180px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; background: var(--paper); padding: .8rem 1rem; border: 2px solid var(--navy); }
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .7rem max(1.5rem, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--navy);
  border-bottom: 1px solid #31516d;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; object-fit: contain; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 1.8rem); }
.site-header nav a { text-decoration: none; font-weight: 720; font-size: .92rem; }
.site-header nav a:not(.nav-cta):hover { color: #ff9b87; }
.nav-cta { color: var(--navy) !important; background: var(--coral); padding: .68rem 1rem; border-radius: 10px; }

.machine-grid {
  background-image: linear-gradient(rgba(91, 127, 154, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 127, 154, .14) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 5.5rem max(1.5rem, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background-color: var(--navy);
  overflow: hidden;
}
.eyebrow { margin: 0 0 .8rem; color: #ff8c77; font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--coral-dark); }
h1, h2, h3 { margin-top: 0; line-height: .98; letter-spacing: -.045em; }
.hero h1 { max-width: 780px; margin-bottom: 1.6rem; font-size: clamp(3.2rem, 6.4vw, 6.25rem); font-weight: 880; }
.hero h1 span, .download-copy h1 span { color: var(--coral); }
.hero-lead { max-width: 660px; color: #c8d3dc; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.25rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 11px;
  padding: .78rem 1.15rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { color: var(--paper); background: var(--coral); border-color: var(--coral); box-shadow: 5px 5px 0 #7d2c23; }
.button.primary:hover { background: #ff745e; }
.button.secondary { color: inherit; background: transparent; border-color: currentColor; }
.button.coral-light { color: var(--navy); background: var(--coral); border-color: #ff9886; box-shadow: 5px 5px 0 #02101e; }
.button.compact { min-height: 40px; padding: .48rem .78rem; font-size: .88rem; box-shadow: none; }
.local-stamp { display: flex; gap: .55rem; align-items: center; color: #dce6eb; font-size: .95rem; }
.local-stamp span { color: var(--lime); }

.hero-machine { position: relative; min-height: 455px; display: grid; place-items: center; }
.hero-machine::before, .hero-machine::after { content: ""; position: absolute; left: 50%; width: 2px; height: 95px; border-left: 2px dashed #63809a; }
.hero-machine::before { top: 18px; }.hero-machine::after { bottom: 20px; }
.machine-core { position: relative; z-index: 2; width: 255px; height: 255px; display: grid; place-items: center; background: var(--navy-2); border: 2px solid #54728d; border-radius: 50%; box-shadow: 0 0 0 20px rgba(13, 43, 68, .8), 0 0 0 22px #31516d; }
.machine-core img { width: 148px; filter: drop-shadow(0 8px 14px #0008); }
.machine-core span { position: absolute; bottom: 32px; color: #ffb1a2; font-weight: 950; letter-spacing: .22em; font-size: .72rem; }
.feed-file, .result-file { position: absolute; z-index: 3; width: 200px; padding: .78rem 1rem; color: var(--navy); background: var(--paper); border: 2px solid var(--coral); border-radius: 8px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; box-shadow: 5px 5px 0 #f25f48; }
.feed-file { top: 0; left: 0; transform: rotate(-4deg); }.result-file { right: 0; bottom: 0; transform: rotate(3deg); }
.feed-file b, .result-file b { display: block; margin-top: .25rem; color: var(--coral-dark); font-size: 1rem; }

.process-rail { max-width: var(--max); margin: -28px auto 0; padding: 0; position: relative; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--coral); }
.process-rail li { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-right: 1px solid var(--line); font-weight: 850; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.process-rail li:last-child { border-right: 0; }.process-rail b { color: var(--coral-dark); }

.section { max-width: var(--max); margin: 0 auto; padding: 7rem 1.5rem; }
.section-heading { max-width: 760px; margin-bottom: 2.8rem; }
.section h2, .local-section h2, .desktop-section h2, .referral-section h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.capability-grid article { min-height: 330px; padding: 1.35rem; background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius); box-shadow: 5px 5px 0 #b6bdb4; }
.capability-grid article:nth-child(2), .capability-grid article:nth-child(4) { transform: translateY(1.3rem); }
.capability-grid article > span { color: var(--coral-dark); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.capability-grid h3 { min-height: 92px; margin: 2rem 0 1.5rem; font-size: 1.7rem; }
.capability-grid ul, .check-list { padding: 0; list-style: none; }
.capability-grid li { padding: .6rem 0; border-top: 1px dashed #abb3ab; font-weight: 760; }
.capability-grid li::before { content: "+"; color: var(--coral-dark); margin-right: .6rem; }
.scope-note { margin: 3rem 0 0; color: var(--muted); }

.local-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; padding: 6rem max(1.5rem, calc((100vw - var(--max)) / 2)); color: var(--paper); background-color: var(--navy-2); }
.local-detail { padding: 1.5rem 0 0; color: #d2dde4; font-size: 1.08rem; }.local-detail a { color: #ff9e8b; font-weight: 800; }

.desktop-section { max-width: var(--max); margin: 0 auto; padding: 7rem 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.desktop-visual { position: relative; padding: 1rem; background: var(--navy); border: 2px solid var(--navy); border-radius: 24px; box-shadow: 12px 12px 0 var(--coral); }
.desktop-visual::after { content: "REAL PRODUCT UI"; position: absolute; top: 26px; right: -18px; padding: .45rem .8rem; color: var(--navy); background: var(--lime); border: 2px solid var(--navy); transform: rotate(4deg); font-size: .68rem; font-weight: 950; letter-spacing: .12em; }
.desktop-visual img { display: block; width: 100%; max-height: 700px; object-fit: cover; object-position: top; border-radius: 13px; }
.desktop-copy > p { color: var(--muted); font-size: 1.08rem; }
.check-list { margin: 2rem 0; }.check-list li { padding: .55rem 0; font-weight: 700; }.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: .75rem; color: var(--navy); background: var(--lime); border-radius: 50%; font-size: .8rem; }
.release-note { font-size: .88rem !important; }

.referral-section { padding: 6rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); color: var(--paper); background-color: var(--navy); }
.referral-copy > p { color: #c8d3dc; max-width: 650px; }.referral-copy .eyebrow { color: #ff947f; }
.referral-result { margin: 1.5rem 0; padding: 1rem; background: #0e2c47; border: 1px solid #436581; border-radius: 12px; }.referral-result label { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 800; }.referral-result div { display: flex; }.referral-result input { min-width: 0; flex: 1; padding: .72rem; color: var(--navy); background: var(--paper); border: 0; border-radius: 7px 0 0 7px; }.referral-result button { padding: .72rem 1rem; color: var(--navy); background: var(--lime); border: 0; border-radius: 0 7px 7px 0; font-weight: 850; cursor: pointer; }.economics-note { font-size: .86rem; }
.referral-steps { margin: 0; padding: 1rem; list-style: none; border: 2px dashed #54728d; border-radius: var(--radius); background: #081e33cc; }.referral-steps li { display: grid; grid-template-columns: 48px 1fr; gap: .8rem; align-items: center; padding: 1.1rem; border-bottom: 1px solid #294760; }.referral-steps li:last-child { border: 0; }.referral-steps b { color: var(--coral); font-size: .76rem; }.referral-steps span { font-weight: 820; }

.difference { padding-bottom: 4rem; }.difference-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--navy); }.difference-grid article { padding: 2rem; border-right: 2px solid var(--navy); }.difference-grid article:last-child { border: 0; }.difference-grid b { color: var(--coral-dark); letter-spacing: .15em; }.difference-grid p { color: var(--muted); }
.faq { max-width: 970px; }.faq-list { border-top: 2px solid var(--navy); }.faq details { padding: 1.2rem 0; border-bottom: 1px solid #9da69e; }.faq summary { cursor: pointer; font-size: 1.12rem; font-weight: 830; }.faq details p { max-width: 750px; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center; padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2)); color: #d7e0e5; background: #041321; border-top: 1px solid #28455e; }.site-footer p { margin: 0; }.site-footer nav a { color: #ff9b87; }.site-footer small { grid-column: 2 / -1; color: #8294a3; }

.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 920px; margin: auto; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1rem 1.2rem; color: var(--paper); background: #0b2a43f5; border: 2px solid #ff8e79; border-radius: 14px; box-shadow: 0 12px 45px #0008; }.consent[hidden] { display: none; }.consent p { margin: .25rem 0 0; color: #cfdbe2; font-size: .86rem; }.consent > div:last-child { display: flex; gap: .6rem; flex-shrink: 0; }

.legal-shell { max-width: 850px; margin: 0 auto; padding: 5rem 1.5rem 7rem; }.legal-shell h1 { font-size: clamp(3.2rem, 7vw, 6rem); }.legal-lead { font-size: 1.2rem; color: var(--muted); }.legal-shell section { padding: 1.4rem 0; border-top: 1px solid #b8bfb8; }.legal-shell h2 { font-size: 1.65rem; letter-spacing: -.02em; }.legal-note { margin-top: 2rem; padding: 1rem; background: #efe5d5; border-left: 5px solid var(--coral); }

.download-shell { min-height: 700px; padding: 6rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr .8fr; gap: clamp(3rem, 7vw, 7rem); color: var(--paper); background-color: var(--navy); }.download-copy h1 { font-size: clamp(3.2rem, 6vw, 6.2rem); }.download-copy > p { max-width: 670px; color: #c7d4dc; font-size: 1.1rem; }.status-panel { margin: 2rem 0; padding: 1.2rem; color: var(--navy); background: var(--paper); border: 3px solid var(--coral); border-radius: 12px; box-shadow: 7px 7px 0 var(--coral); }.status-panel b { color: var(--coral-dark); }.status-panel p { margin-bottom: 0; }.release-gates { align-self: center; padding: 2rem; background: #0d2b45e6; border: 2px dashed #678098; border-radius: var(--radius); }.release-gates h2 { font-size: 2rem; }.release-gates ol { padding: 0; list-style: none; }.release-gates li { padding: 1rem 0; border-bottom: 1px solid #35536c; }.release-gates li b, .release-gates li span { display: block; }.release-gates li b { color: var(--coral); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }.release-gates p { color: #c9d4dc; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; color: var(--paper); background: var(--navy); }.error-page main { max-width: 700px; }.error-page h1 { font-size: clamp(3rem, 8vw, 7rem); }

@media (max-width: 950px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }.hero-machine { min-height: 390px; max-width: 600px; width: 100%; justify-self: center; }
  .process-rail { margin-left: 1rem; margin-right: 1rem; }.process-rail li { justify-content: center; }.process-rail li span { display: none; }
  .capability-grid { grid-template-columns: 1fr 1fr; }.capability-grid article:nth-child(2), .capability-grid article:nth-child(4) { transform: none; }
  .local-section, .desktop-section, .referral-section, .download-shell { grid-template-columns: 1fr; }
  .local-section { gap: 1rem; }.desktop-visual { max-width: 650px; }
  .site-footer { grid-template-columns: 1fr; }.site-footer small { grid-column: auto; }
}

@media (max-width: 600px) {
  .site-header { min-height: 72px; padding: .55rem 1rem; }.site-header .brand img { width: 155px; }.nav-cta { padding: .55rem .75rem !important; font-size: .78rem !important; }
  .hero { min-height: auto; padding-top: 4rem; padding-bottom: 4rem; }.hero h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }.hero-machine { min-height: 330px; }.machine-core { width: 190px; height: 190px; }.machine-core img { width: 110px; }.feed-file, .result-file { width: 145px; font-size: .58rem; }
  .process-rail { box-shadow: 5px 5px 0 var(--coral); }.process-rail li { padding: .8rem .3rem; }
  .section { padding: 5rem 1rem; }.capability-grid { grid-template-columns: 1fr; }.capability-grid article { min-height: auto; }.capability-grid h3 { min-height: auto; }
  .local-section, .desktop-section, .referral-section, .download-shell { padding: 4.5rem 1rem; }.desktop-section h2, .referral-section h2, .local-section h2 { font-size: 2.7rem; }
  .difference-grid { grid-template-columns: 1fr; }.difference-grid article { border-right: 0; border-bottom: 2px solid var(--navy); }
  .consent { align-items: stretch; flex-direction: column; gap: .8rem; }.consent > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .referral-result div { flex-direction: column; }.referral-result input, .referral-result button { border-radius: 7px; }.referral-result button { margin-top: .5rem; }
  .site-footer nav { flex-wrap: wrap; }
}

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