:root {
  --ink: #0b0c10;
  --ink-2: #3f4450;
  --ink-3: #8b909c;
  --ink-4: #b9bdc7;
  --line: #e7e9ef;
  --bg: #ffffff;
  --soft: #f3f4f8;
  --blue: #2563ff;
  --blue-2: #4d82ff;
  --panel: #121317;
  --panel-2: #1b1c21;
  --panel-line: rgba(255, 255, 255, 0.08);
  --green: #22c55e;
  --red: #f05252;
  --display: "Inter Tight", "Inter", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ic { width: 1em; height: 1em; flex: none; }

kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.6em; height: 1.5em; padding: 0 0.35em;
  border-radius: 0.38em;
  font: 600 0.82em/1 var(--sans);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  vertical-align: 0.08em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  border-radius: 14px; padding: 12px 20px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn-blue {
  color: #fff;
  background: linear-gradient(180deg, #2a2c33 0%, #0b0c10 100%);
  box-shadow: 0 12px 28px -10px rgba(11, 12, 16, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(11, 12, 16, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-lg { font-size: 17px; padding: 15px 26px; border-radius: 16px; }
.btn-float { position: fixed; top: 14px; right: 16px; z-index: 60; }

/* ---------- Nav ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 44px;
  max-width: 1240px; margin: 0 auto; padding: 22px 28px;
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: #0b0c10; color: #fff;
}
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; opacity: 0.92; }
.nav-links a:hover { opacity: 0.7; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 20px 0; text-align: center; isolation: isolate; }
.sky {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 0%, #eef1f7 0%, rgba(238, 241, 247, 0) 70%),
    #ffffff;
}
.sun, .ridge { display: none; }

.hero-copy { position: relative; color: var(--ink); max-width: 860px; margin: 0 auto; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-2);
  padding: 7px 14px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 8px -4px rgba(20, 30, 70, 0.12);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.hero-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(42px, 6.6vw, 88px); line-height: 1.02; letter-spacing: -0.045em;
  margin: 22px 0 20px;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; margin: 0 auto 30px; color: var(--ink-3); }
.hero-sub kbd { font-size: 0.9em; color: var(--ink); background: var(--soft); border-color: var(--line); box-shadow: 0 2px 0 #dfe2ea; }

/* ---------- Stage (desktop mockup) ---------- */
.stage-wrap { max-width: 1180px; margin: 72px auto 0; padding: 0 4px; }
.stage {
  container-type: inline-size;
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  text-align: left; color: #fff;
  background:
    radial-gradient(70% 60% at 12% 90%, #e3e9f8 0%, rgba(227, 233, 248, 0) 70%),
    radial-gradient(60% 55% at 92% 85%, #f1ebf6 0%, rgba(241, 235, 246, 0) 70%),
    linear-gradient(160deg, #f7f8fb 0%, #eef0f5 100%);
  box-shadow: 0 50px 110px -45px rgba(20, 30, 70, 0.35), 0 0 0 1px var(--line);
}
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 2.6cqw;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.6cqw; font-size: 1.02cqw; font-weight: 500; color: var(--ink);
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 30, 70, 0.06);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 1.5cqw; }
.mb-glyph { width: 1.5cqw; height: 1.5cqw; }
.mb-mic { display: grid; place-items: center; width: 2.2cqw; height: 1.6cqw; border-radius: 0.5cqw; transition: background .25s; }
.mb-mic svg { width: 1.1cqw; height: 1.1cqw; }
.mb-mic.on { background: #ff8a1f; color: #fff; }
.mb-bars { display: flex; gap: 0.18cqw; align-items: flex-end; height: 1cqw; }
.mb-bars i { width: 0.28cqw; background: var(--ink); border-radius: 1px; }
.mb-bars i:nth-child(1) { height: 40%; } .mb-bars i:nth-child(2) { height: 70%; } .mb-bars i:nth-child(3) { height: 100%; }
.mb-batt { width: 1.9cqw; height: 0.9cqw; border: 1px solid var(--ink); border-radius: 0.25cqw; position: relative; }
.mb-batt::after { content: ""; position: absolute; inset: 1px 30% 1px 1px; background: var(--ink); border-radius: 1px; }

@keyframes bar { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.win {
  position: absolute; border-radius: 1.2cqw; overflow: hidden;
  background: #0e1014; box-shadow: 0 2.4cqw 5cqw -1.5cqw rgba(10, 20, 60, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}
.chart-win { left: 7cqw; top: 9cqw; width: 86cqw; height: 45cqw; }
.win-bar { height: 2.6cqw; display: flex; align-items: center; gap: 1.2cqw; padding: 0 1.1cqw; border-bottom: 1px solid var(--panel-line); }
.lights { display: flex; gap: 0.5cqw; }
.lights i { width: 0.85cqw; height: 0.85cqw; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-title { font-size: 0.95cqw; color: rgba(255, 255, 255, 0.5); }
.chart-body { padding: 1.4cqw 1.6cqw; height: calc(100% - 2.6cqw); display: flex; flex-direction: column; }
.chart-head { display: flex; align-items: baseline; gap: 1.2cqw; margin-bottom: 0.8cqw; }
.chart-head .sym { font-size: 1.05cqw; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.chart-head .px { font-size: 2cqw; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chg { font-size: 1.05cqw; font-weight: 600; }
.up { color: #33d17a; } .down { color: #ff6b6b; }
.chart { flex: 1; width: 100%; }

/* TrabyOS voice panel — hangs from the top edge like the real app */
.notch {
  position: absolute; z-index: 6; top: 0; left: 50%; transform: translateX(-50%);
  width: 31cqw; padding: 0.35cqw 1.5cqw 1.6cqw;
  background: #1c1c1f; color: #fff;
  border-radius: 0 0 2.1cqw 2.1cqw;
  box-shadow: 0 2.6cqw 5cqw -2cqw rgba(10, 12, 25, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.notch::before, .notch::after {
  content: ""; position: absolute; top: 0; width: 1.2cqw; height: 1.2cqw;
}
.notch::before { left: -1.2cqw; background: radial-gradient(circle at 0 100%, transparent 1.18cqw, #1c1c1f 1.22cqw); }
.notch::after { right: -1.2cqw; background: radial-gradient(circle at 100% 100%, transparent 1.18cqw, #1c1c1f 1.22cqw); }
.nt-ic { width: 1.05cqw; height: 1.05cqw; color: rgba(255, 255, 255, 0.55); flex: none; }
.nt-top { height: 2.2cqw; display: flex; align-items: center; justify-content: space-between; }
.nt-dot {
  width: 1.15cqw; height: 1.15cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7aa7ff, #2563ff 70%);
  box-shadow: 0 0 0.8cqw rgba(37, 99, 255, 0.55);
}
.notch.listening .nt-dot { animation: dotPulse 1s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 0.45cqw rgba(37, 99, 255, 0.25), 0 0 1.4cqw rgba(37, 99, 255, 0.9); transform: scale(1.12); } }
.nt-bar { display: flex; align-items: center; gap: 0.95cqw; padding: 0.5cqw 0 1.1cqw; font-size: 0.92cqw; color: rgba(255, 255, 255, 0.75); }
.nt-acct { display: inline-flex; align-items: center; gap: 0.2cqw; font-weight: 500; }
.nt-chev { width: 0.8cqw; height: 0.8cqw; }
.nt-slider { flex: 1; height: 0.32cqw; background: rgba(255, 255, 255, 0.82); border-radius: 1cqw; position: relative; }
.nt-slider i { position: absolute; right: -0.2cqw; top: 50%; width: 1.35cqw; height: 1.35cqw; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 0.1cqw 0.4cqw rgba(0, 0, 0, 0.4); }
.nt-pct { font-size: 0.78cqw; color: rgba(255, 255, 255, 0.6); }
.nt-body { min-height: 13cqw; display: flex; flex-direction: column; gap: 1cqw; }
.nt-status { font-size: 0.9cqw; color: rgba(255, 255, 255, 0.45); display: inline-flex; align-items: center; gap: 0.5cqw; }
.live-wave { display: inline-flex; align-items: center; gap: 0.2cqw; height: 1cqw; margin-left: 0.5cqw; vertical-align: -0.1cqw; }
.live-wave i { width: 0.22cqw; height: 40%; background: #7aa7ff; border-radius: 1cqw; animation: bar .8s ease-in-out infinite; }
.live-wave i:nth-child(2) { animation-delay: -.25s; } .live-wave i:nth-child(3) { animation-delay: -.5s; } .live-wave i:nth-child(4) { animation-delay: -.1s; } .live-wave i:nth-child(5) { animation-delay: -.6s; }
.bubble-me {
  align-self: flex-end; max-width: 85%;
  font-size: 1cqw; font-weight: 500; padding: 0.5cqw 1cqw; border-radius: 99cqw;
  background: #2c2c30; color: #fff;
}
.tp-msg { margin: 0; font-size: 1.08cqw; line-height: 1.55; color: rgba(255, 255, 255, 0.94); }
.tp-msg b { font-weight: 650; }
.tp-enter { animation: tpIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tpIn { from { opacity: 0; transform: translateY(0.8cqw); } }

/* mini order inside the panel */
.tp-order { border-radius: 1cqw; background: #101114; border: 1px solid var(--panel-line); padding: 1cqw 1.1cqw; display: flex; flex-direction: column; gap: 0.7cqw; }
.tp-order .row { display: flex; justify-content: space-between; font-size: 0.98cqw; color: rgba(255, 255, 255, 0.6); }
.tp-order .row b { color: #fff; font-weight: 600; }
.tp-order .acts { display: flex; gap: 0.6cqw; margin-top: 0.3cqw; }
.tp-order .acts span { flex: 1; text-align: center; font-size: 0.98cqw; font-weight: 600; padding: 0.6cqw; border-radius: 0.7cqw; background: #26272d; transition: background .25s, transform .2s; }
.tp-order .acts .ok { background: var(--blue); }
.tp-order .acts .ok.press { transform: scale(0.96); background: #1b4fdc; }
.tp-ok { display: inline-flex; align-items: center; gap: 0.5cqw; font-size: 1.02cqw; color: #4ade80; font-weight: 600; }
.tp-ok .ic { width: 1.1cqw; height: 1.1cqw; }

.paperpill {
  position: absolute; left: 50%; bottom: 8.4cqw; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.8cqw; padding: 0.55cqw 1.2cqw; border-radius: 99cqw;
  background: rgba(14, 15, 19, 0.88); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  font-size: 0.9cqw;
}
.paperpill b { color: #8fb0ff; letter-spacing: 0.08em; font-weight: 700; }
.paperpill svg { width: 1.4cqw; height: 1.4cqw; }
.pp-dots { display: flex; gap: 0.35cqw; }
.pp-dots i { width: 0.35cqw; height: 0.35cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }

.dock {
  position: absolute; left: 50%; bottom: 1.3cqw; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.9cqw; padding: 0.8cqw 1cqw; border-radius: 1.6cqw;
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(20, 30, 70, 0.08), 0 1cqw 3cqw -1cqw rgba(20, 30, 70, 0.2);
}
.dock i { width: 3.8cqw; height: 3.8cqw; border-radius: 0.95cqw; display: grid; place-items: center; box-shadow: 0 0.3cqw 0.8cqw -0.3cqw rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(20, 30, 70, 0.06) inset; }
.d1 { background: linear-gradient(145deg, #e9ecf3, #cfd5e2); }
.d2 { background: linear-gradient(145deg, #ffffff, #e6e9f0); }
.d3 { background: linear-gradient(145deg, #d9dde7, #b9c0cf); }
.d4 { background: linear-gradient(145deg, #3a3d46, #17191e); }
.d6 { background: linear-gradient(145deg, #f3f5fa, #d5dae5); }
.d-traby { background: #0b0c0f; color: #fff; }
.d-traby svg { width: 2.6cqw; height: 2.6cqw; }
.dock-sep { width: 1px; height: 3cqw; background: rgba(20, 30, 70, 0.12); }
.sample-tag { position: absolute; left: 1.4cqw; bottom: 1.2cqw; font-size: 0.85cqw; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { max-width: 1220px; margin: 0 auto; padding: 160px 24px 0; }
.section.center { text-align: center; }
.h-xl, .h-lg { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
.h-xl { font-size: clamp(36px, 5.2vw, 68px); margin-bottom: 48px; }
.h-lg { font-size: clamp(34px, 4.4vw, 58px); }
.lead { font-size: 18px; color: var(--ink-3); margin: 18px auto 56px; max-width: 560px; }
.muted { color: var(--ink-3); }

.fill-text {
  --p: 0%;
  /* background-clip:text only paints inside the box, so give ascenders/descenders room */
  padding: 0.14em 0 0.16em;
  background: linear-gradient(90deg, var(--ink) var(--p), var(--ink-4) calc(var(--p) + 18%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-xl.fill-text { margin-bottom: 36px; }
.h-lg.fill-text { margin-top: -0.14em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* duo cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { border-radius: 34px; padding: 42px 40px 40px; min-height: 600px; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.card-blue { color: var(--ink); background: radial-gradient(90% 60% at 50% 100%, #e4ebff 0%, rgba(228, 235, 255, 0) 70%), linear-gradient(180deg, #fbfbfd, #f2f4f9); box-shadow: 0 0 0 1px var(--line) inset; }
.card-blue .card-p { color: var(--ink-3); opacity: 1; }
.card-gray { background: linear-gradient(180deg, #f6f7fb, #eef0f6); box-shadow: 0 0 0 1px var(--line) inset; }
.card-h { font-size: clamp(24px, 2.3vw, 31px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; margin: 0 0 14px; }
.card-p { font-size: 17px; margin: 0 0 32px; max-width: 470px; opacity: 0.92; }
.chip-in {
  display: inline-flex; align-items: center; gap: 8px; vertical-align: 0.1em;
  padding: 2px 12px 3px; border-radius: 14px; font-size: 0.92em;
  background: #fff; box-shadow: 0 2px 10px -2px rgba(20, 30, 70, 0.12), 0 0 0 1px var(--line);
}
.chip-in .ic { width: 0.8em; height: 0.8em; color: var(--blue); }
.chip-in-light { background: #0b0c10; color: #fff; box-shadow: none; }
.mini-wave { display: inline-flex; gap: 2px; align-items: center; height: 0.8em; }
.mini-wave i { width: 2.5px; height: 100%; background: #8fb0ff; border-radius: 2px; animation: bar 1s ease-in-out infinite; }
.mini-wave i:nth-child(2) { animation-delay: -.3s; } .mini-wave i:nth-child(3) { animation-delay: -.6s; } .mini-wave i:nth-child(4) { animation-delay: -.15s; }

.listen-vis { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; align-items: center; }
.keys-big { display: flex; gap: 14px; margin-bottom: 26px; }
.kc {
  width: 84px; height: 84px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--ink); background: linear-gradient(180deg, #ffffff, #f0f2f7);
  box-shadow: 0 0 0 1px var(--line) inset, 0 6px 0 #dcdfe8, 0 14px 24px -12px rgba(20, 30, 70, 0.25);
  transition: all .18s ease;
}
.kc b { font-size: 28px; font-weight: 500; line-height: 1; }
.kc small { font-size: 12px; color: var(--ink-3); }
.keys-big.on .kc { color: #fff; background: #2563ff; transform: translateY(4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset, 0 2px 0 #1747c9, 0 0 28px rgba(37, 99, 255, 0.45); }
.keys-big.on .kc small { color: rgba(255, 255, 255, 0.85); }
.timer { font-size: 52px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.timer-sub { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-3); margin: 8px 0 24px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.bigwave { display: flex; align-items: center; gap: 4px; height: 70px; width: 100%; justify-content: center; }
.bigwave i { width: 5px; border-radius: 4px; background: #0b0c10; height: 8%; transition: height .12s linear; }
.transcript-chip {
  margin-top: 26px; padding: 12px 18px; border-radius: 16px; font-weight: 500; color: #fff;
  background: #0b0c10; box-shadow: 0 14px 30px -14px rgba(11, 12, 16, 0.5);
  min-height: 48px; transition: opacity .3s;
}

.order {
  margin-top: auto; align-self: stretch; color: #fff; background: #131418; border-radius: 24px; padding: 24px;
  box-shadow: 0 30px 60px -30px rgba(10, 20, 60, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06) inset; position: relative;
}
.order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.order-tag { font-size: 13px; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.badge-paper { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #8fb0ff; padding: 4px 9px; border-radius: 8px; background: rgba(77, 130, 255, 0.14); }
.order-asset { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.order-asset b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.side { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; }
.side.long { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
.side.short { color: #ff7a7a; background: rgba(255, 122, 122, 0.12); }
.otype { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 18px; background: var(--panel-line); border-radius: 14px; overflow: hidden; }
.order-grid div { background: #17181d; padding: 12px 14px; }
.order-grid dt { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-bottom: 3px; }
.order-grid dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.order-actions { display: flex; gap: 10px; }
.ob { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: default; font: 600 15px var(--sans); padding: 13px; border-radius: 13px; color: #fff; transition: transform .15s, background .25s, box-shadow .25s; }
.ob .ic { width: 16px; height: 16px; }
.ob-ghost { background: #26272d; color: rgba(255, 255, 255, 0.85); }
.ob-approve { background: var(--blue); box-shadow: 0 8px 24px -8px rgba(37, 99, 255, 0.8); }
.ob-approve.press { transform: scale(0.96); background: #1b4fdc; }
.order-done {
  position: absolute; left: 24px; right: 24px; bottom: 24px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: #4ade80;
  background: #12251a; box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.25) inset;
  opacity: 0; transform: translateY(6px); transition: all .35s ease; pointer-events: none;
}
.order-done.show { opacity: 1; transform: none; }

/* dashboard replica */
.app-shot {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; text-align: left;
  border-radius: 26px; overflow: hidden; color: #fff; background: #0b0c0f;
  box-shadow: 0 60px 120px -50px rgba(20, 40, 120, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.app-side { background: linear-gradient(180deg, #24262b, #1a1b1f); padding: 28px 18px; }
.app-brand { font-weight: 600; font-size: 19px; display: flex; align-items: center; gap: 8px; margin-bottom: 30px; padding-left: 8px; }
.app-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.app-side li { padding: 11px 14px; border-radius: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.app-side li.on { background: rgba(255, 255, 255, 0.09); color: #fff; }
.app-main { padding: 34px 40px 40px; background: #08090b; }
.app-h { font-size: 22px; font-weight: 650; margin-bottom: 22px; }
.app-who { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.85); margin-bottom: 18px; }
.paper-chip { font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 99px; background: #1d1e23; }
.app-card { background: #141519; border-radius: 18px; padding: 22px 24px; margin-bottom: 30px; }
.app-card-h { font-weight: 650; font-size: 16px; margin-bottom: 8px; }
.app-card p { margin: 0 0 12px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.app-card p.dim { margin: 10px 0 0; color: rgba(255, 255, 255, 0.5); font-size: 13.5px; }
.app-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ab { font-size: 14px; padding: 9px 14px; border-radius: 10px; background: #2a2b31; }
.ab-dim { color: rgba(255, 255, 255, 0.35); background: #1d1e23; }
.app-help { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; }
.app-help-sub { color: rgba(255, 255, 255, 0.5); margin: 6px 0 16px; }
.app-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.app-chips span { font-size: 14px; padding: 9px 14px; border-radius: 11px; background: #1f2025; color: rgba(255, 255, 255, 0.85); }

/* trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
.feat-vis {
  aspect-ratio: 1 / 0.92; border-radius: 30px; display: grid; place-items: center; padding: 26px;
  background: linear-gradient(180deg, #e7ebf7 0%, #f3f4f9 100%); box-shadow: 0 0 0 1px var(--line) inset; position: relative; overflow: hidden;
}
.feat-p { font-size: 17px; color: var(--ink-3); margin: 22px 4px 0; line-height: 1.5; }
.feat-p b { color: var(--ink); font-weight: 600; }

.mini-order { width: 100%; max-width: 300px; background: #131418; color: #fff; border-radius: 18px; padding: 18px; position: relative; box-shadow: 0 20px 40px -20px rgba(10, 20, 60, 0.5); }
.mo-row { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 8px; }
.mo-row.dim { font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.mo-actions { display: flex; gap: 8px; }
.mo-actions .ob { padding: 10px; font-size: 13.5px; border-radius: 11px; }
.cursor {
  position: absolute; right: 54px; bottom: 6px; width: 18px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 24'%3E%3Cpath d='M1 1l15 13.5-6.6.6 3.8 7.4-2.8 1.4-3.8-7.6L1 20.5z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: cur 3.2s ease-in-out infinite;
}
@keyframes cur { 0%, 100% { transform: translate(30px, 26px); } 45%, 60% { transform: translate(0, 0); } 52% { transform: translate(0, 0) scale(0.88); } }

.type-box { width: 100%; max-width: 310px; }
.tb-input { display: flex; align-items: center; justify-content: space-between; background: #131418; color: #fff; border-radius: 15px; padding: 14px 16px; font-size: 15px; box-shadow: 0 20px 40px -20px rgba(10, 20, 60, 0.5); margin-bottom: 12px; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: #6f9cff; vertical-align: -0.2em; animation: blink 1s steps(1) infinite; }
.tb-send { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--blue); font-size: 13px; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-chips span { font-size: 13px; padding: 7px 11px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); }

.vault { width: 100%; max-width: 300px; background: #fff; border-radius: 18px; padding: 8px 6px; box-shadow: 0 20px 40px -20px rgba(10, 20, 60, 0.3), 0 0 0 1px var(--line); }
.v-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; font-size: 14.5px; font-weight: 500; }
.v-row + .v-row { border-top: 1px solid var(--line); }
.v-row .ic { width: 18px; height: 18px; color: var(--blue); }
.v-row em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: 13.5px; }

.ask-row { margin-top: 72px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 34px; font-size: 19px; font-weight: 500; color: var(--ink-2); }
.ask-label { width: 100%; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }

/* rule */
.rule { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.rule-vis { border-radius: 30px; padding: 44px; background: linear-gradient(160deg, #dfe5f7 0%, #eef0f7 60%, #f5f6fa 100%); }
.hist { background: #fff; border-radius: 18px; padding: 26px 26px 18px; box-shadow: 0 30px 60px -30px rgba(20, 30, 80, 0.3), 0 0 0 1px var(--line); }
.hist-meta { font-size: 12.5px; color: var(--ink-3); }
.hist-h { font-size: 23px; font-weight: 550; letter-spacing: -0.02em; margin: 6px 0 14px; }
.hist-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--soft); font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.hist-tabs span { padding: 4px 10px; border-radius: 8px; }
.hist-tabs .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.hist-list > div { margin-bottom: 11px; }
.hist-list .who { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-right: 8px; }
.hist-list .who.you { color: var(--blue); }
.hist-list .t { font-size: 11.5px; color: var(--ink-4); }
.hist-list p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.rule-copy .h-lg { margin-bottom: 28px; }
.stat { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.stat-n { font-size: 50px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; display: flex; gap: 8px; }
.stat-n kbd { font-size: 30px; height: 50px; min-width: 50px; border-radius: 12px; background: var(--soft); border-color: var(--line); color: var(--ink); box-shadow: 0 3px 0 #dfe2ea; }
.paper-n { font-size: 34px; letter-spacing: 0.04em; font-weight: 700; }
.stat h4 { margin: 0 0 4px; font-size: 22px; font-weight: 550; letter-spacing: -0.02em; }
.stat p { margin: 0; color: var(--ink-3); }

/* faq */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 2px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; color: var(--ink-3); transition: transform .3s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: -6px 0 26px; max-width: 760px; color: var(--ink-3); font-size: 17px; }

/* final */
.final {
  position: relative; overflow: hidden; margin-top: 180px; padding: 170px 24px 150px;
  background: linear-gradient(180deg, #ffffff 0%, #e9ecf6 35%, #dfe3f1 100%);
}
.final-copy { max-width: 1220px; margin: 0 auto; position: relative; z-index: 2; }
.final .h-lg { max-width: 640px; }
.final-sub { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; color: #6b7590; margin: 10px 0 34px; }
.kc3 {
  position: absolute; z-index: 1; width: 170px; height: 170px; border-radius: 38px; display: grid; place-items: center;
  background: linear-gradient(150deg, #fbfcff 0%, #e3e7f2 100%);
  box-shadow: 0 40px 60px -30px rgba(60, 80, 140, 0.45), inset 0 2px 0 #fff, inset 0 -6px 14px rgba(140, 155, 195, 0.25);
  animation: float 7s ease-in-out infinite;
}
.kc3 b { font-size: 76px; font-weight: 300; color: #aab3cb; }
.kc3-a { right: 22%; top: 90px; transform: rotate(-12deg); }
.kc3-b { right: 7%; top: 230px; transform: rotate(14deg); animation-delay: -3.5s; }
@keyframes float { 50% { translate: 0 -16px; } }

/* footer */
.foot { background: #dfe3f1; padding: 0 24px 34px; }
.foot > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding-top: 46px; border-top: 1px solid rgba(20, 30, 70, 0.1); }
.foot .brand { color: var(--ink); }
.foot .brand-mark { box-shadow: none; }
.foot-cols { display: flex; gap: 72px; }
.foot-cols h5 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.foot-cols a { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
.foot-cols a:hover { color: var(--ink); }
.risk { font-size: 12.5px; color: #7a8299; margin-top: 40px; max-width: 760px; }
.foot-bottom { border-top: 1px solid rgba(20, 30, 70, 0.1); margin-top: 22px; padding-top: 20px; font-size: 13.5px; color: #7a8299; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .duo, .trio, .rule { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .feat-vis { aspect-ratio: auto; min-height: 280px; }
  .rule { gap: 40px; }
  .app-shot { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kc3-a { right: -30px; top: 30px; width: 120px; height: 120px; }
  .kc3-b { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 18px 16px; }
  .nav-links { display: none; }
  .btn-float { top: 12px; right: 12px; padding: 10px 14px; font-size: 14px; }
  .hero { padding-top: 120px; }
  .stage-wrap { margin-top: 48px; }
  .stage { border-radius: 14px; aspect-ratio: 4 / 5; }
  .stage .chart-win { left: 4cqw; top: 60cqw; width: 92cqw; height: 50cqw; }
  .stage .notch { width: 86cqw; padding: 1cqw 3.5cqw 3.5cqw; border-radius: 0 0 5cqw 5cqw; }
  .stage .nt-ic { width: 2.6cqw; height: 2.6cqw; }
  .stage .nt-top { height: 5.4cqw; }
  .stage .nt-dot { width: 2.8cqw; height: 2.8cqw; }
  .stage .nt-bar { gap: 2cqw; font-size: 2.4cqw; padding-bottom: 2.4cqw; }
  .stage .nt-pct { font-size: 2cqw; }
  .stage .nt-slider { height: 0.8cqw; }
  .stage .nt-slider i { width: 3cqw; height: 3cqw; }
  .stage .nt-body { min-height: 34cqw; gap: 2.4cqw; }
  .stage .nt-status { font-size: 2.3cqw; }
  .stage .menubar, .stage .tp-msg, .stage .bubble-me, .stage .tp-order .row, .stage .tp-order .acts span, .stage .tp-ok { font-size: 2.6cqw; }
  .stage .menubar { height: 5.4cqw; }
  .stage .mb-left span { display: none; }
  .stage .paperpill { display: none; }
  .stage .dock { display: none; }
  .section { padding-top: 110px; }
  .card { padding: 30px 24px; border-radius: 26px; }
  .stat { grid-template-columns: 1fr; gap: 12px; }
  .foot-top { flex-direction: column; }
  .foot-cols { gap: 36px; flex-wrap: wrap; }
  .final { padding: 120px 20px 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
