:root {
  --ink: #06111f;
  --ink-2: #0b1d31;
  --navy: #08223d;
  --blue: #123d66;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dce4ed;
  --text: #111827;
  --muted: #526171;
  --orange: #ff6b13;
  --orange-2: #ff8a00;
  --green: #159b62;
  --amber: #f28a15;
  --red: #d73b35;
  --shadow: 0 24px 70px rgba(4, 18, 35, 0.24);
  --shadow-soft: 0 18px 48px rgba(10, 30, 55, 0.1);
  --section-x: clamp(14px, 1.8vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 107, 19, 0.45);
  outline-offset: 3px;
}

.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;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

.rail {
  position: sticky;
  top: 0;
  height: auto;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: 12px var(--section-x);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(8, 34, 61, 0.08);
  color: var(--ink-2);
  box-shadow: 0 12px 36px rgba(8, 34, 61, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.brand-wordmark,
.app-logo img,
.machine img {
  display: block;
  flex: 0 0 auto;
}

.brand-wordmark {
  width: clamp(154px, 12vw, 196px);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(255, 107, 19, 0.12));
}

.rail nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 0;
}

.rail nav a {
  position: relative;
  border-radius: 999px;
  padding: 9px 12px;
  color: #496174;
  font-size: 0.82rem;
  font-weight: 700;
}

.rail nav a:hover,
.rail nav a.active {
  color: var(--ink-2);
  background: rgba(255, 107, 19, 0.09);
}

.rail nav a.active::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.rail-project {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #64748d;
  font-size: 0.72rem;
}

.rail-project strong {
  display: block;
  margin-top: 4px;
  color: var(--ink-2);
}

.rail-cta {
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
}

main {
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

.hero {
  position: relative;
  min-height: min(900px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(410px, 0.54fr) minmax(620px, 1fr);
  align-items: center;
  gap: clamp(40px, 4vw, 78px);
  padding: 74px var(--section-x) 62px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 107, 19, 0.16), transparent 22%),
    linear-gradient(120deg, #071525 0%, #06111f 60%, #08131f 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 48.2%, transparent 48.2%),
    linear-gradient(145deg, transparent 0 68%, rgba(255, 255, 255, 0.08) 68% 68.2%, transparent 68.2%),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, 0.035) 79px, transparent 80px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 16%;
  bottom: 0;
  width: 38%;
  height: 70%;
  opacity: 0.25;
  background:
    linear-gradient(transparent 0 19%, rgba(255, 255, 255, 0.16) 20%, transparent 21%),
    linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, 0.14) 15%, transparent 16%),
    linear-gradient(135deg, transparent 0 50%, rgba(255, 255, 255, 0.16) 50.3%, transparent 50.6%);
  clip-path: polygon(0 100%, 16% 28%, 70% 0, 100% 100%);
}

.hero-copy,
.hero-product {
  position: relative;
  z-index: 1;
}

.hero-copy {
  z-index: 3;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.55rem, 3.05vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 820;
  color: #fff;
}

.hero h1 span {
  color: var(--orange);
}

.hero-copy p {
  max-width: 600px;
  margin: 22px 0 0;
  color: #b8d0ec;
  font-size: 1.08rem;
  line-height: 1.58;
}

.value-proof {
  max-width: 610px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 46px rgba(4, 18, 35, 0.22);
}

.value-proof article {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 112px;
  padding: 15px 16px;
  background: rgba(7, 21, 37, 0.72);
  text-align: center;
}

.value-proof strong,
.value-proof span {
  display: block;
}

.value-proof strong {
  color: #fff;
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  letter-spacing: 0;
  line-height: 1;
}

.value-proof span {
  max-width: 18ch;
  margin-top: 8px;
  color: #b8d0ec;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero-copy .value-note {
  max-width: 620px;
  margin-top: 12px;
  color: #88a4c2;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 0 28px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 16px 36px rgba(255, 107, 19, 0.28);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-product {
  z-index: 2;
  justify-self: end;
  width: 100%;
  max-width: 940px;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(560px, 1fr);
  align-items: center;
}

.app-window {
  position: relative;
  min-width: 540px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.app-top {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #081320;
  color: #fff;
}

.app-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.app-logo img {
  width: 118px;
  height: auto;
}

.app-top select {
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  background: transparent;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
}

.log-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.38rem;
  letter-spacing: 0;
}

.log-head h2 span {
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 0.88rem;
  vertical-align: middle;
}

.log-head button {
  border: 1px solid #9cb8b1;
  border-radius: 6px;
  padding: 10px 14px;
  background: #f7fffd;
  color: #102d30;
  font-weight: 900;
}

.demo-controls {
  display: flex;
  gap: 8px;
}

.demo-controls button:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 19, 0.22);
  animation: pulseStart 1.8s ease-in-out infinite;
}

.demo-controls button:last-child {
  background: #fff;
  color: var(--muted);
}

.pass-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
}

.pass-status span {
  position: relative;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.pass-status span.active {
  color: var(--orange);
  background: #fff7ed;
}

.pass-status span.done {
  color: var(--green);
}

.log-chat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
  color: var(--muted);
}

.log-chat-form {
  display: contents;
}

.log-chat label {
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.log-chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.log-chat input {
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}

.log-chat button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.log-chat-answer {
  grid-column: 2;
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 850;
}

.table-wrap {
  overflow-x: auto;
  padding: 0 20px 20px;
  background: #fff;
}

.log-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.log-table th,
.log-table td {
  padding: 11px 10px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.log-table th {
  color: #334155;
  background: #f7fafc;
  font-size: 0.65rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.log-table td:nth-child(1),
.log-table td:nth-child(2) {
  font-weight: 900;
}

.log-table tr[data-flag-row] {
  cursor: pointer;
}

.log-table tbody tr {
  transition: opacity 0.34s ease, transform 0.34s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.log-table tr[data-flag-row] td:first-child {
  border-left: 4px solid var(--orange);
}

.log-table tr[data-flag-row].row-visible {
  background: #fffaf0;
}

.log-table tr[data-flag-row].flag-attention {
  background: #fff3df;
  box-shadow: inset 5px 0 0 var(--orange);
}

.log-table tr[data-flag-row].flag-attention td {
  border-top-color: rgba(255, 107, 19, 0.35);
}

.app-window.demo-ready .log-table tbody tr {
  opacity: 0;
  transform: translateX(-12px);
}

.app-window.demo-ready .log-table tbody tr.row-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 0.8fr);
  gap: 1px;
  background: var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.demo-metrics strong,
.demo-metrics button,
.demo-metrics .btn {
  padding: 15px 16px;
  border: 0;
  background: #fbfdff;
  color: var(--blue);
  font-size: 0.9rem;
  min-height: auto;
}

.demo-metrics button,
.demo-metrics .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  cursor: pointer;
  font-weight: 1000;
  text-align: center;
}

.app-window.is-complete .demo-metrics {
  opacity: 1;
  transform: translateY(0);
}

.demo-disclaimer {
  margin: 0;
  padding: 14px 20px 18px;
  color: var(--muted);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

.flag-drawer {
  position: static;
  display: none;
  width: auto;
  margin: 0 20px 20px;
  border: 1px solid rgba(255, 107, 19, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: #071525;
  color: #fff;
  box-shadow: 0 18px 48px rgba(4, 18, 35, 0.36);
  pointer-events: none;
  transform: none;
}

.flag-drawer.open {
  display: block;
  pointer-events: auto;
}

.flag-drawer span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flag-drawer h3 {
  margin: 8px 0 8px;
  color: #fff;
}

.flag-drawer p {
  margin: 0;
  color: #b8d0ec;
  line-height: 1.45;
}

.dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
}

.dot.high {
  background: var(--green);
}

.dot.med {
  background: var(--amber);
}

.dot.low {
  background: var(--red);
}

.section-light,
.local {
  background: var(--paper);
  color: var(--text);
}

.pass,
.local,
.flags,
.why,
.pricing,
.pilot,
.faq {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(58px, 6vw, 92px) var(--section-x);
}

main > section[id] {
  scroll-margin-top: 92px;
}

.ai-assistant {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: stretch;
  gap: 36px;
  padding: 74px var(--section-x);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 107, 19, 0.08), transparent 30%),
    var(--soft);
}

.ai-assistant-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ai-assistant-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 0.98;
  font-weight: 1000;
  text-transform: uppercase;
}

.ai-assistant-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.prompt-grid button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 12px 30px rgba(10, 30, 55, 0.07);
}

.prompt-grid button:hover {
  border-color: rgba(255, 107, 19, 0.55);
  color: var(--orange);
  transform: translateY(-1px);
}

.ai-note {
  margin-top: 18px;
  border-left: 4px solid var(--orange);
  padding-left: 14px;
}

.ai-assistant-copy .ai-note {
  margin-top: 18px;
}

.chat-widget {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 60;
  display: grid;
  grid-template-areas:
    "panel"
    "launcher";
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.chat-launcher {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px 0 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  cursor: pointer;
  font-weight: 1000;
  box-shadow: 0 18px 48px rgba(255, 107, 19, 0.32), 0 12px 30px rgba(8, 34, 61, 0.18);
  grid-area: launcher;
  pointer-events: auto;
}

.chat-launcher svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-widget .chat-widget-panel {
  width: min(420px, calc(100vw - 32px));
  min-height: 0;
  max-height: min(640px, calc(100vh - 104px));
  display: none;
  grid-area: panel;
  pointer-events: auto;
}

.chat-widget.open .chat-widget-panel {
  display: grid;
}

.chat-widget.open .chat-launcher {
  box-shadow: 0 12px 34px rgba(8, 34, 61, 0.24);
}

.chat-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.chat-widget-prompts {
  padding: 12px 14px 0;
  margin: 0;
}

.chat-console {
  min-width: 0;
  min-height: 520px;
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.chat-console-head span,
.chat-console-head strong {
  display: block;
}

.chat-console-head span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 1000;
}

.chat-console-head strong {
  margin-top: 3px;
  color: var(--green);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.chat-message span {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-apply,
.chat-form button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.chat-apply {
  min-height: 40px;
  padding: 0 14px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.86), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(0deg, rgba(8, 34, 61, 0.045) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(8, 34, 61, 0.035) 0 1px, transparent 1px 36px),
    var(--soft);
}

.chat-message {
  max-width: 82%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(10, 30, 55, 0.08);
}

.chat-message.assistant {
  align-self: flex-start;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.chat-message.user {
  align-self: flex-end;
  border-color: transparent;
  background: var(--navy);
  color: #fff;
}

.chat-message.user span {
  color: #ffb377;
}

.chat-message p {
  margin: 0;
  line-height: 1.48;
  white-space: pre-line;
}

.chat-message[data-chat-loading="true"] p {
  color: var(--muted);
}

.chat-error {
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid rgba(215, 59, 53, 0.2);
  background: rgba(215, 59, 53, 0.08);
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 120px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  font: inherit;
  line-height: 1.4;
}

.chat-form textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(255, 107, 19, 0.2);
  outline-offset: 2px;
}

.chat-form button {
  min-height: 48px;
}

.chat-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.pass {
  grid-template-columns: minmax(280px, 0.38fr) minmax(620px, 1fr);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.pass-copy {
  grid-column: 1;
  max-width: 420px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pass h2,
.local h2,
.flags h2,
.why h2,
.pricing h2,
.pilot h2,
.faq h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.pass ul,
.local ul {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #1f2937;
  line-height: 1.4;
}

.pass li,
.local li {
  position: relative;
  padding-left: 36px;
}

.pass li::before,
.local li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 1000;
}

.pass-board {
  grid-column: 2;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  padding-top: 6px;
}

.pass-board::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  opacity: 0.3;
}

.pass-board article {
  position: relative;
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 18px 18px;
  background: #fbfdff;
  box-shadow: var(--shadow-soft);
}

.pass-board span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-bottom: 16px;
  border: 2px solid rgba(255, 107, 19, 0.2);
  border-radius: 6px;
  padding: 0 10px;
  background: #fff7ed;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.pass-board strong {
  display: block;
}

.pass-board small,
.pass-board p {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.pass-board em {
  float: right;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.flags,
.pricing,
.pilot {
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 107, 19, 0.1), transparent 30%),
    #06111f;
  color: #fff;
}

.flags h2,
.pricing h2,
.pilot h2 {
  color: #fff;
}

.flag-grid,
.why-grid,
.pricing-grid,
.pilot-grid {
  display: grid;
  gap: 16px;
}

.flag-grid,
.pilot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flag-grid article,
.why-grid article,
.pricing-grid article,
.pilot-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.flag-grid span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 2px solid currentColor;
  border-radius: 8px;
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 1000;
}

.flag-grid strong,
.why-grid strong,
.pricing-grid strong,
.pilot-grid strong {
  display: block;
  color: #fff;
}

.flag-grid p,
.why-grid p,
.pricing-grid p,
.pilot-grid p {
  margin: 10px 0 0;
  color: #a9bfd6;
  line-height: 1.45;
}

.sample-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 107, 19, 0.42);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.sample-download:hover {
  background: rgba(255, 255, 255, 0.06);
}

.why {
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.why-intro {
  max-width: 380px;
}

.why-intro p,
.pricing > div:first-child p,
.pilot-note {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid article {
  border-color: var(--line);
  background: #fbfdff;
  box-shadow: var(--shadow-soft);
}

.why-grid strong {
  color: var(--ink);
}

.why-grid p {
  color: var(--muted);
}

.local {
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.local-flow {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.72fr;
  align-items: center;
  gap: 28px;
}

.machine,
.folder,
.approved {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.machine {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #f4f7fb);
  color: var(--ink);
  text-align: center;
}

.machine img {
  width: min(196px, 86%);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(8, 34, 61, 0.14));
}

.folder strong,
.folder p,
.approved p {
  display: block;
  margin: 0 0 12px;
}

.folder p {
  color: var(--muted);
  font-size: 0.9rem;
}

.approved {
  display: flex;
  align-items: center;
  gap: 18px;
}

.approved span {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 1000;
}

.pilot {
  border-bottom: 5px solid var(--orange);
}

.pilot .final {
  grid-column: 2;
  width: fit-content;
}

.pricing {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing > div:first-child p {
  max-width: 320px;
  color: #a9bfd6;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid article {
  min-height: 214px;
}

.pricing-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-grid strong {
  font-size: clamp(1.75rem, 2.35vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.pricing-grid .pricing-primary {
  border-color: rgba(255, 107, 19, 0.42);
  background: linear-gradient(145deg, rgba(255, 107, 19, 0.18), rgba(255, 255, 255, 0.05));
  box-shadow: 0 20px 54px rgba(255, 107, 19, 0.16);
  transform: translateY(-8px);
}

.pilot-note {
  max-width: 330px;
  color: #a9bfd6;
}


.faq {
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq-intro {
  max-width: 360px;
}

.faq-intro p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fbfdff;
  box-shadow: none;
}

.faq-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px var(--section-x);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #06111f;
  color: #d8e5f2;
}

.site-footer div {
  display: grid;
  gap: 8px;
}

.site-footer img {
  display: block;
  width: 156px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(255, 107, 19, 0.12));
}

.site-footer p {
  margin: 0;
  color: #91a8bf;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links > a:not(.linkedin-link) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #d8e5f2;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links > a:not(.linkedin-link):hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.linkedin-link:hover {
  border-color: rgba(255, 107, 19, 0.46);
  background: rgba(255, 255, 255, 0.06);
}

.linkedin-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #0a66c2;
  fill: currentColor;
}

.pipeline-rail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pipeline-page {
  background: #fff;
}

.pipeline-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.38fr) minmax(640px, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: 68px var(--section-x) 56px;
  color: #fff;
  background: linear-gradient(120deg, #071525 0%, #06111f 66%, #0b1d31 100%);
}

.pipeline-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.65rem, 5.4vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.pipeline-copy p {
  max-width: 570px;
  margin: 0;
  color: #bfd4ef;
  font-size: 1.1rem;
  line-height: 1.55;
}

.pipeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pipeline-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e4edf9;
  background: rgba(255, 255, 255, 0.06);
}

.pipeline-photo-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.pipeline-photo-frame img,
.pipeline-proof-photos img,
.pipeline-feature-photos img {
  display: block;
  width: 100%;
  height: auto;
}

.pipeline-photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: #526171;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 850;
}

.pipeline-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.pipeline-metrics article {
  padding: 24px;
  background: #fff;
}

.pipeline-metrics strong {
  display: block;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.pipeline-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.pipeline-section {
  padding: 70px var(--section-x);
}

.pipeline-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.pipeline-section-head h2,
.pipeline-plain h2,
.pipeline-cta h2 {
  margin: 0;
  letter-spacing: 0;
}

.pipeline-section-head h2 {
  max-width: 650px;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.06;
}

.pipeline-section-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.pipeline-proof-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pipeline-feature-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pipeline-proof-photos article,
.pipeline-feature-photos article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 30, 55, 0.1);
}

.pipeline-proof-photos div,
.pipeline-feature-photos div {
  padding: 16px;
}

.pipeline-proof-photos strong,
.pipeline-feature-photos strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.pipeline-proof-photos p,
.pipeline-feature-photos p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pipeline-plain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 18px;
  align-items: start;
}

.pipeline-plain article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.pipeline-plain h2 {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.pipeline-plain p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pipeline-limits {
  display: grid;
  gap: 12px;
}

.pipeline-limits p {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
}

.pipeline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(120deg, #071525, #0b1d31);
}

.pipeline-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.08;
}

.pipeline-cta p {
  max-width: 700px;
  margin: 10px 0 0;
  color: #bfd4ef;
  line-height: 1.55;
}

.legal-page,
.about-page,
.contact-page,
.free-build-page {
  min-height: 100vh;
  background: var(--soft);
  color: var(--text);
}

.legal-page {
  padding: 44px clamp(16px, 3vw, 40px);
}

.legal-page section {
  width: min(820px, 100%);
  display: grid;
  gap: 18px;
  margin: 26px auto 0;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(10, 30, 55, 0.1);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.legal-page h1,
.free-build-page h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.05;
}

.legal-page h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.legal-page p,
.free-build-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.legal-page a:not(.legal-back) {
  color: var(--blue);
  font-weight: 800;
}

.about-page {
  position: relative;
  padding: 44px clamp(16px, 3vw, 40px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 34, 61, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 34, 61, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.about-hero,
.about-story,
.about-product,
.about-principles {
  width: min(1120px, 100%);
  margin: 26px auto 0;
}

.about-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 107, 19, 0.18), transparent 34%),
    linear-gradient(120deg, #06111f 0%, #08223d 66%, #0c2948 100%);
  box-shadow: 0 28px 70px rgba(6, 17, 31, 0.22);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.1) 48% 48.2%, transparent 48.2%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.04) 89px, transparent 90px);
}

.about-copy,
.about-founder-card {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  max-width: 790px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.04;
}

.about-hero p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #c6d8eb;
  font-size: 1.1rem;
  line-height: 1.58;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.about-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.about-founder-card {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.founder-photo {
  display: block;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 176, 118, 0.55);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.about-founder-card p,
.about-founder-card span {
  margin: 0;
  color: #b8d0ec;
}

.about-founder-card h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
}

.about-founder-card a {
  margin-top: 12px;
  color: #ffb076;
  font-weight: 900;
}

.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-story article,
.about-product,
.about-principles {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(10, 30, 55, 0.08);
}

.about-story article {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.about-story span,
.about-product > div > span,
.about-principles > div > span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-story h2,
.about-product h2,
.about-principles h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.1;
}

.about-story p,
.about-product p,
.about-principles li {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.about-product,
.about-principles {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.about-product > div,
.about-principles > div {
  display: grid;
  gap: 10px;
}

.about-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-product-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid #d8e5f1;
  border-radius: 8px;
  background: #f8fbff;
}

.about-product-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.about-principles {
  margin-bottom: 44px;
}

.about-principles ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-principles li {
  padding: 18px 18px 18px 22px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #f8fbff;
}

.about-principles strong {
  color: var(--ink);
}

.contact-page {
  position: relative;
  padding: 44px clamp(16px, 3vw, 40px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 34, 61, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 34, 61, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #eef4fb 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.contact-hero,
.contact-pulse,
.contact-grid,
.contact-details {
  width: min(1120px, 100%);
  margin: 26px auto 0;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.38fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 107, 19, 0.2), transparent 34%),
    linear-gradient(120deg, #06111f 0%, #08223d 68%, #0c2948 100%);
  box-shadow: 0 28px 70px rgba(6, 17, 31, 0.22);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 255, 255, 0.1) 47% 47.2%, transparent 47.2%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.04) 89px, transparent 90px);
}

.contact-copy,
.contact-note {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.55rem, 5vw, 5.1rem);
  line-height: 1.04;
}

.contact-hero p,
.contact-note p,
.contact-card p,
.contact-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.contact-hero p {
  max-width: 650px;
  margin-top: 18px;
  color: #c6d8eb;
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.contact-note {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.contact-note strong {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-note ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-note li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #d7e7f8;
  line-height: 1.45;
}

.contact-note li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 107, 19, 0.18);
  color: #ffb076;
  font-weight: 900;
}

.contact-pulse {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(18, 61, 102, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(10, 30, 55, 0.08);
  backdrop-filter: blur(10px);
}

.contact-pulse p {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-pulse div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-pulse span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #d8e5f1;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #36546e;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 0.8fr));
  gap: 18px;
}

.contact-card,
.contact-details article {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(10, 30, 55, 0.08);
}

.contact-card {
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--orange), rgba(255, 107, 19, 0));
}

.contact-card:hover {
  border-color: rgba(255, 107, 19, 0.34);
  box-shadow: 0 22px 54px rgba(10, 30, 55, 0.14);
  transform: translateY(-3px);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #ffd7bd;
  border-radius: 8px;
  background: #fff7ed;
  color: var(--orange);
}

.contact-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card h2,
.contact-details h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
}

.contact-card .btn {
  justify-self: start;
  margin-top: 6px;
}

.contact-card .btn.ghost {
  border-color: var(--line);
  background: #f7fafc;
  color: var(--blue);
  box-shadow: none;
  backdrop-filter: none;
}

.contact-card .btn.ghost:hover {
  border-color: rgba(255, 107, 19, 0.46);
  background: #fff7ed;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
  margin-bottom: 44px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.58;
}

.contact-list a {
  color: var(--blue);
  font-weight: 800;
}

.careers-page {
  background: #f6f9fc;
}

.careers-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  min-height: 680px;
  padding: 96px var(--section-x) 112px;
  border-bottom: 1px solid rgba(18, 61, 102, 0.12);
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 107, 19, 0.14), transparent 30%),
    linear-gradient(135deg, #06111f, #151316);
}

.careers-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.careers-copy h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.6vw, 5.65rem);
  line-height: 1.02;
}

.careers-copy p,
.careers-section p,
.careers-working li,
.careers-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.careers-copy p {
  max-width: 760px;
  margin-top: 22px;
  color: #c6d8eb;
  font-size: 1.08rem;
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.careers-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.careers-section > div > span,
.careers-cta span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.careers-section h2,
.careers-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
}

.careers-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 76px var(--section-x);
  background: #f6f9fc;
}

.careers-section > div:first-child {
  display: grid;
  gap: 14px;
}

.careers-impact {
  grid-template-columns: minmax(0, 1fr);
}

.careers-impact > div:first-child {
  max-width: 760px;
  justify-self: center;
  text-align: center;
}

.careers-impact .careers-grid {
  width: 100%;
  max-width: 1018px;
  justify-self: center;
  margin-top: 14px;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.careers-grid article,
.careers-working,
.careers-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(10, 30, 55, 0.08);
}

.careers-grid article {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.careers-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.careers-working {
  margin: 0 var(--section-x) 76px;
  padding: 34px;
}

.careers-working ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.careers-working li {
  padding-left: 18px;
  border-left: 3px solid rgba(255, 107, 19, 0.34);
}

.careers-working strong {
  color: var(--ink);
}

.careers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 var(--section-x) 86px;
  padding: 32px 48px 32px 32px;
}

.careers-cta > div {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.seo-page {
  background: #f6f9fc;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.64fr) minmax(280px, 0.36fr);
  gap: 28px;
  align-items: center;
  min-height: 620px;
  padding: 104px var(--section-x) 82px;
  background:
    linear-gradient(135deg, rgba(6, 17, 31, 0.96) 0%, rgba(18, 48, 78, 0.9) 62%, rgba(74, 36, 22, 0.84) 100%),
    url("images/proof/review-view.png") center/cover no-repeat;
}

.seo-hero h1 {
  max-width: 840px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 4.3vw, 5rem);
  line-height: 1.04;
}

.seo-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #c9dbef;
  font-size: 1.05rem;
  line-height: 1.58;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.seo-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.seo-proof {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.74);
}

.seo-proof strong {
  color: #fff;
  font-size: 1.15rem;
}

.seo-proof p {
  margin-top: 12px;
  color: #c4d8ed;
  font-size: 0.96rem;
}

.seo-band,
.seo-faq {
  padding: 76px var(--section-x);
}

.seo-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: #fff;
}

.seo-band h2,
.seo-faq h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
}

.seo-band p,
.seo-faq p {
  color: var(--muted);
  line-height: 1.58;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-self: center;
  align-items: start;
  align-content: start;
}

.seo-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 30, 55, 0.07);
}

.seo-faq article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(10, 30, 55, 0.08);
}

.seo-grid h3,
.seo-faq h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.seo-grid p,
.seo-faq p {
  margin: 12px 0 0;
}

.seo-faq {
  display: grid;
  grid-template-columns: minmax(340px, 0.38fr) repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.free-build-page {
  display: grid;
  gap: 0;
}

.free-build-hero,
.free-build-intake {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(360px, 0.42fr);
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(40px, 6vw, 88px) clamp(16px, 3vw, 42px);
}

.free-build-hero {
  align-items: center;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 107, 19, 0.13), transparent 24%),
    #fff;
}

.free-build-hero > div,
.free-build-intake > div:first-child {
  display: grid;
  gap: 20px;
}

.free-build-hero p,
.free-build-intake p {
  max-width: 620px;
  font-size: 1.08rem;
}

.free-build-hero .btn {
  width: fit-content;
}

.free-build-hero aside,
.free-build-intake .beehiiv-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 18px 50px rgba(10, 30, 55, 0.1);
}

.free-build-hero aside {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.free-build-hero aside strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.free-build-hero aside p {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
}

.free-build-intake {
  align-items: start;
  background: #06111f;
  color: #fff;
}

.free-build-intake h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.free-build-intake p {
  color: #a9bfd6;
}

.free-build-intake .beehiiv-form {
  min-height: 360px;
  padding: 18px;
  background: #fff;
}

.pilot-modal {
  width: min(720px, calc(100% - 28px));
  border: 1px solid rgba(255, 107, 19, 0.44);
  border-radius: 8px;
  padding: 0;
  background: #071525;
  color: #fff;
  box-shadow: 0 34px 90px rgba(4, 18, 35, 0.48);
}

.pilot-modal::backdrop {
  background: rgba(4, 12, 23, 0.72);
  backdrop-filter: blur(7px);
}

.modal-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 34px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-panel h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.modal-panel p {
  max-width: 560px;
  margin: 0;
  color: #b8d0ec;
  line-height: 1.5;
}

.beehiiv-form {
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.beehiiv-form[hidden] {
  display: none;
}

.beehiiv-form iframe {
  min-height: 360px !important;
}

.pilot-confirmation {
  max-width: none;
  border: 1px solid rgba(67, 214, 122, 0.42);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(67, 214, 122, 0.12);
  color: #d7ffe4;
  font-weight: 700;
}

.pilot-confirmation[hidden] {
  display: none;
}

@keyframes pulseStart {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(255, 107, 19, 0.2);
  }
  50% {
    box-shadow: 0 10px 34px rgba(255, 107, 19, 0.48);
  }
}

@keyframes scanLine {
  0%,
  100% {
    background: transparent;
    color: inherit;
  }
  50% {
    background: rgba(255, 107, 19, 0.12);
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1320px) {
  .hero {
    align-items: start;
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .hero-product {
    transform: scale(0.82);
    transform-origin: left top;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 36px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-product {
    justify-self: start;
    max-width: 980px;
    grid-template-columns: minmax(560px, 1fr);
    min-height: auto;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: sticky;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .brand {
    padding: 10px 12px;
  }

  .rail nav {
    display: flex;
    padding: 0;
  }

  .rail nav a {
    white-space: nowrap;
  }

  .rail-project,
  .rail-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 54px 18px 64px;
  }

  .hero-product {
    grid-template-columns: minmax(520px, 1fr);
    overflow-x: auto;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .ai-assistant {
    grid-template-columns: 1fr;
    padding: 58px 34px;
  }

  .ai-assistant-copy {
    max-width: 780px;
  }

  .chat-console {
    min-height: 500px;
  }

  .flags,
  .why,
  .local,
  .pricing,
  .pilot,
  .faq {
    grid-template-columns: 1fr;
  }

  .flags > div:first-child,
  .why-intro,
  .local > div:first-child,
  .pricing > div:first-child,
  .pilot > div:first-child,
  .faq-intro {
    max-width: 680px;
  }

  .flag-grid,
  .pilot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid .pricing-primary {
    transform: none;
  }

  .local-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilot .final {
    grid-column: auto;
  }

  .pipeline-hero,
  .pipeline-plain,
  .pipeline-cta {
    grid-template-columns: 1fr;
  }

  .pipeline-proof-photos,
  .pipeline-feature-photos,
  .pipeline-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-section-head {
    display: block;
  }

  .pipeline-section-head p {
    margin-top: 12px;
  }

  .careers-hero,
  .careers-section {
    grid-template-columns: 1fr;
  }

  .careers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .careers-copy {
    max-width: 820px;
  }

  .seo-hero,
  .seo-band,
  .seo-faq {
    grid-template-columns: 1fr;
  }

  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .pass {
    grid-template-columns: 1fr;
  }

  .pass-copy,
  .pass-board {
    grid-column: auto;
  }

  .pass-copy {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 9vw, 4.2rem);
  }

  .hero-copy p {
    font-size: 1.06rem;
  }

  .hero-product {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow-x: visible;
  }

  .app-window {
    width: 100%;
    min-width: 0;
  }

  .pass,
  .flags,
  .local,
  .why,
  .pricing,
  .pilot,
  .faq {
    grid-template-columns: 1fr;
    padding: 54px 16px;
  }

  .pass-board,
  .flag-grid,
  .why-grid,
  .pricing-grid,
  .pilot-grid,
  .faq-grid,
  .local-flow {
    grid-template-columns: 1fr;
  }

  .pricing-grid .pricing-primary {
    transform: none;
  }

  .pilot .final {
    grid-column: auto;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .free-build-hero,
  .free-build-intake {
    grid-template-columns: 1fr;
    padding: 44px 22px;
  }

  .contact-hero,
  .about-hero,
  .contact-pulse,
  .about-story,
  .about-product-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-hero {
    padding: 54px 18px 56px;
  }

  .pipeline-copy h1 {
    font-size: clamp(2.45rem, 9vw, 4.2rem);
  }

  .pipeline-section {
    padding: 54px 16px;
  }

  .pipeline-proof-photos,
  .pipeline-feature-photos,
  .pipeline-metrics {
    grid-template-columns: 1fr;
  }

  .pipeline-cta {
    padding: 26px;
  }

  .careers-page {
    background: #f6f9fc;
  }

  .careers-hero {
    min-height: auto;
    padding: 56px 22px 72px;
  }

  .careers-copy h1 {
    max-width: 620px;
    font-size: clamp(2.5rem, 9vw, 4rem);
    line-height: 1.05;
  }

  .careers-copy p {
    font-size: 1rem;
  }

  .careers-section {
    padding: 54px 22px;
  }

  .careers-grid {
    grid-template-columns: 1fr;
  }

  .careers-working,
  .careers-cta {
    margin-right: 22px;
    margin-left: 22px;
  }

  .careers-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .seo-hero {
    min-height: auto;
    padding: 62px 22px 72px;
  }

  .seo-hero h1 {
    font-size: clamp(2.35rem, 8.8vw, 4rem);
  }

  .seo-band,
  .seo-faq {
    padding: 54px 22px;
  }

  .seo-grid,
  .seo-faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ai-assistant {
    padding: 44px 20px;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-launcher {
    min-height: 52px;
    padding: 0 14px;
  }

  .chat-widget-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 84px);
  }

  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-console-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-form button {
    min-height: 46px;
  }

  .chat-message {
    max-width: 94%;
  }
}

@media (max-width: 520px) {
  .rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    padding: 0;
  }

  .brand-wordmark {
    width: 118px;
  }

  .rail nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-left: 0;
    width: 100%;
  }

  .rail nav a {
    padding: 7px 8px;
    font-size: 0.68rem;
    line-height: 1;
    text-align: center;
    white-space: normal;
  }

  .rail nav a.active::before {
    left: 8px;
    right: 8px;
    bottom: 3px;
  }

  .hero {
    gap: 18px;
    padding: 22px 16px 22px;
  }

  main > section[id] {
    scroll-margin-top: 238px;
  }

  .hero-copy,
  .hero-product {
    width: 100%;
    min-width: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.52;
    margin-top: 13px;
  }

  .hero-copy p:nth-of-type(2),
  .hero-copy .value-note,
  .hero-actions .ghost {
    display: none;
  }

  .value-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
  }

  .value-proof article {
    padding: 12px 10px;
  }

  .value-proof strong {
    font-size: 1.08rem;
  }

  .value-proof span {
    font-size: 0.64rem;
  }

  .hero-copy .value-note {
    font-size: 0.82rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .app-window {
    min-width: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .log-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .log-chat {
    grid-template-columns: 1fr;
  }

  .log-chat-answer {
    grid-column: auto;
  }

  .pass-status,
  .demo-metrics {
    grid-template-columns: 1fr;
  }

  .flag-drawer {
    margin: 0 12px 12px;
  }

  .contact-page {
    padding: 24px 14px;
  }

  .contact-hero,
  .about-hero,
  .contact-card,
  .contact-details article {
    padding: 22px;
  }

  .about-product,
  .about-principles {
    padding: 22px;
  }

  .contact-hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  .about-hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  .about-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .contact-pulse {
    gap: 12px;
  }

  .contact-pulse div {
    display: grid;
    grid-template-columns: 1fr;
  }
}
