/* Hadal website: home, pricing, checkout and terms pages. The app itself uses styles.css. */
:root {
  --abyss: #050812;
  --deep: #0a1022;
  --panel: rgba(12, 17, 32, 0.78);
  --panel-solid: #0c1120;
  --ink: #eef2fb;
  --mist: #a9b5d0;
  --dim: #6b789a;
  --line: rgba(132, 152, 200, 0.16);
  --line-strong: rgba(132, 152, 200, 0.3);
  --signal: #6c8cff;
  --signal-2: #8fa8ff;
  --cyan: #4cc9f0;
  --bundle: #ef5a84;
  --sniper: #f2895a;
  --dev: #e8b04b;
  --insider: #a58bff;
  --green: #3ecf8e;
  --red: #ef4e6a;
  --display: 'Unbounded', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--abyss); }
body { margin: 0; color: var(--ink); background: var(--abyss); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--signal-2); outline-offset: 2px; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; }

/* ---------- nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 8, 18, 0.78); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px var(--display); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--mist); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: filter 0.15s, transform 0.1s, background 0.15s, border-color 0.15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, #7d9aff, #5577f0); box-shadow: 0 12px 30px -12px rgba(108, 140, 255, 0.8); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--signal); background: rgba(108, 140, 255, 0.08); }
.btn[aria-disabled='true'], .btn:disabled { opacity: 0.4; cursor: not-allowed; filter: none; transform: none; }

/* ---------- hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 600px at 66% 50%, rgba(46, 72, 170, 0.32), transparent 70%),
  radial-gradient(700px 420px at 12% 8%, rgba(76, 201, 240, 0.08), transparent 70%),
  linear-gradient(180deg, #070b19 0%, var(--abyss) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1; background: linear-gradient(transparent, var(--abyss)); pointer-events: none; }
.rays { position: absolute; inset: -20% -10% 30% -10%; z-index: -2; pointer-events: none; opacity: 0.5; background: repeating-conic-gradient(from 188deg at 62% -12%, rgba(120, 150, 255, 0.07) 0deg 2deg, transparent 2deg 9deg); mask-image: radial-gradient(70% 80% at 62% 0%, #000 0%, transparent 75%); animation: rays 18s ease-in-out infinite alternate; }
@keyframes rays { to { transform: translateX(3%) rotate(1.5deg); } }
#scene { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; cursor: grab; touch-action: none; }
#scene.grabbing { cursor: grabbing; }
.hero-in { position: relative; width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; padding: 120px 0 90px; pointer-events: none; }
.hero-copy { max-width: 640px; }
.shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 8, 18, 0.9) 0%, rgba(5, 8, 18, 0.8) 38%, rgba(5, 8, 18, 0) 58%); }
.hero-copy > * { pointer-events: auto; }
.hero h1 { margin: 0; font: 700 clamp(42px, 4.7vw, 68px)/1.03 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.hero-sub { margin: 26px 0 0; max-width: 54ch; color: var(--mist); font-size: 18px; line-height: 1.6; }
.ca-form { display: flex; gap: 8px; margin-top: 34px; padding: 7px; border-radius: 15px; background: rgba(9, 13, 26, 0.82); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7); max-width: 560px; transition: border-color 0.2s, box-shadow 0.2s; }
.ca-form:focus-within { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(108, 140, 255, 0.14), 0 24px 60px -20px rgba(0, 0, 0, 0.7); }
.ca-form input { flex: 1; min-width: 0; padding: 0 12px; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15.5px; }
.ca-form input::placeholder { color: var(--dim); }
.ca-form.bad { animation: shake 0.35s ease; border-color: var(--red); }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-2px); } }
.ca-note { min-height: 20px; margin: 9px 0 0 4px; font-size: 13.5px; color: var(--dim); }
.ca-note.bad { color: var(--red); }
.ca-note a { color: var(--mist); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--mist); font-size: 14px; font-weight: 600; }
.trust svg { flex: none; color: var(--green); }
.drag-hint { position: absolute; right: 32px; bottom: 34px; display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; pointer-events: none; transition: opacity 0.6s; }
.drag-hint.gone { opacity: 0; }
.scene-tip { position: absolute; z-index: 3; padding: 5px 10px; border-radius: 8px; background: rgba(8, 12, 24, 0.92); border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 700; pointer-events: none; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }
.scene-tip i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: 0; }

/* ---------- sections */
.sec { padding: 120px 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { margin: 0; font: 700 clamp(30px, 3.3vw, 44px)/1.1 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.sec-head p { margin: 18px 0 0; color: var(--mist); font-size: 18px; line-height: 1.6; max-width: 60ch; }

.shot { position: relative; margin: 0 0 72px; border-radius: 18px; padding: 10px; background: linear-gradient(180deg, rgba(132, 152, 200, 0.18), rgba(132, 152, 200, 0.04)); box-shadow: 0 60px 120px -40px rgba(30, 60, 180, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.8); transform-origin: 50% 0; transform: perspective(1800px) rotateX(var(--tilt, 0deg)) scale(var(--sc, 1)); isolation: isolate; }
/* a slow light travelling around the frame */
.shot::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: 19px; padding: 1px; background: conic-gradient(from var(--spin, 0deg), transparent 0deg, rgba(76, 201, 240, 0.9) 40deg, rgba(108, 140, 255, 0.9) 80deg, transparent 140deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: shot-spin 7s linear infinite; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes shot-spin { to { --spin: 360deg; } }
.shot-frame { position: relative; border-radius: 11px; overflow: hidden; background: #070a14; }
.shot video, .shot img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; border-radius: 11px; }
.shot-play { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(8, 12, 24, 0.75); color: var(--ink); backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.shot:hover .shot-play, .shot-play:focus-visible, .shot-play.paused { opacity: 1; }
.shot-play .i-play, .shot-play.paused .i-pause { display: none; }
.shot-play.paused .i-play { display: block; }
[data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
[data-stagger].in > * { opacity: 1; transform: none; }
.shot figcaption { position: absolute; left: 22px; bottom: -32px; color: var(--dim); font-size: 13px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.features li { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.f-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px; }
.features h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.features p { margin: 0; color: var(--mist); font-size: 15.5px; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-top: 70px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; font: 700 54px/1 var(--display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(143, 168, 255, 0.55); }
.steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.steps p { margin: 0; color: var(--mist); font-size: 15.5px; line-height: 1.6; }

.weigh { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.weigh-bars { display: grid; gap: 14px; }
.wb { display: grid; grid-template-columns: 110px 1fr 54px; gap: 14px; align-items: center; font-size: 15px; }
.wb span { color: var(--mist); font-weight: 600; }
.wb b { text-align: right; font-variant-numeric: tabular-nums; }
.wb .tr { height: 10px; border-radius: 6px; background: rgba(132, 152, 200, 0.12); overflow: hidden; }
.wb .tr i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #5577f0, #8fa8ff); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.weigh.in .wb .tr i { transform: scaleX(1); }
.wb.narr .tr i { background: linear-gradient(90deg, #2fa6cc, var(--cyan)); }
.wb-split { margin: 6px 0 2px; border-top: 1px dashed var(--line-strong); }
.weigh-note { margin: 22px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.6; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: 20px; background: radial-gradient(600px 300px at 85% 0%, rgba(108, 140, 255, 0.22), transparent 70%), var(--panel-solid); border: 1px solid var(--line); }
.cta-band h2 { margin: 0; font: 700 32px/1.15 var(--display); letter-spacing: -0.03em; }
.cta-band p { margin: 10px 0 0; color: var(--mist); font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex: none; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--mist); border-bottom: 2px solid var(--mist); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { margin: -6px 0 22px; max-width: 70ch; color: var(--mist); font-size: 16px; line-height: 1.65; }

/* ---------- footer */
.foot { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.foot p { color: var(--dim); font-size: 14px; line-height: 1.6; max-width: 56ch; }
.foot-links { display: flex; gap: 28px; justify-content: flex-end; flex-wrap: wrap; }
.foot-links a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: 15px; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- corner badge */
.corner { position: fixed; left: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 12px; border-radius: 14px; background: rgba(9, 13, 26, 0.88); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7); font-size: 13px; line-height: 1.35; animation: corner-in 0.5s 1.4s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
@keyframes corner-in { from { opacity: 0; transform: translateY(12px); } }
.corner .lock { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--green); background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.25); }
.corner b { display: block; font-size: 13.5px; }
.corner span { color: var(--mist); }
.corner-x { margin-left: 4px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: var(--dim); cursor: pointer; }
.corner-x:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

/* ---------- pricing */
.page-top { padding: 150px 0 56px; text-align: center; }
.page-top h1 { margin: 0; font: 700 clamp(40px, 4.6vw, 62px)/1.05 var(--display); letter-spacing: -0.035em; }
.page-top p { margin: 18px auto 0; max-width: 60ch; color: var(--mist); font-size: 18px; line-height: 1.6; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 18px; border-radius: 20px; background: var(--panel-solid); border: 1px solid var(--line); }
.plan.best { border-color: rgba(108, 140, 255, 0.55); background: radial-gradient(420px 220px at 50% -10%, rgba(108, 140, 255, 0.16), transparent 70%), var(--panel-solid); }
.plan-tag { position: absolute; top: -12px; right: 20px; padding: 3px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #7d9aff, #5577f0); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-name { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.plan-price { font: 700 25px var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.plan-sub { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 14px; }
.plan-blurb { min-width: 0; color: var(--cyan); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-per { color: var(--dim); white-space: nowrap; }
.plan .btn { margin: 26px 0 8px; width: 100%; height: 50px; border-radius: 999px; }
.plan-list { margin: 10px 0 0; padding: 0; list-style: none; }
.plan-list li { padding: 13px 0; border-top: 1px solid var(--line); color: #d4dbec; font-size: 15px; }
.plan-list li:first-child { border-top: 0; }
.plan-list li.k { font-weight: 800; color: var(--ink); }
.plan-list li.save { color: var(--green); font-weight: 700; }
.plans-trust { display: flex; justify-content: center; margin-top: 34px; }
.plans-note { margin: 14px auto 0; text-align: center; color: var(--dim); font-size: 14px; }

/* ---------- checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.co-card { padding: 30px; border-radius: 20px; background: var(--panel-solid); border: 1px solid var(--line); }
.co-card h2 { margin: 0 0 18px; font-size: 15px; font-weight: 700; color: var(--mist); }
.co-plan { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.co-plan h3 { margin: 0; font: 700 30px var(--display); letter-spacing: -0.03em; }
.co-plan .p { font: 700 30px var(--display); letter-spacing: -0.03em; }
.co-lines { margin: 22px 0 0; padding: 0; list-style: none; }
.co-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--mist); font-size: 15px; }
.co-lines li b { color: var(--ink); }
.co-lines li.total { font-size: 17px; color: var(--ink); font-weight: 800; }
.co-switch { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 22px; }
.co-switch a { padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); color: var(--mist); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.co-switch a[aria-current='true'] { border-color: var(--signal); color: var(--ink); background: rgba(108, 140, 255, 0.1); }
.co-steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.co-steps li { position: relative; padding-left: 40px; color: var(--mist); font-size: 15px; line-height: 1.5; }
.co-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); font-size: 13px; font-weight: 800; }
.co-steps b { color: var(--ink); }
.co-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 14.5px; line-height: 1.45; color: #d4dbec; cursor: pointer; }
.co-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--signal); }
.co-check a { color: var(--signal-2); }
.co-pay { width: 100%; height: 54px; font-size: 16px; }
.co-fine { margin: 14px 0 0; color: var(--dim); font-size: 13.5px; line-height: 1.55; }
.co-fine.warn { color: var(--dev); }
.co-trust { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.co-trust .trust { margin-top: 0; flex-direction: column; gap: 10px; }
.co-status { max-width: 640px; margin: 0 auto; padding: 44px; text-align: center; border-radius: 22px; background: var(--panel-solid); border: 1px solid var(--line); }
.co-status .ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; }
.co-status h1 { margin: 0; font: 700 34px/1.15 var(--display); letter-spacing: -0.03em; }
.co-status p { margin: 14px auto 26px; max-width: 46ch; color: var(--mist); font-size: 17px; line-height: 1.6; }

/* ---------- terms page */
.terms-page { max-width: 820px; margin: 0 auto; padding: 140px 0 80px; color: #c4cde2; font-size: 16px; line-height: 1.65; }
.terms-page .terms-title { font-size: 40px; letter-spacing: -0.03em; margin-bottom: 8px; }
.terms-page .terms-sec h2 { font-size: 18px; margin-bottom: 10px; }
.terms-page .terms-sec { margin-bottom: 26px; }

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weigh, .co { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.co-agreed { margin: 4px 0 18px; font-size: 14px; color: var(--mist); }
.co-agreed a { color: var(--signal-2); }
button.gate-leave { background: none; border: 0; padding: 0; font: 600 15px var(--body); cursor: pointer; }

/* ---------- refund policy: a command-prompt window */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmd-page { padding: 130px 0 90px; }
.cmd { max-width: 900px; margin: 0 auto; border-radius: 8px; overflow: hidden; background: #0c0c0c; border: 1px solid #3a3a3a; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03); cursor: text; outline: none; }
.cmd:focus-visible { border-color: var(--signal); }
.cmd-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 0 0 12px; background: #1f1f1f; border-bottom: 1px solid #2c2c2c; color: #cfcfcf; font: 12.5px 'Segoe UI', system-ui, sans-serif; user-select: none; }
.cmd-icon { padding: 1px 4px; border-radius: 3px; background: #0c0c0c; color: #cfcfcf; font: 700 10px Consolas, monospace; }
.cmd-btns { margin-left: auto; display: flex; height: 100%; }
.cmd-btns i { width: 46px; height: 100%; position: relative; }
.cmd-btns i::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cmd-btns i:nth-child(1)::before { width: 10px; height: 1px; background: #cfcfcf; }
.cmd-btns i:nth-child(2)::before { width: 9px; height: 9px; border: 1px solid #cfcfcf; }
.cmd-btns i:nth-child(3)::before { content: '\2715'; color: #cfcfcf; font-size: 12px; }
.cmd-btns i:nth-child(3):hover { background: #c42b1c; }
.cmd-body { margin: 0; min-height: 560px; padding: 14px 18px 20px; color: #cccccc; font: 14.5px/1.5 Consolas, 'Cascadia Mono', 'Courier New', monospace; white-space: pre-wrap; word-break: break-word; }
.cmd-body .dim { color: #8a8a8a; }
.cmd-body .pr { color: #f2f2f2; }
.cmd-body .head { color: #61d6d6; }
.cmd-body .h { color: #f9f1a5; font-weight: 700; }
.cmd-body .ok { color: #16c60c; }
.cmd-body .cur { display: inline-block; width: 0.6em; height: 1.05em; margin-left: 1px; vertical-align: -0.18em; background: #cccccc; animation: cmdblink 1s steps(1) infinite; }
@keyframes cmdblink { 50% { opacity: 0; } }
.cmd-hint { max-width: 900px; margin: 16px auto 0; color: var(--dim); font-size: 14px; }
.cmd-hint a { color: var(--mist); }

/* ---------- kinds of scan: switch, note, comparison */
.tier-wrap { display: grid; justify-items: center; gap: 14px; margin: -8px 0 44px; }
.tier-tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: var(--panel-solid); border: 1px solid var(--line-strong); isolation: isolate; }
.tier-tab { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1px; min-width: 210px; padding: 11px 22px; border: 0; border-radius: 12px; background: none; color: var(--mist); cursor: pointer; transition: color 0.25s; }
.tier-tab .tt-name { font: 700 16px var(--display); letter-spacing: -0.02em; }
.tier-tab .tt-from { font-size: 12.5px; color: var(--dim); transition: color 0.25s; }
.tier-tab[aria-selected='true'] { color: #fff; }
.tier-tab[aria-selected='true'] .tt-from { color: rgba(255, 255, 255, 0.78); }
.tier-glider { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: linear-gradient(180deg, #4a5f9e, #34477f); box-shadow: 0 10px 26px -12px rgba(108, 140, 255, 0.8); transition: transform 0.35s cubic-bezier(0.3, 0.9, 0.3, 1), background 0.35s; }
.tier-tabs[data-active='deep'] .tier-glider { transform: translateX(100%); background: linear-gradient(180deg, #7d9aff, #5577f0); }
.tier-note { margin: 0; color: var(--mist); font-size: 16px; text-align: center; max-width: 60ch; }
.plans[data-tier] .plan { animation: plan-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes plan-in { from { opacity: 0; transform: translateY(10px); } }
.plan-list li.live { color: var(--cyan); font-weight: 700; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 700 16px var(--display); letter-spacing: -0.02em; color: var(--ink); border-bottom-color: var(--line-strong); }
.compare thead th.deep { color: var(--signal-2); }
.compare tbody th { width: 46%; font-weight: 600; color: #d4dbec; }
.compare td.y { color: var(--ink); }
.compare td.y::before { content: ''; display: inline-block; width: 7px; height: 12px; margin: 0 10px 0 2px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.compare td.n { color: var(--dim); }
.compare td.n::before { content: ''; display: inline-block; width: 11px; height: 2px; margin: 0 9px 4px 0; background: var(--dim); vertical-align: middle; }
.compare .price-row td, .compare .price-row th { font-weight: 800; color: var(--ink); }
.co-tier { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 800; color: var(--mist); background: rgba(132, 152, 200, 0.12); }
.co-tier.deep { color: #fff; background: linear-gradient(180deg, #7d9aff, #5577f0); }
.co-tier-note { margin: 8px 0 0; color: var(--mist); font-size: 14.5px; }
.co-other { display: inline-block; margin-top: 14px; color: var(--signal-2); font-size: 14px; font-weight: 700; }

.f-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 7px; font-size: 12px; font-weight: 800; vertical-align: 2px; color: #fff; background: linear-gradient(180deg, #7d9aff, #5577f0); }

/* ---------- pasted contract address: locked scan preview */
body.teasing { overflow: hidden; }
.teaser { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(4, 7, 15, 0.55); opacity: 0; transition: opacity 0.3s ease; }
.teaser.on { opacity: 1; }
.teaser.leaving { opacity: 0; pointer-events: none; }
.tz-back { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tz-back img { width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(1.25) brightness(0.42); transform: scale(1.12); animation: tz-drift 14s ease-in-out infinite alternate; }
@keyframes tz-drift { to { transform: scale(1.2) translate(-1.5%, -1%); } }
.tz-card { position: relative; width: min(560px, 100%); padding: 26px 26px 24px; border-radius: 22px; background: rgba(10, 15, 29, 0.86); border: 1px solid var(--line-strong); backdrop-filter: blur(18px); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; transform: translateY(14px) scale(0.97); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1); }
.teaser.on .tz-card { transform: none; }
.tz-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--dim); cursor: pointer; }
.tz-x:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.tz-coin { display: flex; align-items: center; gap: 13px; padding-right: 36px; }
.tz-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: #141b31; border: 1px solid var(--line-strong); }
.tz-icon img { width: 100%; height: 100%; object-fit: cover; }
.tz-letter { font: 700 18px var(--display); color: var(--signal-2); }
.tz-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--signal); border-right-color: transparent; animation: tz-rot 0.8s linear infinite; }
@keyframes tz-rot { to { transform: rotate(360deg); } }
.tz-id { min-width: 0; display: grid; }
.tz-name { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-name span { color: var(--mist); font-weight: 600; }
.tz-ca { color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.tz-mcap { margin-left: auto; color: var(--mist); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.tz-bar { height: 4px; margin: 20px 0 10px; border-radius: 3px; background: rgba(132, 152, 200, 0.14); overflow: hidden; }
.tz-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #4cc9f0, #6c8cff, #a58bff); background-size: 200% 100%; animation: tz-flow 1.6s linear infinite; transition: width 0.5s cubic-bezier(0.3, 0.8, 0.3, 1); }
@keyframes tz-flow { to { background-position: -200% 0; } }
.tz-status { margin: 0 0 12px; color: var(--mist); font-size: 14px; }
.tz-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.tz-list li { position: relative; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); font-size: 14.5px; overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.3s; }
.tz-list li.in { opacity: 1; transform: none; }
.tz-list li::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(143, 168, 255, 0.16) 50%, transparent 80%); transform: translateX(-100%); pointer-events: none; }
.tz-list li.in:not(.locked)::after { animation: tz-sweep 0.5s ease-out; }
@keyframes tz-sweep { to { transform: translateX(100%); } }
.tz-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.tz-t em { margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #7d9aff, #5577f0); }
.tz-lock { display: inline-flex; align-items: center; gap: 5px; color: var(--dim); font-size: 12.5px; font-weight: 700; opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.3s cubic-bezier(0.3, 1.6, 0.4, 1); }
.tz-list li.locked .tz-lock { opacity: 1; transform: none; }
.tz-final { display: grid; justify-items: center; text-align: center; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.4s 0.1s, margin 0.4s; }
.teaser.done .tz-final { max-height: 340px; opacity: 1; margin-top: 18px; }
.tz-biglock { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 140, 255, 0.22), transparent 70%); }
.teaser.done .tz-biglock { animation: tz-pop 0.6s 0.15s cubic-bezier(0.3, 1.6, 0.4, 1) both; }
@keyframes tz-pop { from { transform: scale(0.4) rotate(-12deg); opacity: 0; } }
.tz-final h2 { margin: 6px 0 0; font: 700 25px/1.2 var(--display); letter-spacing: -0.03em; }
.tz-final p { margin: 10px 0 18px; max-width: 44ch; color: var(--mist); font-size: 15px; line-height: 1.55; }
.tz-actions { display: flex; gap: 10px; }
