:root {
  --bg: #0a0c10;
  --bg-soft: #10131a;
  --card: #14171f;
  --card-2: #191d26;
  --border: #242a35;
  --border-soft: #1c212b;
  --text: #eef1f5;
  --muted: #98a2b3;
  --muted-2: #6b7480;
  --accent: #f7931a;
  --accent-2: #ffc266;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 16px;
  --radius-sm: 11px;
  --max: 1120px;
  --shadow: 0 1px 0 rgba(255,255,255,.03), 0 12px 40px -12px rgba(0,0,0,.6);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; zoom: 1.4; }

@media (max-width: 640px) { html { zoom: 1; } }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10,12,16,0.78);
  backdrop-filter: saturate(180%) blur(14px);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; color: var(--text); letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, #f7931a, #ffb454);
  display: grid; place-items: center; color: #201400; font-weight: 900; font-size: 17px;
  box-shadow: 0 4px 14px -4px rgba(247,147,26,.6);
}
nav.site { display: flex; align-items: center; gap: 4px; }
nav.site a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
nav.site a:hover { color: var(--text); background: var(--card); }
nav.site a.cta { color: #201400; background: linear-gradient(140deg, var(--accent), var(--accent-2)); font-weight: 600; }
nav.site a.cta:hover { color: #201400; filter: brightness(1.06); }
@media (max-width: 640px) { nav.site a:not(.cta) { display: none; } }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, rgba(247,147,26,.18), rgba(255,180,84,.06) 60%, rgba(247,147,26,.18));
  border-bottom: 1px solid rgba(247,147,26,.28);
  color: #ffd9a8; font-size: 13px;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 24px; text-align: center; }
.announce b { color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; text-align: left; }
.hero::before {
  content: ""; position: absolute; inset: -30% 30% auto -10%; height: 560px;
  background: radial-gradient(closest-side, rgba(247,147,26,.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 70% 0%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dotlive { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 0 0 18px;
  letter-spacing: -.035em; font-weight: 800;
}
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--muted); font-size: clamp(16px, 2vw, 18.5px); max-width: 540px; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 32px; color: var(--muted-2); font-size: 13px; }
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust b { color: var(--muted); font-weight: 600; }

/* ---------- Hero mock ---------- */
.hero-visual { position: relative; }
.mock {
  background: linear-gradient(180deg, #151922, #0e1117);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02);
  transform: rotate(-1.2deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,.02); }
.mock-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar .r { background: #f45b5b; } .mock-bar .y { background: #f5c451; } .mock-bar .g { background: #4ad07a; }
.mock-url { margin-left: 10px; font-size: 11px; color: var(--muted-2); background: var(--card); border: 1px solid var(--border-soft); border-radius: 999px; padding: 3px 10px; }
.mock-body { padding: 18px; }
.mock-hero { padding: 12px 4px 18px; }
.mock-kicker { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; margin-bottom: 10px; }
.mock-line { height: 9px; border-radius: 6px; background: linear-gradient(90deg, #232a36, #1a1f29); margin: 8px 0; }
.mock-line.big { height: 16px; }
.w70 { width: 70%; } .w50 { width: 50%; } .w80 { width: 80%; } .w60 { width: 60%; } .w75 { width: 75%; } .w45 { width: 45%; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.mock-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 11px; padding: 12px; }
.mock-thumb { height: 38px; border-radius: 8px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(140deg, rgba(247,147,26,.18), #12151b); margin-bottom: 6px; }
.mock-pill { margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--accent-2); }
.float-badge {
  position: absolute; background: rgba(16,19,26,.94); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow); backdrop-filter: blur(8px); white-space: nowrap;
}
.float-badge.b1 { top: -14px; right: -4px; }
.float-badge.b2 { bottom: -14px; left: -4px; }
@media (max-width: 900px) {
  .hero { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero .actions, .hero .trust { justify-content: center; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) { .hero-visual { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #201400; font-weight: 650; font-size: 15px; font-family: inherit;
  border: none; border-radius: 11px; padding: 12px 20px; cursor: pointer;
  transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 24px -10px rgba(247,147,26,.7);
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #201400; text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn.ghost:hover { background: var(--card-2); border-color: #333b48; color: #fff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.btn.small { padding: 9px 15px; font-size: 14px; border-radius: 9px; }

/* ---------- Section headings ---------- */
.section { padding: 28px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 20px; }
.section-head h2 { font-size: clamp(24px, 3.5vw, 34px); letter-spacing: -.02em; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.kicker { color: var(--accent-2); font-weight: 650; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 0; display: flex; flex-direction: column; overflow: hidden;
  position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #343d4c; box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.cover {
  aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative;
  background: linear-gradient(140deg, #1b2029, #12151b);
  border-bottom: 1px solid var(--border-soft); overflow: hidden;
}
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover.noimg { height: 132px; aspect-ratio: auto; }
.cover.noimg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 12px 12px;
}
.cover .tagpill {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600;
  background: rgba(10,12,16,.7); border: 1px solid var(--border); color: var(--muted);
  padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(6px);
}
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card .tag { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.card ul.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.card ul.ticks li { position: relative; padding-left: 24px; color: #c3cad6; font-size: 14px; }
.card ul.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; font-size: 13px;
}
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.price small { display: block; font-size: 11px; color: var(--muted-2); font-weight: 500; letter-spacing: 0; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.stepbox { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px; }
.stepbox .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; color: var(--accent-2); background: rgba(247,147,26,.12); border: 1px solid rgba(247,147,26,.3);
  margin-bottom: 14px;
}
.stepbox h3 { margin: 0 0 6px; font-size: 17px; }
.stepbox p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  background: var(--card); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Banner ---------- */
.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(247,147,26,.14), rgba(255,180,84,.04));
  border: 1px solid rgba(247,147,26,.32); border-radius: var(--radius);
  padding: 28px 30px;
}
.banner h3 { margin: 0 0 6px; font-size: 20px; }
.banner p { margin: 0; color: var(--muted); font-size: 15px; max-width: 560px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--border-soft); padding: 44px 0; margin-top: 40px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
footer.site .brand { margin-bottom: 12px; }
footer.site .muted { color: var(--muted-2); font-size: 13px; max-width: 420px; }
footer.site a { color: var(--muted); font-size: 14px; margin-right: 18px; }
footer.site a:hover { color: var(--text); }
footer.site .cols > div { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
footer.site .cols > div:first-child { flex: 1.4; min-width: 260px; }
.fhead { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; margin-bottom: 6px; }
footer .fine { border-top: 1px solid var(--border-soft); margin-top: 30px; padding-top: 20px; color: var(--muted-2); font-size: 12.5px; }

/* ---------- Product / checkout page ---------- */
.crumbs { padding: 26px 0 0; color: var(--muted-2); font-size: 13px; }
.crumbs a { color: var(--muted); }
.product-cover { border-radius: 16px; border: 1px solid var(--border-soft); margin-bottom: 22px; }
.product-layout { display: grid; grid-template-columns: 1fr 400px; gap: 46px; padding: 34px 0 80px; align-items: start; }
.product-layout > *, .product-head, .product-body, .buybox { min-width: 0; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 30px; } }
.product-head .glyph-big { font-size: 42px; }
.product-head h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; margin: 12px 0 8px; }
.product-head .tag { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.product-body h2 { font-size: 19px; margin: 34px 0 10px; }
.product-body p { color: #c3cad6; }
ul.checks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
ul.checks li { position: relative; padding-left: 26px; color: #c3cad6; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* how-to-run (script products) */
ol.run-steps { margin: 12px 0; padding-left: 22px; display: grid; gap: 12px; color: #c3cad6; min-width: 0; }
ol.run-steps li { padding-left: 4px; min-width: 0; }
.mono, code.run-code { font-family: var(--mono); }
code.run-code { font-size: 13px; background: var(--card-2); border: 1px solid var(--border); border-radius: 7px; padding: 2px 7px; color: var(--accent-2); }
pre.run-code { margin: 8px 0 0; font-size: 13.5px; background: #0c0e13; border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; color: #d6deea; overflow-x: auto; max-width: 100%; }

.buybox {
  position: sticky; top: 88px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.buybox .title { font-weight: 600; font-size: 15px; margin: 0 0 2px; }
.buybox .amount { font-size: 36px; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 2px; }
.buybox .sats { color: var(--muted); font-size: 13px; margin-bottom: 20px; min-height: 18px; }
.buybox .guarantee { display: grid; gap: 8px; margin: 18px 0 0; }
.buybox .guarantee div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.buybox .guarantee svg { flex: none; }

.flowsteps { display: flex; gap: 6px; margin: 0 0 20px; }
.flowsteps .s { flex: 1; text-align: center; font-size: 12px; color: var(--muted-2); padding: 8px 4px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--border-soft); }
.flowsteps .s.active { color: var(--accent-2); border-color: rgba(247,147,26,.5); background: rgba(247,147,26,.08); font-weight: 600; }

.pay { display: none; margin-top: 18px; }
.pay.show { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.qrbox { background: #fff; padding: 12px; border-radius: 12px; width: 216px; height: 216px; margin: 0 auto 14px; }
.qrbox svg, .qrbox img { width: 100%; height: 100%; }
.addr {
  font-family: var(--mono); font-size: 12px; word-break: break-all; color: var(--accent-2);
  background: var(--bg-soft); border: 1px solid var(--border); padding: 11px 12px; border-radius: 9px;
  cursor: pointer; text-align: center;
}
.addr:hover { border-color: rgba(247,147,26,.5); }
.copy-hint { font-size: 12px; color: var(--muted-2); text-align: center; margin: 7px 0 18px; min-height: 16px; }
.payhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.payhead .muted { font-size: 12px; }
.addr-invoice { max-height: 96px; overflow: auto; text-align: left; font-size: 10.5px; line-height: 1.5; user-select: text; }
.onchain { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.onchain summary { cursor: pointer; color: var(--muted); font-size: 13px; line-height: 1.5; }
.onchain[open] summary { color: var(--text); margin-bottom: 14px; }
.onchain-box { padding-top: 2px; }

label.field { display: block; font-size: 13px; color: var(--muted); margin: 0 0 7px; font-weight: 500; }
input.control {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  border-radius: 9px; padding: 11px 13px; font-size: 14px; font-family: var(--mono);
}
input.control::placeholder { color: var(--muted-2); font-family: var(--font); }
input.control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(247,147,26,.15); }

.notice { font-size: 13px; padding: 11px 13px; border-radius: 9px; margin-top: 12px; display: none; }
.notice.show { display: block; }
.notice.ok { background: rgba(34,197,94,.1); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.notice.err { background: rgba(239,68,68,.1); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.notice.info { background: rgba(247,147,26,.1); color: #ffd9a8; border: 1px solid rgba(247,147,26,.3); }

.deliver { margin-top: 16px; padding: 16px; border-radius: 11px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.32); }
.deliver h4 { margin: 0 0 6px; color: #86efac; font-size: 15px; }

.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 18px; }

/* ---------- Polish ---------- */
::selection { background: rgba(247,147,26,.3); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
html { -webkit-text-size-adjust: 100%; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 18px; text-align: center; }
.stat { padding: 8px; }
.stat .n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(100deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--muted); font-size: 13px; margin-top: 2px; }
.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 18px; text-align: center;
  background: linear-gradient(180deg, var(--card), var(--bg-soft)); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px 20px; margin: 8px 0 6px;
}
.stats-band .stat .n { font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(100deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-band .stat .l { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* card action buttons */
.cardbtns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* related products */
.related { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 18px; }
.mini { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px; transition: border-color .15s ease, transform .15s ease; }
.mini:hover { border-color: #343d4c; transform: translateY(-2px); }
.mini .g { font-size: 30px; width: 56px; height: 40px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--card-2); }
.mini .g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini .t { font-weight: 600; font-size: 15px; }
.mini .p { color: var(--muted); font-size: 13px; }

/* footer link group */
.fgroup { display: flex; flex-direction: column; gap: 4px; }
.fgroup a { margin: 0; }
footer.site .brand { color: var(--text); }

/* ---------- Guides / long-form ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -.02em; margin: 44px 0 14px; scroll-margin-top: 90px; }
.article h3 { font-size: 20px; letter-spacing: -.01em; margin: 30px 0 9px; }
.article p, .article li { color: #c3cad6; font-size: 16px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 23px; }
.article li { margin: 8px 0; }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--text); }
.article .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted-2); font-size: 13px; margin: 0 0 28px; }
.article .lead { color: var(--text); font-size: 19px; line-height: 1.65; }
.article .toc { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 18px 20px; margin: 26px 0 30px; }
.article .toc strong { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }
.article .toc a { display: inline-block; margin: 4px 14px 4px 0; font-size: 14px; }
.article .callout { background: linear-gradient(145deg, rgba(247,147,26,.12), rgba(255,180,84,.04)); border: 1px solid rgba(247,147,26,.3); border-radius: var(--radius-sm); padding: 20px 22px; margin: 26px 0; }
.article .callout p:last-child { margin-bottom: 0; }
.article .callout strong { color: #ffd9a8; }
.article .table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); }
.article table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14px; }
.article th, .article td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: top; }
.article tr:last-child td { border-bottom: 0; }
.article th { background: var(--card); color: var(--text); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.article td { color: #c3cad6; }
.article code { font-family: var(--mono); font-size: .9em; background: var(--card-2); border: 1px solid var(--border-soft); border-radius: 5px; padding: 2px 5px; color: #ffd9a8; }
.article pre { background: #0d1017; border: 1px solid var(--border); border-radius: 12px; padding: 17px; overflow-x: auto; margin: 0 0 22px; }
.article pre code { background: none; border: 0; padding: 0; color: #d7dee9; font-size: 13px; line-height: 1.65; }
.article .cta-box { background: linear-gradient(145deg, var(--card), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 36px 0; }
.article .cta-box h2 { margin: 0 0 10px; }
.article .cta-box p { margin: 0 0 18px; }
.article .actions, .cta-box .actions, .actions.center { display: flex; gap: 12px; flex-wrap: wrap; }
.actions.center { justify-content: center; }
.article .checklist { display: grid; gap: 9px; margin: 0 0 22px; }
.article .check { display: flex; gap: 11px; align-items: flex-start; background: var(--card); border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 14px; color: #c3cad6; font-size: 15px; line-height: 1.5; }
.article .check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.article .check b { color: var(--text); }
.article .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 0; }
.article .related-grid a { display: block; background: var(--card); border: 1px solid var(--border-soft); border-radius: 10px; padding: 15px 16px; text-decoration: none; }
.article .related-grid a:hover { border-color: #343d4c; }
.article .related-grid b { display: block; color: var(--text); font-size: 15px; margin-bottom: 3px; }
.article .related-grid span { color: var(--muted); font-size: 13px; }
.guide-intro { max-width: 760px; margin: 0 auto 28px; }
.guide-intro p { color: var(--muted); font-size: 16px; }
.guide-card .body { min-height: 190px; }
.guide-card .tag { flex: 1; }
@media (max-width: 640px) {
  .article h2 { margin-top: 34px; }
  .article p, .article li { font-size: 15.5px; }
  .article .lead { font-size: 17.5px; }
  .article .cta-box { padding: 22px; }
}

/* print */
@media print {
  header.site, footer.site, .buybox, .actions, .cta-box, .print-hide { display: none !important; }
  body { background: #fff; color: #000; }
  .article h2, .article h3, .article p, .article li, .article strong { color: #000 !important; }
  .article a { color: #000; text-decoration: underline; }
  .article .callout { background: #f7f7f7; border-color: #ccc; }
  .article .check { background: #fff; border-color: #ccc; color: #000; break-inside: avoid; }
}

/* ---------- Shop toolbar (search / category / sort) ---------- */
.shop-tools { margin: 0 0 20px; }
.tool-row { display: grid; grid-template-columns: 1fr 230px 230px; gap: 12px; }
@media (max-width: 780px) { .tool-row { grid-template-columns: 1fr; } }
.tool-row input.control, .tool-row select.control {
  width: 100%; background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 11px; padding: 12px 14px; font-size: 15px; font-family: inherit;
}
.tool-row input.control::placeholder { color: var(--muted-2); }
.tool-row input.control:focus, .tool-row select.control:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(247,147,26,.15);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  border: 1px solid var(--border); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 7px 14px; font-size: 13.5px; cursor: pointer; font-family: inherit;
  transition: color .15s ease, border-color .15s ease;
}
.chip:hover { color: var(--text); border-color: #333b48; }
.chip.active {
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  border-color: transparent; color: #201400; font-weight: 650;
}
.resultbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; margin: 2px 0 18px; }
.linkbtn { background: none; border: none; color: var(--accent-2); cursor: pointer; font: inherit; font-size: 14px; padding: 0; }
.linkbtn:hover { text-decoration: underline; }
.catbadge {
  position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 600;
  background: rgba(10,12,16,.72); border: 1px solid var(--border); color: var(--muted);
  padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(6px); max-width: 62%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.loadmore { display: flex; justify-content: center; margin: 28px 0 0; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 16px; }

/* ---------- category tiles ---------- */
.cattiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cattile {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--border-soft); border-radius: 12px; padding: 15px 17px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.cattile:hover { border-color: #343d4c; transform: translateY(-2px); background: var(--card-2); }
.cattile .cn { font-weight: 600; font-size: 14.5px; color: var(--text); text-transform: capitalize; }
.cattile .cc { font-size: 12px; color: var(--muted); background: var(--card-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px 9px; }

/* ---------- format badges ---------- */
.fmtbadge {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 650;
  background: rgba(247,147,26,.14); border: 1px solid rgba(247,147,26,.42); color: #ffce8a;
  padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(6px);
  max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fmtline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.fmtline .pill {
  font-size: 12px; font-weight: 600; color: var(--accent-2);
  background: rgba(247,147,26,.1); border: 1px solid rgba(247,147,26,.35);
  padding: 4px 11px; border-radius: 999px;
}

/* ---------- trial: hint + preview modal ---------- */
.trialhint { font-size: 12.5px; color: var(--muted-2); text-align: center; margin: 8px 0 14px; display: none; }
.trialhint.show { display: block; }

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,10,.72); backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal-panel {
  position: relative; width: min(1000px, 100%); height: min(88vh, 820px);
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.85); overflow: hidden;
  display: flex; flex-direction: column; animation: pop .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--card);
}
.modal-title { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 9px; }
.modal-title .live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(247,147,26,.16); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.modal-x {
  background: var(--card-2); border: 1px solid var(--border); color: var(--muted);
  width: 34px; height: 34px; border-radius: 9px; font-size: 20px; line-height: 1; cursor: pointer;
}
.modal-x:hover { color: #fff; border-color: #333b48; }
.modal-panel iframe { flex: 1; width: 100%; border: 0; background: #0a0c10; }

/* ---------- custom work / hire me ---------- */
.hire {
  background: linear-gradient(140deg, #16110a, #241505);
  border: 1px solid rgba(247,147,26,.35); border-radius: 18px; padding: 30px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center;
}
@media (max-width: 760px) { .hire { grid-template-columns: 1fr; } }
.hire h2 { border: none; margin: 0 0 8px; font-size: 26px; }
.hire p { color: var(--muted); margin: 0 0 6px; }
.hire .tg {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: #201400;
  font-weight: 700; padding: 13px 20px; border-radius: 12px; margin-top: 10px;
}
.hire .tg:hover { filter: brightness(1.06); }
.hire .side { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 18px 20px; }
.hire .side h3 { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.hire .side ul { margin: 0; padding-left: 18px; }
