/* Page layouts for the NineWaves site. Depends on site.css tokens and components. */

/* Browser-framed product window */
.window { position: relative; background: #1A1D24; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06); color: #EDEDF3; }
.window-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #1A1D24; border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.window-bar .url { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #EDEDF3; }
.window-bar .right { margin-left: auto; }
.window-body { padding: 18px 20px 22px; }
.window-light { background: #FFFFFF; color: #15171C; box-shadow: 0 20px 60px rgba(20, 20, 30, .12), 0 0 0 1px var(--hair); }
.window-light .window-bar { background: #F3F4F6; border-bottom-color: var(--hair); color: #5A5A5E; }
.window-light .window-bar i { background: rgba(0, 0, 0, .1); }
.window-light .window-bar .url { background: #fff; color: #15171C; }

/* Dashboard composite inside a window */
.dash { display: grid; grid-template-columns: 180px 1fr; min-height: 420px; }
.dash-side { border-right: 1px solid rgba(255, 255, 255, .06); padding: 14px 10px; font-size: 12px; color: #9DA2B0; }
.dash-side .group { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #6E7383; margin: 12px 8px 6px; }
.dash-side a { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 6px; color: #9DA2B0; }
.dash-side a.on { background: rgba(28, 127, 214, .14); color: #EDEDF3; }
.dash-side a .badge { font-family: var(--font-mono); font-size: 10px; padding: 1px 6px; border-radius: 8px; background: rgba(224, 82, 82, .2); color: #F08787; }
.dash-main { padding: 16px 18px; }
.dash-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.dash-head h5 { font-family: var(--font-text); font-size: 15px; font-weight: 500; color: #EDEDF3; }
.dash-head .meta { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; padding: 10px 12px; }
.kpi .k { font-size: 10px; color: #9DA2B0; text-transform: uppercase; letter-spacing: .06em; }
.kpi .v { font-family: var(--font-display); font-size: 24px; color: #EDEDF3; margin-top: 2px; }
.kpi .d { font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; }
.kpi .d.neg { color: #F08787; }
.kpi .d.pos { color: #5CCB8E; }
.panel-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.panel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; padding: 12px; }
.panel h6 { font-size: 11px; font-weight: 500; color: #9DA2B0; margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.narr { padding: 8px 10px; border-left: 2px solid var(--accent); background: rgba(255, 255, 255, .03); border-radius: 0 6px 6px 0; margin-bottom: 6px; }
.narr b { display: block; font-size: 12px; font-weight: 500; color: #EDEDF3; }
.narr span { font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; }
.narr.red { border-left-color: #E05252; }
.narr.amb { border-left-color: #D97706; }
.sent { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 8px 0 6px; }
.sent i { display: block; height: 100%; }
.legend { display: flex; gap: 12px; font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }

/* Windows at half width */
.split .dash { grid-template-columns: 1fr; min-height: 0; }
.split .dash-side, .split .window-bar .right { display: none; }
.split .kpis { grid-template-columns: 1fr 1fr; }
.split .panel-2 { grid-template-columns: 1fr; }
.split .dash-head { flex-wrap: wrap; gap: 4px 12px; }

/* Module windows */
.tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: #C9CDD8; white-space: nowrap; }
.tag.proven { background: rgba(28, 127, 214, .2); color: #8CC3F2; }
.tag.suspected { background: rgba(217, 119, 6, .18); color: #F2B35B; }
.tag.manuf { background: rgba(217, 119, 6, .18); color: #F2B35B; }
.tag.organic { background: rgba(52, 199, 123, .16); color: #6FD9A0; }
.tag.hostile { background: rgba(224, 82, 82, .18); color: #F08787; }
.tag.filed { background: rgba(28, 127, 214, .2); color: #8CC3F2; }
.tag.pending { background: rgba(217, 119, 6, .18); color: #F2B35B; }
.tag.removed { background: rgba(52, 199, 123, .16); color: #6FD9A0; }
.narr-row { display: grid; grid-template-columns: 1.3fr 150px 110px 90px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.narr-row .t { color: #EDEDF3; font-weight: 500; }
.narr-row .m { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; margin-top: 2px; }
.life { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.life i { display: block; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.life i.on { background: var(--accent); }
.life i.hot { background: #E05252; }
.life-l { font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; margin-top: 4px; }
.avstack { display: flex; }
.avstack img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #1A1D24; margin-left: -8px; object-fit: cover; }
.avstack img:first-child { margin-left: 0; }
.avstack span { font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; margin-left: 8px; align-self: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { font-size: 11px; padding: 4px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #C9CDD8; }
.chip.on { background: rgba(28, 127, 214, .2); color: #8CC3F2; }
.post { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.post .av { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 13px; color: #EDEDF3; overflow: hidden; }
.post .av img { width: 100%; height: 100%; object-fit: cover; }
.post .ph { display: flex; gap: 8px; align-items: baseline; font-size: 12px; }
.post .ph b { color: #EDEDF3; font-weight: 500; }
.post .ph span { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.post .pt { font-size: 13px; line-height: 19px; color: #C9CDD8; margin: 4px 0 6px; }
.post .pm { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; }
.threat { display: grid; grid-template-columns: 68px 1fr 190px 120px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.threat .tag, .ticket .tag, .bet .tag, .engine .tag { white-space: normal; line-height: 14px; }
.split .threat { grid-template-columns: 60px 1fr 120px; }
.split .ticket { grid-template-columns: 1fr 84px 96px; }
.split .ticket .m:last-child { display: none; }
.split .threat .tag:last-child { display: none; }
.threat .t { color: #EDEDF3; font-weight: 500; }
.threat .m { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; margin-top: 2px; }
.sev-crit { background: rgba(224, 82, 82, .28); color: #FFB3B3; }
.sev-low { background: rgba(255, 255, 255, .08); color: #C9CDD8; }
.ticket { display: grid; grid-template-columns: 1fr 120px 110px 90px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.ticket .t { color: #EDEDF3; font-weight: 500; }
.ticket .m { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; margin-top: 2px; }
.ticket .clock { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report .block { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; padding: 14px; }
.report h6 { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #9DA2B0; margin-bottom: 10px; }
.report ol { padding-left: 18px; font-size: 13px; line-height: 19px; color: #C9CDD8; }
.report ol li { margin-bottom: 8px; }
.report ol b { color: #EDEDF3; font-weight: 500; }
.report .score { font-family: var(--font-display); font-size: 40px; color: #EDEDF3; line-height: 1; }
.report .delta { font-family: var(--font-mono); font-size: 11px; color: #F08787; }
.report .rec { font-size: 13px; line-height: 19px; color: #C9CDD8; }
.group-row { display: grid; grid-template-columns: 1.4fr 80px 80px 80px 110px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.group-row.head { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #9DA2B0; }
.group-row .t { color: #EDEDF3; }
.group-row .dot { width: 8px; height: 8px; border-radius: 50%; background: #34C77B; display: inline-block; }
.group-row .dot.off { background: rgba(255, 255, 255, .15); }
.group-row .n { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.bet { display: grid; grid-template-columns: 36px 1fr 80px 70px 90px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.bet img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.bet .t { color: #EDEDF3; font-weight: 500; }
.bet .m { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.bet .n { font-family: var(--font-mono); font-size: 12px; color: #C9CDD8; text-align: right; }
.plat { display: grid; grid-template-columns: 90px 1fr 90px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; color: #C9CDD8; }
.plat .n { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; text-align: right; }
.engine { display: grid; grid-template-columns: 1fr 110px 120px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.engine .t { color: #EDEDF3; }
.engine .m { font-family: var(--font-mono); font-size: 11px; color: #9DA2B0; }
.ev { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.ev img { width: 100%; border-radius: 8px; }
.ev .tl { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 14px; }
.ev .tl div { position: relative; padding-bottom: 12px; font-size: 12px; line-height: 18px; color: #C9CDD8; }
.ev .tl div::before { content: ""; position: absolute; left: -18px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ev .tl b { color: #EDEDF3; font-weight: 500; display: block; }
.ev .tl span { font-family: var(--font-mono); font-size: 10px; color: #9DA2B0; }
.rise .fill { transform: scaleX(0); transition: transform 600ms var(--e-out) 200ms; }
.rise.is-in .fill { transform: scaleX(1); }
.scrub-frame .window { height: 100%; border-radius: 0; box-shadow: none; }
.scrub-frame { top: 0; }
.split .tabs-stage .card-media { aspect-ratio: 16 / 10; }

/* Photography */
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.6) brightness(.9); opacity: .55; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 17, 21, .55) 0%, rgba(15, 17, 21, .35) 40%, var(--ink) 100%); }
.page-hero.has-photo { position: relative; overflow: hidden; }
.page-hero.has-photo .wrap { position: relative; z-index: 1; }
.scrub-stage .hero-photo { opacity: .5; mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); }
.scrub-stage .hero-veil { background: linear-gradient(180deg, rgba(15, 17, 21, .6) 0%, rgba(15, 17, 21, .3) 45%, rgba(15, 17, 21, 0) 100%); }
.scrub-copy, .scrub-frames, .scrub-readout { position: relative; z-index: 2; }
.ico { width: 22px; height: 22px; display: inline-block; vertical-align: middle; fill: currentColor; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.marquee-item .ico { color: var(--fg); }
.chip .ico { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.plat > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.plat .ico { width: 16px; height: 16px; color: #EDEDF3; }
.solution { padding: 0; overflow: hidden; }
.solution .photo { aspect-ratio: 3 / 2; background-size: cover; background-position: center; filter: saturate(.7); transition: filter var(--d-ui) var(--e-out); }
.solution:hover .photo { filter: saturate(1); }
.solution .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.solution .body .link { margin-top: auto; }
.photo-card { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background-size: cover; background-position: center; filter: saturate(.75); box-shadow: 0 20px 60px rgba(20, 20, 30, .18); }
.photo-band { position: relative; overflow: hidden; border-radius: var(--r-card); min-height: 360px; display: flex; align-items: flex-end; padding: 32px; color: #EDEDF3; }
.photo-band .hero-photo { opacity: .8; filter: saturate(.7); }
.photo-band .hero-veil { background: linear-gradient(180deg, rgba(15, 17, 21, 0) 20%, rgba(15, 17, 21, .85) 100%); }
.photo-band > div { position: relative; z-index: 1; max-width: 520px; }
.photo-band .h2-s { color: #EDEDF3; margin-bottom: 8px; }
.photo-band p { color: #C9CDD8; font-size: 15px; line-height: 22px; }

/* Hero variants */
.hero-split { position: relative; overflow: hidden; padding: 120px 0 96px; }
.hero-split .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero-split .h1 { margin-bottom: 16px; }
.hero-split .sub { margin-bottom: 28px; }
.hero-split .cta { display: flex; gap: 12px; }
.hero-split .window { transform: perspective(1400px) rotateY(-4deg); transform-origin: left center; }
.hero-band { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 160px; }
.hero-band .hero-photo { opacity: .85; filter: saturate(.7) brightness(.85); }
.hero-band .hero-veil { background: linear-gradient(180deg, rgba(15, 17, 21, .35) 0%, rgba(15, 17, 21, .2) 40%, rgba(15, 17, 21, .95) 100%); }
.hero-band .wrap { position: relative; z-index: 1; }
.hero-band .h1 { max-width: 760px; margin-bottom: 16px; color: #EDEDF3; }
.hero-band .sub { max-width: 560px; margin-bottom: 28px; color: #C9CDD8; }
.hero-band .eyebrow { color: #8CC3F2; }
.hero-band .eyebrow::before { background: #8CC3F2; }
.overlap { margin-top: -120px; position: relative; z-index: 2; }
.hero-stat { padding: 120px 0 64px; }
.hero-stat .h1 { max-width: 760px; margin-bottom: 16px; }
.hero-stat .sub { max-width: 620px; margin-bottom: 40px; }
.statline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.statline > div { padding: 24px 24px 24px 0; border-right: 1px solid var(--hair); margin-right: 24px; }
.statline > div:last-child { border-right: 0; }
.statline .stat { font-size: 44px; margin-bottom: 6px; }
.statline .small { color: var(--fg-muted); }

/* Module rail: tabs that switch windows */
.rail { display: flex; gap: 4px; border-bottom: 1px solid var(--hair); margin-bottom: 28px; overflow-x: auto; }
.rail .tab-bar { flex: none; height: auto; padding: 14px 16px 12px; font-size: 14px; font-weight: 500; color: var(--fg-muted); border-radius: 0; display: block; position: relative; transition: color var(--d-ui) var(--e-out); }
.rail .tab-bar i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; width: auto; border-radius: 0; background: transparent; box-shadow: none !important; }
.rail .tab-bar.is-active { color: var(--fg); }
.rail .tab-bar.is-active i { background: var(--accent); }
.rail-stage .tab-panel { visibility: hidden; }
.rail-stage .tab-panel.is-active { visibility: visible; }

/* Gallery of captures */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { border-radius: var(--r-card); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card); }
.shot .pic { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.shot .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot .pic .sev { position: absolute; top: 12px; left: 12px; }
.shot .cap { padding: 14px 16px 16px; }
.shot .cap .mono { color: var(--fg); font-size: 13px; }
.shot .cap .small { margin-top: 2px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--hair-strong); }
.tl-step { position: relative; padding-top: 32px; }
.tl-step::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-step .k { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 6px; }
.tl-step h4 { font-size: 17px; font-weight: 500; margin-bottom: 6px; color: var(--fg); }
.tl-step p { font-size: 14px; line-height: 20px; color: var(--fg-muted); }
.tl-step .clock { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; padding: 4px 10px; border-radius: 10px; background: var(--accent-tint); color: var(--fg); }

/* Engine cards */
.engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engine-card { background: var(--surface); border-radius: var(--r-card); padding: 24px; }
.engine-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--fg); margin-bottom: 4px; }
.engine-card .m { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); margin-bottom: 16px; }
.engine-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.engine-card li { font-size: 14px; line-height: 20px; color: var(--fg-muted); padding-left: 16px; position: relative; }
.engine-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Editorial text column */
.prose { max-width: 680px; }
.prose p { font-size: 18px; line-height: 28px; color: var(--fg); margin-bottom: 20px; }
.prose p.lead { font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 400; }
.pull { font-family: var(--font-display); font-size: 30px; line-height: 38px; font-weight: 400; color: var(--fg); max-width: 760px; margin: 48px 0; padding-left: 24px; border-left: 2px solid var(--accent); }
.numbered { counter-reset: n; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.numbered > div { position: relative; padding-left: 56px; }
.numbered > div::before { counter-increment: n; content: "0" counter(n); position: absolute; left: 0; top: 2px; font-family: var(--font-display); font-size: 24px; color: var(--accent); }
.numbered h4 { font-size: 17px; font-weight: 500; color: var(--fg); margin-bottom: 4px; }
.numbered p { font-size: 15px; line-height: 22px; color: var(--fg-muted); }

/* Entity list */
.entities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.entity { background: var(--surface); border-radius: 10px; padding: 14px 16px; font-size: 14px; color: var(--fg); display: flex; justify-content: space-between; align-items: center; }
.entity .dot { width: 8px; height: 8px; border-radius: 50%; background: #34C77B; }

@media (max-width: 900px) {
  .hero-split .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-split .window { transform: none; }
  .statline, .timeline, .gallery, .engines, .numbered { grid-template-columns: 1fr; }
  .statline > div { border-right: 0; margin-right: 0; padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .timeline::before { display: none; }
  .entities { grid-template-columns: 1fr 1fr; }
  .hero-band { min-height: 0; padding: 120px 0 140px; }
  .overlap { margin-top: -80px; }
}

/* Page hero */
.page-hero { padding: 120px 0 48px; text-align: center; }
.page-hero .h1 { max-width: 820px; margin: 0 auto 16px; }
.page-hero .sub { max-width: 600px; margin: 0 auto 28px; }
.page-hero .cta { display: flex; justify-content: center; gap: 12px; }
.page-hero .input { max-width: 520px; margin: 0 auto; }
.page-hero-window { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero-window .window { margin-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); }

/* Three products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { background: var(--surface); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.product .tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.product .tag.watch { color: #3B9EF5; } .product .tag.protect { color: #E05252; } .product .tag.grow { color: #34C77B; }
.product h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 32px; color: var(--fg); }
.product p { font-size: 15px; line-height: 22px; color: var(--fg-muted); }
.product .mini { margin-top: auto; background: #1A1D24; border-radius: 10px; padding: 12px; color: #EDEDF3; font-size: 12px; min-height: 150px; }
.product .link { align-self: flex-start; }

/* Section headings */
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .h2 { margin-bottom: 14px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split .h2-s { margin-bottom: 12px; }
.split .sub { margin-bottom: 20px; }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; font-size: 15px; line-height: 22px; color: var(--fg-muted); }
.bullets li::before { content: "\2192"; color: var(--accent); position: absolute; left: 0; top: 0; }
.bullets li b { color: var(--fg); font-weight: 500; }

/* Six features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.feature .fk { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 8px; }
.feature h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; color: var(--fg); }
.feature p { font-size: 14px; line-height: 20px; color: var(--fg-muted); }

/* Solutions grid */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution { background: var(--surface); border-radius: var(--r-card); padding: 24px; min-height: 180px; display: flex; flex-direction: column; gap: 8px; transition: background-color var(--d-ui) var(--e-out); }
.solution:hover { background: var(--surface-2); }
.solution h4 { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 26px; color: var(--fg); }
.solution p { font-size: 14px; line-height: 20px; color: var(--fg-muted); }
.solution .link { margin-top: auto; align-self: flex-start; font-size: 14px; }

/* Case files */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case .card-media { aspect-ratio: 3 / 2; }
.case .label { margin: 14px 0 6px; }
.case h4 { font-size: 16px; font-weight: 500; line-height: 22px; color: var(--fg); margin-bottom: 6px; }
.case p { font-size: 13px; line-height: 19px; color: var(--fg-muted); }
.case-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--surface); border-radius: var(--r-card); padding: 24px; margin-bottom: 40px; }
.case-featured .card-media { aspect-ratio: 16 / 10; border-radius: 10px; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band > div { border-left: 1px solid var(--hair); padding-left: 24px; }
.stats-band > div:first-child { border-left: 0; padding-left: 0; }
.stats-band .stat { font-size: 56px; }
.stats-band .small { margin-top: 10px; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { background: var(--surface); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tier.featured { outline: 2px solid var(--accent); }
.tier h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--fg); }
.tier .who { font-size: 14px; color: var(--fg-muted); line-height: 20px; min-height: 40px; }
.tier .price { font-family: var(--font-display); font-size: 22px; color: var(--fg); }
.tier .price span { font-family: var(--font-text); font-size: 13px; color: var(--fg-muted); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tier li { font-size: 14px; line-height: 20px; color: var(--fg-muted); padding-left: 18px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tier .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 48px; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.compare th { font-weight: 500; color: var(--fg); }
.compare td { color: var(--fg-muted); }
.compare td.y { color: var(--fg); }

/* CTA band */
.cta-band { text-align: center; padding: 120px 0; }
.cta-band .h2 { max-width: 640px; margin: 0 auto 14px; }
.cta-band .sub { max-width: 540px; margin: 0 auto 28px; }
.cta-band .cta { display: flex; justify-content: center; gap: 12px; }

/* Footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--hair); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-grid .label { margin-bottom: 12px; }
.footer-grid a { display: block; font-size: 14px; line-height: 20px; padding: 3px 0; color: var(--fg-muted); transition: color var(--d-fast) var(--e-std); }
.footer-grid a:hover { color: var(--fg); }
.footer-brand p { font-size: 14px; line-height: 20px; color: var(--fg-muted); max-width: 260px; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--fg-faint); }
.footnotes { font-size: 12px; line-height: 18px; color: var(--fg-faint); max-width: 760px; margin-top: 24px; }
.footnotes p { margin: 4px 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq .acc-head { font-size: 17px; }
.faq .acc-content { padding-left: 0; }

/* Logo row */
.logo-row { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; color: var(--fg-faint); }

/* Quote */
.quote-block { max-width: 720px; margin: 0 auto; text-align: center; }
.quote-block .quote { margin-bottom: 16px; }
.quote-block .who { font-size: 14px; color: var(--fg-muted); }
.quote-block .who b { color: var(--fg); font-weight: 500; }

/* Team / company */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { background: var(--surface); border-radius: var(--r-card); padding: 24px; }
.person .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); margin-bottom: 14px; }
.person h4 { font-size: 16px; font-weight: 500; color: var(--fg); }
.person p { font-size: 14px; color: var(--fg-muted); }

/* Contact form */
.form { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--fg-muted); }
.field input, .field select, .field textarea { height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--hair-strong); background: var(--surface); color: var(--fg); font: inherit; font-size: 15px; }
.field textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

@media (max-width: 900px) {
  .products, .features, .solutions, .cases, .tiers, .team { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band > div { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-featured { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .panel-2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .page-hero { padding-top: 96px; }
}

/* Real product screenshots in a browser frame */
.shotframe { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px rgba(20, 20, 30, .16), 0 0 0 1px rgba(20,20,30,.06); }
.shotframe .bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #F3F4F6; border-bottom: 1px solid #E2E6ED; font-family: var(--font-mono); font-size: 11px; color: #6B7080; }
.shotframe .bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D8DF; }
.shotframe .bar .url { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; color: #15171C; }
.shotframe img { width: 100%; display: block; }
.shotframe.crop { aspect-ratio: 16 / 9; }
.shotframe.crop .pic { position: relative; height: calc(100% - 34px); overflow: hidden; }
.shotframe.crop .pic img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.shotframe.tall .pic { max-height: 560px; overflow: hidden; }
[data-theme="ink"] .shotframe { box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.scrub-frame .shotframe { border-radius: 14px 14px 0 0; height: 100%; }
.scrub-frames { background: transparent; box-shadow: none; }
.product .mini.pic { padding: 0; min-height: 0; background: var(--surface-2); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.product .mini.pic img { position: absolute; left: 0; top: 0; width: 170%; max-width: none; height: auto; }
.product .mini.pic.left img { left: 0; }
.product .mini.pic.right img { left: -70%; }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.module .pic { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--surface-2); }
.module .pic img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.module .cap { padding: 16px 18px 18px; }
.module .cap .label { margin-bottom: 4px; }
.module .cap h4 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--fg); margin-bottom: 4px; }
.module .cap p { font-size: 14px; line-height: 20px; color: var(--fg-muted); }
@media (max-width: 900px) { .modules-grid { grid-template-columns: 1fr; } }
/* real screens in hero positions */
.hero-split .shotframe { transform: perspective(1400px) rotateY(-4deg); transform-origin: left center; }
.hero-split .shotframe.tall .pic { max-height: 440px; }
.page-hero-window .shotframe { max-width: var(--container); margin: 0 auto; }
.page-hero-window.overlap { padding-top: 0; }
.rail-stage .shotframe.tall .pic { max-height: 600px; }
.grid-2 .shotframe .pic { aspect-ratio: 16/10; overflow: hidden; }
.grid-2 .shotframe .pic img { width: 100%; }
.page-hero[data-theme-section="light"] { background: linear-gradient(180deg,#F5F4F0 0%,#FCFCFA 100%); }
.page-hero-window[data-theme-section="light"] { background: #FCFCFA; }
.page-hero-window .shotframe.tall .pic { max-height: 640px; }

/* media redacted on the public site */
.redact { filter: blur(7px) saturate(.8); transform: scale(1.04); }
/* ── Graphics: one frame language shared by photo cards, graphic tiles and screen frames ── */
.graphic { background: #fff; border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 18px 44px rgba(20,20,30,.08); }
.graphic svg { display: block; width: 100%; height: auto; }
.graphic.wide { margin-top: 8px; }
.product .mini.glyph { padding: 0; min-height: 0; background: var(--surface-2); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.product .mini.glyph svg { width: 100%; height: 100%; }
.shotframe.detail .pic { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.shotframe.detail .pic img { position: absolute; max-width: none; height: auto; }
.module .pic img { filter: saturate(.75); transition: filter var(--d-ui) var(--e-out); }
.module:hover .pic img { filter: saturate(1); }
.photo-card, .hero-photo { filter: saturate(.6) contrast(1.04); }
@media (max-width: 720px) { .graphic.wide { overflow-x: auto; -webkit-overflow-scrolling: touch; } .graphic.wide svg { min-width: 900px; } }
.case .card-media img.redact, .case-featured img.redact { transform: scale(1.06); }
.team { grid-template-columns: 1fr 1fr; align-items: start; max-width: 900px; }
.person .role { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; margin: 2px 0 10px; }
.person p { font-size: 14px; line-height: 21px; }
.form select { width: 100%; height: 44px; border: 1px solid var(--hair-strong); border-radius: 10px; padding: 0 12px; font: inherit; background: var(--input-bg); color: var(--fg); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }
.page-hero-window .graphic { max-width: var(--container); margin: 0 auto; }
