:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --surface: #ffffff;
  --text: #1d1b18;
  --muted: #6b665e;
  --border: #e4ded4;
  --accent: #d9622b;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 16px rgb(0 0 0 / 0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --surface: #1f1d1a;
    --text: #f1ede6;
    --muted: #a39d93;
    --border: #2f2c27;
    --accent: #f08a52;
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 12vh, 120px) 16px 48px;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.cards {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

a.card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

a.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.icon {
  flex: none;
  font-size: 32px;
  line-height: 1;
}

.text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.title {
  font-weight: 600;
  font-size: 18px;
}

.desc {
  color: var(--muted);
  font-size: 15px;
}

.arrow {
  flex: none;
  color: var(--muted);
  font-size: 20px;
  transition: color 0.15s, transform 0.15s;
}

a.card:hover .arrow {
  color: var(--accent);
  transform: translateX(2px);
}

.card.disabled {
  opacity: 0.6;
  box-shadow: none;
  border-style: dashed;
}

.soon {
  flex: none;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .arrow {
    transition: none;
  }
}

.wave {
  display: inline-block;
  font-weight: 400;
}
