@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0A0C10;
  --panel: #12151C;
  --panel2: #171B24;
  --border: #252B37;
  --text: #E8ECF1;
  --muted: #828D9C;
  --accent: #FF8A3D;
  --accent2: #58E6C9;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--muted);
  font-weight: 500;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 138, 61, 0.45);
}

.header-nav {
  display: flex;
  gap: 18px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.header-nav a:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: 52px 0 36px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.accent-word { color: var(--accent); }

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
}

/* ── Tool grid (index) ──────────────────────────────────────────────────── */

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px 0;
}

@media (min-width: 560px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
  overflow: hidden;
}

a.tool-card:hover {
  border-color: #3a4354;
  transform: translateY(-2px);
}

.tool-card.is-soon {
  opacity: 0.55;
  cursor: default;
}

.tool-card .corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-bottom-left-radius: 12px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 138, 61, 0.12) 50%);
}

.tool-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 4px;
}

.tool-badge {
  display: inline-block;
  width: fit-content;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 2px;
}

.tool-badge.live {
  background: rgba(88, 230, 201, 0.12);
  color: var(--accent2);
}

.tool-badge.soon {
  background: var(--panel2);
  color: var(--muted);
}

.tool-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.tool-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Sections ─────────────────────────────────────────────────────────────── */

.section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.trust-note b { color: var(--text); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: auto;
}

.site-footer p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }

/* ── Welcome page ───────────────────────────────────────────────────────── */

.welcome-card {
  max-width: 520px;
  margin: 48px auto;
  padding: 36px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.welcome-card .check {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(88, 230, 201, 0.12);
  color: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.welcome-card h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
}

.welcome-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  background: var(--accent);
  color: #0A0C10;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-secondary {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 13px;
  text-decoration: none;
}
