:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --subtle: #f7f7f8;
  --subtle-2: #fafafa;
  --ink: #0b0c0e;
  --muted: #62666d;
  --muted-2: #93979f;
  --line: #e7e8eb;
  --line-strong: #d8dade;
  --accent: #ff5a36;
  --accent-soft: #fff3ef;
  --green: #3b8f5a;
  --dark: #0b0c0e;
  --dark-soft: #111318;
  --dark-line: #262930;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1360px, calc(100% - 56px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(231,232,235,.9); }
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: -.035em; }
.brand-mark { width: 22px; height: 22px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; height: 1px; width: 17px; left: 2px; top: 11px; background: currentColor; transform-origin: 2px center; }
.brand-mark i:nth-child(1) { transform: rotate(0deg); }
.brand-mark i:nth-child(2) { transform: rotate(36deg); }
.brand-mark i:nth-child(3) { transform: rotate(72deg); }
.brand-mark i:nth-child(4) { transform: rotate(108deg); }
.brand-mark i:nth-child(5) { transform: rotate(144deg); }
.brand-mark.tiny { transform: scale(.78); transform-origin: left center; margin-right: -4px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #555960; font-size: 12px; }
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { height: 36px; display: inline-flex; align-items: center; gap: 18px; padding: 0 13px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 650; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 12px; }

.hero { display: grid; grid-template-columns: minmax(340px,.72fr) minmax(640px,1.28fr); gap: 64px; align-items: center; padding: 92px 0 88px; min-height: 760px; }
.hero-copy { max-width: 530px; }
.eyebrow, .section-kicker, .micro-label, .detail-label { font: 700 9px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .035em; text-transform: uppercase; color: var(--muted-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { margin: 24px 0 24px; font-size: clamp(66px, 6.25vw, 100px); line-height: .91; letter-spacing: -.068em; font-weight: 650; }
.hero-copy > p { margin: 0 0 26px; max-width: 510px; color: #4f535a; font-size: 17px; line-height: 1.55; letter-spacing: -.017em; }
.inline-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; max-width: 520px; }
.inline-form input { min-width: 0; height: 50px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 15px; background: #fff; color: var(--ink); outline: none; font-size: 13px; }
.inline-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.inline-form button, .primary-button { height: 50px; border: 1px solid var(--ink); border-radius: 6px; padding: 0 17px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 26px; }
.inline-form button:hover, .primary-button:hover, .nav-cta:hover { background: #24262a; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 17px; margin-top: 15px; color: #73777f; font-size: 10px; }
.trust-row span::before { content: '✓'; margin-right: 5px; color: var(--green); font-weight: 800; }
.icp { margin-top: 27px !important; color: #979ba2 !important; font-size: 10px !important; line-height: 1.45 !important; }
.success-box { max-width: 520px; margin-top: 8px; padding: 13px 14px; border: 1px solid #bdd9c4; border-radius: 6px; background: #f5fbf6; color: #426049; font-size: 11px; display: flex; flex-direction: column; gap: 3px; }
.success-box[hidden] { display: none; }

.hero-product { border: 1px solid var(--line-strong); border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 28px 80px rgba(17,20,26,.08); min-width: 0; }
.product-chrome { height: 43px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 13px; font-size: 8px; color: #8c9097; }
.chrome-left { display: flex; gap: 5px; }
.chrome-left span { width: 7px; height: 7px; border-radius: 50%; background: #d7d9dd; }
.chrome-title { justify-self: center; }
.replay-button { justify-self: end; padding: 0; border: 0; background: transparent; color: #777b82; font: 700 8px/1 ui-monospace, monospace; text-transform: uppercase; }
.replay-button:hover { color: var(--ink); }
.scan-shell { display: grid; grid-template-columns: 150px minmax(0,1fr); min-height: 568px; }
.scan-sidebar { border-right: 1px solid var(--line); background: #fafafa; padding: 18px 10px; }
.mini-brand { display: flex; align-items: center; gap: 4px; margin: 0 6px 20px; font-size: 10px; font-weight: 700; }
.side-item { height: 32px; border-radius: 5px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; color: #747880; font-size: 9px; }
.side-item.active { background: #eff0f2; color: var(--ink); font-weight: 650; }
.side-item b { font-size: 8px; font-weight: 600; color: #9b9ea5; }
.scan-main { padding: 24px 24px 22px; min-width: 0; }
.scan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.scan-head h2 { margin: 8px 0 0; font-size: 28px; line-height: 1.1; letter-spacing: -.045em; font-weight: 630; }
.scan-live { display: inline-flex; align-items: center; gap: 6px; color: #686d74; font: 700 8px/1 ui-monospace, monospace; }
.scan-live i { width: 7px; height: 7px; border-radius: 50%; background: #4c9a65; animation: pulse 1.6s ease-in-out infinite; }
.work-stream { position: relative; margin-top: 23px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.stream-row { min-height: 44px; display: grid; grid-template-columns: 54px 64px minmax(0,1fr) 70px; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 12px; font-size: 9px; position: relative; }
.stream-row:last-of-type { border-bottom: 0; }
.stream-row.dim { color: #8d9198; }
.stream-time { color: #9da1a8; font: 700 8px/1 ui-monospace, monospace; }
.stream-person { font-weight: 650; }
.stream-app { justify-self: end; padding: 4px 5px; border: 1px solid var(--line); border-radius: 4px; color: #858991; font-size: 7px; background: #fafafa; }
.scan-line { position: absolute; left: 0; right: 0; top: -5px; height: 2px; background: linear-gradient(90deg, transparent 0%, rgba(255,90,54,.15) 8%, var(--accent) 50%, rgba(255,90,54,.15) 92%, transparent 100%); box-shadow: 0 4px 18px rgba(255,90,54,.18); animation: scan 4.8s cubic-bezier(.55,.1,.2,1) infinite; }
.pattern-panel { margin-top: 14px; border: 1px solid #ffc1b2; border-radius: 7px; background: #fffaf8; overflow: hidden; opacity: 1; transform: translateY(0); transition: opacity .25s ease, transform .25s ease; }
.scan-shell.replaying .pattern-panel { opacity: .1; transform: translateY(8px); }
.pattern-title { min-height: 72px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 0 15px; border-bottom: 1px solid #f5d9d1; }
.signal-node { width: 18px; height: 18px; display: grid; place-items: center; position: relative; }
.signal-node::before, .signal-node::after { content: ''; position: absolute; background: #ffb09d; }
.signal-node::before { width: 18px; height: 1px; }
.signal-node::after { width: 1px; height: 18px; }
.signal-node span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: relative; z-index: 1; box-shadow: 0 0 0 4px rgba(255,90,54,.11); }
.pattern-title strong { display: block; margin-top: 6px; font-size: 15px; letter-spacing: -.025em; }
.accent-label { color: #c9573f; }
.confidence-pill { padding: 6px 7px; border: 1px solid #ecd3cc; border-radius: 999px; color: #8d6a62; font: 700 7px/1 ui-monospace, monospace; white-space: nowrap; background: #fff; }
.pattern-stats { display: grid; grid-template-columns: repeat(4,1fr); }
.pattern-stats div { padding: 16px 13px; border-right: 1px solid #f0ded9; }
.pattern-stats div:last-child { border-right: 0; }
.pattern-stats span, .pattern-stats small { display: block; }
.pattern-stats span { font-size: 23px; font-weight: 650; letter-spacing: -.045em; }
.pattern-stats small { margin-top: 4px; color: #8c7e7a; font-size: 7px; line-height: 1.3; }
.math-line { padding: 12px 14px; border-top: 1px solid #f0ded9; color: #8c7e7a; font: 600 8px/1.45 ui-monospace, monospace; }
.math-line strong { color: #554844; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fcfcfc; }
.proof-grid { min-height: 118px; display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid > div { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid span { color: #9a9ea5; font: 700 8px/1 ui-monospace, monospace; text-transform: uppercase; }
.proof-grid strong { margin-top: 8px; font-size: 19px; letter-spacing: -.035em; }
.proof-grid small { margin-top: 4px; color: #858991; font-size: 8px; }

.product-section { padding: 106px 0 118px; }
.section-heading { display: grid; grid-template-columns: 210px minmax(0,720px); gap: 40px; align-items: start; margin-bottom: 45px; }
.section-heading h2 { margin: -8px 0 16px; font-size: clamp(44px,5vw,70px); line-height: .98; letter-spacing: -.059em; font-weight: 630; }
.section-heading p { margin: 0; max-width: 600px; color: #656970; font-size: 14px; line-height: 1.6; }
.board-window { border: 1px solid var(--line-strong); border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 26px 75px rgba(18,20,26,.06); }
.board-topbar { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); color: #8b8f96; font-size: 8px; }
.board-status { display: flex; align-items: center; gap: 6px; }
.board-status i { width: 6px; height: 6px; border-radius: 50%; background: #4c9a65; }
.board-layout { display: grid; grid-template-columns: 168px minmax(0,1fr) 320px; min-height: 610px; }
.board-sidebar { padding: 18px 10px; border-right: 1px solid var(--line); background: #fafafa; }
.workspace-label { padding: 0 7px 13px; color: #9da1a8; font: 800 8px/1 ui-monospace, monospace; letter-spacing: .04em; }
.board-nav { min-height: 33px; padding: 0 8px; border-radius: 5px; display: flex; align-items: center; justify-content: space-between; color: #70747b; font-size: 9px; }
.board-nav.active { background: #eff0f2; color: var(--ink); font-weight: 650; }
.board-nav b { color: #9da1a8; font-size: 8px; font-weight: 600; }
.board-nav.compact { justify-content: flex-start; gap: 7px; }
.board-nav.compact b { margin-left: auto; }
.side-rule { height: 1px; background: var(--line); margin: 13px 7px; }
.side-caption { display: block; padding: 0 7px 7px; color: #a5a8ae; font: 700 7px/1 ui-monospace, monospace; }
.team-dot { width: 6px; height: 6px; border-radius: 50%; }
.team-dot.sales { background: #ff7659; }.team-dot.ops { background: #7d83e8; }.team-dot.support { background: #5ea779; }
.board-main { min-width: 0; padding: 25px 21px 24px; }
.board-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.board-header h3 { margin: 7px 0 0; font-size: 24px; letter-spacing: -.042em; font-weight: 630; }
.board-count { padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; color: #777b82; font: 700 8px/1 ui-monospace, monospace; }
.opportunity-list { border-top: 1px solid var(--line); }
.opportunity-row { width: 100%; min-height: 78px; display: grid; grid-template-columns: minmax(230px,1.55fr) .62fr .74fr .62fr 24px; gap: 12px; align-items: center; padding: 0 5px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; position: relative; }
.opportunity-row:hover { background: #fafafa; }
.opportunity-row.is-active { background: #fbfbfc; }
.opportunity-row.is-active::before { content: ''; position: absolute; left: -21px; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.opportunity-name { display: grid; grid-template-columns: 11px 1fr; gap: 10px; align-items: center; }
.opportunity-name > i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.opportunity-name strong, .opportunity-name small, .desktop-metric b, .desktop-metric small, .mobile-metric b, .mobile-metric small { display: block; }
.opportunity-name strong { font-size: 11px; letter-spacing: -.018em; }
.opportunity-name small { margin-top: 5px; color: #92969d; font-size: 8px; }
.desktop-metric b, .mobile-metric b { font-size: 11px; }
.desktop-metric small, .mobile-metric small { margin-top: 4px; color: #9b9fa6; font-size: 7px; }
.mobile-metric { display: none; }
.effort-pill { justify-self: start; padding: 5px 6px; border: 1px solid #d8e6dc; border-radius: 999px; color: #4d7258; background: #f7fbf8; font: 700 7px/1 ui-monospace, monospace; }
.effort-pill.medium { color: #76653d; border-color: #e9dfc8; background: #fffdf7; }
.row-arrow { justify-self: end; color: #9da1a8; }
.detail-panel { padding: 24px 20px; border-left: 1px solid var(--line); background: #fcfcfc; }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.detail-panel h3 { margin: 18px 0 9px; font-size: 25px; line-height: 1.03; letter-spacing: -.047em; }
.detail-panel > p { margin: 0; color: #71757c; font-size: 10px; line-height: 1.55; }
.detail-section { margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-line { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); color: #858991; font-size: 8px; }
.detail-line b { color: #454950; font-size: 8px; }
.detail-impact { display: grid; grid-template-columns: 1fr 1fr; margin-top: 17px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.detail-impact > div { padding: 14px 12px; }
.detail-impact > div:first-child { border-right: 1px solid var(--line); }
.detail-impact span, .detail-impact strong, .detail-impact small { display: block; }
.detail-impact span { color: #92969d; font-size: 7px; }
.detail-impact strong { margin-top: 7px; font-size: 18px; letter-spacing: -.035em; }
.detail-impact small { margin-top: 3px; color: #a0a4aa; font-size: 7px; }
.detail-equation { margin-top: 12px; padding: 13px; border: 1px solid #efd7d0; border-radius: 6px; background: #fff8f6; }
.detail-equation span, .detail-equation strong, .detail-equation small { display: block; }
.detail-equation span { color: #a47b70; font: 700 7px/1 ui-monospace, monospace; text-transform: uppercase; }
.detail-equation strong { margin-top: 7px; font-size: 10px; }
.detail-equation small { margin-top: 5px; color: #9e877f; font-size: 7px; line-height: 1.35; }
.primary-button { width: 100%; margin-top: 12px; }

.workflow-section { padding: 104px 0 112px; border-top: 1px solid var(--line); background: #fbfbfb; }
.workflow-heading { margin-bottom: 42px; }
.workflow-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.workflow-card { border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; overflow: hidden; }
.workflow-card-head { height: 46px; padding: 0 15px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #898d94; font: 700 8px/1 ui-monospace, monospace; }
.workflow-card-head strong { color: #555960; }
.spoke-flow { min-height: 255px; padding: 46px 20px 35px; display: flex; align-items: center; }
.flow-step { min-width: 94px; min-height: 76px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; position: relative; }
.flow-step span, .flow-step strong, .flow-step small { display: block; }
.flow-step span { color: #a0a4aa; font: 700 7px/1 ui-monospace, monospace; }
.flow-step strong { margin-top: 9px; font-size: 9px; letter-spacing: -.015em; }
.flow-step small { margin-top: 5px; color: #9a9ea5; font-size: 7px; line-height: 1.25; }
.flow-step.manual { background: #fafafa; }
.spoke-flow > i { height: 1px; flex: 1; min-width: 13px; background: #d8dade; position: relative; }
.spoke-flow > i::after { content: ''; position: absolute; right: -1px; top: -2px; width: 4px; height: 4px; border-top: 1px solid #b7bac0; border-right: 1px solid #b7bac0; transform: rotate(45deg); }
.spoke-node::before, .spoke-node::after { content: ''; position: absolute; background: rgba(255,90,54,.45); left: 50%; top: 50%; pointer-events: none; }
.spoke-node::before { width: calc(100% + 26px); height: 1px; transform: translate(-50%,-50%); }
.spoke-node::after { width: 1px; height: calc(100% + 26px); transform: translate(-50%,-50%); }
.spoke-node { border-color: #ffb7a6; box-shadow: 0 0 0 4px rgba(255,90,54,.05); }
.flow-step.ai { background: #fff7f4; }
.flow-step.ai em { position: absolute; right: 8px; top: 8px; font: 800 7px/1 ui-monospace, monospace; color: var(--accent); font-style: normal; }
.shorter { padding-left: 38px; padding-right: 38px; }
.workflow-result { min-height: 58px; padding: 0 15px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #858991; font-size: 9px; }
.workflow-result strong { color: #454950; font-size: 12px; }
.workflow-result.positive strong { color: #3f7450; }
.math-bar { margin-top: 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; display: grid; grid-template-columns: 1.6fr .7fr .9fr; }
.math-bar > div { min-height: 78px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.math-bar > div:last-child { border-right: 0; }
.math-bar > div > span:not(.micro-label) { color: #9599a0; font-size: 8px; }
.math-bar strong { margin-top: 7px; font-size: 13px; letter-spacing: -.02em; }

.security-section { background: var(--dark); color: #fff; }
.security-grid { min-height: 700px; padding: 112px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: center; }
.section-kicker.light { color: #6f747c; }
.security-copy h2 { margin: 20px 0 20px; font-size: clamp(52px,5.4vw,78px); line-height: .95; letter-spacing: -.062em; font-weight: 620; }
.security-copy > p { margin: 0; max-width: 520px; color: #959aa2; font-size: 14px; line-height: 1.65; }
.security-points { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px 17px; color: #a8adb5; font-size: 9px; }
.security-points span::before { content: '✓'; margin-right: 5px; color: #7ccb92; }
.permissions-console { border: 1px solid var(--dark-line); border-radius: 8px; overflow: hidden; background: var(--dark-soft); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.permissions-head { height: 44px; padding: 0 14px; border-bottom: 1px solid var(--dark-line); display: flex; align-items: center; justify-content: space-between; color: #777d86; font-size: 8px; }
.permissions-head b { padding: 5px 6px; border: 1px solid #31513c; border-radius: 999px; color: #82c795; background: #132319; font: 700 7px/1 ui-monospace, monospace; }
.permissions-app { padding: 22px 18px; border-bottom: 1px solid var(--dark-line); display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; }
.app-icon { width: 38px; height: 38px; border: 1px solid #3a3e46; border-radius: 8px; display: grid; place-items: center; background: #191c21; font-size: 14px; font-weight: 700; }
.permissions-app strong, .permissions-app small { display: block; }
.permissions-app strong { font-size: 11px; }
.permissions-app small { margin-top: 4px; color: #777d86; font-size: 8px; }
.connected { color: #79bf8b; font: 700 8px/1 ui-monospace, monospace; }
.permissions-list { padding: 0 18px; }
.permissions-list > div { min-height: 68px; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--dark-line); }
.permission-check { width: 20px; height: 20px; border: 1px solid #3b3f47; border-radius: 5px; display: grid; place-items: center; color: #686d75; font-size: 10px; }
.permission-check.on { color: #84cb96; border-color: #335641; background: #142219; }
.permissions-list strong, .permissions-list small { display: block; }
.permissions-list strong { font-size: 9px; }
.permissions-list small { margin-top: 4px; color: #777d86; font-size: 7px; }
.permissions-list b { color: #777d86; font: 700 7px/1 ui-monospace, monospace; }
.permissions-foot { min-height: 55px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: #80858d; font-size: 8px; }
.permissions-foot span { display: flex; align-items: center; gap: 7px; }
.permissions-foot i { width: 6px; height: 6px; border-radius: 50%; background: #69b67f; }
.permissions-foot button { border: 1px solid #353941; border-radius: 5px; padding: 7px 9px; background: #171a1f; color: #b9bdc3; font-size: 8px; }

.final-section { border-bottom: 1px solid var(--line); }
.final-grid { padding: 96px 0; display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: end; }
.final-grid h2 { margin: 18px 0 0; font-size: clamp(56px,6.5vw,92px); line-height: .92; letter-spacing: -.066em; font-weight: 630; }
.final-copy > p { margin: 0 0 22px; max-width: 560px; color: #64686f; font-size: 14px; line-height: 1.65; }
.final-copy > small { display: block; margin-top: 10px; color: #999da4; font-size: 8px; }
.footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #92969d; font-size: 9px; }

@keyframes scan { 0% { top: -5px; opacity: 0; } 8% { opacity: 1; } 78% { top: calc(100% - 2px); opacity: 1; } 100% { top: calc(100% + 3px); opacity: 0; } }
@keyframes pulse { 0%,100% { opacity: .55; box-shadow: 0 0 0 0 rgba(76,154,101,.2); } 50% { opacity: 1; box-shadow: 0 0 0 4px rgba(76,154,101,.08); } }

@media (max-width: 1160px) {
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .hero-copy { max-width: 720px; }
  .hero-product { max-width: 980px; }
  .board-layout { grid-template-columns: 150px minmax(0,1fr); }
  .detail-panel { display: none; }
  .security-grid { grid-template-columns: 1fr; gap: 54px; min-height: 0; }
  .permissions-console { max-width: 760px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 30px, 1360px); }
  .nav { height: 58px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 58px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 15px 15px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; }
  .nav-cta { margin-top: 7px; padding: 0 12px !important; justify-content: space-between; }

  .hero { padding: 70px 0 60px; gap: 40px; }
  .hero h1 { font-size: clamp(58px,15vw,82px); }
  .hero-copy > p { font-size: 16px; }
  .inline-form { grid-template-columns: 1fr; }
  .inline-form button { width: 100%; }
  .scan-shell { grid-template-columns: 1fr; min-height: 0; }
  .scan-sidebar { display: none; }
  .scan-main { padding: 18px 14px 15px; }
  .scan-head h2 { font-size: 22px; }
  .stream-row { grid-template-columns: 42px 52px minmax(0,1fr); min-height: 46px; padding: 0 9px; }
  .stream-app { display: none; }
  .pattern-title { grid-template-columns: 24px 1fr; padding: 12px 12px; }
  .confidence-pill { display: none; }
  .pattern-stats { grid-template-columns: 1fr 1fr; }
  .pattern-stats div:nth-child(2) { border-right: 0; }
  .pattern-stats div:nth-child(-n+2) { border-bottom: 1px solid #f0ded9; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { border-bottom: 1px solid var(--line); padding-left: 15px; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(3), .proof-grid > div:nth-child(4) { border-bottom: 0; }

  .product-section, .workflow-section { padding: 78px 0 84px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .section-heading h2 { margin-top: 0; font-size: 48px; }
  .board-layout { grid-template-columns: 1fr; min-height: 0; }
  .board-sidebar { display: none; }
  .board-main { padding: 18px 14px 22px; }
  .board-header h3 { font-size: 22px; }
  .opportunity-row { grid-template-columns: minmax(0,1fr) auto 23px; min-height: 82px; gap: 10px; padding: 0 3px; }
  .opportunity-row.is-active::before { left: -14px; }
  .desktop-metric, .effort-pill { display: none; }
  .mobile-metric { display: block; text-align: right; }
  .mobile-metric b { font-size: 12px; }
  .opportunity-name small { white-space: normal; line-height: 1.3; }

  .workflow-compare { grid-template-columns: 1fr; }
  .spoke-flow { overflow-x: auto; padding: 35px 14px 28px; }
  .spoke-flow > * { flex-shrink: 0; }
  .spoke-flow > i { width: 28px; flex-basis: 28px; }
  .shorter { padding-left: 14px; padding-right: 14px; }
  .math-bar { grid-template-columns: 1fr; }
  .math-bar > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .math-bar > div:last-child { border-bottom: 0; }

  .security-grid { padding: 82px 0; }
  .security-copy h2 { font-size: 50px; }
  .permissions-app { grid-template-columns: 34px 1fr; }
  .connected { grid-column: 2; }
  .permissions-list > div { grid-template-columns: 28px 1fr; padding: 13px 0; }
  .permissions-list > div > b { grid-column: 2; }
  .permissions-foot { align-items: flex-start; gap: 12px; padding: 14px 18px; flex-direction: column; }

  .final-grid { padding: 76px 0; grid-template-columns: 1fr; gap: 38px; }
  .final-grid h2 { font-size: 60px; }
  .footer { padding: 28px 0; min-height: 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan-line, .scan-live i { animation: none; }
}
