
:root {
  --bg: #f7f6f2;
  --bg-soft: #ffffff;
  --ink: #0b1739;
  --muted: #58647a;
  --line: #dce1e9;
  --line-strong: #c7cfdb;
  --accent: #2457ff;
  --accent-2: #46b7ff;
  --accent-soft: #eaf0ff;
  --success: #087a4b;
  --success-soft: #e7f7ef;
  --warning: #b95c08;
  --warning-soft: #fff0e1;
  --panel: rgba(255, 255, 255, 0.88);
  --shadow: 0 22px 70px rgba(11, 23, 57, 0.12);
  --header: rgba(247, 246, 242, 0.88);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #060a14;
  --bg-soft: #0b1220;
  --ink: #f4f7fb;
  --muted: #9da9be;
  --line: #223452;
  --line-strong: #345075;
  --accent: #50d7e8;
  --accent-2: #7482ff;
  --accent-soft: rgba(80, 215, 232, 0.12);
  --success: #8bd6b4;
  --success-soft: rgba(139, 214, 180, 0.12);
  --warning: #f4a261;
  --warning-soft: rgba(244, 162, 97, 0.12);
  --panel: rgba(16, 26, 45, 0.82);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --header: rgba(6, 10, 20, 0.86);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-geist-sans), Inter, Arial, sans-serif;
  transition: background-color 360ms ease, color 360ms ease;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

.site-shell { min-height: 100vh; overflow: hidden; background: var(--bg); }
.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: var(--header);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 86px;
  left: 0;
  padding: 0 clamp(24px, 4.7vw, 76px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 360ms ease, border-color 360ms ease;
  z-index: 50;
}
.brand { align-items: center; display: inline-flex; font-size: 22px; font-weight: 580; gap: 12px; letter-spacing: -0.04em; width: max-content; }
.brand strong { color: var(--accent); font-weight: 680; }
.brand-mark { height: 33px; position: relative; width: 33px; }
.brand-mark::before, .brand-mark::after, .brand-mark i {
  border: 1.7px solid var(--accent);
  border-radius: 2px;
  content: "";
  height: 18px;
  left: 7px;
  position: absolute;
  top: 7px;
  transform: rotate(30deg) skew(-8deg);
  transition: transform 400ms ease;
  width: 18px;
}
.brand-mark::after { transform: rotate(90deg) skew(-8deg); }
.brand-mark i:nth-child(1) { opacity: .35; transform: rotate(150deg) skew(-8deg); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { display: none; }
.brand:hover .brand-mark::after { transform: rotate(150deg) skew(-8deg); }
.main-nav { align-items: center; display: flex; gap: clamp(26px, 3.8vw, 58px); }
.main-nav a { color: var(--muted); font-size: 14px; font-weight: 520; position: relative; transition: color 180ms ease; }
.main-nav a::after { background: var(--accent); bottom: -10px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; width: 100%; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { align-items: center; display: flex; gap: 22px; justify-self: end; }
.contact-link { border: 1px solid var(--line-strong); border-radius: 7px; font-size: 14px; padding: 12px 22px; transition: background 180ms ease, border-color 180ms ease; }
.contact-link:hover { background: var(--accent-soft); border-color: var(--accent); }
.theme-toggle { align-items: center; background: none; border: 0; cursor: pointer; display: flex; gap: 8px; padding: 6px; }
.theme-track { background: var(--accent-soft); border: 1px solid var(--line-strong); border-radius: 30px; display: block; height: 28px; padding: 2px; position: relative; transition: all 260ms ease; width: 50px; }
.theme-thumb { align-items: center; background: var(--accent); border-radius: 50%; color: var(--bg); display: flex; font-size: 13px; height: 22px; justify-content: center; left: 2px; position: absolute; top: 2px; transform: translateX(0); transition: transform 260ms cubic-bezier(.2,.8,.2,1), background 260ms ease; width: 22px; }
:root[data-theme="dark"] .theme-thumb { transform: translateX(22px); }
.theme-name { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; width: 35px; }
.menu-button { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(550px, 1.08fr);
  min-height: 790px;
  padding: 168px clamp(24px, 5.5vw, 88px) 78px;
  position: relative;
}
.ambient-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  inset: 86px 0 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 92%);
  opacity: .36;
  pointer-events: none;
  position: absolute;
}
:root[data-theme="dark"] .ambient-grid { opacity: .18; }
.hero::before { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 68%); content: ""; filter: blur(15px); height: 580px; opacity: 0; pointer-events: none; position: absolute; right: 4%; top: 100px; transition: opacity 500ms ease; width: 720px; }
:root[data-theme="dark"] .hero::before { opacity: .68; }
.hero-copy { align-self: center; max-width: 650px; padding: 10px 5vw 20px 0; position: relative; z-index: 2; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .22em; margin: 0 0 25px; text-transform: uppercase; }
.hero h1 { font-size: clamp(54px, 5.3vw, 82px); font-weight: 500; letter-spacing: -.065em; line-height: .99; margin: 0; }
:root[data-theme="dark"] .hero h1 { font-weight: 670; letter-spacing: -.055em; }
.hero-lede { color: var(--muted); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; margin: 30px 0 0; max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.button { align-items: center; border-radius: 6px; display: inline-flex; font-size: 15px; font-weight: 580; gap: 28px; justify-content: center; min-height: 54px; padding: 0 26px; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 18%, transparent); color: var(--bg); }
:root[data-theme="dark"] .button-primary { color: #06111b; }
.button-secondary { border: 1px solid var(--accent); color: var(--accent); }
.button-secondary:hover { background: var(--accent-soft); }
.hero-note { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 9px; margin: 30px 0 0; }
.hero-note span { background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px var(--success-soft); height: 6px; width: 6px; }

.intelligence-stage { align-self: center; min-height: 555px; position: relative; z-index: 3; }
.day-panel, .night-panel { animation: panelIn 520ms cubic-bezier(.2,.8,.2,1) both; }
.night-only { display: none; }
:root[data-theme="dark"] .day-only { display: none; }
:root[data-theme="dark"] .night-only { display: block; }
.day-panel { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow); min-height: 540px; padding: 31px; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; }
.panel-kicker { color: var(--muted); display: block; font-size: 10px; font-weight: 650; letter-spacing: .18em; margin-bottom: 7px; text-transform: uppercase; }
.panel-heading h2 { font-size: 27px; letter-spacing: -.04em; margin: 0; }
.review-status { align-items: center; color: var(--muted); display: flex; font-size: 13px; gap: 8px; }
.review-status i { border: 1px solid var(--accent); border-radius: 50%; height: 18px; position: relative; width: 18px; }
.review-status i::after { animation: spin 2s linear infinite; border: 2px solid transparent; border-right-color: var(--accent); border-radius: 50%; content: ""; inset: 2px; position: absolute; }
.progress { background: var(--line); border-radius: 9px; height: 4px; margin: 22px 0 25px; overflow: hidden; }
.progress span { animation: progressIn 1.1s .2s both; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; display: block; height: 100%; width: 42%; }
.scenario-tabs { border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 17px; overflow: hidden; }
.scenario-tabs button { background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; font-size: 13px; min-height: 48px; transition: background 180ms ease, color 180ms ease; }
.scenario-tabs button:last-child { border-right: 0; }
.scenario-tabs button.active { background: var(--accent-soft); color: var(--accent); }
.signal-list { display: grid; gap: 10px; }
.signal-list button { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; display: grid; grid-template-columns: 40px 1fr auto 20px; min-height: 68px; padding: 0 16px; text-align: left; transition: border 180ms ease, background 180ms ease, transform 180ms ease; }
.signal-list button:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }
.signal-list strong { font-size: 14px; font-weight: 570; }
.signal-list em { color: var(--muted); font-size: 12px; font-style: normal; margin-right: 12px; }
.signal-list button:nth-child(1) em { color: var(--warning); }
.signal-list button:nth-child(2) em { color: var(--success); }
.signal-list button:nth-child(3) em { color: var(--accent); }
.signal-icon { align-items: center; border-radius: 50%; display: flex; font-size: 14px; height: 28px; justify-content: center; width: 28px; }
.signal-icon.warning { background: var(--warning-soft); color: var(--warning); }
.signal-icon.clear { background: var(--success-soft); color: var(--success); }
.signal-icon.review, .signal-icon.docs { background: var(--accent-soft); color: var(--accent); }
.panel-foot { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 21px; padding-top: 18px; }
.panel-foot span { color: var(--muted); font-size: 11px; }
.panel-foot button { background: transparent; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent); cursor: pointer; font-size: 12px; padding: 10px 15px; }

.night-panel { min-height: 550px; position: relative; }
.flow-inputs { display: grid; gap: 14px; left: 0; position: absolute; top: 62px; width: 150px; }
.flow-inputs div { align-items: center; background: rgba(16, 26, 45, .78); border: 1px solid #345075; border-radius: 8px; color: #f4f7fb; display: flex; gap: 12px; min-height: 65px; padding: 10px 12px; }
.flow-inputs b { font-size: 11px; font-weight: 500; line-height: 1.4; }
.flow-icon { color: var(--accent); font-size: 24px; }
.flow-lines { left: 145px; position: absolute; top: 91px; width: 184px; }
.line { border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); border-radius: 0 30px 30px 0; display: block; height: 72px; opacity: .9; position: absolute; width: 170px; }
.line::after { animation: signalPulse 2.6s infinite; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); content: ""; height: 6px; position: absolute; right: -4px; bottom: -4px; width: 6px; }
.line.l1 { height: 176px; top: -62px; }
.line.l2 { border-color: var(--accent-2); height: 118px; top: 10px; width: 162px; }
.line.l3 { border-color: var(--accent-2); height: 70px; top: 82px; width: 166px; }
.line.l4 { height: 28px; top: 157px; width: 174px; }
.flow-process { align-items: center; display: flex; gap: 12px; left: 320px; position: absolute; top: 213px; }
.flow-process div { align-items: center; display: flex; flex-direction: column; gap: 10px; }
.flow-process div span { align-items: center; background: rgba(16,26,45,.9); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--accent); display: flex; font-size: 19px; height: 52px; justify-content: center; width: 54px; }
.flow-process b { color: var(--muted); font-size: 9px; font-weight: 520; }
.flow-process i { color: var(--accent); font-size: 18px; font-style: normal; margin-top: -20px; }
.flow-output { align-items: center; background: rgba(16,26,45,.94); border: 1px solid var(--line-strong); border-radius: 10px; display: flex; flex-direction: column; min-height: 142px; padding: 16px 13px; position: absolute; right: 0; text-align: center; top: 166px; width: 105px; }
.shield { align-items: center; border: 1px solid var(--success); border-radius: 50% 50% 45% 45%; color: var(--success); display: flex; height: 38px; justify-content: center; margin-bottom: 8px; width: 38px; }
.flow-output b { font-size: 12px; line-height: 1.4; }
.flow-output em, .human-node em { background: var(--success-soft); border-radius: 5px; color: var(--success); font-size: 9px; font-style: normal; margin-top: 9px; padding: 4px 9px; }
.human-node { align-items: center; background: rgba(16,26,45,.94); border: 1px solid var(--line-strong); border-radius: 9px; bottom: 63px; cursor: pointer; display: flex; flex-direction: column; min-height: 111px; padding: 12px; position: absolute; right: 123px; width: 118px; }
.human-node span { color: var(--accent); font-size: 26px; }
.human-node b { font-size: 11px; margin-top: 4px; }
.human-node::before { border-left: 1px dashed var(--accent-2); content: ""; height: 62px; left: 50%; position: absolute; top: -62px; }
.flow-caption { bottom: 0; color: var(--muted); font-size: 11px; left: 0; line-height: 1.6; margin: 0; max-width: 310px; position: absolute; }
.signal-detail { animation: detailIn 260ms ease both; backdrop-filter: blur(18px); background: color-mix(in srgb, var(--bg-soft) 93%, transparent); border: 1px solid var(--accent); border-radius: 13px; box-shadow: var(--shadow); max-width: 370px; padding: 26px; position: absolute; right: 22px; top: 108px; z-index: 8; }
.signal-detail > button { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 25px; position: absolute; right: 13px; top: 8px; }
.signal-detail > span { color: var(--accent); font-size: 10px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.signal-detail h3 { font-size: 25px; letter-spacing: -.04em; margin: 12px 0; }
.signal-detail p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.signal-detail small { border-top: 1px solid var(--line); color: var(--muted); display: block; font-size: 10px; line-height: 1.5; margin-top: 17px; padding-top: 14px; }

.principles { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 clamp(24px, 4.7vw, 76px); }
.principles span { border-right: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .04em; padding: 21px 25px; text-align: center; text-transform: uppercase; }
.principles span:last-child { border: 0; }
.principles i { color: var(--accent); font-style: normal; margin-right: 12px; }

.section { padding: 130px clamp(24px, 6vw, 96px); }
.section-heading { align-items: end; display: grid; gap: 8vw; grid-template-columns: 1.25fr .75fr; margin-bottom: 64px; }
.section h2 { font-size: clamp(42px, 4.3vw, 66px); font-weight: 520; letter-spacing: -.055em; line-height: 1.06; margin: 0; }
.section-heading > p, .technology-copy > p, .company-copy > p { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 0; }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.product-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; min-height: 430px; overflow: hidden; padding: 26px; position: relative; transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-5px); }
.product-top { align-items: center; display: flex; justify-content: space-between; }
.product-top > span:first-child { color: var(--muted); font-family: var(--font-geist-mono), monospace; font-size: 11px; }
.product-top > div { align-items: center; display: flex; gap: 12px; }
.live-badge { align-items: center; background: var(--success-soft); border-radius: 99px; color: var(--success); display: inline-flex; font-size: 9px; font-weight: 650; gap: 6px; letter-spacing: .12em; padding: 6px 9px; text-transform: uppercase; }
.live-badge i, .connected-type i { background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px var(--success-soft); height: 5px; width: 5px; }
.product-orbit { border: 1px solid var(--accent); border-radius: 50%; height: 43px; position: relative; width: 43px; }
.product-orbit::before, .product-orbit::after { border: 1px solid var(--accent); border-radius: 50%; content: ""; inset: 7px -5px; position: absolute; transform: rotate(45deg); }
.product-orbit::after { transform: rotate(-45deg); }
.product-card > p:not(.product-copy) { color: var(--accent); font-size: 10px; letter-spacing: .16em; margin: 58px 0 12px; text-transform: uppercase; }
.product-card h3 { font-size: 31px; letter-spacing: -.05em; margin: 0; }
.product-copy { color: var(--muted); font-size: 13px; line-height: 1.72; margin: 19px 0 30px; }
.product-card > a { align-items: center; border-top: 1px solid var(--line); display: flex; font-size: 13px; justify-content: space-between; margin-top: auto; padding-top: 19px; transition: color 180ms ease; }
.product-card > a:hover { color: var(--accent); }

.connected-section { background: var(--ink); color: var(--bg); display: grid; gap: 7vw; grid-template-columns: .82fr 1.18fr; padding-bottom: 104px; padding-top: 104px; }
:root[data-theme="dark"] .connected-section { background: #f4f7fb; color: #0b1739; }
.connected-intro > p:not(.eyebrow) { color: color-mix(in srgb, var(--bg) 68%, transparent); font-size: 15px; line-height: 1.75; margin: 28px 0 0; max-width: 560px; }
:root[data-theme="dark"] .connected-intro > p:not(.eyebrow) { color: #58647a; }
.connected-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.connected-card { border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); border-radius: 14px; display: flex; flex-direction: column; min-height: 310px; padding: 28px; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.connected-card:hover { background: color-mix(in srgb, var(--bg) 7%, transparent); border-color: var(--accent); transform: translateY(-3px); }
:root[data-theme="dark"] .connected-card { border-color: #d8dee8; }
:root[data-theme="dark"] .connected-card:hover { background: #fff; }
.connected-type { align-items: center; color: var(--accent); display: flex; font-size: 9px; font-weight: 650; gap: 9px; letter-spacing: .14em; text-transform: uppercase; }
.connected-card h3 { font-size: 31px; letter-spacing: -.045em; margin: 45px 0 15px; }
.connected-card p { color: color-mix(in srgb, var(--bg) 62%, transparent); font-size: 13px; line-height: 1.65; margin: 0 0 28px; }
:root[data-theme="dark"] .connected-card p { color: #58647a; }
.connected-card strong { align-items: center; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); display: flex; font-size: 12px; font-weight: 520; justify-content: space-between; margin-top: auto; padding-top: 17px; }
:root[data-theme="dark"] .connected-card strong { border-color: #d8dee8; }
.handoff-line { align-items: center; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); display: flex; gap: 22px; grid-column: 1 / -1; justify-content: center; margin-top: 4px; padding-top: 30px; }
.handoff-line span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.handoff-line i { color: var(--accent); font-style: normal; }
:root[data-theme="dark"] .handoff-line { border-color: #d8dee8; }

.technology-section { align-items: start; background: var(--bg-soft); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 10vw; grid-template-columns: .85fr 1.15fr; }
.technology-copy { position: sticky; top: 140px; }
.technology-copy > p:not(.eyebrow) { margin: 30px 0; }
.technology-copy > a { color: var(--accent); display: inline-flex; font-size: 14px; gap: 22px; }
.process-stack { border-top: 1px solid var(--line); }
.process-stack article { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 40px; grid-template-columns: 50px 1fr; padding: 34px 4px; transition: background 180ms ease, padding 180ms ease; }
.process-stack article:hover { background: var(--accent-soft); padding-left: 18px; padding-right: 18px; }
.process-stack article > span { color: var(--accent); font-family: var(--font-geist-mono), monospace; font-size: 11px; padding-top: 7px; }
.process-stack h3 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 10px; }
.process-stack p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

.responsible-section { padding-bottom: 100px; }
.responsible-intro { max-width: 1000px; }
.responsible-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 70px; }
.responsible-grid article { border-left: 1px solid var(--line); min-height: 260px; padding: 6px 30px; }
.responsible-grid article > span { color: var(--accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.responsible-grid h3 { font-size: 25px; letter-spacing: -.035em; line-height: 1.2; margin: 38px 0 17px; }
.responsible-grid p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.compliance-note { border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; margin: 60px 0 0; padding-top: 24px; }

.company-section { background: var(--ink); color: var(--bg); display: grid; gap: 10vw; grid-template-columns: 1fr 1fr; }
:root[data-theme="dark"] .company-section { background: #f4f7fb; color: #0b1739; }
.company-section .eyebrow { color: var(--accent); }
.company-section .company-copy > p { color: color-mix(in srgb, var(--bg) 68%, transparent); }
:root[data-theme="dark"] .company-section .company-copy > p { color: #58647a; }
.company-copy { display: grid; gap: 22px; }
.founder-line { border-top: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); display: grid; margin-top: 15px; padding-top: 26px; }
.founder-line span { color: var(--accent); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.founder-line strong { font-size: 23px; font-weight: 550; letter-spacing: -.03em; margin-top: 12px; }
.founder-line em { color: color-mix(in srgb, var(--bg) 56%, transparent); font-size: 12px; font-style: normal; margin-top: 5px; }
:root[data-theme="dark"] .founder-line em { color: #6f7b8f; }

.contact-section { align-items: center; display: flex; flex-direction: column; padding: 135px 24px; text-align: center; }
.contact-section h2 { font-size: clamp(43px, 5.5vw, 78px); font-weight: 520; letter-spacing: -.06em; line-height: 1.03; margin: 0; max-width: 940px; }
.contact-section > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 30px 0; max-width: 660px; }
footer { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 1.1fr .9fr 1fr auto; min-height: 130px; padding: 30px clamp(24px, 4.7vw, 76px); }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { transform: scale(.75); transform-origin: left center; width: 28px; }
footer > p, footer > span { color: var(--muted); font-size: 11px; }
footer > div { display: flex; gap: 20px; }
footer > div a { color: var(--muted); font-size: 11px; }
footer a:hover { color: var(--accent); }

@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes detailIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes progressIn { from { width: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes signalPulse { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

@media (max-width: 1180px) {
  .hero { grid-template-columns: .9fr 1.1fr; padding-left: 48px; padding-right: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 390px; }
  .main-nav { gap: 25px; }
  .theme-name { display: none; }
  .flow-process { left: 285px; transform: scale(.92); transform-origin: left center; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; height: 74px; padding: 0 22px; }
  .brand { font-size: 18px; }
  .brand-mark { transform: scale(.85); transform-origin: left center; width: 30px; }
  .menu-button { background: transparent; border: 0; cursor: pointer; display: grid; gap: 6px; margin-left: 12px; order: 3; padding: 10px; }
  .menu-button span { background: var(--ink); display: block; height: 1px; width: 24px; }
  .main-nav { align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); display: none; flex-direction: column; gap: 0; left: 0; padding: 20px 22px 28px; position: absolute; right: 0; top: 74px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-bottom: 1px solid var(--line); font-size: 17px; padding: 17px 4px; }
  .header-actions { gap: 0; }
  .contact-link { display: none; }
  .theme-toggle { margin-left: 8px; }
  .hero { grid-template-columns: 1fr; padding: 132px 24px 55px; }
  .hero-copy { max-width: 730px; padding: 0 0 60px; }
  .hero h1 br { display: none; }
  .intelligence-stage { min-height: 540px; }
  .principles { grid-template-columns: 1fr; }
  .principles span { border-bottom: 1px solid var(--line); border-right: 0; }
  .section { padding: 95px 24px; }
  .section-heading { align-items: start; gap: 34px; grid-template-columns: 1fr; }
  .technology-section, .company-section, .connected-section { gap: 70px; grid-template-columns: 1fr; }
  .handoff-line { grid-column: auto; }
  .technology-copy { position: static; }
  .responsible-grid { grid-template-columns: 1fr; }
  .responsible-grid article { border-bottom: 1px solid var(--line); border-left: 0; min-height: auto; padding: 26px 0 36px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .brand { gap: 6px; }
  .brand-mark { transform: scale(.72); width: 25px; }
  .theme-track { height: 26px; width: 47px; }
  .theme-thumb { height: 20px; width: 20px; }
  :root[data-theme="dark"] .theme-thumb { transform: translateX(21px); }
  .hero { min-height: 0; }
  .hero h1 { font-size: 52px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .day-panel { min-height: 0; padding: 20px 15px; }
  .panel-heading { align-items: start; }
  .panel-heading h2 { font-size: 23px; }
  .review-status { font-size: 10px; }
  .scenario-tabs button { font-size: 11px; }
  .signal-list button { grid-template-columns: 35px 1fr 16px; padding: 0 10px; }
  .signal-list em { display: none; }
  .panel-foot { gap: 10px; }
  .intelligence-stage { min-height: 480px; }
  .night-panel { min-height: 475px; transform: scale(.88); transform-origin: top center; width: 113%; margin-left: -6.5%; }
  .flow-inputs { top: 30px; width: 126px; }
  .flow-inputs div { min-height: 55px; }
  .flow-lines { left: 118px; top: 57px; transform: scaleX(.65); transform-origin: left; }
  .flow-process { left: 215px; top: 175px; transform: scale(.72); }
  .flow-output { right: 0; top: 133px; transform: scale(.84); transform-origin: right center; }
  .human-node { bottom: 63px; right: 85px; transform: scale(.88); }
  .signal-detail { left: 10px; max-width: none; right: 10px; top: 80px; }
  .principles { margin: 0 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 370px; }
  .connected-grid { grid-template-columns: 1fr; }
  .connected-card { min-height: 280px; }
  .handoff-line { align-items: flex-start; flex-direction: column; gap: 10px; }
  .handoff-line i { transform: rotate(90deg); }
  .section h2 { font-size: 42px; }
  .company-section { padding-bottom: 100px; }
  .contact-section { padding: 100px 24px; }
  footer { align-items: start; grid-template-columns: 1fr; }
  footer > div { flex-direction: column; gap: 10px; }
}

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