/* DimaChain landing page — hero + chain picker grid. Uses the neutral
 * shell palette (global.css's default --accent/--shell-bg etc, NOT any
 * chain's theme.css, since this page belongs to no single chain). */
/* Floor = the OLD flat desktop size (38px/16px) — never smaller than
 * what this used to be at any normal/laptop/desktop width, confirmed
 * that was the actual regression the first version of this had (it
 * used the old size as a vw-scaled MIDPOINT instead of a floor, so it
 * rendered smaller than before through the whole 1024-1440px range).
 * Above ~1440px it now grows past the old size continuously instead of
 * staying flat, up to the new ceiling. Mobile keeps its own smaller
 * fixed sizes below — see overrides.css's 720px/420px blocks — since a
 * single clamp() can't express "flat, then grows, then flat-smaller
 * again" with one floor/ceiling pair. */
.hero-title { font-size: clamp(38px, 1.07vw + 22.6px, 50px); font-weight: 800; color: #fff; letter-spacing: -0.8px; margin-bottom: 10px; line-height: 1.2; }
.hero-sub { font-size: clamp(16px, 0.54vw + 8.3px, 22px); color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 36px; max-width: clamp(820px, 44vw, 1200px); }

.chain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px;
}
.chain-card {
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px; padding: 22px; text-decoration: none; color: #fff;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
  position: relative; overflow: hidden;
}
.chain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--chain-color, #888);
}
.chain-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--chain-color, #888) 60%, transparent);
  background: rgba(255,255,255,0.1);
}
.chain-card .chain-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--chain-color, #888);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: -0.2px; color: #fff;
}
.chain-card .chain-name { font-size: 17px; font-weight: 700; }
.chain-card .chain-desc { font-size: 12.5px; color: rgba(255,255,255,0.68); line-height: 1.6; }
.chain-card .chain-cta {
  margin-top: 4px; font-size: 12.5px; font-weight: 700;
  color: var(--chain-color, #fff);
}

/* ── HOW (create-token page's "how it works" block) ── */
.how-card {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px; padding: 24px; margin-bottom: 44px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px;
}
.yt-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; }
.yt-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.cost-note {
  margin-top: 14px; background: rgba(0,0,0,0.14); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9px; padding: 12px 14px; font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.7;
}
.steps { display: flex; flex-direction: column; gap: 20px; }

/* ── FAQ ── */
.faq-wrap { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; overflow: hidden; margin-bottom: 44px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%; background: none; border: none; padding: 18px 22px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif; text-align: center; gap: 16px; transition: background 0.1s;
}
.faq-btn .faq-q { flex: 1; text-align: center; }
.faq-btn:hover { background: rgba(255,255,255,0.06); }
.faq-chev { font-size: 12px; color: rgba(255,255,255,0.5); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-btn { background: rgba(255,255,255,0.08); }
.faq-item.open .faq-chev { transform: rotate(180deg); color: #fff; }
.faq-ans { display: none; padding: 0 22px 16px; font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.75; }
.faq-item.open .faq-ans { display: block; }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 44px; }
.trust-card { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 20px; }
.t-icon { font-size: 24px; margin-bottom: 10px; }
.t-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.t-desc { font-size: 12px; color: rgba(255,255,255,0.78); line-height: 1.7; }

@media (max-width: 720px) {
  .chain-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .chain-grid { grid-template-columns: 1fr; }
}
