/* Ra Map landing. Colours and type follow docs/design/reference/Ra_Map_Prototype.html (mobile/src/design/tokens.ts). */
:root {
  --ink: #193D2D; --forest: #214C38; --green: #447957; --lime: #CEF279;
  --paper: #F7F8F2; --surface: #FFFFFF; --sage: #EDF2E5; --line: #E1E7DA;
  --muted: #5E6957; --on-forest: #F3F8E8;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid #6C9C46; outline-offset: 3px; border-radius: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__mark { border-radius: 10px; }
.brand__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top__nav a:hover { color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(25, 61, 45, .15); }
.btn--accent { background: var(--lime); color: var(--ink); }
.btn--dark { background: var(--forest); color: var(--on-forest); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .95rem; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--sage); color: var(--forest); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin: 28px 0 20px; }
.soon { color: var(--muted); font-size: .95rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero__facts li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
.hero__art img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(25, 61, 45, .35); }

/* categories */
.cats { padding: 16px 0 24px; }
.cats__row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cats figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 12px; text-align: center; }
.cats img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 12px; }
.cats figcaption { margin-top: 8px; font-weight: 600; font-size: .9rem; }

/* sections */
.section { padding: 72px 0; }
.section--sage { background: var(--sage); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { display: flex; gap: 16px; background: var(--surface); border-radius: var(--radius); padding: 24px; }
.steps__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: var(--on-forest); display: grid; place-items: center; font-weight: 800; }
.steps p { color: var(--muted); margin: 0; }
.data { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.data p { color: var(--muted); font-size: 1.05rem; }
.data__art { border-radius: var(--radius); }

/* call to action band */
.band { background: var(--forest); color: var(--on-forest); padding: 64px 0; }
.band__inner { text-align: center; }
.band p { opacity: .85; margin-bottom: 26px; }

/* footer */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { font-weight: 600; }
.foot__legal { color: var(--muted); font-size: .85rem; margin: 0; }

@media (max-width: 900px) {
  .hero__inner, .data { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .cats__row { grid-template-columns: repeat(4, 1fr); }
  .top__nav { display: none; }
  .top__inner .btn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
