/* Retail7 design system. Shared by the website (site/) and the trailer (trailer/). */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #06060b;
  --bg-2: #0c0c14;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5fa;
  --muted: #a0a0b8;
  --dim: #6c6c84;
  --violet: #7b61ff;
  --indigo: #4f46e5;
  --pink: #ff4fa3;
  --cyan: #46d9ff;
  --lime: #c9ff4f;
  --amber: #ffb547;
  --grad: linear-gradient(100deg, #8f7bff 0%, #c86bff 45%, #ff5fae 100%);
  --grad-soft: linear-gradient(135deg, rgba(123, 97, 255, 0.22), rgba(255, 79, 163, 0.12));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(123, 97, 255, 0.5); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.04em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.55; max-width: 640px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.mono { font-family: var(--mono); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 500; font-size: 15.5px; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: #0a0a12; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px -10px rgba(200, 107, 255, 0.7); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 14px 50px -8px rgba(200, 107, 255, 0.9); }
.btn-ghost { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo .seven { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.scrolled { background: rgba(6, 6, 11, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--muted); font-size: 15px; padding: 8px 10px; }
.nav-login:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--panel-2); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform .25s; }
.mobile-menu { display: none; }
@media (max-width: 920px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: block; position: fixed; inset: 72px 0 auto 0; background: rgba(8,8,14,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s ease; }
  .menu-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .site-header { background: rgba(8,8,14,.97); }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { width: 100%; margin-top: 16px; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- aurora background ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora::before { background: radial-gradient(circle, rgba(123, 97, 255, 0.55), transparent 62%); top: -38vmax; left: -12vmax; }
.aurora::after { background: radial-gradient(circle, rgba(255, 79, 163, 0.35), transparent 62%); top: -30vmax; right: -24vmax; animation-delay: -11s; }
@keyframes drift { to { transform: translate3d(6vmax, 5vmax, 0) scale(1.08); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .5;
}
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- hero ---------- */
.hero { padding: 150px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 26px; justify-items: center; text-align: center; max-width: 960px; margin: 0 auto; }
.hero-copy .lead { max-width: 680px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.rebrand-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--muted); }
.rebrand-pill b { font-weight: 500; color: #0a0a12; background: var(--lime); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }
.hero-stage { margin-top: 64px; position: relative; }
.page-hero { padding: 160px 0 40px; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; }

/* ---------- glass panels & UI pieces ---------- */
.glass { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(0,0,0,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.card { background: var(--panel); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; position: relative; overflow: hidden; }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--violet)); box-shadow: 0 0 10px var(--c, var(--violet)); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(201,255,79,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201,255,79,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(201,255,79,0); } }
.kbd { font-family: var(--mono); font-size: 12px; padding: 2px 7px; border-radius: 6px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }

/* the app window used in hero + sections */
.app { position: relative; border-radius: 22px; overflow: hidden; background: #0b0b13; box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 160px -40px rgba(123,97,255,.45), 0 40px 100px -30px rgba(0,0,0,.9); }
.app-bar { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.app-bar .dots { display: flex; gap: 7px; }
.app-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.app-bar .addr { margin: 0 auto; font-family: var(--mono); font-size: 12.5px; color: var(--dim); padding: 5px 14px; border-radius: 8px; background: rgba(255,255,255,.04); }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; }
.app-side { border-right: 1px solid var(--line); padding: 18px 14px; display: grid; align-content: start; gap: 4px; }
.app-side .logo { font-size: 16px; margin: 2px 6px 18px; }
.app-side .logo-mark { width: 24px; height: 24px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.side-item.on { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.side-item svg { width: 16px; height: 16px; opacity: .8; }
.app-main { padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; min-width: 0; }
@media (max-width: 640px) { .app-main { padding: 14px; } .app-title .chip { display: none; } .kpi .k-val { font-size: 20px; } }
.app-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-title h4 { font-size: 17px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.kpi .k-label { font-size: 12px; color: var(--dim); }
.kpi .k-val { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .k-delta { font-family: var(--mono); font-size: 11.5px; color: var(--lime); }
.panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.panel { padding: 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.panel h5 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; }
.chart svg { width: 100%; height: 150px; }
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr 44px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.bar-row .track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 99px; background: var(--c, var(--grad)); width: var(--w); transform-origin: left; }
.bar-row .v { text-align: right; font-family: var(--mono); font-size: 11.5px; color: var(--text); }

/* AI prompt bar */
.ai-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(123,97,255,.16), rgba(255,79,163,.08)); box-shadow: inset 0 0 0 1px rgba(160,140,255,.35); }
.ai-bar .spark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; flex: none; }
.ai-bar .spark svg { width: 15px; height: 15px; }
.ai-bar .q { font-size: 14.5px; min-height: 1.4em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--text); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-answer { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.ai-answer .row { display: flex; gap: 10px; align-items: center; }
.ai-answer .row:has(> span:last-child:empty) { visibility: hidden; }
.ai-answer .ok { width: 18px; height: 18px; border-radius: 6px; background: rgba(201,255,79,.15); color: var(--lime); display: grid; place-items: center; font-size: 11px; flex: none; }

/* floating cards around the hero app */
.float { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 16px; font-size: 13px; min-width: 200px; }
.float .f-label { color: var(--dim); font-size: 11.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.float .f-val { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }

@media (max-width: 980px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .panels { grid-template-columns: 1fr; }
  .float { display: none; }
}

/* ---------- logos ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 56px; }
.logos span { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: rgba(245,245,250,.42); transition: color .2s; }
.logos span:hover { color: var(--text); }
.logos .serif { font-family: Georgia, serif; font-style: italic; font-weight: 500; }
.logos .wide { letter-spacing: .12em; font-size: 17px; text-transform: uppercase; }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature { display: grid; gap: 12px; align-content: start; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(160,140,255,.3); margin-bottom: 6px; }
.feature .icon svg { width: 20px; height: 20px; }
.feature p { color: var(--muted); font-size: 15.5px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: rgba(201,255,79,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23c9ff4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks li b { color: var(--text); font-weight: 500; }

/* ---------- workflow steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { padding: 22px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; position: relative; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.step h4 { font-size: 20px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step::after { content: ""; position: absolute; right: -10px; top: 32px; width: 6px; height: 6px; border-top: 1.5px solid var(--dim); border-right: 1.5px solid var(--dim); transform: rotate(45deg); }
.step:last-child::after { display: none; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- module cards ---------- */
.module { display: grid; gap: 18px; padding: 30px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; position: relative; align-content: start; }
.module .tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.module h3 { font-size: 28px; }
.module p { color: var(--muted); font-size: 15.5px; }
.module .more { color: var(--text); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.module .more:hover .arrow { transform: translateX(3px); }
.module .arrow { transition: transform .2s; }
.module .viz { margin: 6px -30px -30px; height: 240px; position: relative; border-top: 1px solid var(--line); background: rgba(0,0,0,.25); overflow: hidden; }

/* ---------- AI chat ---------- */
.chat { display: grid; gap: 14px; padding: 22px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg.user { justify-self: end; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); border-bottom-right-radius: 6px; }
.msg.bot { background: linear-gradient(135deg, rgba(123,97,255,.18), rgba(255,79,163,.08)); box-shadow: inset 0 0 0 1px rgba(160,140,255,.28); border-bottom-left-radius: 6px; }
.msg .tool { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--lime); margin-bottom: 6px; }
.msg.hidden { opacity: 0; transform: translateY(8px); }
.msg { transition: opacity .5s ease, transform .5s ease; }
.mini-card { margin-top: 10px; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; font-size: 13px; }
.mini-card .r { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.mini-card .r b { color: var(--text); font-weight: 500; font-family: var(--mono); font-size: 12.5px; }
.ai-tools { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- personalization demo ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.promo { position: relative; border-radius: 18px; overflow: hidden; min-height: 300px; display: grid; align-content: end; padding: 26px; transition: background .6s ease; }
.promo .p-title { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; position: relative; z-index: 2; }
.promo .p-sub { color: rgba(255,255,255,.8); position: relative; z-index: 2; font-size: 15px; }
.promo .p-cta { margin-top: 14px; justify-self: start; position: relative; z-index: 2; }
.promo .weather { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.promo .weather .t { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.promo .weather .c { font-size: 12px; color: rgba(255,255,255,.75); }
.promo .art { position: absolute; inset: 0; z-index: 1; }
.promo[data-mode="sun"] { background: radial-gradient(circle at 78% 22%, #ffd66b 0 9%, transparent 30%), linear-gradient(160deg, #ff8a4c, #ff4f8b 55%, #7b3cff); }
.promo[data-mode="rain"] { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.25), transparent 40%), linear-gradient(160deg, #2b5876, #3a3f8f 55%, #1b1d3a); }
.promo[data-mode="snow"] { background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.55), transparent 40%), linear-gradient(160deg, #9fc6ff, #5d7bd6 55%, #2a2f6b); }

/* ---------- catalog auto replace ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product { border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; display: grid; gap: 8px; position: relative; transition: box-shadow .4s ease; }
.product .ph { aspect-ratio: 1; border-radius: 10px; background: var(--ph, var(--grad-soft)); display: grid; place-items: center; overflow: hidden; }
.product .ph svg { width: 46%; height: 46%; }
.product .name { font-size: 13px; }
.product .price { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.product .badge { position: absolute; top: 18px; left: 18px; font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; }
.badge.out { background: rgba(255, 79, 120, .9); color: #fff; }
.badge.swap { background: var(--lime); color: #0a0a12; }
.product.replaced { box-shadow: inset 0 0 0 1.5px var(--lime), 0 0 30px -6px rgba(201,255,79,.35); }

/* ---------- case / stats ---------- */
.stat { display: grid; gap: 6px; }
.stat .big { font-size: clamp(56px, 8vw, 112px); font-weight: 600; letter-spacing: -0.06em; line-height: .95; }
.quote { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -0.02em; }
.who { display: flex; gap: 14px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; background: var(--grad); color: #fff; flex: none; }

/* ---------- integrations ---------- */
.integrations { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.int { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.int .glyph { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex: none; background: var(--c, #333); }
.int-card { display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); align-content: start; }
.int-card .top { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.int-card .cat { font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.int-card p { color: var(--muted); font-size: 14.5px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { border: 0; cursor: pointer; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; }
.filter button[aria-pressed="true"] { background: var(--text); color: #0a0a12; }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { padding: 30px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; }
.plan.hot { background: linear-gradient(180deg, rgba(123,97,255,.16), rgba(255,79,163,.05)); box-shadow: inset 0 0 0 1px rgba(160,140,255,.45); }
.plan .p-name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; }
.plan .p-price { font-size: 15px; color: var(--muted); }
.plan dl { margin: 0; display: grid; gap: 0; }
.plan dl div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan dt { color: var(--muted); }
.plan dd { margin: 0; font-weight: 500; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

/* ---------- film ---------- */
.film { position: relative; border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 140px -40px rgba(123,97,255,.5); background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.05)); }
.film .play span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); box-shadow: 0 20px 60px -10px rgba(200,107,255,.8); transition: transform .2s; }
.film .play:hover span { transform: scale(1.06); }
.film.playing .play { display: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px); text-align: center; display: grid; gap: 22px; justify-items: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,97,255,.4), transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(255,79,163,.25), transparent 55%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255,255,255,.04); border: 0; border-radius: 12px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .2s; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 4px rgba(123,97,255,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.form-ok { display: none; padding: 18px; border-radius: 14px; background: rgba(201,255,79,.08); box-shadow: inset 0 0 0 1px rgba(201,255,79,.35); }
.form.sent .form-ok { display: block; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h6 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--dim); font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.foot a, .foot p { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* prose (privacy) */
.prose { max-width: 760px; display: grid; gap: 18px; color: var(--muted); }
.prose h2 { font-size: 28px; color: var(--text); margin-top: 22px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.hero-title { background: linear-gradient(180deg, #ffffff 30%, #c9bfff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chart .draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s .6s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.flow path { stroke-dasharray: 3 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }

/* ---------- subpages ---------- */
.page-hero h1 { font-size: clamp(40px, 6.2vw, 82px); max-width: 1000px; }
.page-hero .lead { max-width: 700px; }
.page-hero .hero-ctas { justify-content: flex-start; }
.page-stage { margin-top: 36px; position: relative; }
.stage-2 { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.stage-2 > * { min-width: 0; }
@media (max-width: 980px) { .stage-2 { grid-template-columns: 1fr; } }
.app-pad { padding: 22px; display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (max-width: 640px) { .app-pad { padding: 16px; } .app-bar .addr { font-size: 11.5px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } }
.split.top { align-items: start; }
.stack { display: grid; gap: 22px; align-content: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* tables in mockups */
.tbl { display: grid; font-size: 13.5px; }
.tbl-r { display: grid; grid-template-columns: var(--cols, 1.6fr 1fr 1.6fr .7fr .8fr); gap: 14px; align-items: center; padding: 11px 2px; border-top: 1px solid var(--line); color: var(--muted); min-width: 0; }
.tbl-r > * { min-width: 0; }
.tbl-r.h { border-top: 0; padding-top: 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.tbl-r .num { font-family: var(--mono); font-size: 12.5px; color: var(--text); text-align: right; }
.tbl-r.h .num { color: var(--dim); font-size: 11px; }
.sup { display: flex; gap: 10px; align-items: center; color: var(--text); min-width: 0; }
.sup > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: var(--c, var(--violet)); flex: none; }
.meter { display: flex; align-items: center; gap: 10px; min-width: 0; }
.meter .track { flex: 1; min-width: 24px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.meter .fill { height: 100%; width: var(--w); border-radius: 99px; background: var(--c, var(--grad)); }
.meter .v { font-family: var(--mono); font-size: 11.5px; color: var(--text); min-width: 34px; text-align: right; }
.st { justify-self: start; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(201,255,79,.12); color: var(--lime); white-space: nowrap; }
.st.warn { background: rgba(255,181,71,.14); color: var(--amber); }
.st.info { background: rgba(70,217,255,.12); color: var(--cyan); }
@media (max-width: 640px) {
  .tbl .hide-sm { display: none; }
  .tbl-r { grid-template-columns: var(--cols-sm, 1.3fr 1.4fr .8fr); gap: 10px; font-size: 12.5px; }
}

/* option rows, toggles, links */
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; min-width: 0; }
.opt .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(160,140,255,.3); flex: none; }
.opt .ic svg { width: 16px; height: 16px; }
.opt .t { flex: 1; min-width: 0; }
.opt .t small { display: block; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toggle { width: 34px; height: 20px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.toggle.on { background: var(--lime); }
.toggle.on::after { left: 17px; background: #0a0a12; }
.linkbox { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted); min-width: 0; }
.linkbox span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }

/* before / after */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.versus .to { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 20px; }
@media (max-width: 860px) { .versus { grid-template-columns: 1fr; } .versus .to { transform: rotate(90deg); justify-self: center; } }
.files { display: grid; gap: 8px; }
.file { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--dim); min-width: 0; }
.file > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.file i { width: 16px; height: 20px; border-radius: 3px; background: var(--c, #2e7d4f); opacity: .75; flex: none; }
.file:nth-child(2) { transform: rotate(-1deg); } .file:nth-child(4) { transform: rotate(1.2deg); }

/* channel tiles */
.chan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.chan-grid .int { justify-content: space-between; font-size: 14px; }
.chan-grid .int > span:first-child { display: flex; align-items: center; gap: 10px; }
.chan-grid .glyph { width: 28px; height: 28px; font-size: 12px; }

/* catalog */
.products.p4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .products.p4 { grid-template-columns: repeat(2, 1fr); } }
.cover { position: relative; border-radius: 14px; min-height: 170px; padding: 20px; display: grid; align-content: end; gap: 4px; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(255,214,107,.55), transparent 35%), linear-gradient(140deg, #5b3fa8, #c86bff 60%, #ff5fae); }
.cover b { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; position: relative; }
.cover span { font-size: 13.5px; color: rgba(255,255,255,.85); position: relative; }
.cover svg { position: absolute; right: 18px; bottom: 0; height: 90%; width: auto; opacity: .9; }
.diff { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.diff s { color: var(--dim); }
.diff b { color: var(--lime); font-weight: 500; }

/* display shop mockup */
.shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shop > * { min-width: 0; }
.slot { position: relative; border-radius: 14px; padding: 16px; display: grid; align-content: end; gap: 2px; overflow: hidden; }
.slot b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.slot span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.slot.hero-slot { grid-column: 1 / -1; min-height: 150px; background: radial-gradient(circle at 85% 30%, rgba(255,255,255,.25), transparent 35%), linear-gradient(120deg, #7b61ff, #ff5fae); }
.slot.hero-slot b { font-size: clamp(20px, 2.4vw, 26px); }
.slot.banner-slot { grid-column: span 2; background: linear-gradient(140deg, #173040, #2f7fa8); }
.slot-tag { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.4); color: #fff; letter-spacing: .04em; }
.badge.spon { background: var(--grad); color: #fff; }
.product.boost { box-shadow: inset 0 0 0 1.5px var(--lime); }
@media (max-width: 640px) { .shop { grid-template-columns: repeat(2, 1fr); } .shop .product.extra { display: none; } }
.fmt-viz { height: 150px; border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 8px; }
.fmt-viz .b { border-radius: 8px; background: rgba(255,255,255,.06); }
.fmt-viz .b.on { background: var(--grad); }
.fmt-viz .b.lime { box-shadow: inset 0 0 0 1.5px var(--lime); }
.seg-q { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); }
.seg-q .chip { color: var(--text); }
.aud-card { border-radius: 16px; padding: 20px; min-height: 150px; display: grid; align-content: end; gap: 4px; background: var(--c); }
.aud-card b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.aud-card span { font-size: 14px; color: rgba(255,255,255,.85); }
.tabs.wrap-tabs { flex-wrap: wrap; }
.editor { display: grid; grid-template-columns: 170px 1fr; min-height: 340px; }
.editor .ed-side { border-right: 1px solid var(--line); padding: 16px; display: grid; gap: 6px; align-content: start; }
.editor .ed-side button { text-align: left; border: 0; cursor: pointer; background: transparent; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.editor .ed-side button[aria-selected="true"] { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.editor .ed-main { padding: 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.preview { border-radius: 14px; min-height: 190px; position: relative; overflow: hidden; display: grid; align-content: end; padding: 18px; gap: 4px; }
.preview b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.preview span { font-size: 13px; color: rgba(255,255,255,.85); }
.preview .play-i { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.preview .prog { height: 4px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; margin-top: 10px; }
.preview .prog i { display: block; height: 100%; width: 38%; background: #fff; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) {
  .editor { grid-template-columns: 1fr; }
  .editor .ed-side { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
}

/* three-step rows */
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .steps.s3 { grid-template-columns: 1fr; } }
.steps.s3 .step { padding: 28px; }
.steps.s3 .step p { font-size: 15.5px; }

/* plans */
.plan .p-tag { font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: var(--lime); color: #0a0a12; letter-spacing: .04em; text-transform: uppercase; }
.plan .ticks { font-size: 15px; }
.plan .btn { width: 100%; }
.incl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* contact */
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.form .consent { font-size: 13.5px; color: var(--dim); }
.form .consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { justify-self: start; }
.office { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.office a:hover { color: var(--text); }

/* privacy */
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.prose li b, .prose strong { color: var(--text); font-weight: 500; }
.prose address { font-style: normal; color: var(--text); }
[data-pane][hidden] { display: none !important; }
.page-hero .split > * { min-width: 0; }
#int-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 640px) { .tbl .sw { display: none; } .tbl-r { grid-template-columns: var(--cols-sm, 1.4fr 1.3fr .6fr); } }
