:root {
  --paper: #FFFFFF;
  --paper-2: #FAFAFA;
  --surface: #FFFFFF;
  --ink: #0A0A0B;
  --ink-2: #2A2A2D;
  --ink-3: #6A6A70;
  --ink-4: #A0A0A8;
  --hairline: #ECECEE;
  --hairline-strong: #D8D8DC;
  --deep: #0A0A0B;
  --deep-2: #131316;
  --deep-3: #1E1E22;
  --ember: oklch(0.66 0.16 264);
  --ember-soft: oklch(0.96 0.03 260);
  --cyan: #9FE2FF;
  --cyan-2: #BEEAFF;
  --cyan-ink: #0C2A3A;
  --grad-soft: radial-gradient(120% 80% at 50% 0%, #F4F3FF 0%, #FFFFFF 55%, #FFFFFF 100%);
  --grad-card: linear-gradient(180deg, #FBFAFF 0%, #FFFFFF 60%);
  --grad-card-2: linear-gradient(180deg, #FCFBFE 0%, #FFFFFF 100%);
  --grad-hero: radial-gradient(60% 50% at 50% 0%, #EDEBFF 0%, rgba(255,255,255,0) 70%),
               radial-gradient(40% 40% at 80% 20%, #FFEDF2 0%, rgba(255,255,255,0) 60%),
               radial-gradient(40% 40% at 15% 30%, #E9F1FF 0%, rgba(255,255,255,0) 65%);
  --grad-page:
    radial-gradient(60% 45% at 20% 15%, #CFE2FF 0%, rgba(255,255,255,0) 60%),
    radial-gradient(55% 45% at 85% 25%, #E8D6FF 0%, rgba(255,255,255,0) 60%),
    radial-gradient(70% 50% at 50% 55%, #F4D7EA 0%, rgba(255,255,255,0) 65%),
    radial-gradient(55% 45% at 15% 80%, #D9E9FF 0%, rgba(255,255,255,0) 60%),
    radial-gradient(60% 40% at 90% 85%, #BFE3F4 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #DCE3F5 0%, #E6DEF1 40%, #E8D8EA 70%, #D7E5F0 100%);
  --max: 1280px;
  --pad: 32px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--grad-page) fixed;
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
}
body[style] { background: var(--grad-page) fixed !important; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.serif { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 500; letter-spacing: -0.025em; }
.accent { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; font-style: normal; letter-spacing: -0.025em; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.mono { font-family: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; }
.eyebrow { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; width: auto; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.22); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; }
.section-head { align-items: flex-start; }
.section-head .eyebrow { align-self: flex-start; }
.ss-screen-head .eyebrow, .hero .eyebrow { align-self: center; }
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ember); display: inline-block; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember) 18%, transparent); }
.eyebrow .num { color: var(--ink-4); }

h1, h2, h3, h4 { margin: 0; font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; }
h1, h2 { font-weight: 400; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; color: #1A1A1F; background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; }
h2 .accent { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; font-style: normal; color: #6A6A75; -webkit-text-fill-color: #6A6A75; }
h3 { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.02em; line-height: 1.3; font-weight: 500; }
p { margin: 0; }
.lede { font-size: clamp(14px, 1vw, 15.5px); color: var(--ink-3); line-height: 1.55; max-width: 54ch; font-weight: 400; }
.muted { color: var(--ink-3); }

/* Hairlines */
.hr { height: 1px; background: rgba(20,20,30,0.08); width: 100%; }
.vr { width: 1px; background: rgba(20,20,30,0.08); align-self: stretch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s ease; white-space: nowrap; }
.btn-primary { background: linear-gradient(180deg, #BFEBFF 0%, #8FD5F4 100%); color: var(--cyan-ink); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 10px 24px -10px rgba(120, 180, 230, 0.5), 0 1px 0 rgba(0,0,0,0.03); }
.btn-primary:hover { background: linear-gradient(180deg, #CFF0FF 0%, #9FDDF7 100%); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 30px -10px rgba(120, 180, 230, 0.6), 0 1px 0 rgba(0,0,0,0.03); }
.btn-ink { background: var(--ink); color: #F6F4EE; }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: #000; }
.btn-outline { border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.2); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; }
.btn-outline:hover { background: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.7); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }

.kbd { font-family: "Geist Mono", monospace; font-size: 11px; padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,.06); color: var(--ink-2); border: 1px solid var(--hairline); }

/* Chat input */
/* Chat bar — glass-shine outline (static gradient on the border, sliding highlight) */
.chatbar-wrap { position: relative; border-radius: 24px; padding: 1px; isolation: isolate; background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.25) 30%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0.55) 100%); overflow: hidden; }
.chatbar-wrap::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.9) 48%, rgba(255,255,255,0.6) 52%, transparent 75%); background-size: 250% 100%; background-position: 200% 0; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: glass-shine 6s ease-in-out infinite; pointer-events: none; z-index: 1; }
.chatbar-wrap::after { content: ""; position: absolute; inset: -24px; border-radius: 40px; background: radial-gradient(60% 80% at 50% 50%, rgba(120,110,255,0.10), rgba(255,200,210,0.05) 50%, transparent 75%); filter: blur(10px); z-index: -1; pointer-events: none; }
@keyframes glass-shine { 0%, 100% { background-position: 200% 0; } 50% { background-position: -100% 0; } }
.chatbar { background: rgba(255,255,255,0.18); backdrop-filter: blur(32px) saturate(180%); -webkit-backdrop-filter: blur(32px) saturate(180%); border: 1px solid rgba(255,255,255,0.5); border-radius: 24px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 0 rgba(0,0,0,0.02), 0 24px 60px -25px rgba(80,90,160,0.18), 0 60px 120px -50px rgba(80,90,160,0.14); transition: box-shadow .25s ease, background .25s ease; text-align: left; position: relative; z-index: 2; }
.chatbar:focus-within { background: rgba(255,255,255,0.28); box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 0 rgba(0,0,0,0.02), 0 30px 70px -25px rgba(80,90,160,0.24), 0 80px 140px -50px rgba(80,90,160,0.18); }
.chatbar textarea { width: 100%; border: 0; outline: 0; resize: none; font: inherit; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.5; min-height: 56px; padding: 4px 4px 0; letter-spacing: -0.005em; }
.chatbar textarea::placeholder { color: var(--ink-4); }
.chatbar .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); color: var(--ink-2); background: rgba(255,255,255,0.2); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); transition: all .15s ease; display: inline-flex; align-items: center; gap: 7px; }
.chip::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(20,20,30,0.25); display: inline-block; }
.chip:hover { background: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.7); color: var(--ink); }
.send { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #BFEBFF 0%, #8FD5F4 100%); color: var(--cyan-ink); border: 1px solid rgba(255,255,255,0.7); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 6px 14px -4px rgba(120, 180, 230, 0.5); }
.send:hover { transform: translate(2px,-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 10px 18px -4px rgba(120, 180, 230, 0.6); }
.send.disabled { background: rgba(255,255,255,0.5); color: var(--ink-4); cursor: not-allowed; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 1px 4px rgba(0,0,0,0.04); }

/* Nav — floating glass pill */
.nav { position: sticky; top: 16px; z-index: 50; padding: 0 20px; transition: top .25s ease; pointer-events: none; }
.nav.scrolled { top: 10px; }
.nav .wrap { padding: 0; pointer-events: auto; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; padding: 8px 14px 8px 28px; background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 0 rgba(0,0,0,0.03), 0 18px 36px -18px rgba(60, 70, 130, 0.18), 0 30px 60px -30px rgba(60, 70, 130, 0.16); }
.nav.scrolled .nav-inner { background: rgba(255,255,255,0.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; padding: 0 12px 0 4px; }
.brand-mark { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); padding: 0 24px; }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 6px; align-items: center; padding-right: 4px; }
.nav-actions .btn { height: 44px; padding: 0 20px; font-size: 13.5px; }
.nav-actions .nav-link { padding: 0 16px; height: 40px; display: inline-flex; align-items: center; font-size: 13.5px; color: var(--ink); transition: color .15s ease; }
.nav-actions .nav-link:hover { color: #000; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 760px) { .nav-inner { height: 56px; padding: 6px 10px 6px 20px; gap: 10px; } .nav-actions .btn { height: 40px; padding: 0 16px; } .nav-actions .nav-link { padding: 0 12px; } }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 120px; text-align: center; position: relative; overflow: visible; }
.hero-glow { display: none; }
.hero-bg { display: none; }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 400; max-width: 22ch; text-align: center; color: #1A1A1F; background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; }
.hero h1 .accent { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; font-style: normal; color: #6A6A75; -webkit-text-fill-color: #6A6A75; }
.hero h1 .lead { display: block; font-family: "Geist Mono", monospace; font-size: 10.5px; font-weight: 500; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.hero-sub { font-family: "Geist", sans-serif; font-size: clamp(14px, 1vw, 15.5px); color: var(--ink-3); max-width: 50ch; line-height: 1.55; margin: 22px auto 0; text-align: center; font-weight: 400; }
.hero-cta { margin: 32px auto 0; max-width: 720px; width: 100%; }
.hero-foot { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 18px; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }

/* Marquee logos */
.logos { display: flex; gap: 10px; align-items: center; justify-content: center; opacity: 0.95; font-size: 14px; color: var(--ink-3); padding-top: 56px; flex-wrap: wrap; max-width: 980px; margin: 0 auto; }
.logos .logo-label { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); width: 100%; text-align: center; margin-bottom: 6px; }
.logo-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; font-size: 12.5px; padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.2); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 1px 2px rgba(60,70,130,0.04); }
.logo-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(20,20,30,0.25); display: inline-block; }
.logo-pill .mk { width: 14px; height: 14px; }

/* Demo */
.demo-shell { position: relative; padding: 80px 0; isolation: isolate; }
.demo-shell::before { display: none; }
.demo-window { background: rgba(255,255,255,0.2); backdrop-filter: blur(32px) saturate(180%); -webkit-backdrop-filter: blur(32px) saturate(180%); border: 1px solid rgba(255,255,255,0.5); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 0 rgba(0,0,0,0.04), 0 40px 100px -40px rgba(80,90,160,0.25); position: relative; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.12); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(20,20,30,0.12); }
.demo-url { flex: 1; text-align: center; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.demo-url .pad { background: rgba(255,255,255,0.18); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); border-radius: 999px; padding: 4px 12px; border: 1px solid rgba(255,255,255,0.4); }

.demo-body { display: grid; grid-template-columns: 360px 1fr; min-height: 560px; }
@media (max-width: 920px) { .demo-body { grid-template-columns: 1fr; } }
.demo-chat { border-right: 1px solid rgba(255,255,255,0.3); padding: 20px; display: flex; flex-direction: column; gap: 16px; background: rgba(255,255,255,0.1); }
.demo-stage { background:
  radial-gradient(80% 60% at 20% 0%, rgba(150,140,255,0.08), transparent 60%),
  radial-gradient(80% 60% at 100% 100%, rgba(255,170,200,0.06), transparent 60%),
  rgba(255,255,255,0.08);
  padding: 28px; position: relative; overflow: hidden; }
.demo-stage::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(to right, rgba(10,10,15,0.025) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(10,10,15,0.025) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 80%); pointer-events: none; }

/* Chat messages */
.msg { font-size: 14px; line-height: 1.55; text-align: left; }
.msg .who { font-family: "Geist Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-4); margin-bottom: 6px; }
.msg.user .bubble { background: var(--ink); color: var(--paper); padding: 10px 12px; border-radius: 12px 12px 4px 12px; display: inline-block; max-width: 90%; }
.msg.ai .bubble { color: var(--ink-2); }
.msg .stream { display: inline; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { background: transparent; } }

.thinking { display: inline-flex; gap: 4px; align-items: center; color: var(--ink-3); font-size: 12px; }
.thinking .dot { width: 5px; height: 5px; background: var(--ink-3); border-radius: 50%; animation: bounce 1.2s infinite ease-in-out; }
.thinking .dot:nth-child(2) { animation-delay: .15s; }
.thinking .dot:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,80%,100% { transform: translateY(0); opacity:.4 } 40% { transform: translateY(-3px); opacity:1 } }

/* Build log inside chat */
.log { border: 1px solid rgba(255,255,255,0.4); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,0.18); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 20px -12px rgba(80,90,160,0.18); font-family: "Geist Mono", monospace; font-size: 11.5px; line-height: 1.65; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.log .ln { display: flex; gap: 8px; align-items: baseline; }
.log .tick { color: var(--ember); font-size: 12px; line-height: 1; }
.log .pend { color: var(--ink-4); }
.log .lbl { color: var(--ink-3); }
.log .val { color: var(--ink); }
.log .ts { color: var(--ink-4); margin-left: auto; font-size: 10px; }

/* Storefront preview — glassmorphic */
.sf-frame { background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 18px; padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 22px; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 30px 60px -30px rgba(80,90,160,0.22); position: relative; z-index: 1; }
.sf-frame.show { opacity: 1; transform: none; }
.sf-nav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.sf-logo { font-family: "Geist", sans-serif; font-weight: 500; font-size: 18px; letter-spacing: -0.025em; }
.sf-nav .links { display: flex; gap: 18px; font-size: 12px; color: var(--ink-3); }
.sf-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 600px) { .sf-hero { grid-template-columns: 1fr; } }
.sf-h1 { font-family: "Geist", sans-serif; font-weight: 500; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.02; letter-spacing: -0.035em; }
.sf-h1 .blk { font-family: "Geist"; font-style: normal; font-weight: 500; }
.sf-sub { font-size: 12px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; max-width: 36ch; }
.sf-row { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.sf-pill { font-size: 11px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.2); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); color: var(--ink-2); }
.sf-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: linear-gradient(180deg, #BFEBFF 0%, #8FD5F4 100%); color: var(--cyan-ink); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 6px 14px -4px rgba(120,180,230,0.4); border-radius: 999px; font-size: 12px; font-weight: 500; }
.sf-img { background: rgba(255,255,255,0.18); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 10px 22px -14px rgba(80,90,160,0.18); border-radius: 14px; min-height: 160px; position: relative; overflow: hidden; }
.sf-img::after { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.14) 14px 15px); pointer-events: none;
}
.sf-img .tag { position: absolute; left: 10px; top: 10px; font-family: "Geist Mono", monospace; font-size: 10px; color: var(--ink-2); background: rgba(255,255,255,0.45); padding: 3px 7px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.5); z-index: 1; }
.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .sf-grid { grid-template-columns: repeat(2, 1fr); } }
.sf-prod { border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.18); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 16px -10px rgba(80,90,160,0.15); }
.sf-prod .ph { aspect-ratio: 1; background: rgba(255,255,255,0.14); position: relative; }
.sf-prod .ph::after { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.16) 12px 13px); pointer-events: none;
}
.sf-prod .ph.v2 { background: rgba(255,255,255,0.12); }
.sf-prod .ph.v3 { background: rgba(255,255,255,0.16); }
.sf-prod .meta { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.sf-prod .name { color: var(--ink); font-weight: 500; }
.sf-prod .price { color: var(--ink-3); font-family: "Geist Mono", monospace; font-size: 10px; }

/* High-fidelity storefront — Hoshino Matcha */
.sf-frame:has(.sf-nav-hi) { background:
  radial-gradient(60% 40% at 20% 0%, rgba(244, 240, 224, 0.65), transparent 70%),
  radial-gradient(50% 40% at 100% 100%, rgba(220, 232, 200, 0.55), transparent 70%),
  rgba(252, 250, 244, 0.92);
  border: 1px solid rgba(120, 130, 95, 0.18);
  padding: 22px 24px 26px; gap: 18px;
}
.sf-nav-hi { padding-bottom: 14px; border-bottom: 1px solid rgba(90, 100, 75, 0.14); }
.sf-logo-hi { display: inline-flex; align-items: center; gap: 10px; font-family: "Geist", sans-serif; font-weight: 500; letter-spacing: -0.02em; color: #2C3A28; font-size: 16px; }
.sf-mark { width: 28px; height: 28px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #5A6A4F 0%, #2F3B27 100%); color: #F4F0DC; font-family: "Noto Serif JP", "Geist", serif; font-weight: 500; font-size: 14px; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 4px 10px -4px rgba(50,60,40,0.4); }
.sf-links-hi { display: flex; gap: 18px; font-size: 11.5px; color: rgba(60, 70, 50, 0.7); align-items: center; letter-spacing: -0.005em; }
.sf-links-hi .sf-cart { padding: 5px 10px; border-radius: 999px; background: rgba(90, 100, 75, 0.08); color: #3A4530; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.06em; }
.sf-hero-hi { grid-template-columns: 1.05fr 1fr; gap: 22px; }
.sf-hero-copy { display: flex; flex-direction: column; justify-content: center; }
.sf-eyebrow-hi { font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #6B7A55; margin-bottom: 12px; }
.sf-h1-hi { color: #1F2A1A; font-family: "Geist", sans-serif; font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(24px, 3.2vw, 36px); }
.sf-h1-italic { font-style: italic; font-family: "Geist", serif; color: #6B7A55; font-weight: 300; }
.sf-sub-hi { color: rgba(50, 60, 40, 0.75); font-size: 11.5px; line-height: 1.55; max-width: 34ch; margin-top: 12px; }
.sf-row { gap: 8px; }
.sf-cta-hi { background: linear-gradient(180deg, #4B5B3E 0%, #2F3B27 100%); color: #F4F0DC; border: 1px solid rgba(40, 50, 30, 0.4); font-family: "Geist", sans-serif; font-weight: 500; padding: 9px 14px; font-size: 11.5px; box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 6px 14px -4px rgba(40,50,30,0.4); }
.sf-pill-hi { background: rgba(255,255,255,0.65); border: 1px solid rgba(120, 130, 95, 0.18); color: #3A4530; font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.06em; padding: 4px 9px; }
.sf-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 10.5px; color: rgba(60, 70, 50, 0.65); font-family: "Geist Mono", monospace; letter-spacing: 0.04em; }
.sf-trust-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(60, 70, 50, 0.4); }

.sf-img-hi { background: linear-gradient(135deg, #E8E2C8 0%, #C9C39A 45%, #8F9A75 100%); border: 1px solid rgba(90, 100, 75, 0.22); min-height: 200px; box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 12px 28px -16px rgba(60, 70, 40, 0.4); display: flex; align-items: center; justify-content: center; position: relative; }
.sf-img-hi::after { background:
  repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.06) 22px 23px),
  radial-gradient(80% 60% at 50% 0%, rgba(255, 248, 220, 0.25), transparent 70%); }
.sf-tin { width: 56%; aspect-ratio: 0.78; background: linear-gradient(180deg, #3A4530 0%, #1F2A1A 100%); border-radius: 8px 8px 4px 4px; position: relative; box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 14px 28px -10px rgba(20,30,15,0.55), 0 2px 0 rgba(0,0,0,0.18); display: flex; align-items: center; justify-content: center; z-index: 2; }
.sf-tin::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14%; background: linear-gradient(180deg, #4F5C42 0%, #2A3322 100%); border-radius: 8px 8px 0 0; border-bottom: 1px solid rgba(0,0,0,0.25); }
.sf-tin::after { content: ""; position: absolute; left: 6%; right: 6%; top: 16%; bottom: 6%; border-radius: 4px; border: 1px solid rgba(244, 240, 220, 0.15); pointer-events: none; }
.sf-tin-label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 14%; text-align: center; }
.sf-tin-kanji { font-family: "Noto Serif JP", "Geist", serif; font-size: 30px; color: #F4F0DC; letter-spacing: 0.05em; line-height: 1; }
.sf-tin-mark { font-family: "Geist Mono", monospace; font-size: 8px; letter-spacing: 0.22em; color: rgba(244, 240, 220, 0.78); }
.sf-tin-rule { width: 26px; height: 1px; background: rgba(244, 240, 220, 0.45); margin: 2px 0; }
.sf-tin-grade { font-family: "Geist Mono", monospace; font-size: 7.5px; letter-spacing: 0.2em; color: rgba(244, 240, 220, 0.65); }
.sf-leaves { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(8px 14px at 12% 78%, rgba(90, 110, 60, 0.7), transparent 70%),
  radial-gradient(10px 18px at 88% 22%, rgba(90, 110, 60, 0.55), transparent 70%),
  radial-gradient(6px 12px at 78% 86%, rgba(90, 110, 60, 0.5), transparent 70%); }
.sf-tag-hi { background: rgba(31, 42, 26, 0.75); color: #F4F0DC; border-color: rgba(244, 240, 220, 0.25); backdrop-filter: blur(6px); }

.sf-grid-hi { gap: 10px; margin-top: 4px; }
.sf-prod-hi { border: 1px solid rgba(120, 130, 95, 0.18); background: rgba(255,255,255,0.55); border-radius: 12px; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 12px -8px rgba(60,70,40,0.18); }
.sf-prod-hi .ph { aspect-ratio: 1.05; position: relative; overflow: hidden; }
.sf-prod-hi .ph::after { background:
  repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.10) 16px 17px); }
.sf-ph-1 { background: linear-gradient(135deg, #DDD9BE 0%, #B3B58A 100%); }
.sf-ph-2 { background: linear-gradient(135deg, #C9C39A 0%, #7E8A65 100%); }
.sf-ph-3 { background: linear-gradient(135deg, #EDE7CA 0%, #C2B98C 100%); }
.sf-prod-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: "Noto Serif JP", "Geist", serif; font-size: 38px; color: rgba(31, 42, 26, 0.32); line-height: 1; }
.sf-badge { position: absolute; left: 8px; top: 8px; font-family: "Geist Mono", monospace; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: rgba(31, 42, 26, 0.85); color: #F4F0DC; z-index: 1; }
.sf-badge-gift { background: rgba(184, 90, 47, 0.85); }
.sf-badge-new { background: rgba(244, 240, 220, 0.85); color: #2F3B27; }
.sf-meta-hi { padding: 10px 12px 12px; gap: 4px; }
.sf-meta-hi .name { color: #1F2A1A; font-size: 11px; font-weight: 500; letter-spacing: -0.01em; }
.sf-prod-desc { font-size: 9.5px; color: rgba(60, 70, 50, 0.7); line-height: 1.4; font-weight: 400; }
.sf-price-hi { color: #2F3B27 !important; font-family: "Geist", sans-serif !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: -0.01em; margin-top: 2px; }
.sf-per { font-family: "Geist Mono", monospace; font-size: 9px; color: rgba(60, 70, 50, 0.6); margin-left: 3px; font-weight: 400; }

/* Stage step toggles - the right side cycles different "outputs" */
.stage-step { position: absolute; inset: 24px; opacity: 0; transition: opacity .5s ease; }
.stage-step.active { opacity: 1; }
.stage-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--ink-4); font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; height: 100%; }
.stage-empty .ring { width: 28px; height: 28px; border: 1.5px solid var(--hairline-strong); border-top-color: var(--ink-3); border-radius: 50%; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Operate section — terminal-y log + chat */
.operate-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 920px) { .operate-grid { grid-template-columns: 1fr; } }
.panel { background: rgba(255,255,255,0.2); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 20px; padding: 22px; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 1px 0 rgba(0,0,0,0.02), 0 24px 50px -25px rgba(80,90,160,0.18); }
.panel .head { display: flex; align-items: center; justify-content: space-between; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--hairline); margin-bottom: 14px; }
.panel .head .badge { display: inline-flex; align-items: center; gap: 6px; }
.panel .head .badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 var(--ember); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(217, 119, 87, 0); } }

.op-list { display: flex; flex-direction: column; gap: 0; }
.op-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px dashed var(--hairline); }
.op-item:last-child { border-bottom: 0; }
.op-time { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--ink-4); padding-top: 2px; }
.op-title { font-size: 14px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.op-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.op-status { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--ember); display: inline-flex; align-items: center; gap: 6px; padding-top: 2px; }
.op-status.done { color: var(--ink-3); }
.op-status .ck { width: 14px; height: 14px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; }

.op-chat { display: flex; flex-direction: column; gap: 14px; }
.op-msg { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.op-msg .av { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; font-family: "Geist Mono", monospace; font-size: 10px; }
.op-msg.user .av { background: var(--ink); color: var(--paper); }
.op-msg.ai .av { background: var(--ember-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ember) 30%, transparent); }
.op-msg .body { color: var(--ink-2); }
.op-msg.user .body { color: var(--ink); font-weight: 500; }

/* Generated grid (4 glass cards under the demo) */
.generated-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 880px) { .generated-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .generated-grid { grid-template-columns: 1fr; } }
.gen-card { position: relative; background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 18px; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 18px; min-height: 148px; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 12px 28px -18px rgba(80,90,160,0.18); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.gen-card::after { content: ""; position: absolute; inset: -40% -30% auto auto; width: 160px; height: 160px; background: radial-gradient(circle at center, rgba(143,213,244,0.22), transparent 70%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.gen-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.32); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 38px -18px rgba(80,90,160,0.25); }
.gen-card:hover::after { opacity: 1; }
.gen-card-top { display: flex; align-items: center; justify-content: space-between; }
.gen-tag { display: inline-flex; align-items: center; gap: 7px; font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); padding: 4px 10px 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.16); }
.gen-tag-dot { width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(135deg, #BFEBFF 0%, #8FD5F4 100%); box-shadow: 0 0 8px rgba(143, 213, 244, 0.7); }
.gen-icon { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.5); color: var(--ink-2); }
.gen-card-body { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.gen-title { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.gen-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; letter-spacing: -0.005em; }

/* Capabilities grid */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 24px 60px -25px rgba(80,90,160,0.18); }
.cap { background: rgba(255,255,255,0.14); padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; grid-column: span 1; transition: background .25s ease, transform .25s ease; position: relative; overflow: hidden; }
.cap::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 220px; height: 220px; background: radial-gradient(circle at center, rgba(140, 110, 255, 0.18), transparent 70%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.cap:hover::before { opacity: 1; }
.cap:hover { background: rgba(255,255,255,0.28); }
.cap.full { grid-column: span 4; min-height: 200px; }
@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } .cap.full { grid-column: span 2; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } .cap.full { grid-column: span 1; } }

.cap-top { display: flex; align-items: center; gap: 12px; }
.cap-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.45); box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset; }
.cap-icon svg { width: 22px; height: 22px; }
.cap-tint-violet { background: rgba(124, 92, 255, 0.18); color: #5D44C7; border-color: rgba(124, 92, 255, 0.3); }
.cap-tint-rose { background: rgba(225, 79, 122, 0.16); color: #B83F61; border-color: rgba(225, 79, 122, 0.3); }
.cap-tint-orange { background: rgba(232, 116, 60, 0.16); color: #B85A2F; border-color: rgba(232, 116, 60, 0.3); }
.cap-tint-blue { background: rgba(80, 130, 235, 0.14); color: #3F66BD; border-color: rgba(80, 130, 235, 0.3); }
.cap-tint-green { background: rgba(70, 155, 110, 0.16); color: #2F7B53; border-color: rgba(70, 155, 110, 0.3); }
.cap-num { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.cap-num .cap-cat { color: var(--ink-4); }

.cap h3 { color: #14141A; background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 500; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.025em; line-height: 1.18; max-width: 22ch; margin-top: 2px; }
.cap p { color: var(--ink-3); font-size: 14px; line-height: 1.55; max-width: 38ch; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.cap-tag { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; color: var(--ink-2); background: rgba(255,255,255,0.42); border: 1px solid rgba(255,255,255,0.55); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); letter-spacing: -0.005em; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset; }

/* How it works — bold cards */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
.how .step { background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 24px; padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 460px; position: relative; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 1px 0 rgba(0,0,0,0.03), 0 30px 60px -30px rgba(80,90,160,0.22); transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
.how .step:hover { transform: translateY(-4px); background: rgba(255,255,255,0.36); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 0 rgba(0,0,0,0.03), 0 40px 80px -25px rgba(80,90,160,0.3); }
.how .step::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 280px; height: 280px; background: radial-gradient(circle at center, color-mix(in srgb, var(--ember) 10%, transparent), transparent 65%); pointer-events: none; z-index: 0; }
.how .step > * { position: relative; z-index: 1; }
.how .step .n { font-family: "Geist Mono", monospace; font-weight: 400; font-size: 13px; line-height: 1; letter-spacing: 0.12em; color: var(--ink-4); margin-top: auto; text-transform: uppercase; }
.how .step h3 { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 19px; font-weight: 500; letter-spacing: -0.025em; }
.how .step p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; max-width: 32ch; }
.how .step .lbl { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.how .step .preview { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; position: relative; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.18); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 20px 40px -20px rgba(80,90,160,0.20); margin-bottom: 6px; }
.how .step .preview-1, .how .step .preview-2, .how .step .preview-3 { background: rgba(255,255,255,0.18); }

/* Showcase — story cards */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stories { grid-template-columns: 1fr; } }

/* Showcase — draggable carousel variant */
.stories-carousel { display: flex; grid-template-columns: none; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 6px 6px 16px; margin: -6px -6px 0; cursor: grab; user-select: none; scroll-padding: 6px; }
.stories-carousel::-webkit-scrollbar { display: none; }
.stories-carousel.dragging { cursor: grabbing; scroll-snap-type: none; }
.stories-carousel .story { flex: 0 0 calc((100% - 40px) / 3); min-width: 260px; scroll-snap-align: start; }
@media (max-width: 880px) { .stories-carousel .story { flex: 0 0 calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .stories-carousel .story { flex: 0 0 85%; } }
.stories-carousel.dragging .story { pointer-events: none; }

.story-nav { width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.22); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset; transition: background .15s ease, transform .15s ease; }
.story-nav:hover { background: rgba(255,255,255,0.4); transform: translateY(-1px); }
.story-nav:active { transform: translateY(0); }

.story { all: unset; display: block; cursor: pointer; border-radius: 24px; overflow: hidden; position: relative; isolation: isolate; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 20px 40px -25px rgba(40,50,90,0.30); }
.story:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.story:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 36px 60px -22px rgba(40,50,90,0.42); }
.story-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; display: block; }
.story-watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Geist", sans-serif; font-weight: 500; font-size: clamp(90px, 12vw, 160px); letter-spacing: -0.06em; color: rgba(255,255,255,0.22); pointer-events: none; mix-blend-mode: overlay; transition: transform .5s ease; }
.story:hover .story-watermark { transform: scale(1.04); }
.story-grain { position: absolute; inset: 0; background:
  repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.05) 16px 17px),
  radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none; }
.story-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.62) 100%); pointer-events: none; }
.story-time { position: absolute; top: 16px; left: 16px; font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #FFFFFF; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.18); backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%); border: 1px solid rgba(255,255,255,0.30); z-index: 2; }
.story-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 8px; z-index: 2; color: #FFFFFF; }
.story-caption .story-tag { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.story-caption h3 { color: #FFFFFF; font-family: "Geist", sans-serif; font-weight: 500; font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.025em; line-height: 1.15; -webkit-text-fill-color: currentColor; background: none; }
.story-cue { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,0.9); margin-top: 4px; transform: translateY(6px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.story:hover .story-cue { transform: translateY(0); opacity: 1; }
@media (max-width: 880px) { .story-cue { transform: none; opacity: 1; } }

/* Case study modal */
.case-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 22, 38, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: case-fade .25s ease; }
@keyframes case-fade { from { opacity: 0; } to { opacity: 1; } }
.case-modal-card { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 48px); overflow: auto; border-radius: 22px; background: #FFFFFF; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.45); animation: case-rise .35s cubic-bezier(.2,.7,.2,1); }
@keyframes case-rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.case-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,0.78); color: var(--ink); font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid rgba(0,0,0,0.06); transition: background .2s ease; }
.case-close:hover { background: #FFFFFF; }
.case-hero { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.case-hero .story-watermark { font-size: clamp(120px, 18vw, 200px); }
.case-hero-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; z-index: 2; color: #FFFFFF; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%); }
.case-hero-meta .story-tag { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.case-hero-meta h3 { color: #FFFFFF; font-family: "Geist", sans-serif; font-weight: 500; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; line-height: 1.1; -webkit-text-fill-color: currentColor; background: none; }
.case-hero-loc { font-size: 13px; color: rgba(255,255,255,0.78); }
.case-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 22px; }
.case-summary { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.case-stat { display: flex; flex-direction: column; gap: 4px; }
.case-stat-k { font-family: "Geist", sans-serif; font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.03em; color: var(--ink); }
.case-stat-v { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.case-section-title { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.case-moments { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.case-moments li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.case-bullet { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; flex-wrap: wrap; }
.case-foot-meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
@media (max-width: 560px) {
  .case-modal { padding: 12px; }
  .case-body { padding: 22px 22px 24px; }
  .case-hero-meta { padding: 18px 22px; }
  .case-stats { grid-template-columns: 1fr 1fr; }
}

/* Numbers */
.numbers-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 24px 60px -25px rgba(80,90,160,0.18); }
@media (max-width: 760px) { .numbers-row { grid-template-columns: repeat(2, 1fr); } }
.num-cell { background: rgba(255,255,255,0.12); padding: 40px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.num-cell::after { content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: radial-gradient(circle at center, color-mix(in srgb, var(--ember) 12%, transparent), transparent 65%); pointer-events: none; }
.figure, .num-cell .big { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; font-size: clamp(36px, 4.2vw, 56px); line-height: 1; letter-spacing: -0.035em; color: #1A1A1F; background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; }
.num-cell .big .blk { font-family: "Geist"; font-style: normal; font-weight: 500; }
.num-cell .lbl { font-size: 13px; color: var(--ink-3); max-width: 28ch; }

/* CTA */
.cta { padding: 140px 0 120px; text-align: center; position: relative; overflow: hidden; }
.cta::before { display: none; }
.cta .wrap { position: relative; }
.cta h2 { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.04em; line-height: 1.1; max-width: 18ch; margin: 0 auto; color: #1A1A1F; background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; font-weight: 400; }
.cta .lede { margin: 28px auto 0; text-align: center; font-size: 18px; }
.cta-bar { max-width: 720px; margin: 40px auto 0; }
.cta-foot { display: flex; gap: 14px; justify-content: center; margin-top: 18px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.cta-foot .dot { width: 4px; height: 4px; background: var(--ink-4); border-radius: 50%; }

/* Dark band (optional) */
/* Operate (light) — soft pastel backdrop + light glass cards */
.operate-light { position: relative; }
.operate-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; border-radius: inherit; }
.operate-bg::before { content: ""; position: absolute; inset: -10%; background:
  radial-gradient(40% 32% at 12% 18%, rgba(140, 110, 255, 0.22) 0%, transparent 62%),
  radial-gradient(36% 28% at 88% 22%, rgba(255, 130, 180, 0.20) 0%, transparent 62%),
  radial-gradient(42% 34% at 50% 92%, rgba(120, 170, 255, 0.20) 0%, transparent 62%),
  radial-gradient(28% 22% at 75% 78%, rgba(255, 200, 130, 0.16) 0%, transparent 65%);
  filter: saturate(120%); animation: aurora-drift 24s ease-in-out infinite alternate; }

/* Light glass card */
.glass-card { background: rgba(255,255,255,0.22) !important; backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45) !important; border-radius: 20px; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 1px 0 rgba(0,0,0,0.03), 0 30px 60px -25px rgba(80,90,160,0.18) !important; }
.glass-card .head { color: var(--ink-3); border-bottom-color: rgba(0,0,0,0.06); }
.glass-card .op-item { border-bottom: 1px dashed rgba(0,0,0,0.06); }
.glass-card .op-time { color: var(--ink-4); }
.glass-card .op-title { color: var(--ink); }
.glass-card .op-sub { color: var(--ink-3); }
.glass-card .op-status { color: var(--ember); }
.glass-card .op-status.done { color: var(--ink-3); }
.glass-card .op-msg .body { color: var(--ink-2); }
.glass-card .op-msg.user .body { color: var(--ink); font-weight: 500; }
.glass-card .op-msg.user .av { background: var(--ink); color: #FFFFFF; }
.glass-card .op-msg.ai .av { background: rgba(140, 110, 255, 0.18); border: 1px solid rgba(140, 110, 255, 0.4); color: var(--ink); }
.glass-card .chatbar { background: rgba(255,255,255,0.75); border-color: rgba(232,232,238,0.8); box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 6px 16px -10px rgba(40,40,90,0.15); }
.glass-card .chatbar textarea { color: var(--ink); }
.glass-card .chip { background: rgba(255,255,255,0.6); border-color: var(--hairline); color: var(--ink-2); }

/* Aurora section — legacy dark band (retained, currently unused) */
.aurora { position: relative; overflow: hidden; color: #F4F4F8; background: #08070C; isolation: isolate; }
.aurora::before { content: ""; position: absolute; inset: -10%; background:
  radial-gradient(40% 36% at 20% 18%, rgba(120, 80, 255, 0.55) 0%, rgba(0,0,0,0) 60%),
  radial-gradient(36% 32% at 82% 22%, rgba(255, 90, 160, 0.42) 0%, rgba(0,0,0,0) 60%),
  radial-gradient(48% 40% at 50% 90%, rgba(80, 160, 255, 0.42) 0%, rgba(0,0,0,0) 60%),
  radial-gradient(28% 26% at 90% 78%, rgba(255, 180, 90, 0.20) 0%, rgba(0,0,0,0) 65%);
  filter: saturate(120%); z-index: -2; pointer-events: none; animation: aurora-drift 24s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image:
  radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 3px 3px; opacity: 0.4; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
@keyframes aurora-drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(2%, -1%) scale(1.04); } 100% { transform: translate(-2%, 1%) scale(1.02); } }
.aurora .wrap { position: relative; }
.aurora h2 { color: #F4F4F8; }
.aurora .lede, .aurora .muted { color: rgba(244,244,248,0.7); }
.aurora .eyebrow { color: rgba(244,244,248,0.7); }
.aurora .eyebrow .num { color: rgba(244,244,248,0.4); }
.aurora .hr { background: rgba(255,255,255,0.08); }

/* Glass panel (used in aurora) */
.glass { background: rgba(20, 18, 30, 0.45); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 80px -30px rgba(0,0,0,0.6); }
.aurora .panel { background: rgba(20, 18, 30, 0.42); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 80px -30px rgba(0,0,0,0.6); }
.aurora .panel .head { color: rgba(244,244,248,0.6); border-color: rgba(255,255,255,0.10); }
.aurora .op-time { color: rgba(244,244,248,0.45); }
.aurora .op-title { color: #F4F4F8; }
.aurora .op-sub { color: rgba(244,244,248,0.65); }
.aurora .op-status.done { color: rgba(244,244,248,0.55); }
.aurora .op-item { border-bottom: 1px dashed rgba(255,255,255,0.10); }
.aurora .op-msg.user .av { background: rgba(255,255,255,0.95); color: #08070C; }
.aurora .op-msg.ai .av { background: rgba(120, 80, 255, 0.25); color: #F4F4F8; border: 1px solid rgba(255,255,255,0.18); }
.aurora .op-msg .body { color: rgba(244,244,248,0.75); }
.aurora .op-msg.user .body { color: #F4F4F8; }
.aurora .chatbar { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); box-shadow: none; }
.aurora .chatbar textarea { color: #F4F4F8; }
.aurora .chatbar textarea::placeholder { color: rgba(244,244,248,0.5); }
.aurora .chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(244,244,248,0.8); }

/* Footer */
footer.foot { background: rgba(255,255,255,0.18); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border-top: 1px solid rgba(255,255,255,0.4); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-family: "Geist Mono", monospace; font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { font-size: 14px; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--ink-3); font-family: "Geist Mono", monospace; }
.foot-wordmark { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-style: normal; font-weight: 400; font-size: clamp(64px, 11vw, 160px); line-height: 0.95; letter-spacing: -0.05em; margin: 40px 0 8px; color: #1A1A1F; background: linear-gradient(180deg, #1A1A1F 0%, #8A8A95 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Tiny utilities */
.flex { display: flex; }
.between { justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Subtle grid background for hero */
.hero-bg { position: absolute; inset: 0; pointer-events: none; background-image:
  linear-gradient(to right, rgba(10,10,15,0.035) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(10,10,15,0.035) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%); }

/* Section accent: tiny corner labels */
.corner-tag { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-4); }

/* Highlight focused / interactive look */
.focus-glow { box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.08); }

/* =====================================================================
   Scroll Story — three normal-flow sections between Numbers and CTA.
   The TravelBar (position: fixed) glides between each section's bar slot,
   riding up with each section then transitioning to the next.
   ===================================================================== */
/* Section is taller than the viewport so its inner can be sticky-pinned for a
   "dwell" stretch — that's the pause where the bar appears merged with the
   section and the copy stays on screen long enough to read. */
.ss-section { min-height: 180vh; padding: 0 var(--pad); position: relative; isolation: isolate; }
.ss-section::before { display: none; }
.ss-section-inner { position: sticky; top: 0; width: 100%; max-width: var(--max); margin: 0 auto; min-height: 100vh; padding: 80px 0; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }

/* Heading + bar slot inside each section */
.ss-screen-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ss-screen-head h2 { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.03em; line-height: 1.18; max-width: 26ch; margin: 0 auto; color: #1A1A1F; background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; font-weight: 400; }
.ss-screen-head h2 .accent { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; color: #4A4A55; -webkit-text-fill-color: #4A4A55; }
.ss-screen-bar { width: min(720px, calc(100% - 64px)); height: 68px; }
.ss-screen-bar-tall { height: 96px; }
.ss-screen-body { width: 100%; display: flex; justify-content: center; }
.ss-eyebrow-text { color: var(--ember); letter-spacing: 0.14em; }

/* Chatbar visual styles — shared with TravelBar overlay */
.ss-chatbar-wrap { border-radius: 18px; padding: 1.5px; }
.ss-chatbar { padding: 14px 14px; min-height: 64px; }
.ss-chatbar-line { display: flex; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.ss-chatbar-lead { color: var(--ember); display: inline-flex; flex-shrink: 0; }
.ss-chatbar-text { color: var(--ink-3); font-size: 17px; letter-spacing: -0.01em; flex: 1; min-width: 200px; text-align: left; }
.ss-chatbar-clip { width: 34px; height: 34px; border-radius: 10px; background: rgba(0,0,0,0.04); color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s ease; }
.ss-chatbar-clip:hover { background: rgba(0,0,0,0.07); color: var(--ink); }
.ss-chatbar-pills { display: inline-flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.ss-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--hairline); background: rgba(255,255,255,0.7); font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.ss-pill svg { color: var(--ember); }

/* Phase 0 — 4 + 3 card grid */
.ss-cards-7 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; width: 100%; max-width: 880px; }
.ss-card { grid-column: span 2; aspect-ratio: 1.05; background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 18px; padding: 18px 18px 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 1px 2px rgba(0,0,0,0.02), 0 12px 22px -18px rgba(80,90,160,0.20); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ss-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 22px 40px -18px rgba(40,40,80,0.22); }
.ss-card:nth-child(5) { grid-column: 2 / span 2; }
.ss-card .ss-card-icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.ss-card-violet .ss-card-icon { background: rgba(124, 92, 255, 0.10); color: #7C5CFF; }
.ss-card-rose .ss-card-icon { background: rgba(225, 79, 122, 0.10); color: #E14F7A; }
.ss-card-red .ss-card-icon { background: rgba(232, 84, 96, 0.10); color: #E85460; }
.ss-card-orange .ss-card-icon { background: rgba(232, 116, 60, 0.10); color: #E8743C; }
.ss-card-blue .ss-card-icon { background: rgba(80, 130, 235, 0.10); color: #5082EB; }
.ss-card-green .ss-card-icon { background: rgba(70, 155, 110, 0.10); color: #469B6E; }
.ss-card-label { font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
@media (max-width: 760px) {
  .ss-cards-7 { grid-template-columns: repeat(2, 1fr); }
  .ss-card, .ss-card:nth-child(5) { grid-column: span 1; }
}

/* Phase 1 — chip cloud */
.ss-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 920px; padding: 0 12px; }
.ss-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,0.22); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border: 1px solid rgba(255,255,255,0.45); font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 8px 18px -14px rgba(80,90,160,0.20); }
.ss-chip-icon { display: inline-flex; align-items: center; justify-content: center; }
.ss-chip-violet .ss-chip-icon { color: #7C5CFF; }
.ss-chip-rose .ss-chip-icon { color: #E14F7A; }
.ss-chip-red .ss-chip-icon { color: #E85460; }
.ss-chip-orange .ss-chip-icon { color: #E8743C; }
.ss-chip-blue .ss-chip-icon { color: #5082EB; }
.ss-chip-green .ss-chip-icon { color: #469B6E; }

/* Phase 2 — thinking panel */
.ss-panel { width: 100%; max-width: 760px; background: rgba(255,255,255,0.22); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); border: 1px solid rgba(255,255,255,0.45); border-radius: 24px; padding: 28px 32px; box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 20px 40px -22px rgba(80,90,160,0.22); display: flex; flex-direction: column; }
.ss-step { display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: start; }
.ss-marker { display: flex; flex-direction: column; align-items: center; align-self: stretch; padding-top: 6px; }
.ss-dot { width: 10px; height: 10px; border-radius: 50%; background: #7C5CFF; flex-shrink: 0; }
.ss-line { flex: 1; width: 1.5px; background: rgba(124, 92, 255, 0.2); margin-top: 4px; min-height: 22px; }
.ss-step-body { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 22px; }
.ss-step-title { font-size: 15.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.ss-step:last-child .ss-step-body { padding-bottom: 0; }
.ss-link { color: #7C5CFF; }
.ss-tagrow { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ss-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,0.04); font-size: 12.5px; color: var(--ink-2); }
.ss-tag svg { color: var(--ink-3); }
.ss-tag-logo { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-family: "Geist", sans-serif; font-weight: 600; font-size: 11px; color: #FFFFFF; letter-spacing: 0; }
.ss-logo-1 { background: #111111; }
.ss-logo-2 { background: #E8743C; }
.ss-logo-3 { background: #E85460; }

@media (max-width: 760px) {
  .ss-section { padding: 0 var(--pad); }
  .ss-section-inner { gap: 28px; padding: 60px 0; }
  .ss-screen-bar { height: 76px; }
  .ss-screen-bar-tall { height: 124px; }
  .ss-panel { padding: 22px 20px; }
  .ss-step-body { padding-bottom: 16px; }
  .ss-chatbar-text { font-size: 15px; min-width: 0; }
  .ss-chatbar-pills { width: 100%; }
}

/* Hide the inner bar inside CTA without collapsing layout — TravelBar lands here */
.cta-bar-ghost { visibility: hidden; pointer-events: none; }

/* =====================================================================
   Traveling prompt bar — fixed-position, scroll-tracked between
   scrollstory and the CTA's bar anchor
   ===================================================================== */
.travel-bar {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(720px, calc(100% - 64px));
  z-index: 60;
  will-change: transform, opacity;
  transform: translate(-50%, 50vh);
  opacity: 0;
}
.travel-bar-wrap { border-radius: 18px; padding: 1.5px; }
.travel-bar-inner { padding: 14px 14px; min-height: 64px; transition: padding .35s ease; }
.travel-bar .ss-chatbar-line { min-height: 36px; }
.travel-bar .ss-chatbar-text,
.travel-bar .ss-chatbar-pills,
.travel-bar .ss-chatbar-lead,
.travel-bar .send,
.travel-bar .ss-chatbar-clip { transition: opacity .3s ease; }
.travel-bar-pre, .travel-bar-post { pointer-events: none; }

@media (max-width: 760px) {
  .travel-bar { width: calc(100% - 32px); }
  .ss-chatbar-slot { height: 90px; }
}
