/* journey.haus landing page. Colour tokens match web/src/styles.css. */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5d646c;
  --border: #e3e1dc;
  --accent: #2f5d50;
  --accent-text: #ffffff;
  --glow-1: rgba(47, 93, 80, 0.16);
  --glow-2: rgba(192, 119, 43, 0.12);
  --shadow: 0 1px 2px rgba(31, 35, 40, 0.04), 0 8px 24px rgba(31, 35, 40, 0.06);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1d2024;
    --text: #e7e8ea;
    --muted: #a3aab2;
    --border: #2d3136;
    --accent: #7fb8a6;
    --accent-text: #0f1a16;
    --glow-1: rgba(127, 184, 166, 0.14);
    --glow-2: rgba(232, 163, 92, 0.08);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100dvh;
  background:
    radial-gradient(60rem 30rem at 10% -10%, var(--glow-1), transparent 70%),
    radial-gradient(50rem 28rem at 100% 0%, var(--glow-2), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
}

.hero { padding: 1.5rem 0 2.5rem; max-width: 44rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 9px; }

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 1.75rem 0 1rem;
}

.lede { color: var(--muted); font-size: 1.125rem; margin: 0 0 2rem; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-1px); }

h2 {
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 0.875rem;
  align-items: start;
  height: 100%;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.card svg {
  grid-row: span 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: var(--glow-1);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card strong { font-weight: 620; }
.card span { color: var(--muted); font-size: 0.925rem; }

.cta:focus-visible, .card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

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