/* ==========================================================================
   SurvX — product intro page (product colour: Contour #17463F)
   ========================================================================== */
.survx { --contour-2: #1F5A51; --contour-ink: #0E2E29; --mint: #C8D6D2; }
.loader__word em { font-style: normal; color: var(--ember); }

.sx-brandwrap { display: flex; align-items: center; gap: 14px; }
.sx-by { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--muted); transition: box-shadow .3s, color .3s; }
.sx-by svg { width: 16px; height: 16px; }
.sx-by b { font-family: var(--f-display); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.sx-by:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
@media (max-width: 480px) { .sx-by span { display: none; } }

.sx-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--ember); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.sx-eyebrow-light { color: var(--mint); }

/* ---------- Hero ---------- */
.sx-hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 8vh, 90px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.sx-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); }
.sx-contours { width: 100%; height: 100%; opacity: .14; }
.sx-contours path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: contour 3.2s var(--ease-out) forwards; animation-play-state: paused; }
body.is-loaded .sx-contours path { animation-play-state: running; }
.sx-contours path:nth-child(2) { animation-delay: .1s; } .sx-contours path:nth-child(3) { animation-delay: .2s; } .sx-contours path:nth-child(4) { animation-delay: .3s; } .sx-contours path:nth-child(5) { animation-delay: .4s; } .sx-contours path:nth-child(6) { animation-delay: .5s; } .sx-contours path:nth-child(7) { animation-delay: .6s; } .sx-contours path:nth-child(8) { animation-delay: .7s; } .sx-contours path:nth-child(9) { animation-delay: .8s; }
@keyframes contour { to { stroke-dashoffset: 0; } }

.sx-hero__copy { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 28px; }
.sx-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 8px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; backdrop-filter: blur(8px); }
.sx-hero__title { font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -0.05em; max-width: 20ch; }
.sx-hl { position: relative; color: var(--contour); white-space: nowrap; }
.sx-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--ember); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) 1.2s; }
.sx-hero__title.is-in .sx-hl::after { transform: scaleX(1); }
.sx-hero__lead { text-align: center; max-width: 62ch; }
.sx-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* product stage */
.sx-stage { position: relative; margin: clamp(56px, 7vw, 90px) auto 0; max-width: 1120px; perspective: 1600px; transform-style: preserve-3d; }
.app { position: relative; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(14,46,41,.45), 0 30px 60px -40px rgba(11,13,18,.3); overflow: hidden; transform-origin: 50% 0%; transform: rotateX(var(--rx, 18deg)) scale(var(--sc, .92)); transition: transform .1s linear; will-change: transform; }
.app__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 12px; color: var(--muted); }
.app__dots { display: flex; gap: 6px; } .app__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app__sample { margin-left: auto; padding: 2px 8px; border-radius: 5px; background: var(--ember-soft); color: var(--ember-ink); font-size: 10.5px; }
.app__body { display: grid; grid-template-columns: 64px 1.5fr 1fr; min-height: 470px; }
.app__side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; background: var(--contour); color: #8FB3AC; }
.app__logo { width: 36px; height: 36px; border-radius: 10px; background: var(--contour-ink); display: grid; place-items: center; margin-bottom: 10px; }
.app__logo svg { width: 22px; }
.app__side i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.app__side i svg { width: 18px; height: 18px; }
.app__side i.is-on { background: rgba(242,241,236,.12); color: var(--bone); }
.app__main { padding: 22px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 18px; min-width: 0; }
.app__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.app__head b { display: block; font-family: var(--f-display); font-size: 22px; letter-spacing: -0.03em; }
.app__head .mono { font-size: 11px; color: var(--muted); }
.app__filters { display: flex; gap: 6px; }
.app__filters span { font-size: 12px; padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.app__filters .is-on { background: var(--ink); color: var(--bone); box-shadow: none; }
.app__rows { display: grid; gap: 6px; }
.app__row { display: grid; grid-template-columns: 74px 1fr auto 62px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; box-shadow: inset 0 0 0 1px transparent; transition: background .3s; opacity: 0; transform: translateY(10px); }
.sx-stage.is-in .app__row { animation: rowin .7s var(--ease-out) forwards; }
.sx-stage.is-in .app__row:nth-child(2) { animation-delay: .08s; } .sx-stage.is-in .app__row:nth-child(3) { animation-delay: .16s; } .sx-stage.is-in .app__row:nth-child(4) { animation-delay: .24s; } .sx-stage.is-in .app__row:nth-child(5) { animation-delay: .32s; }
@keyframes rowin { to { opacity: 1; transform: none; } }
.app__row .mono { font-size: 11.5px; color: var(--muted); }
.app__row.is-sel { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.app__row .due { text-align: right; }
.app__row .due--hot { color: #C2410C; font-weight: 500; }
.st { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st--ai { background: #E7F0EE; color: var(--contour); position: relative; padding-left: 20px; }
.st--ai::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--contour); animation: blink 1.2s infinite; }
.st--draft { background: var(--ember-soft); color: var(--ember-ink); }
.st--insp { background: #EFEDE6; color: #5E626C; }
.st--done { background: var(--contour); color: var(--bone); }
@keyframes blink { 50% { opacity: .3; } }
.app__detail { padding: 22px; display: grid; align-content: start; gap: 14px; background: #FCFCFA; }
.app__photo { position: relative; border-radius: 12px; overflow: hidden; }
.app__photo svg { width: 100%; height: auto; }
.dbox { position: absolute; border: 2px solid var(--ember); border-radius: 6px; background: rgba(255,90,31,.12); opacity: 0; animation: dbox 6s infinite; }
.dbox em { position: absolute; left: -2px; bottom: calc(100% + 3px); font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: var(--ember); color: #fff; white-space: nowrap; }
.dbox--1 { right: 2%; top: 48%; width: 18%; height: 24%; } .dbox--1 em { left: auto; right: -2px; }
.dbox--2 { left: 36%; top: 40%; width: 22%; height: 20%; animation-delay: .5s; }
@keyframes dbox { 0%, 12% { opacity: 0; transform: scale(1.2); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.app__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.app__findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app__findings li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.rp, .rr, .rk { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.rp { background: var(--ember-soft); color: var(--ember-ink); }
.rr { background: #E7F0EE; color: var(--contour); }
.rk { background: #EFEDE6; color: #5E626C; }
.app__draft { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--contour); color: var(--bone); }
.app__draft-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--ember); display: grid; place-items: center; flex: none; }
.app__draft-ic svg { width: 16px; height: 16px; }
.app__draft b { display: block; font-family: var(--f-display); font-size: 14px; }
.app__draft small { font-size: 11.5px; color: var(--mint); }

.sx-phone { position: absolute; right: -2%; bottom: -8%; width: 200px; height: 400px; border-radius: 34px; background: #0B0D12; padding: 8px; box-shadow: 0 0 0 2px #2A2E38, 0 40px 70px -30px rgba(0,0,0,.55); transform: translateZ(80px); }
.sx-phone__screen { height: 100%; border-radius: 27px; background: #F2F1EC; padding: 30px 10px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.sx-phone__top { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.sx-phone__cam { position: relative; flex: 1; border-radius: 14px; background: linear-gradient(160deg, #3C5753, #1E3531); overflow: hidden; }
.sx-phone__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.sx-phone__guide { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-size: 9.5px; padding: 3px 8px; border-radius: 999px; background: rgba(11,13,18,.6); color: #fff; }
.sx-phone__scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--ember); box-shadow: 0 0 14px 3px rgba(255,90,31,.5); animation: pscan 4s var(--ease-io) infinite; }
@keyframes pscan { 0% { top: 0; opacity: 0; } 5% { opacity: 1; } 45% { top: 100%; opacity: 1; } 50%, 100% { top: 100%; opacity: 0; } }
.sx-phone__chips { display: flex; gap: 4px; }
.sx-phone__chips span { flex: 1; font-size: 9px; font-weight: 600; text-align: center; padding: 5px 0; border-radius: 6px; }
.sx-phone__chips .ok { background: var(--contour); color: var(--bone); }
.sx-phone__chips .now { background: var(--ember); color: #fff; }
.sx-phone__shutter { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--ink); display: grid; place-items: center; }
.sx-phone__shutter i { width: 32px; height: 32px; border-radius: 50%; background: var(--ember); }

.sx-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(11,13,18,.35); transform: translateZ(120px); animation: bob 6s ease-in-out infinite; }
.sx-float b { display: block; font-family: var(--f-display); font-size: 14px; }
.sx-float small { font-size: 10.5px; color: var(--muted); }
.sx-float__ic { width: 34px; height: 34px; border-radius: 10px; background: var(--contour); color: var(--bone); display: grid; place-items: center; flex: none; }
.sx-float__ic svg { width: 16px; height: 16px; }
.sx-float__ic--ember { background: var(--ember); color: #fff; }
.sx-float--1 { left: -3%; top: 26%; }
.sx-float--2 { left: 6%; bottom: -5%; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -8px; } }

@media (max-width: 900px) {
  .app__body { grid-template-columns: 52px 1fr; }
  .app__detail { display: none; }
  .sx-phone { width: 150px; height: 300px; right: -1%; border-radius: 26px; }
  .sx-phone__screen { border-radius: 20px; padding-top: 22px; }
  .sx-float--1 { left: -1%; top: auto; bottom: -10%; }
  .sx-float--2 { display: none; }
}
@media (max-width: 560px) {
  .app__row { grid-template-columns: 1fr auto; }
  .app__row > :nth-child(2), .app__row > :nth-child(4) { display: none; }
  .app__filters { display: none; }
  .app__body { min-height: 330px; }
  .sx-phone { width: 120px; height: 240px; bottom: -14%; }
  .sx-phone__chips, .sx-phone__top { display: none; }
}

/* ---------- Stats band ---------- */
.sx-stats { background: var(--contour); color: var(--bone); padding: clamp(80px, 10vw, 130px) 0; border-radius: var(--radius-lg); margin: 0 clamp(8px, 1.4vw, 20px); position: relative; overflow: hidden; }
.sx-stats::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(242,241,236,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,241,236,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); }
.sx-stats .container { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); }
.sx-stats__intro { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -0.035em; max-width: 24ch; }
.sx-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sx-stat { display: grid; gap: 14px; padding-top: 26px; border-top: 2px solid var(--ember); }
.sx-stat b { font-family: var(--f-display); font-weight: 600; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -0.05em; color: var(--bone); }
.sx-stat p { color: var(--mint); font-size: 16.5px; max-width: 30ch; }
.sx-stats__src { font-size: 11.5px; color: #8FB3AC; letter-spacing: .02em; }
@media (max-width: 760px) { .sx-stats__grid { grid-template-columns: 1fr; } }

/* ---------- Problem: flip cards ---------- */
.sx-toggle-wrap { display: grid; gap: 22px; justify-items: start; }
.sx-toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sx-toggle button { position: relative; z-index: 1; height: 44px; padding: 0 22px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--muted); transition: color .4s; }
.sx-toggle button.is-on { color: var(--bone); }
.sx-toggle__pill { position: absolute; top: 5px; left: 5px; height: 44px; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease-out), width .6s var(--ease-out), background .6s; }
.sx-toggle.is-survx .sx-toggle__pill { background: var(--contour); }
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flip { perspective: 1200px; min-height: 230px; }
.flip__inner { position: relative; height: 100%; min-height: 230px; transform-style: preserve-3d; transition: transform 1s var(--ease-out); }
.flip:nth-child(2) .flip__inner { transition-delay: .05s; } .flip:nth-child(3) .flip__inner { transition-delay: .1s; } .flip:nth-child(4) .flip__inner { transition-delay: .15s; } .flip:nth-child(5) .flip__inner { transition-delay: .2s; } .flip:nth-child(6) .flip__inner { transition-delay: .25s; }
.flip-grid[data-mode="survx"] .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__face--front { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.flip__face--front h3 { text-decoration: line-through; text-decoration-color: rgba(194,65,12,.5); text-decoration-thickness: 2px; }
.flip__face--back { background: var(--contour); color: var(--bone); transform: rotateY(180deg); }
.flip__face h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; margin-top: auto; }
.flip__face p { font-size: 15.5px; color: var(--muted); }
.flip__face--back p { color: var(--mint); }
.flip__k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-ink); }
.flip__face--back .flip__k { color: var(--ember); }
@media (max-width: 900px) { .flip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flip-grid { grid-template-columns: 1fr; } .flip, .flip__inner { min-height: 200px; } }

/* ---------- Features: tabs ---------- */
.sx-features { background: var(--bg-2); border-radius: var(--radius-lg); margin: 0 clamp(8px, 1.4vw, 20px); }
.tabs { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.tabs__list { display: grid; gap: 8px; align-content: start; }
.tab { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 4px 10px; text-align: left; padding: 20px 22px; border-radius: 18px; transition: background .4s, box-shadow .4s; overflow: hidden; }
.tab:hover { background: rgba(255,255,255,.5); }
.tab.is-active { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px rgba(11,13,18,.3); }
.tab__n { grid-row: span 2; font-size: 12px; color: var(--muted); padding-top: 6px; }
.tab.is-active .tab__n { color: var(--ember-ink); }
.tab__t { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.035em; color: var(--muted); transition: color .4s; }
.tab.is-active .tab__t { color: var(--ink); }
.tab__d { grid-column: 2; font-size: 15px; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease-out), opacity .5s; }
.tab.is-active .tab__d { max-height: 120px; opacity: 1; }
.tab__bar { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: transparent; }
.tab.is-active .tab__bar { background: var(--line); }
.tab__bar i { display: block; height: 100%; width: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }
.tab.is-active .tab__bar i { animation: tabbar var(--tab-dur, 6s) linear forwards; }
.tabs.is-paused .tab.is-active .tab__bar i { animation-play-state: paused; }
@keyframes tabbar { to { transform: scaleX(1); } }
.tabs__panels { position: relative; min-height: 440px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; background-image: radial-gradient(circle at 1px 1px, rgba(11,13,18,.07) 1px, transparent 0); background-size: 22px 22px; }
.panel { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tabs__panels { min-height: 420px; }
}

/* panel: capture */
.pv-capture { width: 100%; max-width: 460px; display: grid; gap: 16px; }
.pv-capture__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: flex-end; padding: 8px 10px; overflow: hidden; }
.shot b { font-size: 12px; font-weight: 600; position: relative; z-index: 1; }
.shot.is-done { background: linear-gradient(160deg, #2C6E64, #17463F); color: var(--bone); box-shadow: none; }
.shot.is-done::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--bone); color: var(--contour); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.panel.is-active .shot.is-done { animation: shotin .6s var(--ease-out) backwards; }
.panel.is-active .shot:nth-child(2) { animation-delay: .08s; } .panel.is-active .shot:nth-child(3) { animation-delay: .16s; } .panel.is-active .shot:nth-child(4) { animation-delay: .24s; } .panel.is-active .shot:nth-child(5) { animation-delay: .32s; }
@keyframes shotin { from { opacity: 0; transform: scale(.85); } }
.shot.is-now { box-shadow: inset 0 0 0 2px var(--ember); background: var(--ember-soft); color: var(--ember-ink); }
.shot.is-now::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(255,90,31,.25)); animation: nowpulse 1.6s ease-in-out infinite; }
@keyframes nowpulse { 50% { opacity: .2; } }
.pv-capture__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.pv-pill i { width: 7px; height: 7px; border-radius: 50%; }
.pv-pill .g { background: #1F9D55; } .pv-pill .o { background: var(--ember); }

/* panel: understand */
.pv-read { width: 100%; display: grid; grid-template-columns: .8fr auto 1.2fr; align-items: center; gap: 14px; }
.pv-read__doc { display: grid; gap: 9px; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -26px rgba(11,13,18,.3); }
.pv-read__doc p { font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.pv-read__doc i { display: block; height: 7px; border-radius: 4px; background: var(--bg-3); position: relative; overflow: hidden; }
.pv-read__doc i.hl::after { content: ""; position: absolute; inset: 0; background: var(--ember); opacity: .85; transform: scaleX(0); transform-origin: left; }
.panel.is-active .pv-read__doc i.hl::after { animation: rd .8s var(--ease-out) forwards; }
.panel.is-active .pv-read__doc i.hl:nth-of-type(4)::after { animation-delay: .3s; } .panel.is-active .pv-read__doc i.hl:nth-of-type(6)::after { animation-delay: .6s; }
@keyframes rd { to { transform: scaleX(1); } }
.pv-read__arrow { width: 36px; color: var(--ember); }
.pv-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -26px rgba(11,13,18,.3); overflow: hidden; }
.pv-table th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); background: var(--contour); padding: 10px 12px; }
.pv-table td { padding: 10px 12px; border-top: 1px solid var(--line); }
.panel.is-active .pv-table tbody tr { animation: rowin .6s var(--ease-out) backwards; }
.panel.is-active .pv-table tbody tr:nth-child(1) { animation-delay: .5s; } .panel.is-active .pv-table tbody tr:nth-child(2) { animation-delay: .62s; } .panel.is-active .pv-table tbody tr:nth-child(3) { animation-delay: .74s; } .panel.is-active .pv-table tbody tr:nth-child(4) { animation-delay: .86s; }
@media (max-width: 600px) { .pv-read { grid-template-columns: 1fr; } .pv-read__arrow { transform: rotate(90deg); justify-self: center; } }

/* panel: assess */
.pv-assess { width: 100%; max-width: 480px; display: grid; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(11,13,18,.35); overflow: hidden; }
.pv-assess__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--contour); color: var(--bone); }
.pv-assess__head b { font-family: var(--f-display); font-size: 20px; letter-spacing: -0.02em; }
.pv-assess__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.pv-assess__row:nth-child(odd) { background: #FBFAF7; }
.panel.is-active .pv-assess__row { animation: rowin .6s var(--ease-out) backwards; }
.panel.is-active .pv-assess__row:nth-child(3) { animation-delay: .1s; } .panel.is-active .pv-assess__row:nth-child(4) { animation-delay: .2s; } .panel.is-active .pv-assess__row:nth-child(5) { animation-delay: .3s; } .panel.is-active .pv-assess__row:nth-child(6) { animation-delay: .4s; }
.pv-assess__note { font-size: 11px; color: var(--muted); }
.pv-assess__row--total { font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.pv-assess__sig { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--ember); color: #fff; }
.pv-assess__sig svg { width: 14px; height: 14px; }

/* panel: manage */
.pv-manage { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: start; }
.pv-col { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); min-height: 220px; align-content: start; }
.pv-col p { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 2px 4px 4px; }
.pv-card { position: relative; display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(11,13,18,.3); font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.pv-card small { font-family: var(--f-body); font-size: 11px; color: var(--muted); }
.pv-card .hot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #D92D20; animation: blink 1s infinite; }
.pv-card--ember { box-shadow: 0 0 0 2px var(--ember); }
.pv-card--done { background: var(--contour); color: var(--bone); }
.pv-card--done small { color: var(--mint); }
.panel.is-active .pv-card { animation: rowin .6s var(--ease-out) backwards; }
.panel.is-active .pv-col:nth-child(2) .pv-card { animation-delay: .1s; } .panel.is-active .pv-col:nth-child(3) .pv-card { animation-delay: .2s; } .panel.is-active .pv-col:nth-child(4) .pv-card { animation-delay: .3s; }
@media (max-width: 600px) { .pv-manage { grid-template-columns: 1fr 1fr; } .pv-col { min-height: 0; } }

/* ---------- Damage detection ---------- */
.sx-damage { background: var(--contour-ink); color: var(--bone); border-radius: var(--radius-lg); margin: clamp(24px, 3vw, 40px) clamp(8px, 1.4vw, 20px) 0; overflow: hidden; }
.sx-damage__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sx-damage__copy { display: grid; gap: 26px; }
.sx-damage__points { display: grid; gap: 22px; margin-top: 8px; }
.sx-damage__points > div { padding-left: 20px; border-left: 2px solid rgba(242,241,236,.15); transition: border-color .4s; }
.sx-damage__points > div:hover { border-color: var(--ember); }
.sx-damage__points h3 { font-size: 22px; letter-spacing: -0.025em; color: var(--ember); margin-bottom: 6px; }
.sx-damage__points p { color: var(--mint); }
.sx-damage__viz { position: relative; padding: 24px; border-radius: 24px; background: #12403A; box-shadow: inset 0 0 0 1px rgba(242,241,236,.08); }
.car { width: 100%; height: auto; overflow: visible; }
.car__box { opacity: 0; transform-box: fill-box; transform-origin: center; }
.car__scan { opacity: 0; filter: drop-shadow(0 0 10px rgba(255,90,31,.8)); }
.sx-damage__viz.is-in .car__scan { animation: carscan 5s var(--ease-io) infinite; }
.sx-damage__viz.is-in .car__box--2 { animation: carbox 5s infinite; animation-delay: .5s; }
.sx-damage__viz.is-in .car__box--1 { animation: carbox 5s infinite; animation-delay: .9s; }
@keyframes carscan { 0% { transform: translateY(0); opacity: 0; } 4% { opacity: 1; } 34% { transform: translateY(240px); opacity: 1; } 38%, 100% { transform: translateY(240px); opacity: 0; } }
@keyframes carbox { 0%, 22% { opacity: 0; transform: scale(1.2); } 30%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.car__label { position: absolute; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 9px; background: var(--ember); color: var(--ink); white-space: nowrap; opacity: 0; }
.car__label b { font-weight: 700; }
.car__label--1 { right: 4%; top: 12%; }
.car__label--2 { left: 18%; bottom: 14%; }
.sx-damage__viz.is-in .car__label--1 { animation: carlab 5s infinite .9s; }
.sx-damage__viz.is-in .car__label--2 { animation: carlab 5s infinite .5s; }
@keyframes carlab { 0%, 28% { opacity: 0; transform: translateY(8px); } 34%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.sx-damage__note { font-size: 11px; color: #8FB3AC; margin-top: 8px; text-align: center; }
@media (max-width: 900px) { .sx-damage__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .car__label { font-size: 10.5px; padding: 5px 8px; } .car__label--2 { left: 6%; } }

/* ---------- Flow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.flow::after { content: ""; position: absolute; left: 0; top: 7px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ink) 0 42%, var(--ember) 42% 86%, var(--ink) 86%); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-io); }
.flow.is-in::after { transform: scaleX(1); }
.flow__step { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 34px; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.flow.is-in .flow__step { opacity: 1; transform: none; }
.flow.is-in .flow__step:nth-child(2) { transition-delay: .25s; } .flow.is-in .flow__step:nth-child(3) { transition-delay: .5s; } .flow.is-in .flow__step:nth-child(4) { transition-delay: .75s; } .flow.is-in .flow__step:nth-child(5) { transition-delay: 1s; } .flow.is-in .flow__step:nth-child(6) { transition-delay: 1.25s; } .flow.is-in .flow__step:nth-child(7) { transition-delay: 1.5s; }
.flow__dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.flow__step--ai .flow__dot { background: var(--ember); box-shadow: 0 0 0 5px rgba(255,90,31,.2); }
.flow__n { font-size: 11.5px; color: var(--muted); }
.flow__step--ai .flow__n { color: var(--ember-ink); }
.flow__step h3 { font-size: 22px; letter-spacing: -0.03em; }
.flow__step p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.flow__step--ai { background: var(--surface); margin-top: -6px; padding: 40px 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.flow__step--ai .flow__dot { top: 6px; left: 14px; }
@media (max-width: 1020px) {
  .flow { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
  .flow::before, .flow::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow::after { background: var(--ember); transform: scaleY(0); transform-origin: top; }
  .flow.is-in::after { transform: scaleY(1); }
  .flow__step { padding: 16px 0 16px 10px; }
  .flow__dot { left: -30px; top: 20px; }
  .flow__step--ai { margin: 6px 0; padding: 16px; }
  .flow__step--ai .flow__dot { left: -30px; top: 20px; }
}

/* ---------- Anywhere ---------- */
.any-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.any { display: grid; gap: 16px; align-content: start; padding: 32px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.any__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--contour); color: var(--bone); display: grid; place-items: center; transition: transform .6s var(--ease-out), background .4s; }
.any:hover .any__ic { transform: rotate(-8deg) scale(1.06); background: var(--ember); }
.any__ic svg { width: 24px; height: 24px; }
.any ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.any li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; }
.any li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--ember); }
@media (max-width: 860px) { .any-grid { grid-template-columns: 1fr; } }

/* ---------- Trust + security ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.trust { display: grid; gap: 10px; align-content: start; padding: 30px; background: var(--surface); transition: background .4s; }
.trust:hover { background: #FCFBF8; }
.trust__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ember-soft); color: var(--ember-ink); display: grid; place-items: center; margin-bottom: 8px; transition: transform .5s var(--ease-out); }
.trust:hover .trust__ic { transform: translateY(-4px); }
.trust__ic svg { width: 20px; height: 20px; }
.trust h3 { font-size: 21px; letter-spacing: -0.025em; }
.trust p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

.security { margin-top: 20px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--contour); color: var(--bone); display: grid; gap: 32px; }
.security__head { display: flex; align-items: center; gap: 20px; }
.security__badge { width: 64px; height: 64px; border-radius: 18px; background: var(--ember); color: #fff; display: grid; place-items: center; flex: none; }
.security__badge svg { width: 30px; height: 30px; }
.security__head .h3 { margin-top: 8px; }
.security__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.security__grid > div { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid rgba(242,241,236,.16); }
.security__grid b { font-family: var(--f-display); font-size: 17px; }
.security__grid span { color: var(--mint); font-size: 14.5px; }
@media (max-width: 860px) { .security__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .security__grid { grid-template-columns: 1fr; } .security__head { flex-direction: column; align-items: flex-start; } }

/* ---------- Who ---------- */
.who-row { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; }
.who { display: grid; gap: 12px; align-content: start; padding: 26px 22px; min-height: 250px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease-out); }
.who:hover { transform: translateY(-6px); }
.who__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--bg-2); color: var(--contour); display: grid; place-items: center; margin-bottom: auto; }
.who__ic svg { width: 22px; height: 22px; }
.who h3 { font-size: 24px; letter-spacing: -0.03em; margin-top: 40px; }
.who p { color: var(--muted); font-size: 15px; }
.who--lead { background: var(--contour); color: var(--bone); box-shadow: none; }
.who--lead .who__ic { background: var(--ember); color: #fff; }
.who--lead p { color: var(--mint); }
.who--lead h3 { font-size: 34px; }
@media (max-width: 1020px) { .who-row { grid-template-columns: 1fr 1fr; } .who--lead { grid-column: 1 / -1; } }
@media (max-width: 520px) { .who-row { grid-template-columns: 1fr; } .who { min-height: 0; } }

/* ---------- Demo CTA ---------- */
.sx-demo__card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: var(--radius-lg); background: var(--ink); color: var(--bone); overflow: hidden; isolation: isolate; }
.sx-demo__card::before { content: ""; position: absolute; width: 640px; height: 640px; left: -200px; bottom: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(23,70,63,.9), transparent 65%); z-index: -1; }
.sx-demo__mark { position: absolute; left: clamp(28px, 5vw, 72px); bottom: clamp(24px, 4vw, 48px); width: 56px; opacity: .9; }
.sx-demo__copy { display: grid; gap: 22px; }
.sx-demo__copy > p:last-child { color: #A3A7B1; font-size: 17.5px; max-width: 46ch; }
.sx-demo__form-wrap { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: #14171E; box-shadow: inset 0 0 0 1px #23262F; }
.sx-demo__form { display: grid; gap: 20px; transition: opacity .5s, filter .5s; }
.sx-demo__form .field input { border-bottom-color: #2F333D; color: var(--bone); }
.sx-demo__form .field label { color: #8B8F9A; }
.sx-demo__form .field::after { background: var(--ember); }
.sx-demo__form .field input:focus + label, .sx-demo__form .field input:not(:placeholder-shown) + label { color: var(--ember); }
.sx-demo__form .choice-group legend { color: #8B8F9A; }
.sx-demo__form .choice span { box-shadow: inset 0 0 0 1px #2F333D; color: #D6D7D2; }
.sx-demo__form .choice span:hover { box-shadow: inset 0 0 0 1px var(--bone); }
.sx-demo__form .choice input:checked + span { background: var(--bone); color: var(--ink); }
.sx-demo__form .btn { justify-self: start; margin-top: 6px; }
.sx-demo__form.is-sending { opacity: .6; pointer-events: none; }
.sx-demo__form.is-sent { opacity: 0; pointer-events: none; filter: blur(6px); }
.sx-demo .form-success { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .6s .2s; }
.sx-demo .form-success.is-visible { opacity: 1; pointer-events: auto; }
.sx-demo .form-success svg { width: 80px; --ink: #F2F1EC; }
.sx-demo .form-success p { color: #A3A7B1; }
@media (max-width: 900px) { .sx-demo__card { grid-template-columns: 1fr; } .sx-demo__mark { display: none; } }
