@import url("/assets/fonts.css");

/* Design tokens: taken from the Framer template (index.html) */
:root {
  --blue: #007aff;
  --blue-deep: #0051ad;
  --blue-10: #0051ad1a;
  --blue-20: #0051ad33;
  --blue-soft: #edf0ff;
  --bar: #c5dffb;
  --white: #fff;
  --black: #000;
  --ink: #2d2d2d;
  --muted: #6e6e6e;
  --faint: #c5c5c5;
  --line: #e0e0e0;
  --surface: #f7f7f7;
  --page: #fcfcfc;
  --page-alt: #f9f9f9;
  --grid: #e2e9f3;
  --success: #0051ad;
  --danger: #d92d20;
  --shadow-card: 0px 0.78px 0.39px -0.71px rgba(0, 0, 0, 0.06), 0px 1.92px 0.96px -1.43px rgba(0, 0, 0, 0.06), 0px 3.64px 1.82px -2.14px rgba(0, 0, 0, 0.05), 0px 6.35px 3.18px -2.86px rgba(0, 0, 0, 0.05), 0px 11.05px 5.53px -3.57px rgba(0, 0, 0, 0.04), 0px 20.24px 10.12px -4.29px rgba(0, 0, 0, 0.03);
  --shadow-blue: 0px 0.78px 0.39px -0.71px rgba(0, 81, 173, 0.06), 0px 1.92px 0.96px -1.43px rgba(0, 81, 173, 0.06), 0px 3.64px 1.82px -2.14px rgba(0, 81, 173, 0.05), 0px 6.35px 3.18px -2.86px rgba(0, 81, 173, 0.05), 0px 11.05px 5.53px -3.57px rgba(0, 81, 173, 0.04), 0px 20.24px 10.12px -4.29px rgba(0, 81, 173, 0.03);
  --font: "Switzer", "Switzer Placeholder", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: 100px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--page); color: var(--black); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Page frame: vertical grid lines at the gutters, like the template */
.frame { position: relative; max-width: 1440px; margin: 0 auto; }
.frame::before, .frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grid); pointer-events: none; z-index: 0; }
.frame::before { left: var(--gutter); }
.frame::after { right: var(--gutter); }
.inner { position: relative; z-index: 1; margin: 0 var(--gutter); }
.rule { height: 1px; background: var(--grid); position: relative; z-index: 1; margin: 0 calc(-1 * var(--gutter)); }
.spacer { height: 92px; border-bottom: 1px solid var(--grid); margin: 0 calc(-1 * var(--gutter)); }
.dots { background-color: var(--page-alt); background-image: radial-gradient(var(--blue-10) 1px, transparent 1px); background-size: 6px 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--blue); height: 56px; }
.nav .bar { max-width: 1440px; margin: 0 auto; height: 100%; padding: 0 108px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--white); font-weight: 500; font-size: 16px; opacity: .92; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 2px solid var(--white); border-radius: 999px; color: var(--white); font-weight: 600; font-size: 16px; transition: transform .2s var(--ease), filter .2s; }
.btn.btn-outline { border: 2px solid var(--white); background: transparent; color: var(--white); font-size: 18px; padding: 0 22px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 40px; height: 40px; }
@media (max-width: 900px) {
  .nav .bar { padding: 0 16px; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--blue); flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .nav .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Hero (blue gradient with hatched side panels) */
.hero { position: relative; background: linear-gradient(180deg, #007aff 0%, #298fff 45%, #5eabff 80%, #e8f2fc 100%); color: var(--white); overflow: hidden; }
.hero .frame::before, .hero .frame::after { background: rgba(255,255,255,.35); }
.hero .hatch { position: absolute; top: 0; bottom: 0; width: 135px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 1px, transparent 1px 7px); }
.hero .hatch.l { left: var(--gutter); } .hero .hatch.r { right: var(--gutter); }
.hero .content { position: relative; z-index: 1; text-align: center; padding: 112px 24px 96px; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: 64px; line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.hero p { margin: 22px auto 0; font-size: 18px; line-height: 1.45; font-weight: 500; max-width: 540px; opacity: .96; }
.hero .actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 470px; height: 8px; background: rgba(255,255,255,.75); filter: blur(6px); }
.hero .pill-tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }

/* Buttons */
.btn { --lift: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; border-radius: 999px; font-weight: 500; font-size: 18px; transition: transform .2s var(--ease), filter .2s, box-shadow .2s, background .2s, opacity .2s; transform: translateY(var(--lift)); white-space: nowrap; }
.btn:hover, .btn-outline:hover { --lift: -1px; filter: brightness(1.06); }
.btn-outline:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { cursor: default; opacity: .55; filter: none; --lift: 0px; }
.btn-white { background: var(--white); color: var(--black); height: 52px; padding: 0 12px 0 18px; box-shadow: 0 10px 30px -10px rgba(0, 40, 120, .45), inset 0 -2px 0 rgba(0,0,0,.06); }
.btn-white .arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: linear-gradient(180deg, #2a8dff 0%, var(--blue) 100%); color: var(--white); height: 48px; padding: 0 26px; box-shadow: 0 8px 22px -8px rgba(0, 122, 255, .7), inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(0, 81, 173, .55); }
.btn-small { height: 36px; padding: 0 16px; font-size: 15px; border-radius: 4px; }
.btn-deep { background: var(--blue-deep); color: var(--white); box-shadow: 0 6px 16px -6px rgba(0, 81, 173, .65); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); height: 36px; padding: 0 12px; font-size: 15px; border-radius: 4px; }
.btn-block { width: 100%; }

/* Section headings */
.section-head { text-align: center; padding: 96px 24px 64px; max-width: 760px; margin: 0 auto; }
.section-head h2 { font-size: 48px; line-height: 1.12; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.section-head p { margin: 18px auto 0; max-width: 480px; font-size: 16px; color: var(--ink); line-height: 1.45; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 32px; align-items: start; }
.split-head h2 { font-size: 48px; line-height: 1.12; font-weight: 500; letter-spacing: -0.02em; }
.split-head p { border-left: 1px solid var(--faint); padding-left: 16px; font-size: 16px; color: var(--ink); max-width: 440px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); }

/* Cards & panels */
.grid { display: grid; gap: 8px; padding: 8px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card); padding: 24px; position: relative; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card.flat { box-shadow: none; background: var(--surface); }
.card.hover:hover { transform: translateY(-3px); border-color: var(--faint); }
.card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 20px; height: 20px; flex: none; }
.card p.desc { margin-top: 12px; color: var(--ink); font-size: 16px; line-height: 1.4; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h4 { font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.panel-head .sub { font-size: 14px; color: var(--muted); }
.panel-body { padding: 16px; }

/* Stats */
.stat .label { font-size: 14px; color: var(--muted); }
.stat .value { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .foot { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* Chips / statuses */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; font-size: 14px; font-weight: 500; color: var(--black); white-space: nowrap; letter-spacing: .02em; transition: background .4s, color .4s, border-color .4s; }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-deep); flex: none; transition: background .4s; }
.chip.pending::before, .chip.draft::before { background: var(--faint); }
.chip.confirming::before, .chip.converting::before, .chip.review::before { background: var(--blue); animation: pulse 1.8s ease-in-out infinite; }
.chip.failed::before { background: var(--danger); }
.chip.plain::before { display: none; }
.chip.on-blue { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: var(--white); }
.chip.on-blue::before { background: var(--white); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.demo-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border: 1px dashed var(--faint); border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.updated .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s ease-in-out infinite; }

/* Tooltip badge (as in the template charts) */
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--blue-deep); border-radius: 4px; padding: 6px 10px; font-size: 15px; box-shadow: var(--shadow-blue); white-space: nowrap; }
.badge .ring { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--blue-deep); }
.badge .k { color: var(--muted); }
.badge .sep { width: 1px; height: 16px; background: var(--line); }
.badge .v { color: var(--blue-deep); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tbl th { text-align: left; font-weight: 400; font-size: 13px; color: var(--muted); background: var(--surface); padding: 12px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tbl th + th, .tbl td + td { border-left: 1px solid var(--line); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td.amt, .tbl th.amt { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.enter td { animation: rowIn .45s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Feed rows */
.feed { list-style: none; }
.feed li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed li.enter { animation: rowIn .45s var(--ease) both; }
.feed .t { font-weight: 500; }
.feed .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.feed .a { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.feed .time { font-size: 13px; color: var(--muted); min-width: 56px; text-align: right; }

/* Flow pipeline (transaction travelling through statuses) */
.pipeline { display: flex; align-items: center; gap: 0; position: relative; padding: 18px 4px 6px; }
.pipeline .stage { flex: 1; text-align: center; position: relative; z-index: 1; }
.pipeline .node { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--faint); margin: 0 auto; transition: border-color .6s, background .6s; }
.pipeline .stage.done .node { border-color: var(--blue-deep); background: var(--blue-deep); }
.pipeline .stage.now .node { border-color: var(--blue-deep); background: var(--white); box-shadow: 0 0 0 4px var(--blue-10); }
.pipeline .lbl { font-size: 11px; letter-spacing: .08em; font-weight: 600; color: var(--muted); margin-top: 10px; transition: color .6s; }
.pipeline .stage.done .lbl, .pipeline .stage.now .lbl { color: var(--blue-deep); }
.pipeline .track { position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; background: var(--line); }
.pipeline .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue-deep); transition: width 1.6s var(--ease); }
.pipeline .runner { position: absolute; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-20); transition: left 1.6s var(--ease); z-index: 2; }

/* Progress */
.progress { height: 8px; border-radius: 99px; background: var(--blue-soft); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--blue-deep); border-radius: 99px; transition: width 1.2s var(--ease); }
.progress.indeterminate i { width: 30%; animation: slide 2.4s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* Allocation bar */
.alloc { display: flex; height: 44px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.alloc > div { display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; transition: flex-basis 1.2s var(--ease); flex: 0 0 0%; }
.alloc .a1 { background: var(--blue-deep); color: var(--white); }
.alloc .a2 { background: var(--bar); color: var(--blue-deep); }
.alloc .a3 { background: var(--blue-soft); color: var(--blue-deep); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 14px; color: var(--ink); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--ink); font-weight: 500; }
.input { height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 0 12px; background: var(--white); font-size: 15px; transition: border-color .2s, box-shadow .2s; width: 100%; }
textarea.input { height: 96px; padding: 10px 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px var(--blue-10); }
.input::placeholder { color: var(--faint); }
.drop { border: 1px dashed var(--faint); border-radius: 4px; height: 96px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; background: var(--surface); cursor: pointer; }

input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue-deep) var(--p, 80%), var(--blue-soft) var(--p, 80%)); outline: none; }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-deep); box-shadow: var(--shadow-blue); cursor: pointer; }
input[type=range].slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-deep); cursor: pointer; }

/* Segmented control (time filters) */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); padding: 2px; }
.seg button { border: 0; background: none; height: 30px; padding: 0 12px; font-size: 14px; color: var(--muted); border-radius: 3px; cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { background: var(--white); color: var(--black); box-shadow: var(--shadow-card); }

/* Steps (launch) */
.steps { display: grid; grid-template-columns: 280px 1fr; gap: 8px; padding: 8px; }
.step-list { list-style: none; padding: 16px; }
.step-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 4px; color: var(--muted); font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.step-list li .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: var(--white); flex: none; transition: background .3s, color .3s, border-color .3s; }
.step-list li.on { background: var(--surface); color: var(--black); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.step-list li.done .n { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.step-card { min-height: 560px; }
@media (max-width: 900px) { .step-card { min-height: 0; } }
.step-pane { display: none; }
.step-pane.on { display: block; animation: fadeUp .45s var(--ease) both; }
.step-pane h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.step-pane .lead { color: var(--ink); margin-top: 8px; max-width: 520px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.kv > div { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--white); }
.kv > div:nth-last-child(-n+2) { border-bottom: 0; }
.kv > div:nth-child(odd) { color: var(--muted); }
.kv > div:nth-child(even) { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.row-actions { display: flex; gap: 12px; margin-top: 28px; align-items: center; flex-wrap: wrap; }

/* Launch overlay */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(252,252,252,.86); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 16px; }
.overlay.on { display: flex; animation: fade .3s both; }
.overlay .box { width: 100%; max-width: 440px; text-align: center; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--blue-soft); border-top-color: var(--blue-deep); animation: spin .9s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.check { width: 56px; height: 56px; border-radius: 50%; background: var(--success); color: var(--white); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto; animation: pop .4s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
.status-word { font-size: 13px; letter-spacing: .14em; font-weight: 600; color: var(--blue-deep); margin-top: 22px; min-height: 18px; }
.status-line { font-size: 22px; font-weight: 500; margin-top: 8px; min-height: 30px; }
.status-line.swap { animation: fadeUp .35s var(--ease) both; }
.status-steps { list-style: none; margin: 28px auto 0; text-align: left; max-width: 300px; }
.status-steps li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--faint); font-size: 15px; transition: color .4s; }
.status-steps li i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-steps li.done { color: var(--blue-deep); }
.status-steps li.now { color: var(--black); }

/* Flow diagram (docs / analytics journey) */
.flow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 4px; }
.flow .f { flex: 1 1 0; min-width: 112px; position: relative; padding: 16px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card); }
.flow .f + .f { margin-left: 28px; }
.flow .f + .f::before { content: ""; position: absolute; left: -28px; top: 50%; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-deep) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: dash 1.6s linear infinite; }
@keyframes dash { to { background-position: 16px 0; } }
.flow .f .k { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.flow .f .v { font-size: 22px; font-weight: 500; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.flow .f.active { border-color: var(--blue-deep); box-shadow: var(--shadow-blue); }
.flow-v { list-style: none; max-width: 420px; margin: 0 auto; }
.flow-v li { text-align: center; padding: 14px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; font-weight: 500; box-shadow: var(--shadow-card); }
.flow-v li + li { margin-top: 30px; position: relative; }
.flow-v li + li::before { content: ""; position: absolute; top: -30px; left: 50%; width: 2px; height: 30px; background: repeating-linear-gradient(180deg, var(--blue-deep) 0 4px, transparent 4px 8px); }

/* Charts */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .gridline { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.chart .l1 { stroke: var(--blue-deep); stroke-width: 2.5; fill: none; }
.chart .l2 { stroke: var(--blue); stroke-width: 2; fill: none; stroke-dasharray: 6 5; }
.chart .l3 { stroke: #7fb6f7; stroke-width: 2; fill: none; }
.chart .area { fill: url(#dotfill); }
.spark { width: 100%; height: 44px; }
.spark path { fill: none; stroke: var(--blue-deep); stroke-width: 1.75; stroke-dasharray: var(--len, 300); stroke-dashoffset: 0; }
.card.hover:hover .spark path { animation: draw 1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: var(--len, 300); } to { stroke-dashoffset: 0; } }

/* Token cards (explore) */
.token-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.token-card .sym { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.token-card .by { font-size: 14px; color: var(--muted); margin-top: 2px; }
.token-card .avatar { width: 44px; height: 44px; border-radius: 6px; background: var(--blue-deep); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; box-shadow: var(--shadow-blue); }
.token-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 18px 0; }
.token-card dt { font-size: 13px; color: var(--muted); }
.token-card dd { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; transition: color .25s; }
.token-card:hover dd { color: var(--blue-deep); }
.token-card:hover { border-color: var(--blue-20); }

/* Empty / error states */
.state { text-align: center; padding: 40px 24px; }
.state .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.state h5 { font-size: 18px; font-weight: 500; margin-top: 14px; }
.state p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 360px; margin-left: auto; margin-right: auto; }
.state .btn { margin-top: 18px; }
.state.error .ico { color: var(--danger); border-color: rgba(217,45,32,.25); }
.alert { display: flex; gap: 12px; align-items: flex-start; border: 1px solid rgba(217,45,32,.25); background: #fff; border-radius: 6px; padding: 14px 16px; }
.alert .ico { color: var(--danger); flex: none; margin-top: 1px; }
.alert b { font-weight: 500; display: block; }
.alert span { color: var(--muted); font-size: 14px; }

/* Search */
.search { display: flex; align-items: center; gap: 8px; height: 40px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); padding: 0 12px; min-width: 280px; color: var(--muted); }
.search input { border: 0; outline: none; background: none; flex: 1; font-size: 15px; color: var(--black); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 36px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; font-size: 14px; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.filters button:hover { transform: translateY(-1px); }
.filters button.on { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--grid); }

/* Docs */
.doc-cat .k { font-size: 12px; letter-spacing: .1em; font-weight: 600; color: var(--blue-deep); }
.doc-cat .t { font-size: 18px; font-weight: 500; margin-top: 10px; }
.doc-cat .go { margin-top: 18px; color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, gap .2s; }
.doc-cat:hover .go { color: var(--blue-deep); gap: 10px; }
.prose { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.prose h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.prose p { color: var(--ink); font-size: 17px; line-height: 1.55; margin: 12px 0; }
.quote { border-left: 2px solid var(--blue-deep); padding: 4px 0 4px 18px; font-size: 18px; color: var(--black); margin: 24px 0; }
.integration .mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--blue-deep); }
.integration .k { font-size: 13px; letter-spacing: .1em; font-weight: 600; margin-top: 18px; }
.integration p { color: var(--ink); margin-top: 6px; font-size: 15px; }

/* CTA band */
.cta { background: linear-gradient(180deg, #007aff 0%, #4da3ff 60%, #a8d0ff 100%); color: var(--white); text-align: center; padding: 96px 24px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 6px 6px; pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: 48px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.cta p { margin: 16px auto 0; max-width: 500px; font-weight: 500; }
.cta .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--grid); }
.footer .cols { display: grid; grid-template-columns: 455px repeat(4, 1fr); }
.footer .brand { padding: 32px; border-right: 1px solid var(--grid); }
.footer .brand .logo { color: var(--black); font-weight: 500; font-size: 28px; }
.footer .brand .logo img { width: 36px; height: 36px; }
.footer .brand q { display: block; margin-top: 28px; font-size: 19px; line-height: 1.4; max-width: 280px; quotes: "\"" "\""; }
.footer .col { border-right: 1px solid var(--grid); }
.footer .col:last-child { border-right: 0; }
.footer .col h6 { font-size: 15px; font-weight: 600; letter-spacing: .02em; padding: 24px; border-bottom: 1px solid var(--grid); }
.footer .col a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--grid); color: var(--muted); font-size: 16px; transition: color .2s; }
.footer .col a:hover { color: var(--black); }
.footer .base { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--grid); padding: 14px 32px; font-size: 14px; color: var(--muted); gap: 12px; flex-wrap: wrap; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--grid); }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g5 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-list { display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
  .step-list li { flex: none; }
  .step-list li .t { display: none; }
  .step-list li.on .t { display: inline; }
  .hero h1 { font-size: 42px; }
  .hero .content { padding: 72px 8px 64px; }
  .hero .hatch { display: none; }
  .section-head { padding: 64px 8px 40px; }
  .section-head h2, .split-head h2, .cta h2 { font-size: 34px; }
  .split-head { grid-template-columns: 1fr; padding: 32px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; }
  .flow { flex-direction: column; }
  .flow .f + .f { margin-left: 0; margin-top: 24px; }
  .flow .f + .f::before { left: 50%; top: -24px; width: 2px; height: 24px; background: repeating-linear-gradient(180deg, var(--blue-deep) 0 4px, transparent 4px 8px); animation: none; }
  .feed li { grid-template-columns: 1fr auto; }
  .feed .time { grid-column: 2; }
  .stat .value { font-size: 26px; }
  .footer .cols { grid-template-columns: 1fr; }
  .footer .col { border-right: 0; }
  .card { padding: 18px; }
}
