:root {
  --navy: #1F3A5F;
  --gold: #F2B33D;
  --glow: #D4A537;
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --text: #1B2430;
  --muted: #4A5566;
  --link: #1F3A5F;
  --line: #E4E0D8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181D;
    --card: #1E2733;
    --text: #E8ECF1;
    --muted: #B4BDC9;
    --link: #F2B33D;
    --line: #2E3744;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem 1rem; z-index: 9; }

/* Home hero */
.hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 3rem 1.25rem 4.5rem;
  position: relative;
  overflow: hidden;
  clip-path: ellipse(140% 100% at 50% 0%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 9rem;
  width: 34rem; height: 34rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,165,55,.15) 0%, rgba(212,165,55,0) 65%);
  pointer-events: none;
}
.hero img { position: relative; width: min(60vw, 320px); height: auto; }
.tagline { position: relative; color: var(--gold); font-weight: 600; font-size: 1.15rem; margin: .5rem 0 0; }
.hero h1 { position: relative; font-size: 1.75rem; line-height: 1.25; margin: 1rem 0 .75rem; }
.hero .intro { position: relative; max-width: 34rem; margin: 0 auto; color: #F1F4F8; font-size: 1.06rem; }

main { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 1rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.steps li {
  background: var(--card);
  border-radius: 20px;
  padding: 1.1rem 1.2rem 1.1rem 4.4rem;
  position: relative;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-weight: 800; display: grid; place-items: center;
}
.steps { counter-reset: step; }
.steps h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
.section-title { font-size: 1.35rem; margin: 0 0 1rem; text-align: center; }
.closing { text-align: center; color: var(--link); font-weight: 600; max-width: 34rem; margin: 2rem auto; }
.soon {
  text-align: center; background: var(--card); border-radius: 20px;
  padding: 1.4rem 1.2rem; margin: 2rem 0;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.soon h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.soon p { margin: 0; color: var(--muted); }
.contact { text-align: center; margin: 1.5rem 0 2rem; }

/* Legal pages */
.bar { background: var(--navy); padding: .8rem 1.25rem; }
.bar a { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.bar img { width: 40px; height: auto; }
.doc h1 { font-size: 1.9rem; line-height: 1.2; margin: .5rem 0 .25rem; }
.doc h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin: .3rem 0; }
.doc p, .doc li { overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); text-align: center; padding: 1.5rem 1.25rem 2.5rem; color: var(--muted); font-size: .95rem; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin-bottom: .6rem; }

@media (min-width: 720px) {
  .hero { padding: 4rem 2rem 6rem; }
  .hero h1 { font-size: 2.2rem; }
}
