/* KompasMove — one stylesheet for the whole site. Colours from the Kompas family (kompas.co.uk). */
:root {
  --teal: #13A1B1;      /* brand teal: logo, accents, borders (not for small text on light) */
  --deep: #0E6F7C;      /* deep teal: headings, links, buttons, hero background */
  --deep-dark: #0A5560;
  --orange: #F37020;    /* accent: main call-to-action, compass needle */
  --orange-text: #8A3A08;
  --grey: #A7A9AC;
  --ink: #1A2A34;       /* body text, dark sections */
  --paper: #F5F2EB;     /* page background */
  --mist: #E7F8FA;      /* light section background */
  --white: #FFFFFF;
  --line: #DCE0E5;
  --muted: #3A4650;
  --on-dark: #C9D3D9;
  --on-teal: #DDF1F3;
  --peach: #FFD2B3;
  --radius: 12px;
  --max: 1160px;
  --head: "Archivo", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; }
h1 { font-weight: 800; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
h2 { font-weight: 800; font-size: clamp(28px, 4vw, 42px); }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
p { margin: 0; }
a { color: var(--deep); }
a:hover { color: var(--deep-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--mist { background: var(--mist); }
.section--teal { background: var(--deep); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { color: var(--deep); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.section--teal .eyebrow, .hero .eyebrow { color: var(--peach); }
.lead { font-size: 20px; max-width: 640px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; }
.brand svg { width: 230px; height: 44px; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 16px; }
.nav a { text-decoration: none; color: var(--deep); }
.nav a[aria-current="page"] { color: var(--orange-text); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { color: var(--white); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--deep); border: 2px solid var(--deep); border-radius: 6px; padding: 8px 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--deep); color: var(--white); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 8px 24px 20px; }
.menu nav a { padding: 12px 0; font-size: 18px; font-weight: 700; text-decoration: none; color: var(--deep); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand svg { width: 190px; height: 36px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 17px; text-decoration: none; background: var(--deep); color: var(--white); border: 2px solid var(--deep); }
.btn:hover { background: var(--deep-dark); color: var(--white); }
.btn--orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #E0631A; color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-arrow { font-weight: 700; }

/* Hero */
.hero { background: var(--deep); color: var(--white); padding: 72px 0 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__text .lead { color: var(--on-teal); }
.hero--page .hero__text { flex-basis: 100%; }
.hero h1 { max-width: 860px; }
.panel { flex: 1 1 340px; min-width: 0; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.panel__title { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--deep); }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.steps .num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps .num--orange { background: var(--orange); color: var(--ink); }

/* Cards */
.card { background: var(--white); border-top: 4px solid var(--teal); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card--big { padding: 32px; gap: 14px; border-radius: var(--radius); }
.card--soon { border-top-color: var(--grey); }
.card h3.big { font-size: 28px; font-weight: 800; color: var(--deep); }
.icon { width: 36px; height: 36px; }
.tag { align-self: flex-start; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 4px; }
.tag--now { background: #DDF1F3; color: var(--deep-dark); }
.tag--soon { background: #FFE3D1; color: var(--orange-text); }
.hero .tag--soon { background: var(--orange); color: var(--ink); }

/* Numbered "how joining works" */
.numbers { margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.numbers li { display: flex; flex-direction: column; gap: 8px; }
.numbers .big-num { font-family: "Archivo Black", var(--head); font-size: 40px; color: var(--teal); line-height: 1; }

/* Facts list (property, about) */
.facts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts strong { color: var(--deep); }

/* Call-out */
.callout { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.callout > div { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.callout p { color: var(--on-dark); font-size: 18px; }
@media (max-width: 560px) { .callout { padding: 32px 24px; } }

/* Contact */
.contact { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); font-size: 18px; }
.contact div { display: flex; flex-direction: column; gap: 6px; }
.contact .label { color: var(--peach); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.contact a { color: var(--white); }

/* Prose (privacy) */
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 26px; margin-top: 12px; }
.small { font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 16px; line-height: 1.7; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.site-footer svg { width: 300px; height: 75px; }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--on-dark); }
.site-footer .col { display: flex; flex-direction: column; gap: 4px; }
.site-footer .legal { flex-basis: 100%; border-top: 1px solid #2C3E4A; padding-top: 20px; font-size: 14px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
