:root {
  --ink: #14161a;
  --muted: #6b7078;
  --border: #e4e4e9;
  --surface: #f7f7f9;
  --bg: #ffffff;
  --primary: #ea6a2e;
  --primary-fg: #ffffff;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

header.site .brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

h1 {
  font-size: 26px;
  margin: 0 0 8px;
}

h2 {
  font-size: 17px;
  margin: 28px 0 8px;
}

p,
li {
  color: var(--muted);
  font-size: 15px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

ul {
  padding-left: 20px;
  margin: 8px 0;
}

/* Home hero: text sits over the empty left of the artwork on wide screens;
   on narrow screens the headline comes first and the artwork goes below it. */
.hero-inner {
  position: relative;
  width: calc(100% - 48px);
  max-width: 1040px;
  margin: 24px auto 0;
  border-radius: 20px;
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 36%;
  color: #fff;
}

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px;
  color: #fff;
}

/* White on the brand orange is ~3.2:1 -- fine for large bold text only, so the
   tagline stays 19px+ and bold. */
.hero-copy p {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #fff;
}

.hero-copy .pill {
  margin-top: 22px;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

@media (max-width: 860px) {
  .hero-inner {
    overflow: visible;
    margin-top: 32px;
  }

  .hero-copy {
    position: static;
    transform: none;
    width: auto;
    margin-bottom: 24px;
    color: var(--ink);
  }

  .hero-copy h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--ink);
  }

  .hero-copy p {
    font-size: 17px;
    font-weight: 400;
    color: var(--muted);
  }

  .hero-art {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 100% 50%; /* keep the flag + climber, trim the empty left */
    border-radius: 16px;
  }
}

.pill {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
}

.steps ol {
  padding-left: 20px;
  margin: 8px 0 0;
}

.steps li {
  color: var(--ink);
  margin-bottom: 6px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

footer.site .links {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
