/* Home page layout on top of site.css (ADR-0005, stablecoins look). Tokens and components come from site.css; nothing here sets a colour value. */
/* hero: gradient headline on the page wash, and a frosted price card carrying the live quote with the mark as a faint watermark */
.hero { margin: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 32px 40px; padding-top: 64px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem); line-height: 1.04; margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; font-size: 1.2rem; }
.hero-card {
  position: relative; overflow: hidden; padding: 26px; border-radius: 22px;
  background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-hi);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
}
.hero-card-mark { position: absolute; right: -40px; bottom: -44px; width: 190px; height: auto; opacity: 0.1; pointer-events: none; }
.price-line { position: relative; margin: 0 0 8px; font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.price-line strong { display: block; margin-top: 8px; font: 800 2.8rem/1.05 "Archivo", "IBM Plex Sans", system-ui, sans-serif; letter-spacing: -0.02em; text-transform: none; color: var(--text);
  background: linear-gradient(180deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
dl.hero-kv { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin: 14px 0 0; }
dl.hero-kv dt, dl.hero-kv dd { padding: 11px 0; border-top: 1px solid var(--hairline); }
dl.hero-kv dd { text-align: right; font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .hero-card { transform: none; }
  dl.hero-kv { grid-template-columns: minmax(0, 1fr) auto; }
  dl.hero-kv dd { margin-bottom: 0; }
}

.about { border-left: 4px solid var(--accent); padding-left: 18px; }

.demo h4 { font-size: 0.8rem; margin: 0 0 6px; }
.demo .confirm { border: 1px solid var(--accent); border-radius: 14px; padding: 14px 16px; margin: 12px 0; background: var(--accent-soft); }
.alert { border-left: 4px solid var(--fail-fg); background: var(--fail-bg); color: var(--fail-fg); padding: 10px 14px; border-radius: 12px; margin: 12px 0; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* numbered steps: frosted tiles with the glossy number disc (stablecoins .steps) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.steps li { counter-increment: step; padding: 18px 18px 18px 64px; position: relative; min-width: 0; color: var(--text-2); }
.steps li::before {
  content: "0" counter(step); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 500; font-size: 0.78rem; color: var(--btn-fg);
  background: radial-gradient(circle at 30% 30%, var(--btn-top), var(--btn-bg) 70%); box-shadow: 0 6px 14px -4px var(--btn-drop), 0 1px 0 var(--btn-hi) inset;
}
.steps strong { display: block; margin-bottom: 4px; }

.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--edge); border-radius: 999px; background: var(--panel); box-shadow: var(--shadow); font-weight: 600;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.link-list a:hover { text-decoration: none; box-shadow: var(--shadow-hi); }
.link-list code { background: none; border: 0; padding: 0; color: inherit; }

.records { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.record h3 { margin-bottom: 4px; }
.record-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.record-links a { overflow-wrap: anywhere; }
