/* Liquidity Suite — site styles. No external fonts or frameworks; Space Grotesk (SIL OFL) is self-hosted. */
@font-face { font-family: "Space Grotesk"; src: url("space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #090c13; --bg2: #0d121c; --card: #111827; --card2: #151d2e; --line: #1f2940; --line2: #2b3756;
  --text: #edf1f8; --muted: #a3adc2; --dim: #8892a8;
  --blue: #4f7cff; --blue2: #6d8dff; --blue-ink: #0b1430; --amber: #ffd23f; --teal: #19b394; --red: #f2495c;
  --radius: 18px; --radius-lg: 26px; --wrap: 1180px;
  --head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code, kbd { font: 600 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.kicker { display: inline-block; font: 700 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.center { text-align: center; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 19, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(43, 55, 86, .55); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font: 700 21px var(--head); letter-spacing: -.03em; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .bt span { color: var(--blue2); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.nav-toggle svg { margin: auto; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 14px 24px 22px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 17px; }
  .nav-links .btn { margin-top: 8px; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 16px/1 var(--head); letter-spacing: -.01em; padding: 15px 24px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(79, 124, 255, .35); }
.btn-primary:hover { background: #5d88ff; }
.btn-amber { background: var(--amber); color: #13100a; box-shadow: 0 10px 30px rgba(255, 210, 63, .22); }
.btn-amber:hover { background: #ffdb63; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--blue2); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 19px 30px; font-size: 18px; border-radius: 16px; }
.btn small { font: 600 13px var(--body); opacity: .8; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center .cta-row { justify-content: center; }
.fine { font-size: 14px; color: var(--dim); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 900px; background: radial-gradient(600px 420px at 18% 30%, rgba(79, 124, 255, .22), transparent 70%), radial-gradient(520px 380px at 85% 10%, rgba(255, 210, 63, .09), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { margin: 22px 0 30px; }
.price-tag { display: inline-flex; align-items: baseline; gap: 8px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.price-tag strong { font: 700 30px var(--head); color: var(--text); letter-spacing: -.03em; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line2); background: #131722; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot figcaption, .shot .cap { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; color: #cfd5e2; background: rgba(9, 12, 19, .82); border: 1px solid var(--line2); padding: 4px 10px; border-radius: 999px; }
.hero .shot { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 960px) {
  .hero { padding: 48px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .shot { transform: none; }
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.strip { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; color: var(--muted); font: 600 15px var(--head); }
.strip li { display: flex; gap: 9px; align-items: center; }
.strip li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--amber); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s ease, transform .2s ease; }
a.card { display: block; color: inherit; }
a.card:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .more { display: inline-block; margin-top: 14px; color: var(--blue2); font: 600 14.5px var(--head); }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line2); margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-media { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.feature p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px; background: rgba(79, 124, 255, .18); border: 1px solid var(--blue); }
.ticks li strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 26px; } .feature.flip .feature-media { order: 0; } }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--blue); color: #fff; font: 700 18px var(--head); margin-bottom: 16px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.compare .bad li::before { content: "✕"; color: var(--red); font-weight: 700; margin-right: 10px; }
.compare .good { border-color: rgba(79, 124, 255, .6); background: linear-gradient(180deg, rgba(79, 124, 255, .09), var(--card)); }
.compare .good li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 10px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto; background: linear-gradient(180deg, #16213d, var(--card)); border: 1px solid var(--blue); border-radius: 28px; padding: 38px 36px; box-shadow: 0 30px 80px rgba(79, 124, 255, .18); }
.price-card .amount { font: 700 76px/1 var(--head); letter-spacing: -.05em; }
.price-card .amount span { font-size: 22px; color: var(--muted); letter-spacing: 0; font-weight: 500; }
.price-card .ticks { margin: 24px 0 28px; }
.price-card .btn { width: 100%; }
.why { max-width: 760px; margin: 50px auto 0; text-align: center; color: var(--muted); }

/* mission / quote */
.mission { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 56px; overflow: hidden; }
.mission::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 63, .16), transparent 65%); }
.mission blockquote { margin: 0; font: 600 clamp(24px, 3vw, 34px)/1.25 var(--head); letter-spacing: -.02em; max-width: 820px; }
.mission blockquote em { color: var(--amber); font-style: normal; }
@media (max-width: 640px) { .mission { padding: 34px 24px; } }

/* not list */
.not { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.not div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.not strong { display: block; font: 700 17px var(--head); margin-bottom: 6px; }
.not strong::before { content: "✕ "; color: var(--red); }
.not p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .not { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .not { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 17.5px var(--head); display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue2); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: var(--muted); font-size: 15.5px; }

/* final CTA */
.final { text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(79, 124, 255, .2), transparent 70%); }
.final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* article pages (features, guides, legal) */
.page-head { padding-top: 64px; padding-bottom: 28px; }
.page-head .lead { margin-top: 14px; }
.crumbs { font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #c8cfdd; }
.prose li { margin-bottom: .45em; }
.prose .shot { margin: 28px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-family: var(--head); background: var(--card); }
.prose td { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--card); border: 1px solid var(--line2); border-left: 4px solid var(--amber); border-radius: 12px; padding: 18px 22px; margin: 26px 0; color: var(--muted); font-size: 15.5px; }
.callout strong { color: var(--text); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.aside { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.aside h3 { font-size: 18px; }
.aside ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 15px; }
.aside .btn { width: 100%; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } .aside { position: static; } }
.updated { font-size: 14px; color: var(--dim); }

/* forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: grid; gap: 7px; font: 600 15px var(--head); }
.form input, .form select, .form textarea { font: 16px var(--body); color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 13px 14px; width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(79, 124, 255, .25); }
.form .hint { font: 400 13.5px var(--body); color: var(--dim); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font: 400 14.5px var(--body); color: var(--muted); }
.form .check input { width: auto; margin-top: 4px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; font-size: 15px; margin: 0; }
.msg.ok { color: var(--teal); }
.msg.err { color: var(--red); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; background: var(--bg2); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer h4 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer .about { color: var(--muted); max-width: 340px; margin-top: 14px; }
.legal-line { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* cookie banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto; background: #10172a; border: 1px solid var(--line2); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); font-size: 14.5px; color: var(--muted); }
.consent p { margin: 0 0 12px; }
.consent .cta-row { gap: 10px; }
.consent[hidden] { display: none; }

/* small utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.badge { display: inline-block; font: 600 12.5px var(--head); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); }
.diagram { background: #131722; border: 1px solid var(--line2); border-radius: var(--radius-lg); padding: 22px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .hero .shot { transform: none; } }
.final .lead { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }
.ticks li::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border: 0; }
