/* Shared palette (--bg, --bg-panel, --accent, --text, --text-dim, …) comes
   from /theme.css. These are landing-only surface tokens. */
:root {
  --panel-hover: #1b1e26;             /* card hover, one step up from --bg-panel */
  --line: rgba(255, 255, 255, 0.08);  /* soft card border */
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 760px;
  text-align: center;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

/* Cards stay vertically centered in the space below the headline. */
.middle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .sub {
  margin: 0 auto 32px;
  max-width: 42ch;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-panel);
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.card:hover {
  border-color: rgba(94, 234, 212, 0.5);
  background: var(--panel-hover);
  transform: translateY(-2px);
}

.card .icon { flex: none; width: 56px; height: 56px; }
.card .icon svg { width: 100%; height: 100%; display: block; }
.card .text { display: flex; flex-direction: column; gap: 3px; }
.card .name { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.card .desc { font-size: 0.9rem; color: var(--text-dim); line-height: 1.4; }

.foot { margin-top: 36px; font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.02em; }
