/* Colors and type from docs/claude/design.md. Outside the app the brand
   orange may be used, so it carries the accents here. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/SchibstedGrotesk_400Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/SchibstedGrotesk_700Bold.ttf') format('truetype');
}

:root {
  --ground: #f4f4f2;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #ddddd8;
  --brand: #c2410c;
  --story: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e0e0e;
    --surface: #1a1a1a;
    --ink: #f2f2f0;
    --muted: #a3a3a0;
    --line: #2c2c2c;
    --brand: #ff7a3d;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/24px var(--sans);
}

.top,
main,
.bottom {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  padding-top: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark {
  height: 24px;
  width: auto;
  fill: currentColor;
}

.brand img {
  border-radius: 9px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 56px 0 64px;
}

h1,
h2,
h3 {
  font-family: var(--story);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: 44px;
  line-height: 46px;
  max-width: 12ch;
}

.lead {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: 19px;
  line-height: 28px;
}

.soon {
  display: inline-block;
  margin: 28px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
}

.art {
  width: min(100%, 420px);
  justify-self: center;
}

.art .ink {
  stroke: var(--ink);
}

.art .stop {
  fill: var(--ground);
  stroke: var(--ink);
}

.art .arrival {
  fill: var(--brand);
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
}

.num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.steps h2 {
  margin-top: 16px;
  font-size: 21px;
  line-height: 26px;
}

.steps p,
.private p {
  margin: 8px 0 0;
  color: var(--muted);
}

.usps {
  display: grid;
  gap: 32px;
  padding: 72px 0;
}

.usps h2 {
  margin-top: 12px;
  font-size: 21px;
  line-height: 26px;
}

.usps p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* The route from the travel book, standing up: open stops, the last one
   filled in brand orange. */
.ladder {
  padding: 72px 0 0;
}

.ladder h2,
.more h2 {
  font-size: 28px;
  line-height: 34px;
}

.ladder-lead {
  margin: 12px 0 0;
  max-width: 34rem;
  color: var(--muted);
}

.ladder ol {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 36rem;
}

.ladder li {
  position: relative;
  padding: 0 0 28px 44px;
}

.ladder li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: var(--ground);
  box-sizing: border-box;
  z-index: 1;
}

.ladder li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: -2px;
  width: 4px;
  background: var(--ink);
}

.ladder li:last-child {
  padding-bottom: 0;
}

.ladder li:last-child::before {
  border: 0;
  background: var(--brand);
  width: 24px;
  height: 24px;
  left: -1px;
}

.ladder h3,
.more h3 {
  font-size: 21px;
  line-height: 26px;
}

.ladder p,
.more p {
  margin: 6px 0 0;
  color: var(--muted);
}

.more {
  padding: 0 0 72px;
}

.more-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.more article {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
}

/* Sources and ways out, one per row on a faint ink tint, no dividers. */
.rows {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  font-size: 15px;
  line-height: 20px;
}

.row-icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.row-icon.line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.private {
  padding: 72px 0;
  max-width: 36rem;
}

.private h2 {
  font-size: 28px;
  line-height: 34px;
}

.bottom {
  padding-top: 24px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 15px;
}

.bottom p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    padding: 96px 0 104px;
  }

  h1 {
    font-size: 64px;
    line-height: 64px;
  }

  .steps,
  .usps,
  .more-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bottom a {
  color: inherit;
  text-underline-offset: 3px;
}

@media (hover: hover) {
  .bottom a:hover {
    color: var(--ink);
  }
}
