/* SolWhale Labs: the one stylesheet for every page on solwhalelabs.com.
 * Source of truth: solwhalelabs.github.io/assets/site.css. Other repos link /assets/site.css (same origin).
 * System fonts only. No external CSS, fonts, images or trackers. One dark theme.
 */
:root {
  color-scheme: light;
  /* palette */
  --bg: #ffffff; --bg-soft: #f6f5fd; --bg-tint: #f1fbf7;
  --surface: #ffffff; --surface-2: #f7f7fb;
  --line: #e4e3ef; --line-strong: #cfcde2;
  --text: #13111f; --text-2: #3d3a52; --muted: #5f5b78;
  --primary: #6a2ee0; --primary-hover: #5a22c9; --on-primary: #ffffff;
  --accent: #0b8f5c; --accent-soft: #dcfaee; --purple-soft: #efe7ff;
  --link: #5a22c9;
  --warn-bg: #fff6df; --warn-text: #6b4a00; --warn-line: #f1d48a;
  --ok-bg: #e5f8ef; --ok-line: #9fdcbf;
  --err: #b42318;
  --shadow-sm: 0 1px 2px rgba(19,17,31,.06), 0 1px 1px rgba(19,17,31,.04);
  --shadow-md: 0 10px 30px -12px rgba(44,22,110,.22), 0 2px 6px rgba(19,17,31,.05);
  --hero-grad: radial-gradient(900px 480px at 85% 0%, rgba(153,69,255,.16), transparent 60%),
               radial-gradient(800px 420px at 0% 30%, rgba(20,241,149,.16), transparent 60%);
  --band-grad: linear-gradient(135deg, #f3edff 0%, #ecfbf4 100%);
  --code-bg: #f3f2f9;
  /* type scale (1.25) */
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1rem; --fs-lg: 1.125rem; --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem; --fs-3xl: clamp(1.9rem, 3.2vw + 1rem, 2.6rem); --fs-hero: clamp(2.35rem, 4.6vw + 1rem, 4rem);
  /* spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 24px; --radius-xl: 32px;
  --max: 1180px; --max-narrow: 860px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}



/* base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: var(--fs-md)/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
p { margin: 0 0 var(--s-4); }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .9em; background: var(--code-bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.offscreen { position: fixed; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.wrap-narrow { width: min(var(--max-narrow), calc(100% - 40px)); margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -.03em; white-space: nowrap; min-height: 44px; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .brand-sub { font-weight: 600; color: var(--muted); }
.nav { display: flex; align-items: center; gap: var(--s-1); margin-left: var(--s-4); }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); padding: 8px 12px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--bg-soft); color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }







@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0 var(--s-3); padding-top: 8px; }
  .nav { order: 3; width: 100%; margin: 0 -12px; padding: 2px 0 8px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}
@media (max-width: 420px) {
  .brand { font-size: 1rem; }
  .brand svg { width: 32px; height: 32px; }
  .header-actions .btn { padding: 8px 14px; font-size: var(--fs-sm); }
  .nav { gap: 0; }
  .nav a { padding: 8px 8px; font-size: .875rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: var(--fs-md); line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px -10px rgba(106,46,224,.7); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--primary); color: var(--text); }
.btn-ghost { background: transparent; color: var(--link); border-color: var(--line-strong); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn-header { min-height: 44px; padding: 8px 18px; font-size: var(--fs-sm); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* hero */
.hero { position: relative; background: var(--hero-grad), var(--bg); padding: var(--s-8) 0 var(--s-8); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--purple-soft); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 var(--s-4); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -.04em; font-weight: 850; margin-bottom: var(--s-5); }
.hero h1 .grad { background: linear-gradient(90deg, #7b3fe4, #13b981); -webkit-background-clip: text; background-clip: text; color: transparent; }


.lead { font-size: var(--fs-lg); color: var(--text-2); max-width: 36rem; margin-bottom: var(--s-6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); padding: 0; margin: var(--s-6) 0 0; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-art { position: relative; justify-self: center; width: min(560px, 100%); }
.hero-art img { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
@media (min-width: 960px) {
  .hero { padding: var(--s-9) 0; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s-8); }
}

/* sections */
.section { padding: var(--s-8) 0; }
.section-band { background: var(--band-grad), var(--bg); }
.section-soft { background: var(--bg-soft); }
@media (min-width: 960px) { .section { padding: var(--s-9) 0; } }
.section-head { max-width: 46rem; margin: 0 0 var(--s-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: block; color: var(--accent); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-3); }


.section h2 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.035em; margin-bottom: var(--s-4); }
.section-head p { color: var(--text-2); font-size: var(--fs-lg); margin: 0; }
.subhead { font-size: var(--fs-xl); margin: var(--s-8) 0 var(--s-3); }
.subhead + p { color: var(--muted); margin-bottom: var(--s-5); }

/* cards */
.grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.card-body > p { margin: 0; color: var(--text-2); }
.card h3 { font-size: var(--fs-xl); font-weight: 750; }
.card-shot { aspect-ratio: 16 / 10; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--purple-soft); color: #6a2ee0; flex: none; }
.icon.mint { background: var(--accent-soft); color: var(--accent); }



.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-link { margin-top: auto; padding-top: var(--s-2); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { text-decoration: underline; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-note { margin-top: auto; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.badge { display: inline-flex; align-items: center; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: var(--purple-soft); color: var(--text-2); }
.badge.mint { background: var(--accent-soft); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.card.quiet { background: transparent; box-shadow: none; border-style: dashed; }
.card.quiet:hover { transform: none; box-shadow: none; }

/* product / price */
.feature { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 960px) { .feature { grid-template-columns: .9fr 1.1fr; gap: var(--s-8); } }
.feature-copy p { color: var(--text-2); font-size: var(--fs-lg); }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.price-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--s-2); }
.price-card h3 { font-size: var(--fs-lg); font-weight: 750; }
.price-card .amount { font-size: var(--fs-2xl); font-weight: 850; letter-spacing: -.03em; color: var(--text); }
.price-card .amount small { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.fine { color: var(--muted); font-size: var(--fs-sm); }

/* steps */
.steps { counter-reset: step; }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 800; }
.callout { display: flex; gap: var(--s-4); align-items: flex-start; margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.callout p { margin: 0; color: var(--text-2); }
.callout strong { color: var(--text); }
.notice { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin: var(--s-4) 0; }
.notice code { background: transparent; border-color: var(--warn-line); color: inherit; }

/* donate */
.donate-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .donate-grid { grid-template-columns: 1fr 1fr; } }
.donate-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.donate-top { display: flex; gap: var(--s-5); align-items: flex-start; flex-wrap: wrap; }
.donate-copy { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: var(--s-3); }
.donate-copy h3 { font-size: var(--fs-xl); }
.donate-copy .fine { margin: 0; }
.donate-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.qr { background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--line); flex: none; }
.qr img { width: 132px; height: 132px; image-rendering: pixelated; }
.addr { margin: var(--s-4) 0 0; font-family: var(--mono); font-size: var(--fs-sm); word-break: break-all; background: var(--code-bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text-2); user-select: all; }

/* footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-6); color: var(--text-2); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: var(--s-3) 0 0; max-width: 22rem; color: var(--muted); }
.footer-col h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 var(--s-3); font-weight: 800; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-col a { color: var(--text-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; color: var(--muted); }
.footer-bottom p { margin: 0; }
.nfa { font-weight: 700; color: var(--text-2); }

/* details / faq */
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 var(--s-5); margin: 0 0 var(--s-3); }
details[open] { box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 700; padding: var(--s-4) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "\2212"; }
details > p { color: var(--text-2); margin-top: 0; }

/* motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
ol.grid, ul.grid { list-style: none; padding: 0; margin: 0; }


.feature .actions .btn { flex: 0 0 auto; }
.price-grid + .fine { margin-top: var(--s-4); }
@media (min-width: 960px) { .hero { padding: var(--s-9) 0 var(--s-8); } }
.codeblock { background: #0f1424; color: #e6ebf5; border-radius: var(--radius-lg); padding: var(--s-5); overflow-x: auto; box-shadow: var(--shadow-md); border: 1px solid #222c45; margin: 0; }
.codeblock code { background: none; border: 0; padding: 0; color: inherit; font-size: var(--fs-sm); line-height: 1.8; word-break: normal; white-space: pre; }
.codeblock .c { color: #8f9bb8; }
.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.cta-band { border-radius: var(--radius-xl); padding: var(--s-7) var(--s-6); background: linear-gradient(135deg, #6a2ee0 0%, #4b1fb0 55%, #0f9f6e 130%); color: #fff; display: grid; gap: var(--s-5); align-items: center; box-shadow: var(--shadow-md); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: var(--s-7) var(--s-8); } }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin: 0 0 var(--s-2); }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; }
.cta-band .btn-primary { background: #fff; color: #3b1d8f; box-shadow: none; }
.cta-band .btn-primary:hover { background: #f1eaff; color: #3b1d8f; }
.after-band { margin-top: var(--s-6); }
.donate-copy h2 { font-size: var(--fs-xl); }
.addr code { background: none; border: 0; padding: 0; }
.qr img[src$=".png"] { width: 160px; height: 160px; }
.card code { word-break: normal; overflow-wrap: anywhere; }
@media (min-width: 960px) { .split-code { grid-template-columns: .8fr 1.2fr; } }
.codeblock code { font-size: .84rem; }
.donate-grid { align-items: start; }
.donate-grid + .fine { margin-top: var(--s-5); }
@media (max-width: 440px) {
  .header-inner { gap: 0 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-header { padding: 8px 12px; font-size: .875rem; }
  
  .codeblock code { white-space: pre-wrap; word-break: break-all; font-size: .8rem; }
}

/* v4: simple, phone-first homepage */
body { font-size: 1.0625rem; }
.hero-simple { padding: var(--s-8) 0; }
.hero-simple h1 { font-size: clamp(2.4rem, 4.2vw + 1rem, 3.9rem); margin-bottom: var(--s-4); }
.hero-simple .lead { font-size: var(--fs-xl); margin-bottom: var(--s-6); }
.btn-big { min-height: 56px; padding: 14px 30px; font-size: 1.125rem; }
@media (max-width: 959px) { .hero-simple .hero-art { width: min(420px, 100%); } }
.grid-products { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }
.card.product .card-shot { aspect-ratio: 16 / 10; border-bottom: 0; background: #f4efff; }
.card.product .card-shot img { object-position: center; }
.card.product .card-body { gap: var(--s-3); padding: var(--s-6) var(--s-5) var(--s-5); }
.card.product h3 { font-size: 1.5rem; }
.card.product .card-body > p { font-size: 1.0625rem; line-height: 1.6; }
.card.product .card-btn { margin-top: auto; align-self: flex-start; min-width: 11rem; }
.card.product .card-fine { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.card.product .status { margin-top: auto; color: var(--muted); font-weight: 700; font-size: var(--fs-sm); }
.card.product.quiet { background: var(--surface); border-style: dashed; }
.card.product.quiet .card-shot img { opacity: .85; filter: saturate(.8); }
.simple-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.simple-steps li { display: flex; gap: var(--s-4); align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); }
.simple-steps .num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-soft); color: var(--text); font-weight: 800; }
.simple-steps h3 { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.simple-steps p { margin: 0; color: var(--text-2); }
.projects { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .projects { grid-template-columns: .9fr 1.1fr; gap: var(--s-8); } }
.projects-art img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.projects > div > p { color: var(--text-2); font-size: var(--fs-lg); }
.project-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-2); }
.project-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.project-list a { font-weight: 700; font-size: var(--fs-lg); min-height: 32px; display: inline-flex; align-items: center; }
.project-list span { color: var(--muted); font-size: var(--fs-sm); }
.center-text { text-align: center; }
.lead-center { font-size: var(--fs-xl); color: var(--text-2); }
.fine-center { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.site-footer-simple { padding-top: var(--s-7); }
.footer-simple { display: grid; gap: var(--s-4); justify-items: start; }
@media (min-width: 900px) { .footer-simple { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-6); } }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { color: var(--text-2); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; font-weight: 600; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-contact { margin: 0; color: var(--text-2); font-weight: 600; }
@media (max-width: 900px) { .nav { margin: 0 -12px; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.reviews-intro .lead { max-width: none; }
.reviews-table { width: 100%; min-width: 56rem; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); font-size: var(--fs-sm); }
.reviews-table th, .reviews-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.reviews-table th { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); background: var(--surface-2); }
.reviews-table th:first-child { border-top-left-radius: var(--radius-lg); }
.reviews-table th:last-child { border-top-right-radius: var(--radius-lg); }
.reviews-table tbody tr:last-child td { border-bottom: 0; }
.reviews-table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-lg); }
.reviews-table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-lg); }
.reviews-table td:first-child { font-weight: 700; color: var(--text); }
.reviews-table td:nth-child(2) { white-space: nowrap; color: var(--text-2); }
.reviews-table td:nth-child(3) { min-width: 16rem; }
.reviews-table td:nth-child(4) { min-width: 12rem; }
.reviews-table td:nth-child(5) { min-width: 13rem; }

@media (max-width: 720px) {
  .table-scroll { overflow: visible; }
  .reviews-table { min-width: 0; border: 0; background: transparent; box-shadow: none; }
  .reviews-table thead { display: none; }
  .reviews-table tbody, .reviews-table tr, .reviews-table td { display: block; width: auto; min-width: 0; }
  .reviews-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin: 0 0 var(--s-4); padding: var(--s-2) 0; }
  .reviews-table th, .reviews-table td { border-bottom: 1px solid var(--line); white-space: normal; }
  .reviews-table td:last-child { border-bottom: 0; }
  .reviews-table tbody tr:last-child td,
  .reviews-table tbody tr:last-child td:first-child,
  .reviews-table tbody tr:last-child td:last-child { border-radius: 0; }
  .reviews-table td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
}


/* ---- Checkout and order forms ---- */
.banner { background: var(--warn-bg); color: var(--warn-text); border-bottom: 1px solid var(--warn-line); padding: 10px 20px; text-align: center; font-size: var(--fs-sm); line-height: 1.5; }
.muted { color: var(--muted); } .small { font-size: var(--fs-sm); }
.compact { padding-left: 1.2em; margin: var(--s-2) 0 0; color: var(--text-2); font-size: var(--fs-sm); }
.compact li { margin: var(--s-2) 0; }
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.product .amount { margin: 0; font-size: var(--fs-2xl); font-weight: 850; letter-spacing: -.03em; white-space: nowrap; color: var(--text); }
.product .amount small { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.product .delivery { font-size: var(--fs-sm); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); }
.product:hover, .sample-card:hover, .step:hover { transform: none; }
.center-actions { justify-content: center; margin-top: var(--s-6); }
.spaced { margin-top: var(--s-5); }
.contact-row { font-weight: 700; }
.pay-steps .card-body p { font-size: var(--fs-sm); }
.pay-steps code { font-size: .8rem; }
#sample .grid + .muted { margin-top: var(--s-6); }
label { display: block; margin: var(--s-3) 0; font-weight: 600; }
input, select { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; }
form button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--primary); color: var(--on-primary); font: inherit; font-weight: 700; cursor: pointer; }
form button[disabled] { opacity: .5; cursor: not-allowed; }
.msg { min-height: 1.4em; margin: var(--s-2) 0 0; }
.err { color: var(--err); }
.ok { background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: var(--radius-sm); padding: var(--s-3); margin-top: var(--s-3); word-break: break-word; }
.payrow { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
#o-qr.qr { background: #fff; padding: 10px; border-radius: var(--radius-sm); width: 220px; height: 220px; }
.qr svg { width: 100%; height: 100%; display: block; }
dt { font-weight: 600; margin-top: var(--s-2); } dd { margin: 2px 0 0; }
@media (max-width: 480px) { #o-qr.qr { width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; } .product-head { flex-direction: column; gap: var(--s-1); } }
.section-tight { padding: var(--s-7) 0; }
.section-tight .section-head { margin-bottom: 0; }

/* ---- Pay with a connected wallet (assets/wallet-pay.js) ---- */
.wallet-pay { margin: var(--s-6) 0; border-color: var(--line-strong); background: linear-gradient(180deg, var(--purple-soft), var(--surface) 140px); }
.wallet-pay:hover { transform: none; }
.wallet-pay .card-body { padding: var(--s-6); }
.wallet-pay h3 { font-size: var(--fs-xl); margin: 0 0 var(--s-2); }
.wp-promise { background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin: var(--s-3) 0 var(--s-5); }
.wp-steps { list-style: none; counter-reset: wp; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.wp-steps > li { counter-increment: wp; position: relative; padding-left: 44px; }
.wp-steps > li::before { content: counter(wp); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; display: grid; place-items: center; font-size: var(--fs-sm); }
.wp-steps label { display: block; font-weight: 600; margin-bottom: var(--s-2); }
.wp-steps textarea { width: 100%; box-sizing: border-box; font: var(--fs-sm)/1.4 var(--mono); padding: var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); resize: vertical; }
.wp-steps textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.wp-order { margin-top: var(--s-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); }
.wp-order dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-4); margin: 0; }
.wp-order dt { color: var(--muted); font-size: var(--fs-sm); }
.wp-order dd { margin: 0; overflow-wrap: anywhere; }
.wp-connected { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.linkish { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }
#wp-pay[disabled] { opacity: .55; cursor: not-allowed; }
.msg.ok { color: var(--accent); }
.wp-sent { margin-top: var(--s-3); background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); overflow-wrap: anywhere; }
.wp-sent p { margin: var(--s-1) 0; }
.wp-picker { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: var(--s-5); width: min(420px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.wp-picker::backdrop { background: rgba(11,16,32,.55); }
.wp-picker-head { display: flex; justify-content: space-between; align-items: center; }
.wp-picker-head h3 { margin: 0; font-size: var(--fs-lg); }
.wp-x { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; }
.wp-wallets { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-2); }
.wp-wallet { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.wp-wallet:hover:not([disabled]) { border-color: var(--primary); }
.wp-wallet[disabled] { opacity: .7; cursor: not-allowed; }
.wp-wallet img, .wp-wallet-ph { width: 28px; height: 28px; border-radius: 8px; }
.wp-wallet-ph { display: grid; place-items: center; background: var(--purple-soft); }
.wp-wallet-note { flex-basis: 100%; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 640px) {
  .wallet-pay .card-body { padding: var(--s-5); }
  .wp-steps > li { padding-left: 38px; }
  .wp-order dl { grid-template-columns: 1fr; gap: 2px; }
  .wp-order dd { margin-bottom: var(--s-2); }
}
@media (max-width: 600px) { .header-actions #wp-header-connect { display: none; } }
.wp-pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.wp-amount-big { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.wp-tier { margin: var(--s-2) 0 0; font-weight: 600; color: var(--text-2); }
.wp-tier.warn { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-line); border-radius: var(--radius-sm); padding: var(--s-2) var(--s-3); font-weight: 500; }

#swl-checkout { display: grid; gap: var(--s-5); margin: var(--s-6) 0; }
.oc-form .card-body, .oc-panel .card-body, .oc-done .card-body { padding: var(--s-6); }
.oc-form { border-color: var(--line-strong); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 160px); }
.oc-form:hover, .oc-panel:hover, .oc-done:hover { transform: none; }
.oc-form h3, .oc-panel h3, .oc-done h3 { font-size: var(--fs-xl); margin: var(--s-1) 0 var(--s-2); }
.oc-form fieldset { border: 0; padding: 0; margin: var(--s-5) 0 var(--s-2); min-width: 0; }
.oc-form legend, .oc-field label, .oc-txform label { font-weight: 700; margin-bottom: var(--s-2); display: block; }
.oc-products { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.oc-products legend { grid-column: 1 / -1; }
.oc-product { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; min-height: 64px; }
.oc-product:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.oc-product input, .oc-chip input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.oc-product-body { display: grid; gap: 2px; }
.oc-price { font-weight: 800; color: var(--accent); }
.oc-cur { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.oc-cur legend { width: 100%; }
.oc-chip { display: inline-flex; gap: var(--s-2); align-items: center; padding: 10px 16px; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; }
.oc-chip:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.oc-field { margin: var(--s-4) 0; }
.oc-field[hidden] { display: none; }
.oc-field input, .oc-field select, .oc-field textarea, .oc-txform input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); }
.oc-field textarea { min-height: 120px; resize: vertical; }
.oc-field input:focus, .oc-field textarea:focus, .oc-field select:focus, .oc-txform input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.oc-field input[aria-invalid="true"], .oc-field textarea[aria-invalid="true"] { border-color: #d14343; }
.oc-help { margin: var(--s-1) 0 0; }
.oc-err { color: #d14343; font-size: var(--fs-sm); margin: var(--s-1) 0 0; min-height: 0; }
.oc-err:empty { display: none; }
.oc-check { display: flex; gap: var(--s-3); align-items: flex-start; margin: var(--s-4) 0; font-weight: 600; }
.oc-check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.oc-net { display: flex; flex-wrap: wrap; gap: var(--s-3); border: 0; padding: 0; }
.oc-net legend { width: 100%; }
.swl-turnstile { margin: var(--s-3) 0; min-height: 0; }
.oc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-big { width: 100%; min-height: 56px; font-size: var(--fs-lg); margin-top: var(--s-4); }
.oc-form-done { opacity: .72; }
.oc-summary { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-4); margin: var(--s-4) 0; }
.oc-summary dt { color: var(--text-2); font-weight: 600; }
.oc-summary dd { margin: 0; min-width: 0; }
.oc-amount { font-size: var(--fs-xl); }
.oc-break { word-break: break-all; }
.oc-panel { border-color: var(--line-strong); }
.oc-panel .wallet-pay { margin: var(--s-4) 0; }
.wallet-pay.wp-server .wp-head, .wallet-pay.wp-server .wp-steps > li:first-child, .wallet-pay.wp-server .wp-fallback-note { display: none; }
.oc-fallback { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin: var(--s-4) 0; background: var(--surface-2); }
.oc-fallback summary, .oc-terms-d summary { cursor: pointer; font-weight: 700; min-height: 32px; display: list-item; }
.oc-fallback-body { padding-top: var(--s-3); }
.oc-qr { width: min(240px, 70vw); aspect-ratio: 1; background: #fff; padding: 10px; border-radius: var(--radius-sm); }
.oc-qr svg { width: 100%; height: 100%; display: block; }
.oc-row { display: flex; gap: var(--s-2); }
.oc-row input { flex: 1; min-width: 0; }
.oc-terms-d { margin: var(--s-4) 0 0; font-size: var(--fs-sm); color: var(--text-2); }
.oc-terms-d ul { margin: var(--s-2) 0 0; padding-left: 1.2em; }
.oc-done { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 160px); }
.oc-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; }


.oc-card-slot[hidden] { display: none !important; }
@media (max-width: 560px) {
  .oc-form .card-body, .oc-panel .card-body, .oc-done .card-body { padding: var(--s-5) var(--s-4); }
  .oc-summary { grid-template-columns: 1fr; gap: 2px; }
  .oc-summary dd { margin-bottom: var(--s-2); }
  .oc-row { flex-direction: column; }
}
/* v4: the connected-wallet card appears inside the checkout panel once an order exists. */
.swl-online > .wrap > #wallet-pay { display: none; }

/* v5: Solana Pay pieces from the checkout fixes: the 'Pays with Solana Pay' line, the phone one-tap button and the QR. */
#oc-sp-note { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: var(--s-3) 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
#oc-sp-note:empty { display: none; }
#oc-sp-note::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #9945ff, #14f195); }
.oc-mobile-pay { margin: var(--s-4) 0; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.oc-mobile-pay[hidden] { display: none; }
.oc-mobile-pay p { margin: 0; }
.oc-mobile-pay p + p { margin-top: var(--s-2); }
.oc-mobile-pay .btn-big { margin-top: 0; }
.oc-qr { margin: 0 auto var(--s-3); box-shadow: 0 0 0 1px var(--line); }
.oc-fallback-body > p { text-align: left; }
#oc-link { width: 100%; justify-content: center; }
@media (min-width: 640px) { #oc-link { width: auto; } }

/* ---- Contract Check ---- */
.kicker { display: block; color: var(--accent); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-3); }
.cc-disclaimer { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); }
.cc-price { font-size: var(--fs-2xl); font-weight: 800; margin: 0; }
.cc-quoted { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.cc-tiers .card:hover { transform: none; }
.cc-more { margin-top: var(--s-5); }
.cc-checkout { display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.cc-checkout:empty { display: none; }
#cc-submitted { margin-top: var(--s-5); }
.cc-terms ul { padding-left: 1.2em; }
.cc-fine { margin-top: var(--s-5); text-align: left; }
.cc-doc .prose { max-width: 52rem; }
.cc-crumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-5); }
.cc-crumbs a { font-weight: 600; }
.cc-doc h1 { font-size: clamp(1.8rem, 3vw + .8rem, 2.6rem); }
.cc-doc h2 { margin-top: var(--s-7); }
.cc-doc h3 { margin-top: var(--s-5); }
.cc-doc blockquote { margin: var(--s-4) 0; padding: var(--s-3) var(--s-4); border-left: 4px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-text); border-radius: var(--radius-sm); }
.cc-doc blockquote p { margin: var(--s-2) 0; }
.cc-doc li { margin: var(--s-1) 0; }
.cc-doc code { overflow-wrap: anywhere; }
.cc-doc pre { overflow-x: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s-3); }
.cc-table { overflow-x: auto; margin: var(--s-4) 0; border: 1px solid var(--line); border-radius: var(--radius); }
.cc-table table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: var(--fs-sm); }
.cc-table th, .cc-table td { text-align: left; vertical-align: top; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); }
.cc-table th { background: var(--surface-2); }
.cc-table tr:last-child td { border-bottom: 0; }
.cc-entry { margin: var(--s-6) 0; border-color: var(--line-strong); }
.cc-entry:hover { transform: none; }
.cc-entry .card-body { padding: var(--s-6); }
.cc-entry .card-top { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cc-wording { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-line); border-radius: var(--radius-sm); padding: var(--s-2) var(--s-3); }
.cc-dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-4); }
.cc-dl dt { color: var(--muted); font-weight: 600; }
.cc-dl dd { margin: 0; min-width: 0; }
.cc-back { margin-top: var(--s-7); }
@media (max-width: 560px) { .cc-dl { grid-template-columns: 1fr; gap: 2px; } .cc-dl dd { margin-bottom: var(--s-2); } .cc-entry .card-body { padding: var(--s-5) var(--s-4); } }
.msg { min-height: 1.4em; margin: var(--s-2) 0 0; }


/* ---- Guides ---- */
.guide { padding: var(--s-7) 0 var(--s-8); }
.guide-crumbs { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: .35rem; }
.guide-crumbs a { color: var(--text-2); }
.guide h1 { font-size: clamp(1.8rem, 3vw + .6rem, 2.4rem); margin: 0 0 var(--s-4); }
.guide .lead { font-size: var(--fs-lg); color: var(--text-2); margin: 0 0 var(--s-6); }
.guide h2 { font-size: var(--fs-2xl); margin: var(--s-7) 0 var(--s-3); }
.guide h3 { font-size: var(--fs-lg); margin: var(--s-5) 0 var(--s-2); }
.guide p { margin: 0 0 var(--s-4); color: var(--text); }
.guide ul { margin: 0 0 var(--s-4); padding: 0 0 0 1.2rem; }
.guide li { margin: 0 0 var(--s-2); }
.guide code { font-family: var(--mono); font-size: .92em; background: var(--code-bg); padding: .1em .35em; border-radius: 6px; }
.guide a { color: var(--primary); }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.guide-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.guide-list h2 { font-size: var(--fs-xl); margin: 0 0 var(--s-2); }
.guide-list a { color: inherit; text-decoration: none; }
.guide-list a:hover h2 { color: var(--primary); }
.guide-list p { margin: 0; color: var(--text-2); }
.guide, .guide li, .guide p, .guide a, .guide code { overflow-wrap: anywhere; word-break: break-word; }
.limits { margin: 0; padding: 0 0 0 1.2rem; }
.limits li { margin: 0 0 var(--s-4); color: var(--text-2); }

/* ==========================================================================
   v5 shell: header, footer, page layouts. This layer wins over the rules above.
   ========================================================================== */
:root { --max: 1160px; --max-narrow: 760px; --ink: #0f0b26; --ink-2: #1b1640; }
body { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
main { flex: 1 0 auto; }
a, .btn, .card, .nav-link { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 68px; }
.site-nav { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-weight: 650; font-size: var(--fs-sm); text-decoration: none; }
.nav-link:hover { background: var(--bg-soft); color: var(--text); }
.nav-link[aria-current="page"] { color: var(--primary); background: var(--purple-soft); }
.nav-cta { min-height: 44px; padding: 8px 20px; font-size: var(--fs-sm); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.site-header.is-open .nav-toggle .i-open { display: none; }
.site-header.is-open .nav-toggle .i-close { display: block; }
@media (max-width: 919px) {
  .site-header.has-js .nav-toggle { display: inline-flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: var(--s-3); margin: 0; width: 100%; padding: 0 0 var(--s-4); }
  .header-inner { flex-wrap: wrap; gap: 0 var(--s-3); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { min-height: 48px; padding: 10px 4px; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link:hover, .nav-link[aria-current="page"] { background: transparent; }
  .nav-cta { width: 100%; min-height: 50px; font-size: 1rem; }
  .site-header.has-js .site-nav { display: none; }
  .site-header.has-js.is-open .site-nav { display: flex; animation: swl-drop .18s ease-out; }
}
@keyframes swl-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Footer */
.site-footer { background: var(--ink); color: #c9c6e0; border-top: 0; padding: var(--s-8) 0 var(--s-6); font-size: var(--fs-sm); margin-top: 0; }
.site-footer a { color: #e7e5f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .brand-sub { color: #a9a4cc; }
.footer-brand p { margin: var(--s-3) 0 0; max-width: 24rem; color: #a9a4cc; }
.footer-col h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: #8f89b8; margin: 0 0 var(--s-3); font-weight: 800; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; min-height: 34px; align-items: center; gap: 8px; }
.footer-col .ico { width: 16px; height: 16px; }
.footer-note { color: #a9a4cc; margin: var(--s-2) 0 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: space-between; color: #a9a4cc; }
.footer-bottom p { margin: 0; }

/* Page hero (inner pages) */
.page-hero { background: var(--hero-grad), var(--bg); padding: var(--s-8) 0 var(--s-7); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 3.4vw + 1rem, 3.1rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 var(--s-4); max-width: 22ch; }
.page-hero .lead { font-size: var(--fs-xl); max-width: 40rem; margin-bottom: var(--s-6); }
.page-hero .lead:last-child { margin-bottom: 0; }
.crumbs { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--text-2); font-weight: 600; }
.scope-line { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--fs-sm); }
.scope-line a { color: var(--text-2); }

/* Home */
.home-hero { background: radial-gradient(900px 520px at 90% -10%, rgba(123,63,228,.20), transparent 60%), radial-gradient(800px 480px at -10% 40%, rgba(16,201,131,.16), transparent 60%), var(--bg); padding: var(--s-8) 0 var(--s-8); overflow: hidden; }
.home-hero .hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .home-hero .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.home-hero h1 { font-size: clamp(2.4rem, 4.6vw + 1rem, 4.1rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 850; margin: 0 0 var(--s-5); }
.home-hero h1 .grad { background: linear-gradient(90deg, #6a2ee0, #0fa874); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .lead { font-size: var(--fs-xl); max-width: 34rem; }
.paste-box { display: flex; gap: var(--s-2); padding: 8px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow-md); max-width: 40rem; }
.paste-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--purple-soft), var(--shadow-md); }
.paste-box label { margin: 0; }
.paste-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1rem/1.4 var(--mono); padding: 12px 12px; color: var(--text); margin: 0; }
.paste-box .btn { flex: none; margin: 0; }
.paste-hint { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--fs-sm); }
.paste-hint button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; min-height: 0; }
@media (max-width: 560px) { .paste-box { flex-direction: column; } .paste-box .btn { width: 100%; } }
.hero-whale { justify-self: center; width: min(460px, 100%); }
.hero-whale img { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.trust-row { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .ico { width: 18px; height: 18px; color: var(--accent); }

.offer-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer { position: relative; display: flex; flex-direction: column; gap: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5) var(--s-5); box-shadow: var(--shadow-sm); }
.offer:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.offer.featured { border: 2px solid var(--primary); }
.offer-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--purple-soft); color: var(--primary); }
.offer-icon.mint { background: var(--accent-soft); color: var(--accent); }
.offer-icon .ico { width: 24px; height: 24px; }
.offer h3 { font-size: var(--fs-xl); font-weight: 780; margin: 0; }
.offer .price { margin: 0; font-size: 2.1rem; font-weight: 850; letter-spacing: -.035em; color: var(--text); line-height: 1.1; }
.offer .price small { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.offer > p { margin: 0; color: var(--text-2); }
.offer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text-2); font-size: var(--fs-sm); }
.offer ul li { display: flex; gap: 8px; align-items: flex-start; }
.offer ul .ico { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.offer .btn { margin-top: auto; align-self: stretch; }
.offer .scope-line { margin: 0; }

.trust-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust-item h3 { font-size: var(--fs-lg); margin: var(--s-2) 0 0; }
.trust-item p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
.trust-item a { font-weight: 700; font-size: var(--fs-sm); margin-top: auto; }

.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); counter-reset: s; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(3, 1fr); } }
.step-list li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); }
.step-list li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: var(--s-3); }
.step-list h3 { font-size: var(--fs-lg); margin: 0 0 var(--s-2); }
.step-list p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }

.cta-band { margin: 0; }
.cta-band .btn-primary { background: #fff; color: #3b1d8f; }

/* Prose pages (about, legal, guides, contract check documents) */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--fs-2xl); margin: var(--s-7) 0 var(--s-3); letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin: var(--s-5) 0 var(--s-2); }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s-4); }
.prose li { margin: 0 0 var(--s-2); }
.prose .note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); }
.next-step { margin-top: var(--s-7); padding: var(--s-5) var(--s-6); background: var(--band-grad); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.next-step p { margin: 0; font-weight: 700; color: var(--text); font-size: var(--fs-lg); }

/* Tables that scroll inside their own box on small screens */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; margin: var(--s-4) 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-scroll table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); margin: 0; border: 0; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.table-scroll th { background: var(--surface-2); font-weight: 700; }

/* Sample report body (Phase A: site shell + safe tables; full restyle is Phase B) */
.report-body { padding: var(--s-7) 0 var(--s-8); overflow-wrap: anywhere; }
.report-body h1 { font-size: clamp(1.7rem, 2.6vw + .8rem, 2.4rem); margin: 0 0 var(--s-4); }
.report-body h2 { font-size: var(--fs-2xl); margin: var(--s-7) 0 var(--s-3); }
.report-body h3 { font-size: var(--fs-lg); margin: var(--s-5) 0 var(--s-2); }
.report-body ul, .report-body ol { padding-left: 1.3em; }
.report-body pre { overflow-x: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s-3); font-size: .85rem; }
.report-body img { max-width: 100%; }
.report-body code { word-break: break-all; }
.report-banner { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-5); font-size: var(--fs-sm); color: var(--text-2); }

/* Tools page */
.tool-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }

/* Contact */
.contact-card { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-card .offer-icon { flex: none; }
.contact-email { font-size: var(--fs-xl); font-weight: 800; }

/* Redirect stubs */
.redirect-note { padding: var(--s-9) 0; text-align: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Token Check app (/sol-token-check/) */
.stc-app .card { padding: 16px 18px; margin: 14px 0; display: block; }
.stc-app .card:hover { transform: none; }
.stc-app label { display: block; font-weight: 600; margin: 12px 0 4px; }
.stc-app input[type=text] { width: 100%; padding: 12px 14px; font: 15px var(--mono); border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: inherit; }
.stc-app .error { color: var(--err); font-weight: 600; }
.stc-app .link, .stc-app button.link { font: inherit; background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; }
.stc-app .result-table-wrap, .stc-app #out { max-width: 100%; overflow-x: auto; }
.stc-app table { border-collapse: collapse; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.stc-app th, .stc-app td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.stc-app th { width: 30%; font-weight: 600; background: var(--surface-2); }
.stc-app .flag { border-left: 4px solid #33506b; }
.stc-app .flag.high { border-left-color: #b3261e; }
.stc-app .flag.warn { border-left-color: #8a5a00; }
.stc-app .sev { display: inline-block; min-width: 46px; text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; border-radius: 4px; padding: 0 6px; color: #fff; background: #33506b; margin-right: 6px; }
.stc-app .sev.high { background: #b3261e; }
.stc-app .sev.warn { background: #8a5a00; }
.stc-app .flag p { margin: 4px 0 0; }
.stc-app .id { color: var(--muted); font-size: 12px; }
.stc-app .nc { font-weight: 700; color: #8a5a00; }
.stc-app .funnel { background: var(--bg-soft); border-color: var(--line); }
.stc-app .funnel p { margin: 4px 0; }
@media (max-width: 560px) { .stc-app th { width: 38%; } }

/* Wallet slot in the header (filled by /assets/wallet.js) */
.hdr-wallet { display: flex; align-items: center; }
.hdr-wallet:empty { display: none; }
@media (max-width: 919px) { .hdr-wallet { width: 100%; } .hdr-wallet > * { width: 100%; } }
.nowrap { white-space: nowrap; }
@media (max-width: 420px) { .nowrap { white-space: normal; } }
.prose-wide { max-width: 60rem; }
.h-sub { font-size: var(--fs-2xl); margin: var(--s-7) 0 var(--s-3); }
.h-sub:first-child { margin-top: 0; }
.center-text { text-align: center; }
/* Contract Check */
.fact-card { list-style: none; margin: 0; padding: var(--s-5); display: grid; gap: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.fact-card li { display: flex; gap: var(--s-3); align-items: flex-start; }
.fact-card .ico { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--purple-soft); color: var(--primary); }
.fact-card strong { display: block; color: var(--text); font-size: var(--fs-md); }
.fact-card span { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
.cc-price small { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.cc-line { margin: var(--s-4) 0 var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.cc-hero .hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 980px) { .cc-hero .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.cc-hero h1 { max-width: 18ch; }

/* ---- Header wallet connect (vendored module, see /assets/LICENSES/) ---- */
/* SolWhale Labs header wallet connect. Uses the shared site variables (assets/site.css), with fallbacks. */
.swlw { position: relative; display: inline-flex; }
.swlw-btn, .swlw-chip { gap: 8px; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.swlw-btn .swlw-ico, .swlw-chip .swlw-ico { width: 20px; height: 20px; flex: none; border-radius: 6px; }
.swlw-ico svg, .swlw-x svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.swlw-btn.is-connected, .swlw-chip.is-connected { border-color: var(--accent, #0b8f5c); background: var(--accent-soft, #dcfaee); color: var(--text, #13111f); }
.swlw-addr { font-family: var(--mono, ui-monospace, monospace); font-size: .875rem; letter-spacing: 0; }
.swlw-bar { display: none; }

/* Connected menu */
.swlw-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; min-width: 220px; padding: 6px; border-radius: var(--radius-sm, 10px);
  background: var(--surface, #fff); border: 1px solid var(--line, #e4e3ef); box-shadow: var(--shadow-md, 0 10px 30px -12px rgba(44,22,110,.22)); }
.swlw-menu-head { margin: 0; padding: 8px 12px 6px; font-size: var(--fs-xs, .8125rem); color: var(--muted, #5f5b78); font-weight: 600; }
.swlw-mi { display: flex; width: 100%; align-items: center; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--text, #13111f);
  font: inherit; font-weight: 650; font-size: var(--fs-sm, .9375rem); text-align: left; cursor: pointer; }
.swlw-mi:hover, .swlw-mi:focus-visible { background: var(--bg-soft, #f6f5fd); outline-offset: -2px; }
.swlw-mi[data-act="disc"] { color: var(--err, #b42318); }

/* Picker (brand dark panel, as in the site footer) */
html.swlw-lock { overflow: hidden; }
.swlw-dialog { width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 24px); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg, 24px);
  background: var(--ink, #0f0b26); color: #e7e5f5; box-shadow: 0 30px 80px -20px rgba(15,11,38,.6); font-family: var(--font, system-ui, sans-serif); overflow: auto; }
.swlw-dialog::backdrop { background: rgba(15,11,38,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.swlw-dialog[open] { animation: swlw-in .16s ease-out; }
@keyframes swlw-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.swlw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 22px 0; }
.swlw-head h2 { margin: 0; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.swlw-x { width: 40px; height: 40px; padding: 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: transparent; color: #c9c6e0; cursor: pointer; }
.swlw-x:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.swlw-desc { margin: 8px 22px 16px; font-size: var(--fs-sm, .9375rem); line-height: 1.5; color: #a9a4cc; }
.swlw-list { list-style: none; margin: 0; padding: 0 14px; display: grid; gap: 8px; }
.swlw-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
  background: var(--ink-2, #1b1640); color: #fff; font: inherit; font-weight: 700; text-align: left; }
button.swlw-row { cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
button.swlw-row:hover { border-color: #9b7bff; background: #241c55; transform: translateY(-1px); }
button.swlw-row:disabled { opacity: .6; cursor: progress; transform: none; }
.swlw-row.is-missing { background: transparent; }
.swlw-logo { width: 32px; height: 32px; flex: none; border-radius: 9px; }
.swlw-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--swlw-c, #6a2ee0); color: #fff; font-weight: 800; font-size: 1rem; }
.swlw-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.swlw-sub { font-size: .8125rem; font-weight: 600; color: #a9a4cc; text-decoration: underline; text-underline-offset: .2em; align-self: flex-start; min-height: 24px; display: inline-flex; align-items: center; }
.swlw-sub:hover { color: #fff; }
.swlw-tag { font-size: .75rem; font-weight: 700; color: #7ff0c0; background: rgba(16,201,131,.14); border: 1px solid rgba(16,201,131,.35); border-radius: 999px; padding: 3px 10px; }
.swlw-actions { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.swlw-act { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #e7e5f5;
  font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.swlw-act:hover { border-color: #fff; color: #fff; text-decoration: none; }
.swlw-act-main { background: var(--primary, #6a2ee0); border-color: var(--primary, #6a2ee0); color: #fff; }
.swlw-act-main:hover { background: #7b3fe4; }
.swlw-status { min-height: 1.5em; margin: 14px 22px 0; font-size: var(--fs-sm, .9375rem); line-height: 1.5; color: #c9c6e0; }
.swlw-status:empty { margin-top: 6px; }
.swlw-status.is-ok { color: #7ff0c0; }
.swlw-status.is-err { color: #ffb4a8; }
.swlw-retry { margin-left: 4px; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.swlw-foot { margin: 14px 22px 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-xs, .8125rem); color: #8f89b8; }
.swlw-dialog :focus-visible { outline: 3px solid #9b7bff; outline-offset: 2px; }
.swlw-offscreen { position: fixed; left: -9999px; top: 0; }

/* Phones and tablets: compact button in the header bar; the copy inside the collapsed menu is hidden. */
@media (max-width: 919px) {
  .has-swlw-bar .swlw-bar { display: inline-flex; margin-left: auto; }
  .has-swlw-bar .swlw-bar ~ .nav-toggle { margin-left: 8px; }
  .has-swlw-bar .hdr-wallet { display: none; }
  .swlw-chip { min-height: 44px; padding: 8px 12px; gap: 6px; font-size: .875rem; }
  .swlw-chip .swlw-ico { width: 18px; height: 18px; }
  .swlw-chip .swlw-addr { font-size: .8125rem; }
  .swlw-menu { position: fixed; top: 76px; right: 12px; left: auto; }
}
@media (max-width: 400px) { .has-swlw-bar { column-gap: 8px; } }
@media (max-width: 359px) { .has-swlw-bar .brand .brand-sub { display: none; } }
@media (prefers-reduced-motion: reduce) { .swlw-dialog[open] { animation: none; } button.swlw-row:hover { transform: none; } }

/* ==========================================================================
   v5 DARK DIRECTION (homepage, 29 Nov).
   Pure black canvas, hairlines instead of shadows, two-weight headlines,
   SolWhale purple-to-green glow. This layer wins over every rule above.
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #000; --bg-soft: #000; --bg-tint: #000;
  --surface: #0b0b10; --surface-2: #111117; --panel: #15151c; --panel-card: #232329;
  --line: #1f1f26; --line-strong: #2e2e36;
  --text: #ffffff; --text-2: #b0b0b8; --muted: #9a9aa3;
  --primary: #8b5cf6; --primary-hover: #9d75ff; --on-primary: #fff;
  --accent: #34e0a1; --accent-soft: rgba(52,224,161,.1); --purple-soft: rgba(139,92,246,.14);
  --link: #c4b0ff;
  --warn-bg: #1d1709; --warn-text: #f5d58a; --warn-line: #4a3a12;
  --ok-bg: #0c1f17; --ok-line: #1f5c43; --err: #ff8a80;
  --ink: #000; --code-bg: #111117;
  --shadow-sm: none; --shadow-md: none;
  --hero-grad: none; --band-grad: none;
  --grad: linear-gradient(90deg, #a78bfa 0%, #6f9bff 50%, #34e0a1 100%);
  --max: 1080px;
  --radius: 14px; --radius-lg: 16px; --radius-xl: 24px;
}
html { background: #000; }
body { background: #000; color: var(--text); font-size: 1.125rem; line-height: 1.5; }
::selection { background: rgba(139,92,246,.5); color: #fff; }
a { color: var(--link); }
h1, h2, h3, h4 { color: #fff; }
.wrap { width: min(var(--max), calc(100% - 32px)); }
.ico-fill { fill: currentColor; stroke: none; }

/* Two-weight headline: first line semibold, second line light, same size */
.hl { font-weight: 600; letter-spacing: -.035em; line-height: 1.06; margin: 0; }
.hl .l2 { display: block; font-weight: 300; color: #fff; }

/* ---------- Header ---------- */
.site-header { background: rgba(0,0,0,.6); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; gap: var(--s-4); flex-wrap: nowrap; }
.brand { color: #fff; font-size: 1.0625rem; }
.brand svg { width: 32px; height: 32px; }
.brand .brand-sub { color: var(--muted); }
.site-nav { margin-left: var(--s-5); margin-right: auto; }
.nav-link { color: #c9c9d1; font-weight: 500; font-size: .9375rem; padding: 8px 12px; }
.nav-link:hover { color: #fff; background: transparent; }
.nav-link[aria-current="page"] { color: #fff; background: transparent; }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr-wallet:empty { display: none; }
.btn { font-weight: 600; }
.btn-light { background: #fff; color: #000; border: 1px solid #fff; }
.btn-light:hover { background: #e9e6ff; border-color: #e9e6ff; color: #000; }
.btn-outline, .btn-secondary { background: transparent; color: #fff; border: 1px solid #333; box-shadow: none; }
.btn-outline:hover, .btn-secondary:hover { border-color: #5a5a66; background: rgba(255,255,255,.04); color: #fff; }
.btn-primary { background: #fff; color: #000; border: 1px solid #fff; box-shadow: none; }
.btn-primary:hover { background: #e9e6ff; color: #000; }
.nav-cta, .btn-wallet { min-height: 40px; padding: 6px 16px; font-size: .9375rem; }
.btn-wallet .ico { width: 18px; height: 18px; }
.btn-arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #000; color: #fff; margin: -4px -10px -4px 4px; }
.btn-arrow .ico { width: 16px; height: 16px; }
.btn-hero { min-height: 52px; padding: 10px 14px 10px 24px; font-size: 1.0625rem; }
.btn-hero-2 { min-height: 52px; padding: 10px 22px; font-size: 1.0625rem; }
.nav-sheet-cta { display: none; }
.nav-toggle { display: none; background: transparent; border: 1px solid #333; color: #fff; width: 40px; height: 40px; border-radius: 10px; }
@media (max-width: 919px) {
  .site-header.has-js .nav-toggle, .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .btn-wallet { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 10px; }
  .btn-wallet-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-wallet { width: auto; }
  .hdr-wallet > * { width: 40px; }
  /* bottom sheet */
  .site-nav, .site-header.has-js .site-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70; margin: 0; padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 16px; background: #0d0d12; border-top: 1px solid var(--line-strong); border-radius: 20px 20px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s .28s; width: auto; }
  .site-header.is-open .site-nav { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.7,.2,1); animation: none; }
  .site-nav::before { content: ""; align-self: center; width: 40px; height: 4px; border-radius: 4px; background: #3a3a44; margin-bottom: 4px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .nav-link { min-height: 52px; font-size: 1.125rem; padding: 12px 4px; border-bottom: 1px solid var(--line); color: #fff; }
  .nav-sheet-cta { display: inline-flex; width: 100%; min-height: 52px; }
  .site-header.is-open::after { content: ""; position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.6); }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section-soft { background: #000; }
@media (max-width: 760px) { .section { padding: 60px 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: 56px; }
.sec-head .hl { font-size: clamp(1.875rem, 2.6vw + 1rem, 3rem); }
.sec-head p { color: var(--text-2); margin: 0; max-width: 26rem; font-size: 1.0625rem; }
.sec-head .side { border-left: 1px solid #34e0a1; padding-left: 20px; }
@media (max-width: 760px) { .sec-head { margin-bottom: 32px; } }

/* ---------- Hero ---------- */
.x-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 13vw, 168px) 0 clamp(96px, 12vw, 160px); }
.x-hero .hl { font-size: clamp(2.5rem, 4.4vw + 1rem, 4.5rem); max-width: 20ch; margin-bottom: 28px; }
.x-hero .lead { color: var(--text-2); font-size: clamp(1.125rem, .4vw + 1rem, 1.3125rem); line-height: 1.45; max-width: 31rem; margin: 0 0 40px; }
.x-hero .x-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.x-aurora { position: absolute; z-index: -1; right: -6%; bottom: -8%; width: min(980px, 95vw); aspect-ratio: 3 / 2; background: url(/assets/aurora.svg) right bottom / contain no-repeat; pointer-events: none; animation: x-float 14s ease-in-out infinite alternate; }
.x-hero::after { content: ""; position: absolute; z-index: -2; right: -10%; bottom: -30%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(139,92,246,.22), transparent 70%); }
@keyframes x-float { from { transform: translate3d(0,0,0); } to { transform: translate3d(-24px,-14px,0); } }
@media (max-width: 760px) { .x-aurora { width: 140vw; right: -40%; bottom: -14%; opacity: .8; } .x-hero .hl { font-size: 2.5rem; } }

/* ---------- Tool box with label bar ---------- */
.x-box { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.x-box-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-strong); font: 600 .75rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.x-box-bar .dots { margin-left: auto; color: #4a4a55; letter-spacing: 2px; font-weight: 400; }
.x-box-bar .ico { width: 16px; height: 16px; color: var(--accent); }
.x-box-body { padding: 22px 18px; border-bottom: 1px solid var(--line); }
.x-box .paste-box { background: #000; border: 1px solid var(--line-strong); box-shadow: none; max-width: none; border-radius: 999px; padding: 6px; }
.x-box .paste-box:focus-within { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.3); }
.x-box .paste-box input { color: #fff; padding-left: 16px; }
.x-box .paste-box input::placeholder { color: #8a8a94; }
.x-box .paste-hint { color: var(--muted); }
.x-rows { list-style: none; margin: 0; padding: 0; }
.x-rows li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); color: #fff; font-size: 1rem; }
.x-rows li:last-child { border-bottom: 0; }
.x-rows .n { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: #17171e; color: var(--muted); font-size: .8125rem; }
.x-rows .t { font: 600 .6875rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.x-rows .t.p { color: #c4b0ff; }
@media (max-width: 560px) { .x-rows li { grid-template-columns: 34px 1fr; } .x-rows .t { grid-column: 2; } .x-box .paste-box { border-radius: 18px; } }

/* ---------- Stat strip (product facts only) ---------- */
.x-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.x-stat { padding: 8px 28px; border-left: 1px solid var(--line-strong); }
.x-stat:first-child { border-left: 0; padding-left: 0; }
.x-stat strong { display: block; font-size: clamp(2rem, 1.6vw + 1.3rem, 2.75rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.x-stat span { display: block; margin-top: 6px; color: #fff; font-size: 1rem; }
.x-stats-note { margin: 28px 0 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 760px) {
  .x-stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .x-stat { padding: 0 0 0 18px; }
  .x-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- Product cards ---------- */
.offer-grid { gap: 12px; }
.offer { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 28px 24px 24px; box-shadow: none; }
.offer:hover { transform: none; box-shadow: none; border-color: #4a4a55; }
.offer.featured { border-color: #6d4fd6; background: linear-gradient(180deg, rgba(139,92,246,.12), rgba(11,11,16,0) 60%), var(--surface); }
.offer h3 { font-weight: 600; font-size: 1.25rem; }
.offer .price { font-weight: 300; font-size: 2.5rem; letter-spacing: -.03em; }
.offer .price small { color: var(--muted); font-weight: 500; }
.offer > p, .offer ul { color: var(--text-2); }
.offer-icon { background: transparent; border: 1px solid var(--line-strong); color: #fff; width: 44px; height: 44px; border-radius: 12px; }
.offer-icon.mint { background: transparent; color: #fff; }
.offer ul .ico { color: var(--accent); }
.offer .scope-line { color: var(--muted); font-size: .875rem; }

/* ---------- Big panel with 3 + 2 cards ---------- */
.x-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--panel); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px); }
.x-panel::after { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -55%; height: 80%; background: radial-gradient(50% 50% at 30% 50%, rgba(139,92,246,.35), transparent 70%), radial-gradient(40% 50% at 75% 50%, rgba(52,224,161,.22), transparent 70%); }
.x-cards { display: grid; gap: 4px; grid-template-columns: repeat(3, 1fr); }
.x-card { background: var(--panel-card); border-radius: 10px; padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; min-height: 168px; }
.x-card:hover { background: #2a2a31; text-decoration: none; }
.x-card .ico { width: 26px; height: 26px; color: #fff; margin-bottom: 28px; }
.x-card h3 { margin: 0; font-size: 1.125rem; font-weight: 600; }
.x-card p { margin: 0; color: var(--text-2); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 860px) { .x-cards { grid-template-columns: 1fr; } .x-card { min-height: 0; } .x-card .ico { margin-bottom: 12px; } }

/* ---------- Steps ---------- */
.step-list { gap: 0; border-top: 1px solid var(--line-strong); }
.step-list li { background: transparent; border: 0; border-left: 1px solid var(--line-strong); border-radius: 0; padding: 28px 28px 8px; }
.step-list li:first-child { border-left: 0; padding-left: 0; }
.step-list li::before { background: transparent; color: var(--accent); width: auto; height: auto; display: block; font-weight: 400; font-size: .875rem; letter-spacing: .12em; content: "0" counter(s); margin-bottom: 18px; }
.step-list h3 { font-weight: 600; font-size: 1.25rem; }
.step-list p { color: var(--text-2); font-size: 1rem; }
@media (max-width: 760px) { .step-list li { border-left: 0; padding: 24px 0 8px; border-bottom: 1px solid var(--line); } }

/* ---------- Trust row: our own facts only, static (no auto-scroll) ---------- */
.x-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.x-trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.x-trust-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 4px 12px; color: #e4e4ea; font-weight: 600; font-size: .9375rem; line-height: 1.35; border-left: 1px solid var(--line); }
.x-trust-grid li:first-child { border-left: 0; }
.x-trust-grid .ico { width: 24px; height: 24px; color: var(--accent); }
@media (max-width: 860px) {
  .x-trust { padding: 0; }
  .x-trust-grid { grid-template-columns: 1fr 1fr; }
  .x-trust-grid li { padding: 20px 10px; border-left: 0; border-top: 1px solid var(--line); }
  .x-trust-grid li:nth-child(-n+2) { border-top: 0; }
  .x-trust-grid li:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- Closing ---------- */
.x-cta { position: relative; overflow: hidden; isolation: isolate; padding: 128px 0; border-top: 1px solid var(--line); }
.x-cta::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -60%; height: 100%; background: radial-gradient(40% 50% at 15% 50%, rgba(139,92,246,.28), transparent 70%), radial-gradient(40% 50% at 90% 50%, rgba(52,224,161,.18), transparent 70%); }
.x-cta .hl { font-size: clamp(2.25rem, 3.4vw + 1rem, 4rem); margin-bottom: 24px; }
.x-cta p { color: var(--text-2); margin: 0 0 36px; max-width: 30rem; }
.x-cta .x-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .x-cta { padding: 72px 0; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #000; border-top: 1px solid var(--line); padding: 72px 0 0; color: var(--muted); font-size: .9375rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0; max-width: 30rem; color: var(--muted); font-size: .9375rem; }
.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding: 48px 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: repeat(6, 1fr); } }
.footer-col h2 { font-size: .6875rem; letter-spacing: .16em; color: #8a8a94; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { gap: 4px; }
.footer-col a { color: #e4e4ea; min-height: 32px; font-size: .9375rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-note { color: var(--muted); font-size: .875rem; margin-top: 10px; }
.footer-note a { color: #e4e4ea; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 0; padding: 28px 0 40px; align-items: center; color: #8a8a94; font-size: .8125rem; line-height: 1.7; }
.footer-icons { display: flex; gap: 18px; }
.footer-icons a { color: #c9c9d1; display: inline-flex; min-height: 32px; align-items: center; }
.footer-icons .ico { width: 20px; height: 20px; }
.footer-art { height: 140px; background: url(/assets/footer-art.svg) center bottom / 100% 100% no-repeat; opacity: .9; }

/* ---------- Motion (off under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .js-motion .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .x-aurora { animation: none; }
}
.site-header.is-scrolled { background: rgba(0,0,0,.82); }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: repeat(3, 1fr) 1.35fr repeat(2, 1fr); } }
.footer-note a { white-space: nowrap; overflow-wrap: normal; font-size: .875rem; }
.hl { text-wrap: balance; }
@media (max-width: 919px) {
  /* a backdrop-filter would trap the fixed sheet inside the header, so drop it while the sheet is open */
  .site-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #000; }
}
@media (max-width: 919px) { .site-nav ul li { display: block; } .site-nav .nav-link { display: flex; width: 100%; } }

/* ---------- Phase A: header layout with the wallet module ---------- */
.header-inner > .hdr-wallet { margin-left: auto; }
.header-inner > .nav-cta { margin-left: 10px; }
.site-nav { margin-right: 0; }
@media (max-width: 919px) {
  .header-inner > .hdr-wallet { display: none; }
  .header-inner > .nav-toggle { margin-left: auto; }
  .has-swlw-bar > .nav-toggle { margin-left: 8px; }
  .swlw-chip { min-height: 40px; border-radius: 999px; padding: 6px 14px; }
}
/* wallet module on the dark theme */
.swlw-btn.is-connected, .swlw-chip.is-connected { border-color: rgba(52,224,161,.6); background: rgba(52,224,161,.08); color: #fff; }

/* ---------- Phase A: home on phones ---------- */
@media (max-width: 760px) {
  .x-hero { padding: 64px 0 150px; }
  .x-hero .lead { margin-bottom: 28px; }
  .x-aurora { bottom: -26%; right: -45%; width: 150vw; opacity: .75; }
  .x-tc { padding-top: 40px; }
  .x-tc .sec-head { margin-bottom: 20px; }
  .x-tc .sec-head .side { display: none; }
}

/* ---------- Token Check app on the dark theme ---------- */
.stc-app input[type=text], .stc-app textarea { background: #000; color: #fff; border: 1px solid var(--line-strong); }
.stc-app input[type=text]:focus { border-color: #8b5cf6; outline: 0; box-shadow: 0 0 0 3px rgba(139,92,246,.3); }
.stc-app .card, .stc-app table { background: var(--surface); border-color: var(--line-strong); }
.stc-app th { background: var(--surface-2); color: #fff; }
.stc-app .flag { border-left-color: #6b7a8c; }
.stc-app .flag.high { border-left-color: #ff6b5e; }
.stc-app .flag.warn { border-left-color: #f2b84b; }
.stc-app .sev.high { background: #c2352a; }
.stc-app .sev.warn { background: #9a6400; }
.stc-app .nc { color: #f2b84b; }
.stc-app .error { color: #ff8a80; }
.stc-app .funnel { background: var(--surface); }
.stc-body { padding: 48px 0 96px; }

/* grid-N used without .grid (Contract Check tiers and similar) */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid.grid-2, .grid.grid-3, .grid.grid-4 { gap: var(--s-5); }
.stc-body .funnel { margin-bottom: 56px; }
.stc-body section > h2, .stc-body h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); letter-spacing: -.02em; }
/* sample reports: tables keep readable columns and scroll inside their own box on phones */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.table-scroll > table:not(.reviews-table) { min-width: 600px; }
@media (max-width: 720px) { .table-scroll:has(> .reviews-table) { overflow: visible; } }
.table-scroll td.n, .table-scroll th.n { white-space: nowrap; }
@media (max-width: 560px) { main blockquote { margin: 16px 0; padding-left: 14px; border-left: 2px solid var(--line-strong); } }
