/* ScanYourVibe product page (/scanyourvibe/). Loaded after site.css, only on that page.
   Same tokens as the rest of Exacting (ink #101116, paper #F3F1EC, accent #E8663F, Manrope + IBM Plex Mono);
   page classes are prefixed syv-. As elsewhere on the site, HTML + this file describe the final state.
   Motion start states live under html.syv-m (set by the loader in <head> only when motion is allowed;
   removed again if GSAP does not start), the choreography is in scanyourvibe.js. */

.syv { --sev-crit: #E8663F; --sev-high: #E8B14E; --sev-med: #C9CBD0; --sev-low: #8A8D94; --sev-ok: #63C69A; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace; --line: #2B2D33; --card: linear-gradient(180deg, #1B1D23, #141519); }
.sev-crit { --c: var(--sev-crit); }
.sev-high { --c: var(--sev-high); }
.sev-med { --c: var(--sev-med); }
.sev-low { --c: var(--sev-low); }
.sev-ok { --c: var(--sev-ok); }
.syv code { font-family: var(--mono); }
.syv-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: #9A9DA4; }
.syv-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid rgba(232,102,63,0.55); color: var(--ac, #E8663F); white-space: nowrap; }
.syv-sev { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--c); color: var(--c); white-space: nowrap; }
.syv-dots { display: inline-flex; gap: 6px; }
.syv-dots i { width: 8px; height: 8px; border-radius: 50%; background: #3A3D44; }
.syv-h2 { margin: 0; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.syv-h2-sm { font-size: clamp(30px, 3.6vw, 46px); }
.syv-lead { margin: 0; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: #B9BBC0; text-wrap: pretty; }
.syv-sec-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }

/* ===================== A · hero ===================== */
.syv-hero { position: relative; overflow: hidden; border-bottom: 1px solid #23252B; background: radial-gradient(60% 70% at 85% 10%, rgba(232,102,63,0.16), transparent 60%), #101116; }
.syv-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(65% 75% at 72% 45%, #000, transparent 78%); mask-image: radial-gradient(65% 75% at 72% 45%, #000, transparent 78%); }
.syv-hero-in { position: relative; max-width: 1200px; margin: 0 auto; box-sizing: border-box; min-height: min(860px, calc(100svh - 72px)); padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px) clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 5vw, 64px); }
.syv-hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.syv-lockup { margin: 0; display: flex; align-items: center; gap: 14px; }
.syv-mark { flex-shrink: 0; }
.syv-word { display: block; font-weight: 800; font-size: 16px; letter-spacing: 0.16em; white-space: nowrap; }
.syv-word > span { color: #8A8D94; }
.syv-by { display: block; margin-top: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #8A8D94; }
.syv-h1 { margin: 0; font-size: clamp(40px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.048em; font-weight: 700; color: #8A8D94; text-wrap: balance; }
.syv-h1 span { display: block; color: #F3F1EC; }
.syv-sub { margin: 0; max-width: 500px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #B9BBC0; text-wrap: pretty; }
.syv-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.syv-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 30px; background: var(--ac, #E8663F); color: #15161A; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 14px 38px -14px rgba(232,102,63,0.6); }
.syv-textlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: #C9CBD0; text-decoration: none; border-bottom: 1px solid #3A3D44; }
@media (hover: hover) { .syv-textlink:hover { color: #F3F1EC; border-color: #F3F1EC; } }
.syv-ifaces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.syv-ifaces li { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #B9BBC0; padding: 6px 10px; border: 1px solid #2B2D33; background: rgba(255,255,255,0.02); }

/* the product window: a macOS-style app window with an explorer, one file in an editor and a status bar.
   One story at a time: repo → file → flagged line → finding → summary (data-scene, driven by scanyourvibe.js;
   the HTML ships the final "sum" scene). */
.syv-win { margin: 0; min-width: 0; border-radius: 12px; overflow: hidden; background: #17181C; border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 0 0 0.5px rgba(0,0,0,0.85), 0 2px 6px rgba(0,0,0,0.3), 0 24px 48px -12px rgba(0,0,0,0.55), 0 70px 140px -40px rgba(0,0,0,0.75), 0 0 140px -60px rgba(232,102,63,0.35); }
.syv-lab, .syv-viz { border-radius: 12px; overflow: hidden; background: #17181C; border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 0 0 0.5px rgba(0,0,0,0.85), 0 2px 6px rgba(0,0,0,0.3), 0 24px 48px -12px rgba(0,0,0,0.55), 0 70px 140px -40px rgba(0,0,0,0.7); }
.syv-win-tag { margin-left: auto; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(232,102,63,0.45); font-size: 11px; font-weight: 600; color: #F0956F; }
.syv-win-title { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; background: linear-gradient(180deg, #232429, #1D1E22); border-bottom: 1px solid rgba(0,0,0,0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.syv-lights { display: inline-flex; gap: 8px; }
.syv-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.25); }
.syv-lights i:nth-child(2) { background: #FEBC2E; }
.syv-lights i:nth-child(3) { background: #28C840; }
.syv-win-name { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 600; color: #C9CBD0; white-space: nowrap; }
.syv-win-name em { font-style: normal; font-weight: 500; color: #7E818A; }
.syv-win-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); height: 424px; }

/* explorer */
.syv-side { background: #141519; border-right: 1px solid rgba(255,255,255,0.05); padding: 12px 0; overflow: hidden; }
.syv-side-k { margin: 0 0 6px; padding: 0 14px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #878A92; }
.syv-tree { list-style: none; margin: 0; padding: 0; }
.syv-tree li { position: relative; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px 0 calc(14px + var(--d) * 12px); font-size: 12.5px; color: #B9BBC0; transition: background-color .25s, color .25s; }
.syv-tree li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.syv-tree li.is-dir { color: #7E818A; }
.syv-tree li.is-dir::before { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #5A5D66; margin-right: 2px; }
.syv-tree li b { margin-left: auto; flex-shrink: 0; width: 10px; height: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.syv-tree li.is-ok b::before { content: "✓"; color: rgba(99,198,154,0.75); }
.syv-tree li.is-scan { background: rgba(255,255,255,0.05); color: #F3F1EC; }
.syv-tree li.is-hit b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sev-crit); }
.syv-tree li.is-active { background: rgba(255,255,255,0.07); color: #F3F1EC; }

/* editor */
.syv-ed { position: relative; min-width: 0; display: flex; flex-direction: column; background: #17181C; }
.syv-ed-tabs { display: flex; align-items: stretch; height: 34px; background: #141519; border-bottom: 1px solid rgba(255,255,255,0.05); }
.syv-ed-tab { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; background: #17181C; border-right: 1px solid rgba(255,255,255,0.05); font-size: 12.5px; color: #E4E6EA; box-shadow: inset 0 1px 0 var(--ac, #E8663F); }
.syv-ed-tab i { font-style: normal; font-family: var(--mono); font-size: 9px; font-weight: 600; color: #4D9BE6; }
.syv-ed-path { display: inline-flex; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 11px; color: #878A92; white-space: nowrap; overflow: hidden; }
.syv-src { padding: 10px 0; font-family: var(--mono); font-size: 12px; line-height: 20px; color: #D4D6DB; overflow: hidden; }
.syv-src .ln { position: relative; z-index: 0; display: block; white-space: pre; padding-right: 16px; }
.syv-src .ln::before { content: attr(data-n); display: inline-block; width: 30px; margin-right: 16px; text-align: right; color: #4A4D55; }
.syv-src .ln.is-bad::before { color: #C9CBD0; }
.syv .tk { color: #C586C0; }
.syv .ts { color: #CE9178; }
.syv .tf { color: #DCDCAA; }
.syv .tc { color: #6A9955; }
.syv-hl { position: absolute; inset: 0; z-index: -1; background: rgba(232,102,63,0.13); box-shadow: inset 2px 0 0 rgba(232,102,63,0.9); transform-origin: left; }
.syv-src .is-bad { text-decoration: underline wavy rgba(232,102,63,0.75); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.syv-pop { margin: 6px 16px 8px 46px; padding: 11px 13px 12px; border-radius: 8px; background: #1E1F24; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.7); font-family: 'Manrope', system-ui, sans-serif; white-space: normal; overflow: hidden; }
.syv-pop p { margin: 0; }
.syv-pop-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px !important; }
.syv-pop-sev { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 7px; border-radius: 999px; background: rgba(232,102,63,0.14); color: #F0956F; font-size: 11.5px; font-weight: 700; line-height: 18px; }
.syv-pop-sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sev-crit); }
.syv-pop-h code { font-size: 11px; color: #8A8D94; }
.syv-pop-t { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: #F3F1EC; }
.syv-pop-d { margin-top: 2px !important; font-size: 13px; line-height: 1.45; color: #A9ACB3; }

/* "analysing the repository" view, over the editor until the file opens */
.syv-scanview { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #17181C; transition: opacity .4s; }
.syv-scanview p { margin: 0; }
.syv-scanview svg { margin-bottom: 6px; }
.syv-scanview-t { font-size: 14px; font-weight: 700; color: #F3F1EC; }
.syv-scanview-f { font-family: var(--mono); font-size: 11.5px; color: #8A8D94; }
.syv-scanview-bar { width: 168px; height: 2px; margin-top: 8px; border-radius: 2px; background: #2B2D33; overflow: hidden; }
.syv-scanview-bar i { display: block; height: 100%; background: var(--ac, #E8663F); transform-origin: left; }
.syv-win:not([data-scene="repo"]):not([data-scene="scan"]):not([data-scene="found"]) .syv-scanview { opacity: 0; pointer-events: none; }

/* status bar with the summary */
.syv-sb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 30px; padding: 5px 14px; background: #121317; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: #9A9DA4; }
.syv-sb-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #C9CBD0; }
.syv-sb-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--sev-ok); transition: background-color .3s; }
.syv-win:is([data-scene="repo"], [data-scene="scan"]) .syv-sb-status i { background: #8A8D94; }
.syv-win:is([data-scene="found"], [data-scene="open"], [data-scene="finding"]) .syv-sb-status i { background: var(--sev-crit); }
.syv-sb-sum { margin-left: auto; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; transition: opacity .4s; }
.syv-sb-sum b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: #B9BBC0; }
.syv-sb-sum b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.syv-sb-sum i { font-style: normal; font-weight: 700; color: #F3F1EC; }
.syv-sb-sum em { font-style: normal; font-weight: 700; color: #F0956F; }
.syv-win:not([data-scene="sum"]) .syv-sb-sum { opacity: 0; }

/* hero entrance: the copy rises in with CSS (.ex-rise, as on the other subpages, so the text never waits
   for JS); the product window starts hidden and scanyourvibe.js brings it in */
html.syv-m .syv-win { opacity: 0; }

@media (max-width: 1023px) {
  .syv-hero-in { grid-template-columns: 1fr; min-height: 0; gap: 44px; }
  .syv-hero-copy { max-width: 640px; }
}

/* phones: the editor alone (the analysis view names the files instead of the explorer) */
@media (max-width: 640px) {
  .syv-hero-in { padding-top: 28px; padding-bottom: 48px; gap: 32px; }
  .syv-hero-copy { gap: 18px; }
  .syv-lockup .syv-mark { width: 28px; height: 28px; }
  .syv-h1 { font-size: clamp(36px, 10.4vw, 44px); }
  .syv-sub { font-size: 16.5px; }
  .syv-btn { width: 100%; justify-content: center; }
  .syv-textlink { display: none; }
  .syv-win { border-radius: 10px; }
  .syv-win-name em { display: none; }
  .syv-win-body { grid-template-columns: minmax(0, 1fr); height: 392px; }
  .syv-side { display: none; }
  .syv-ed-path { display: none; }
  .syv-src { font-size: 10.5px; line-height: 18px; }
  .syv-src .ln::before { width: 18px; margin-right: 10px; }
  .syv-pop { margin: 6px 10px 8px 28px; }
  .syv-pop-t { font-size: 13px; }
  .syv-pop-d { font-size: 12.5px; }
  .syv-sb { font-size: 11.5px; padding: 7px 12px; }
  .syv-sb-sum { margin-left: 0; }
  .syv-win[data-scene="sum"] .syv-sb-status { display: none; }   /* the summary is the status */
}

/* ===================== B · problem and answer ===================== */
.syv-gap .ex-wrap { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.syv-gap-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.syv-gap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.25fr); }
.syv-gap-k { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8A8D94; }
.syv-gap-k-r { grid-column: 3; color: var(--ac, #E8663F); }
.syv-gap-rows { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.syv-gap-rows li { --p: 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.25fr); align-items: center; padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid #23252B; }
.syv-gap-ok, .syv-gap-bad { display: flex; align-items: baseline; gap: 14px; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.3; letter-spacing: -0.015em; }
.syv-gap-ok { color: #9A9DA4; font-weight: 500; }
.syv-gap-ok::before { content: "✓"; font-size: 0.8em; color: var(--sev-ok); }
.syv-gap-bad { grid-column: 3; color: #F3F1EC; font-weight: 700; }
.syv-gap-bad::before { content: "✕"; font-size: 0.8em; color: var(--sev-crit); }
.syv-gap-rows li::after { content: ""; grid-column: 2; grid-row: 1; height: 1px; margin: 0 14px; background: linear-gradient(90deg, #3A3D44, var(--sev-crit)); transform: scaleX(var(--p)); transform-origin: left; }
.syv-gap-answer { margin: clamp(32px, 4vw, 52px) 0 0; max-width: 760px; padding-left: 18px; border-left: 2px solid var(--ac, #E8663F); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -0.02em; color: #9A9DA4; }
.syv-gap-answer b { color: #F3F1EC; }
@media (max-width: 760px) {
  .syv-gap-grid { display: block; }
  .syv-gap-k { display: none; }
  .syv-gap-rows li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .syv-gap-rows li::after { display: none; }
  .syv-gap-ok { font-size: 15px; }
  .syv-gap-bad { font-size: 19px; }
}

/* ===================== C · ScanYourVibe in action ===================== */
.syv-action .ex-wrap { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.syv-lab-body { display: grid; grid-template-columns: 1fr; }
.syv-lab.is-tabbed .syv-lab-body { grid-template-columns: 248px minmax(0, 1fr); }
.syv-lab-tabs { display: none; position: relative; flex-direction: column; gap: 2px; padding: 12px 8px; background: #141519; border-right: 1px solid rgba(255,255,255,0.05); }
.syv-lab.is-tabbed .syv-lab-tabs { display: flex; }
.syv-lab-tabs button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 7px; background: none; text-align: left; font-family: inherit; font-size: 14px; font-weight: 600; color: #A9ACB3; cursor: pointer; transition: color .2s, background-color .2s; }
.syv-lab-tabs button i { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--c); }
.syv-lab-tabs button em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; color: #878A92; transition: color .2s; }
.syv-lab-tabs button[aria-selected="true"] { color: #F3F1EC; background: rgba(255,255,255,0.07); }
.syv-lab-tabs button[aria-selected="true"] em { color: #B9BBC0; }
@media (hover: hover) { .syv-lab-tabs button[aria-selected="false"]:hover { color: #F3F1EC; background: rgba(255,255,255,0.03); } }
.syv-lab-tabs button:focus-visible { outline-offset: -2px; }
.syv-lab-panels { min-width: 0; }
.syv-lab-panel { padding: clamp(22px, 3vw, 34px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.syv-lab.is-tabbed .syv-lab-panel { border-bottom: 0; min-height: 360px; box-sizing: border-box; }
.syv-lab-panel[hidden] { display: none; }
.syv-f-h { display: flex; align-items: center; gap: 12px; }
.syv-f-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8D94; }
.syv-lab .syv-sev { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 8px; border: 0; border-radius: 999px; background: rgba(201,203,208,0.1); font-family: 'Manrope', system-ui, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 18px; color: var(--c); }
.syv-lab .syv-sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.syv-lab .syv-sev.sev-crit { background: rgba(232,102,63,0.14); color: #F0956F; }
.syv-lab .syv-sev.sev-high { background: rgba(232,177,78,0.13); }
.syv-f-cat { font-size: 12px !important; letter-spacing: 0.04em !important; text-transform: none !important; font-family: 'Manrope', system-ui, sans-serif !important; font-weight: 600; color: #7E818A !important; }
.syv-lab-panel h3 { margin: 14px 0 6px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
.syv-loc { display: block; font-size: 12.5px; color: #8A8D94; overflow-wrap: anywhere; }
.syv-code { margin: 18px 0 0; padding: 10px 0; border-radius: 8px; background: #131418; border: 1px solid rgba(255,255,255,0.06); overflow-x: auto; scrollbar-width: none; }
.syv-code::-webkit-scrollbar { display: none; }
.syv-code code { display: block; font-size: 12.5px; line-height: 20px; color: #D4D6DB; white-space: normal; }
.syv-code .ln { position: relative; display: block; padding-right: 16px; white-space: pre; }
.syv-code .ln::before { content: attr(data-n); display: inline-block; width: 30px; margin-right: 16px; text-align: right; color: #4A4D55; }
.syv-code .ln.is-bad { background: rgba(232,102,63,0.13); box-shadow: inset 2px 0 0 rgba(232,102,63,0.9); text-decoration: underline wavy rgba(232,102,63,0.7); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.syv-code .ln.is-bad::before { color: #C9CBD0; }
.syv-code .ln.is-note { font-family: 'Manrope', system-ui, sans-serif; font-size: 12.5px; font-weight: 600; color: #F0956F; }
.syv-measure { margin: 20px 0 0; display: grid; gap: 10px; }
.syv-measure p { margin: 0; display: flex; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.5; color: #C9CBD0; }
.syv-pill { flex: 0 0 112px; box-sizing: border-box; text-align: center; padding: 2px 10px; border-radius: 999px; background: rgba(99,198,154,0.12); font-size: 11.5px; font-weight: 700; line-height: 18px; color: #7FD3AE; }
.syv-pill-inf { background: rgba(232,177,78,0.13); color: #E8B14E; }
.syv-f-dl { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.syv-f-dl div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.syv-f-dl dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8D94; }
.syv-f-dl dd { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: #E4E6EA; }
.syv-lab-sb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 32px; padding: 6px 16px; background: #121317; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12.5px; }
.syv-lab-verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #E4E6EA; }
.syv-lab-verdict i { width: 7px; height: 7px; border-radius: 50%; background: var(--sev-crit); }
.syv-lab-stack { margin-left: auto; font-family: var(--mono); font-size: 11px; color: #878A92; }
.syv-lab-limits { background: #121317; border-top: 1px solid rgba(255,255,255,0.04); }
.syv-lab-limits summary, .syv-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9A9DA4; }
.syv-lab-limits summary::-webkit-details-marker, .syv-more summary::-webkit-details-marker { display: none; }
.syv-lab-limits summary::before, .syv-more summary::before { content: "+"; font-size: 15px; color: var(--ac, #E8663F); transition: transform .25s; }
.syv-lab-limits[open] summary::before, .syv-more[open] summary::before { transform: rotate(45deg); }
@media (hover: hover) { .syv-lab-limits summary:hover, .syv-more summary:hover { color: #F3F1EC; } }
.syv-lab-limits ul { margin: 0; padding: 0 20px 18px 46px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.55; color: #B9BBC0; }
@media (max-width: 860px) {
  .syv-lab.is-tabbed .syv-lab-body { grid-template-columns: 1fr; }
  .syv-lab-tabs { flex-direction: row; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.05); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .syv-lab-tabs::-webkit-scrollbar { display: none; }
  .syv-lab-tabs button { flex-shrink: 0; min-height: 36px; padding: 0 12px; font-size: 13.5px; gap: 8px; scroll-snap-align: start; }
  .syv-lab-tabs button em { display: none; }
  .syv-lab.is-tabbed .syv-lab-panel { min-height: 0; }
}
@media (max-width: 640px) {
  .syv-lab .syv-win-name em { display: none; }
  .syv-lab-stack { display: none; }
  .syv-lab-panel h3 { font-size: 22px; }
  .syv-code code { font-size: 11.5px; line-height: 19px; }
  .syv-code .ln::before { width: 22px; margin-right: 10px; }
  .syv-f-dl { grid-template-columns: 1fr; gap: 12px; }
  .syv-f-dl dd { font-size: 15px; }
  .syv-measure p { flex-direction: column; gap: 6px; font-size: 14.5px; }
  .syv-pill { flex-basis: auto; }
}

/* ===================== D · one engine, three interfaces ===================== */
.syv-ifs-sec .ex-wrap { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.syv-seg { position: relative; display: none; margin-bottom: clamp(24px, 3vw, 36px); padding: 4px; border: 1px solid #3A3D44; background: #131418; }
.syv-ifx.is-tabbed .syv-seg { display: inline-flex; }
.syv-seg button { position: relative; z-index: 1; min-height: 48px; min-width: 120px; padding: 0 22px; border: 0; background: none; font-family: inherit; font-size: 15px; font-weight: 700; color: #B9BBC0; cursor: pointer; transition: color .3s; }
.syv-seg button[aria-selected="true"] { color: #15161A; }
@media (hover: hover) { .syv-seg button[aria-selected="false"]:hover { color: #F3F1EC; } }
.syv-seg-ind { position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; width: 120px; background: #F3F1EC; transition: transform .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1); }
.syv-ifx-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.syv-ifx-panel + .syv-ifx-panel { margin-top: 64px; }
.syv-ifx.is-tabbed .syv-ifx-panel + .syv-ifx-panel { margin-top: 0; }
.syv-ifx-panel[hidden] { display: none; }
.syv-ifx-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.syv-chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border: 1px solid rgba(232,102,63,0.55); color: var(--ac, #E8663F); }
.syv-ifx-copy h3 { margin: 0; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.syv-ifx-copy p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.55; color: #B9BBC0; }
.syv-ticks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.syv-ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #E4E6EA; }
.syv-ticks li::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; background: var(--ac, #E8663F); }
.syv-viz { padding: 0 0 16px; font-size: 14px; min-height: 270px; }
.syv-viz .syv-win-title { margin-bottom: 16px; }
.syv-viz > p { margin: 0 16px 10px; }
.syv-msg { max-width: 82%; padding: 10px 14px; line-height: 1.5; }
.syv-msg-you { width: fit-content; margin-left: auto !important; background: #23252B; color: #F3F1EC; }
.syv-msg-ai { background: #15161A; border-left: 2px solid var(--ac, #E8663F); color: #E4E6EA; }
.syv-msg code { font-size: 12.5px; color: #F3B49C; }
.syv-call { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px dashed #3A3D44; font-family: var(--mono); font-size: 12px; color: #B9BBC0; }
.syv-call b { font-weight: 500; color: var(--ac, #E8663F); }
.syv-call-st { margin-left: auto; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sev-ok); }
.syv-req, .syv-res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 12px; background: #0D0E12; border: 1px solid #23252B; font-family: var(--mono); font-size: 12.5px; color: #C9CBD0; }
.syv-req b { font-weight: 500; color: var(--ac, #E8663F); }
.syv-res b { font-weight: 500; color: var(--sev-ok); }
.syv-req span, .syv-res span { color: #9A9DA4; overflow-wrap: anywhere; }
.syv-gate { padding: 10px 12px; border: 1px solid rgba(232,102,63,0.5); background: rgba(232,102,63,0.08); font-family: var(--mono); font-size: 12.5px; color: #F3B49C; }
.syv-gui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 12px; font-size: 16px; }
.syv-gui-btn { font-size: 12.5px; font-weight: 700; padding: 7px 12px; background: var(--ac, #E8663F); color: #15161A; }
.syv-gui-bar { display: flex; gap: 3px; height: 8px; margin: 0 16px 14px; }
.syv-gui-bar i { flex: var(--w) 1 0; background: var(--c); }
.syv-gui-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #23252B; background: #15161A; color: #E4E6EA; font-size: 14px; }
.syv-gui-row i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--c); }
.syv-gui-row b { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
@media (max-width: 860px) {
  .syv-ifx-panel { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .syv-ifx.is-tabbed .syv-seg { display: flex; width: 100%; box-sizing: border-box; }
  .syv-seg button { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 14px; }
  .syv-ifx.is-tabbed .syv-ifx-copy h3 { display: none; }   /* the tab already names it */
  .syv-ifx-copy p { font-size: 16px; }
  .syv-ticks { display: none; }
  .syv-viz { min-height: 0; font-size: 13.5px; }
  .syv-msg { max-width: 92%; }
}

/* ===================== E · independence + early access ===================== */
.syv-end .ex-wrap { padding-top: clamp(72px, 9vw, 120px); padding-bottom: 0; }
.syv-ind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.syv-ind-copy { display: flex; flex-direction: column; gap: 18px; }
.syv-more { max-width: 560px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.syv-more summary { padding: 0; }
.syv-more p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #B9BBC0; }
.syv-flow { --p: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) 40px auto 40px minmax(0, 1fr); align-items: center; }
.syv-flow-k { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8D94; }
.syv-tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.syv-tools li { padding: 6px 9px; border: 1px solid #2B2D33; background: #15161A; font-size: 13px; color: #C9CBD0; }
.syv-flow-line { position: relative; height: 1px; background: #2B2D33; }
.syv-flow-line i { position: absolute; inset: 0; background: var(--ac, #E8663F); transform: scaleX(var(--p)); transform-origin: left; }
.syv-flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 14px; border: 1px solid rgba(232,102,63,0.55); background: #15161A; box-shadow: 0 0 60px -20px rgba(232,102,63,0.5); }
.syv-flow-node span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #F3F1EC; white-space: nowrap; }
.syv-flow-out { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #3A3D44; background: #15161A; }
.syv-flow-out b { font-size: 15px; }
.syv-flow-out span { font-size: 12.5px; color: #9A9DA4; }
@media (max-width: 1023px) { .syv-ind { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .syv-flow { grid-template-columns: 1fr; justify-items: start; }
  .syv-flow-line { width: 1px; height: 28px; margin-left: 24px; }
  .syv-flow-line i { transform: scaleY(var(--p)); transform-origin: top; }
  .syv-flow-node { flex-direction: row; }
}
.syv-ea { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.syv-ea-copy { display: flex; flex-direction: column; gap: 16px; }
.syv-ea-card { max-width: 560px; }
.syv-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.syv-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #E8663F; cursor: pointer; }
.syv-consent label { font-size: 13.5px; line-height: 1.55; color: #C9CBD0; cursor: pointer; }
.syv-consent .ex-err { grid-column: 2; }
.syv-consent input[aria-invalid="true"] { outline: 2px solid #E8663F; outline-offset: 2px; }
.syv-success-h { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 860px) { .syv-ea { grid-template-columns: 1fr; } .syv-ea-card { max-width: none; } }
.syv-by-ex { margin-top: clamp(56px, 7vw, 88px); padding: 24px 0 clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.syv-by-ex p:first-child { margin: 0; max-width: 720px; font-size: 15px; line-height: 1.6; color: #9A9DA4; }
.syv-by-ex a { color: #F3F1EC; }

/* sticky CTA on phones (shown by scanyourvibe.js between the hero and the form) */
.syv-sticky { display: none; }
@media (max-width: 760px) {
  .syv-sticky { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; background: var(--ac, #E8663F); color: #15161A; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(0,0,0,0.7); transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
  .syv-sticky[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .35s, opacity .35s, visibility 0s .35s; }
}
@media (hover: hover) { .syv-sticky:hover { color: #15161A; } }

/* reduced motion: final state, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .syv-seg-ind, .syv-sticky, .syv-scanview, .syv-sb-sum { transition: none !important; }
}
