/* ================================================================
   inteligentia · homepage + interactive preview  ("Chrome")
   ================================================================ */

/* orb sizes */
.orb.xs { --s: 20px; }
.orb.xs::after { display: none; }
.orb.lg { --s: 52px; }
.orb.xl { --s: 92px; }


/* ---------- opening: the box powers up ---------- */
.hero { position: relative; isolation: isolate; padding: 128px var(--gutter) 88px; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(60% 55% at 28% 46%, rgba(46, 116, 222, .30), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(127, 184, 255, .08), transparent 70%),
    linear-gradient(180deg, #07090d 0%, #090c12 60%, #07090d 100%);
}
.hero::after { /* the perforated case, faintly, behind everything */
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 2.5l10 5.8v11.6L14 25.7 4 19.9V8.3z' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3Cpath d='M0 26.7l10 5.8v11.6L0 49.9M28 26.7l-10 5.8v11.6l10 5.8' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E");
  -webkit-mask: radial-gradient(55% 60% at 28% 48%, #000, transparent 75%); mask: radial-gradient(55% 60% at 28% 48%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-copy > * + * { margin-top: 22px; }
.hero h1 { margin-top: 20px; }
.category { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.38; font-weight: 600; letter-spacing: -.01em; color: var(--ink); max-width: 32ch; }
.paths { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine-note { font-size: 13px; color: var(--muted); max-width: 52ch; }

/* the unit: the real box, in a chrome frame. It starts dark and wakes up. */
.unit { margin: 0; display: grid; justify-items: center; position: relative; }
.render { position: relative; width: min(560px, 100%); aspect-ratio: 1; }
.render::before { content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(46, 116, 222, .38), transparent 62%); filter: blur(10px); z-index: -1; }
/* the hero loop: the box path-traced in Blender (tools/render), composed into a video with Remotion (IgBox).
   The video is on pure black and blended with lighten, so the black disappears into the page. */
.render .poster, .render .loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; mix-blend-mode: lighten;
  transition: filter 1.2s var(--ease); }
.render .loop { opacity: 0; }
.render.playing .loop { opacity: 1; }
.render.playing .poster { visibility: hidden; }
.pin { position: absolute; z-index: 2; left: 4px; top: 8px; pointer-events: none; display: grid; justify-items: start; gap: 6px; transition: opacity .8s var(--ease) .3s; }
.pin .tag { background: rgba(7, 9, 13, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); }

/* the console: status LEDs, read like a spec plate */
.console { position: relative; z-index: 3; width: min(420px, calc(100% - 40px)); margin-top: -18px; }
.readout { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: var(--edge); }
.readout li { display: grid; gap: 2px; padding: 11px 14px 12px 30px; background: linear-gradient(180deg, rgba(17, 21, 29, .94), rgba(11, 14, 20, .94)); position: relative; transition: opacity .3s; }
.readout li::before { content: ""; position: absolute; left: 13px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 10px var(--led); transition: background .2s, box-shadow .2s; }
.readout li:nth-child(3)::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.readout span { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.readout b { font: 500 14px var(--mono); color: var(--ink); }
.console-note { margin-top: 10px; text-align: center; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #535b6a; }

/* boot states (set by a tiny script in <head>; without JS everything is simply on) */
html.booting .render .poster, html.booting .render .loop { filter: brightness(.14) saturate(.25); }
html.booting .pin { opacity: 0; }
html.booting .readout li:not(.on) { opacity: .35; }
html.booting .readout li:not(.on)::before { background: #2a303b; box-shadow: none; }
html.booting .readout li:not(.on) b { opacity: 0; }
html.booting .hero-copy > * { opacity: 0; transform: translateY(12px); }
.hero-copy > * { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.booted .hero-copy > :nth-child(2) { transition-delay: .05s; }
html.booted .hero-copy > :nth-child(3) { transition-delay: .25s; }
html.booted .hero-copy > :nth-child(4) { transition-delay: .35s; }
html.booted .hero-copy > :nth-child(5) { transition-delay: .45s; }
html.booted .hero-copy > :nth-child(6) { transition-delay: .55s; }
html.booted .hero h1 { animation: scan 1.1s var(--ease) both .05s; }
@keyframes scan { from { clip-path: inset(-20% 100% -25% -2%); } to { clip-path: inset(-20% -2% -25% -2%); } }
html.booting .hud-top { opacity: 0; }
.hud-top { transition: opacity .6s var(--ease); }

/* ---------- sections ---------- */
.block { padding: clamp(80px, 10vw, 140px) var(--gutter); position: relative; }
.block > .wrap > .kicker { margin-bottom: 18px; }
.block > .wrap > .lede { margin-top: 22px; }
.block + .block::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent); }

.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.moment { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--edge), var(--sh); position: relative; }
.moment h3 { font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.35; letter-spacing: -.02em; }
.moment .btn { align-self: flex-start; margin-top: auto; }
.moment .num { align-self: flex-start; }
.mini { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: #06080c; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .05); font-size: 14.5px; line-height: 1.45; }
.mini p { max-width: 88%; padding: 9px 13px; border-radius: 14px; }
.mini .me { align-self: flex-end; background: var(--anod); color: #fff; border-bottom-right-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.mini .ag { align-self: flex-start; background: #161b25; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.mini .gap, .mini .src { align-self: center; max-width: none; padding: 0; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mini .src { align-self: flex-start; text-transform: none; letter-spacing: .02em; padding-left: 4px; color: var(--electric); }
.tele { display: flex; align-items: center; gap: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--led); }
.tele::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); flex: none; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.facts > div { padding: 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--hair); }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: -.01em; margin-bottom: 8px; color: var(--ink); }
.facts p { color: var(--ink-2); font-size: 15px; }

/* privacy: the inside of the case */
.night { background: #05070a; color: var(--ink); overflow: hidden; isolation: isolate; }
.night::after { content: ""; position: absolute; z-index: -1; right: -15%; top: -10%; width: 70vw; aspect-ratio: 1; background: radial-gradient(circle, rgba(46, 116, 222, .22), transparent 60%); }
.lanes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.lane { padding: 26px; border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--edge), var(--sh); }
.lane ul { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.lane li { padding-left: 22px; position: relative; color: var(--ink-2); }
.lane li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
.lane + .lane li::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.lane code { font: 500 13px var(--mono); background: rgba(255, 204, 77, .14); color: var(--amber); padding: 1px 6px; border-radius: 5px; }
.honest-line { margin-top: 34px; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; color: var(--ink); max-width: 44ch; padding-left: 18px; border-left: 2px solid var(--amber); }
.btn.on-dark { color: #0b0f17; background: var(--steel); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .3); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.btn.ghost.on-dark { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); text-shadow: none; }

/* where things stand */
.status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.status .col { padding: 26px; border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--edge), var(--sh); }
.status h3 { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; }
.status .now .dot { background: var(--led); box-shadow: 0 0 12px var(--led); }
.status .dev .dot { background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: blink 1.6s steps(2) infinite; }
.status .ship .dot { background: var(--electric); box-shadow: 0 0 12px var(--electric); }
@keyframes blink { 50% { opacity: .35; } }
.status ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.status li { padding-top: 12px; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: 15px; }

/* product + reservation */
.product { background: radial-gradient(70% 50% at 20% 30%, rgba(46, 116, 222, .14), transparent 70%), var(--bg); }
.buy { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); margin-top: 44px; align-items: start; }
.buy-photo { position: sticky; top: 100px; border-radius: var(--r-lg); padding: 8px; background: linear-gradient(160deg, #f4f6f9, #7c8696 30%, #e9edf2 52%, #59626f 76%, #dfe4ea); box-shadow: 0 40px 90px -40px rgba(46, 116, 222, .6); }
.buy-photo img { width: 100%; aspect-ratio: 689 / 1000; object-fit: cover; border-radius: 14px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tier {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  padding: 22px; border-radius: var(--r); background: var(--panel); border: 0; box-shadow: var(--edge), var(--sh);
  display: grid; gap: 6px; transition: box-shadow .25s, transform .2s var(--ease);
}
.tier:hover { transform: translateY(-1px); }
.tier[aria-checked="true"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px var(--electric), 0 0 30px -6px var(--glow), var(--sh); }
.tier::after { content: ""; position: absolute; top: 18px; right: 18px; width: 9px; height: 9px; border-radius: 50%; background: #2a303b; transition: background .2s, box-shadow .2s; }
.tier[aria-checked="true"]::after { background: var(--electric); box-shadow: 0 0 12px var(--electric); }
.tier .cap { font: 500 11px var(--mono); letter-spacing: .16em; color: var(--muted); }
.tier .price { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.04em; background: var(--chrome); background-size: 100% 1.15em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier .sub { font-size: 14px; color: var(--ink-2); }
.facts-list { margin-top: 26px; display: grid; border-top: 1px solid var(--hair); }
.facts-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.facts-list dt { font: 500 10.5px/2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts-list dd { color: var(--ink-2); font-size: 15.5px; }

.reserve-card { display: grid; grid-template-columns: 1.1fr .9fr; margin-top: 52px; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); box-shadow: var(--edge), 0 0 0 1px rgba(127, 184, 255, .14), 0 50px 100px -50px rgba(46, 116, 222, .55); scroll-margin-top: 110px; }
.reserve-form { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.reserve-form .btn { justify-self: start; }
.ledger { padding: clamp(22px, 3vw, 36px); background: #05070a; display: flex; flex-direction: column; gap: 14px; box-shadow: inset 1px 0 0 var(--hair); }
.ledger pre { flex: 1; margin: 0; font: 400 12.5px/1.65 var(--mono); white-space: pre-wrap; word-break: break-word; color: var(--led); text-shadow: 0 0 10px rgba(70, 242, 164, .35); background: #020304; border-radius: 10px; padding: 16px; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ledger .dest { font-size: 13px; color: var(--muted); }

/* ---------- the preview layer ---------- */
html.agent-open, html.agent-open body { overflow: hidden; }
.agent-layer { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--bg); animation: rise .35s var(--ease); }
.agent-layer[hidden] { display: none; }
.agent-layer::before { content: ""; position: absolute; z-index: 0; left: 50%; top: -30%; width: 120vw; max-width: 1400px; aspect-ratio: 2; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(46, 116, 222, .22), transparent 62%); pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.agent-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; padding: 12px var(--gutter) 0; background: rgba(7, 9, 13, .8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--hair-2); }
.agent-bar .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.agent-bar .who b { display: block; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: -.02em; }
.agent-bar .who small { display: block; font: 500 10.5px var(--mono); letter-spacing: .08em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-meta { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 0; background: var(--panel); box-shadow: var(--edge); color: var(--ink-2); font: 500 11px var(--mono); letter-spacing: .06em; text-decoration: none; cursor: pointer; }
.chip b { font: 600 13px var(--mono); color: var(--ink); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tele-chip { font: 500 11px var(--mono); letter-spacing: .04em; color: var(--muted); white-space: nowrap; padding: 2px 8px; border-radius: 6px; }
.tele-chip b { color: var(--led); font-weight: 600; }
.tele-chip.live b { color: var(--amber); }
.tele-chip.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { box-shadow: 0 0 0 4px rgba(255, 204, 77, .25); } }
#mem-toggle { display: none; }
.close { width: 38px; height: 38px; border-radius: 8px; border: 0; background: var(--panel); box-shadow: var(--edge); font-size: 15px; cursor: pointer; color: var(--ink); }
.close:hover { box-shadow: var(--edge), 0 0 0 1px var(--electric); }
.agent-nav { grid-column: 1 / -1; display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 9px; }
.agent-nav::-webkit-scrollbar { display: none; }
.agent-nav a { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.agent-nav a:hover { color: var(--ink); }
.agent-nav a.go { color: var(--electric); font-weight: 600; }

.agent-scroll { position: relative; z-index: 1; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; max-width: 1120px; margin: 0 auto; padding: 36px var(--gutter) 40px; }
.convo { display: flex; flex-direction: column; gap: 22px; max-width: 720px; width: 100%; }

/* lines */
.line { display: flex; flex-direction: column; gap: 6px; }
.line.agent { padding-left: 46px; position: relative; }
.line.agent:not(.line.agent + .line.agent)::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: url(../img/sigil.png) center / cover; box-shadow: 0 0 0 1px rgba(160, 200, 255, .25), 0 6px 16px -6px var(--glow); }
.line.agent .txt { font-size: 17px; line-height: 1.65; max-width: 60ch; color: var(--ink); }
.line.agent .txt strong { font-weight: 600; color: #fff; background: linear-gradient(transparent 62%, rgba(255, 204, 77, .3) 62%); }
.line.agent .txt em { font-style: normal; color: var(--electric); font-weight: 600; }
.line.big .txt { font-family: var(--display); font-size: clamp(26px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.035em; max-width: none; background: var(--chrome); background-size: 100% 1.15em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.line.big .txt em { background: var(--chrome-blue); background-size: 100% 1.15em; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.line .meta { font: 500 11px var(--mono); letter-spacing: .04em; color: var(--led); }
.line.me { align-items: flex-end; }
.line.me .meta { color: var(--muted); }
.line.me .bubble { background: var(--anod); color: #fff; border-radius: 16px 16px 4px 16px; padding: 11px 16px; max-width: min(540px, 88%); font-size: 16px; line-height: 1.5; word-break: break-word; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -14px var(--glow); }
.pii { display: inline; transition: background .2s; }
.pii.stamped { background: var(--amber); color: #120f05; font: 600 .86em var(--mono); padding: 1px 6px; border-radius: 5px; animation: stamp .35s var(--ease) both; }
@keyframes stamp { from { transform: scale(1.25); opacity: 0; } }
.outbound { width: min(540px, 88%); border-radius: 12px; background: #020304; color: var(--ink-2); font: 400 12.5px/1.6 var(--mono); padding: 12px 14px; box-shadow: inset 0 0 0 1px rgba(255, 204, 77, .25); }
.outbound .k { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.outbound .red, .preview .red { background: var(--amber); color: #120f05; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.gap { align-self: center; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; width: 100%; }
.gap::before, .gap::after { content: ""; flex: 1; height: 1px; background: var(--hair-2); }
.typing-line .typing { display: inline-flex; gap: 5px; padding: 12px 14px; border-radius: 12px; background: var(--panel); box-shadow: var(--edge); width: fit-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 8px var(--electric); animation: dots 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { opacity: .2; transform: translateY(-2px); } }

/* cards the agent sends */
.card2 { margin-left: 46px; max-width: 640px; border-radius: var(--r); background: var(--panel); box-shadow: var(--edge), var(--sh); overflow: hidden; }
.card2 .hd { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--hair); font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card2 .spec { box-shadow: none; border-radius: 0; background: transparent; }
.card2 .receipt { box-shadow: none; border-radius: 0; background: transparent; }
.cite { padding: 16px 18px; }
.cite .file { font: 500 11.5px var(--mono); color: var(--electric); }
.cite blockquote { margin-top: 8px; font-size: 18px; line-height: 1.45; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--case-hi); }
.hw-mini { display: grid; grid-template-columns: 140px 1fr; }
.hw-mini img { width: 100%; height: 100%; object-fit: cover; }
.hw-mini > div { padding: 16px 18px; display: grid; gap: 8px; align-content: center; font-size: 14.5px; color: var(--ink-2); }
.hw-mini .hw-p { font-family: var(--display); font-size: 20px; color: var(--ink); line-height: 1.2; letter-spacing: -.03em; }
.hw-mini .hw-p b { font: 500 11px var(--mono); letter-spacing: .08em; color: var(--muted); }
.hw-mini .hw-p span { color: var(--hair-2); }
.actions { margin-left: 46px; display: flex; flex-wrap: wrap; gap: 10px; }

.switcher { padding: 16px; }
.carts2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cart { text-align: left; font: 600 14px var(--sans); color: var(--ink); padding: 12px; border-radius: 10px; border: 0; background: #0a0d13; box-shadow: var(--edge); cursor: pointer; transition: box-shadow .2s; }
.cart small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart[aria-pressed="true"] { box-shadow: var(--edge), 0 0 0 1px var(--electric), 0 0 20px -6px var(--glow); }
.mind2 { margin-top: 12px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
.mind2 .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--hair); font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mind2 .brain { background: var(--anod); color: #fff; padding: 3px 9px; border-radius: 5px; letter-spacing: .04em; text-transform: none; font-size: 11.5px; }
.mind2 .brain.swap { animation: swap .45s var(--ease); }
@keyframes swap { from { transform: translateY(-60%); opacity: 0; } }
.mind2 .q { padding: 10px 12px 0; font-size: 14px; color: var(--muted); }
.mind2 .a { padding: 6px 12px 12px; min-height: 72px; font-size: 15px; }

/* memory rail */
.rail { position: sticky; top: 24px; align-self: start; }
.rail .panel { border-radius: var(--r); background: #05070a; color: var(--ink); overflow: hidden; box-shadow: var(--edge), var(--sh); }
.rail .ph { padding: 14px 16px; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; align-items: baseline; }
.rail .ph span { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--electric); }
.rail .ph b { font: 600 18px var(--mono); }
.rail .ph .x { display: none; margin-left: 12px; width: 32px; height: 32px; flex: none; border: 0; border-radius: 7px; background: var(--panel); box-shadow: var(--edge); color: var(--ink); font-size: 13px; cursor: pointer; }
.rail ol { list-style: none; padding: 10px 16px 12px; display: grid; gap: 10px; max-height: 50vh; overflow: auto; }
.rail li { border-left: 2px solid var(--led); padding: 2px 0 2px 10px; font-size: 14px; line-height: 1.4; animation: drop .4s var(--ease); }
.rail li small { display: block; font: 500 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rail .empty { border: 0; padding: 0; color: var(--muted); font-size: 13px; }
.rail .pf { padding: 12px 16px 16px; border-top: 1px solid var(--hair); font-size: 12px; line-height: 1.5; color: var(--muted); }
.rail .pf button { margin-top: 10px; background: none; border: 0; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink); font: 500 11px var(--mono); letter-spacing: .06em; padding: 7px 12px; border-radius: 6px; cursor: pointer; }
.rail .pf button:hover { background: var(--alarm); box-shadow: none; }
@keyframes drop { from { transform: translateY(-8px); opacity: 0; } }

/* composer */
.composer { position: relative; z-index: 2; padding: 10px var(--gutter) max(12px, env(safe-area-inset-bottom)); background: rgba(7, 9, 13, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 -1px 0 var(--hair-2); }
.composer .inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; font: 500 14px var(--sans); color: var(--ink); border: 0; background: var(--panel); box-shadow: var(--edge); padding: 8px 14px; border-radius: 8px; cursor: pointer; transition: box-shadow .15s; }
.chips button:hover { box-shadow: var(--edge), 0 0 0 1px var(--electric); }
.chips button.hot { color: #0b0f17; background: var(--steel); box-shadow: inset 0 1px 0 #fff; }
.chips button.equal { background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); }
.composer .row { display: flex; gap: 8px; align-items: center; background: #05070a; border-radius: 12px; padding: 5px 5px 5px 16px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .09); transition: box-shadow .2s; }
.composer .row:focus-within { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--electric), 0 0 0 4px rgba(46, 116, 222, .18); }
.composer input { flex: 1; min-width: 0; min-height: 44px; font: 400 16px var(--sans); color: var(--ink); border: 0; background: none; outline: none; }
.composer input::placeholder { color: #5d6575; }
.composer .send { width: 44px; height: 44px; flex: none; border-radius: 9px; border: 0; background: var(--steel); color: #0b0f17; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: inset 0 1px 0 #fff, 0 8px 18px -8px rgba(160, 200, 255, .5); }
.how-note { font-size: 12px; color: var(--muted); }
.preview { display: none; font: 400 12.5px/1.5 var(--mono); border-radius: 10px; background: #020304; color: var(--ink-2); padding: 8px 12px; box-shadow: inset 0 0 0 1px rgba(255, 204, 77, .2); }
.preview.on { display: block; }
.preview .k { color: var(--amber); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; }

/* preview boot (only if the homepage boot didn't already run) */
.boot { position: absolute; inset: 0; z-index: 10; background: #05070a; color: var(--ink-2); display: grid; place-items: center; padding: var(--gutter); cursor: pointer; transition: opacity .35s ease; }
.boot[hidden] { display: none; }
.boot.gone { opacity: 0; pointer-events: none; }
.boot-inner { display: grid; justify-items: center; gap: 26px; }
.boot pre { font: 400 13px/1.9 var(--mono); min-width: min(300px, 100%); color: var(--led); text-shadow: 0 0 10px rgba(70, 242, 164, .35); }
.boot .skip-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #535b6a; }

/* what it does */
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.job { padding: 20px 20px 22px; border-radius: var(--r); background: var(--panel); box-shadow: var(--edge), var(--sh); }
.job .when { display: flex; align-items: center; gap: 8px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--electric); }
.job .when::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); flex: none; }
.job h3 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.4; letter-spacing: -.02em; }
.job h3 + p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.apps, .stories { margin-top: 72px; }
.apps-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -.02em; }
.apps-head p { margin-top: 10px; max-width: 64ch; color: var(--ink-2); font-size: 15.5px; }
.apps dl { margin-top: 26px; border-top: 1px solid var(--hair); }
.apps dl > div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.apps dt { font: 500 10.5px/2.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.apps dd { display: flex; flex-wrap: wrap; gap: 8px; }
.apps dd span { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 14px; color: var(--ink); white-space: nowrap; }
.apps-more { margin-top: 16px; color: var(--muted); font-size: 14px; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.story { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-2); text-decoration: none; font-size: 15.5px; line-height: 1.55; transition: box-shadow .2s; }
.story:hover { box-shadow: inset 0 0 0 1px var(--electric); }
.story .who { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.story .src { margin-top: auto; font: 500 11.5px var(--mono); color: var(--electric); }
@media (max-width: 1100px) { .jobs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .jobs, .story-grid { grid-template-columns: 1fr; }
  .jobs { gap: 10px; margin-top: 36px; }
  .job { padding: 16px 18px 18px; }
  .apps, .stories { margin-top: 56px; }
  .apps dl > div { grid-template-columns: 1fr; gap: 6px; }
  .apps dt { line-height: 1.6; }
  .apps dd span { white-space: normal; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; }
  .rail { position: fixed; top: 112px; right: 12px; left: 12px; z-index: 5; display: none; }
  .rail.open { display: block; }
  .rail .ph { align-items: center; }
  .rail .ph span { flex: 1; }
  .rail .ph .x { display: inline-grid; place-items: center; }
  #mem-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grid, .buy, .reserve-card, .lanes2 { grid-template-columns: 1fr; }
  .moments, .facts, .status { grid-template-columns: 1fr; }
  .buy-photo { position: static; max-width: 520px; }
  .buy-photo img { aspect-ratio: 4 / 3; object-position: 50% 58%; }
  .ledger { box-shadow: inset 0 1px 0 var(--hair); }
}
@media (max-width: 760px) {
  .hero { padding-top: 112px; padding-bottom: 64px; }
  .hero::before { background: radial-gradient(90% 40% at 50% 22%, rgba(46, 116, 222, .32), transparent 70%), #07090d; }
  .hero::after { -webkit-mask: radial-gradient(70% 35% at 50% 22%, #000, transparent 75%); mask: radial-gradient(70% 35% at 50% 22%, #000, transparent 75%); }
  .hero-grid { gap: 36px; }
  .unit { gap: 18px; }
  .render { width: 100%; aspect-ratio: 1.08; }
  .pin { left: 0; top: 0; }
  .console { width: 100%; margin-top: -10px; }
  .readout li { padding: 8px 10px 9px 26px; }
  .readout li::before { left: 11px; top: 14px; }
  .readout span { font-size: 9px; letter-spacing: .1em; }
  .readout b { font-size: 12.5px; }
  .console-note { margin-top: 8px; font-size: 9px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 46px); }
  .hero .kicker { letter-spacing: .1em; font-size: 10.5px; }
  .hero h1 { margin-top: 14px; }
  .hero-copy > * + * { margin-top: 16px; }
  .paths { margin-top: 22px; }
  .paths .btn { flex: 1 1 100%; }
  .moment { padding: 20px; }
  .tiers { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tier { padding: 16px; }
  .tier .price { font-size: 25px; }
  .tier::after { top: 14px; right: 14px; }
  .facts-list > div { grid-template-columns: 1fr; gap: 4px; }
  .agent-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .agent-bar .who small { font-size: 10px; }
  .foot-row { flex-direction: column; gap: 2px; }
  .stage { padding-top: 24px; }
  .line.agent { padding-left: 40px; }
  .line.agent::before { width: 28px !important; height: 28px !important; }
  .line.agent:not(.big) .txt { font-size: 16px; }
  .card2, .actions { margin-left: 0; }
  .carts2 { grid-template-columns: 1fr; }
  .hw-mini { grid-template-columns: 100px 1fr; }
  .how-note { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .boot { display: none !important; }
}

/* Michroma's euro sign reads as a zero: set the currency in the body face */
.tier .price i, .hw-mini .hw-p i { font-family: var(--sans); font-style: normal; font-weight: 300; letter-spacing: 0; margin: 0 .06em; }
