:root {
  --teal: #0f766e; --teal-dark: #134e4a; --teal-light: #ccfbf1;
  --slate: #0f172a; --muted: #64748b; --bg: #f8fafc; --card: #fff;
  --line: #e2e8f0; --ok: #16a34a; --bad: #dc2626; --radius: 16px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--slate); background: var(--bg); line-height: 1.55; }
a { color: var(--teal); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(248,250,252,.9); border-bottom: 1px solid var(--line); }
.brand-row { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { font-weight: 800; color: var(--teal-dark); }
nav { display: flex; gap: 1.2rem; }
nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.hero { display: grid; gap: 2rem; grid-template-columns: 1.1fr .9fr; padding: 3rem 0 2rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--teal); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 0 0 1rem; color: var(--teal-dark); }
.lede { font-size: 1.125rem; color: var(--muted); }
.price-row, .cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }
.chip { background: var(--teal-light); color: var(--teal-dark); padding: .35rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.chip.accent { background: #fef3c7; color: #92400e; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .8rem 1.35rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; background: transparent; color: var(--slate); }
.btn.primary { background: var(--teal); color: #fff; }
.btn.ghost { border-color: var(--line); background: #fff; }
.btn.block { width: 100%; margin-top: .75rem; }
.btn.tiny { padding: .4rem .8rem; font-size: .85rem; border-color: var(--line); background: #fff; }
.btn.hidden, .hidden { display: none !important; }
.hero-art img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.catalog, .pay, .faq { padding: 2.5rem 0; }
h2 { font-size: 1.75rem; color: var(--teal-dark); margin: 0 0 1.25rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ecfeff; }
.product-card .body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin: 0 0 .35rem; color: var(--teal-dark); }
.product-card .tagline { color: var(--muted); margin: 0 0 .75rem; font-size: .95rem; }
.product-card ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; flex: 1; }
.product-card .row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.product-card .amt { font-size: 1.4rem; font-weight: 800; }
.product-card.bundle { grid-column: 1 / -1; display: grid; grid-template-columns: 280px 1fr; }
.product-card.bundle img { aspect-ratio: auto; height: 100%; min-height: 220px; }
.disclaimer { color: var(--muted); font-size: .9rem; margin-top: 1.25rem; }
.pay { background: linear-gradient(180deg, #ecfeff 0%, var(--bg) 45%); border-radius: 32px; padding: 2.5rem 1rem; }
.pay-intro { color: var(--muted); max-width: 60ch; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.pay-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.qr { display: block; width: min(280px, 100%); margin: .5rem auto 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: .5rem; }
.field-label { display: block; font-weight: 700; font-size: .85rem; margin: .5rem 0 .35rem; }
#productSelect, #txHash { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); font-size: 1rem; }
#txHash { font-family: ui-monospace, monospace; }
.selected-price { font-size: 1.1rem; }
.addr-row { display: flex; gap: .5rem; }
.addr-row code { flex: 1; background: #f1f5f9; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; font-size: .78rem; word-break: break-all; }
code.inline { font-size: .72rem; word-break: break-all; }
.pay-meta { padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: .75rem .9rem; border-radius: 12px; font-size: .88rem; }
.status { margin-top: .85rem; min-height: 1.4em; font-weight: 600; }
.status.ok { color: var(--ok); } .status.err { color: var(--bad); } .status.info { color: var(--muted); }
.steps { color: var(--muted); font-size: .92rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); }
.foot { padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
@media (max-width: 880px) {
  .hero, .pay-grid, .product-grid, .product-card.bundle { grid-template-columns: 1fr; }
  nav { display: none; }
}
