:root {
  --ink: #1b2a36;
  --ink-soft: #4a5b68;
  --night: #14324a;
  --teal: #2f6b84;
  --amber: #e3a33b;
  --amber-hi: #f2c063;
  --sand: #fbf3e4;
  --sand-2: #f4e6cc;
  --cloud: #fff8ec;
  --line: rgba(27, 42, 54, 0.12);
  --heading: "Josefin Sans", "Fira Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 "Fira Sans", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--sand); }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1, h2 { text-transform: uppercase; letter-spacing: 0.14em; }
h3 { letter-spacing: 0.04em; }
h2 { font-size: clamp(30px, 4vw, 42px); color: var(--night); }
h3 { font-size: 22px; color: var(--night); }

/* hero: the skyscape fills the first screen, copy sits in the sky */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff; overflow: hidden; }
.sky { position: absolute; inset: 0; background: #7fb0c9 url(/assets/background.jpg) 60% 40% / cover no-repeat;
  background-image: image-set(url(/assets/background.webp) type("image/webp"), url(/assets/background.jpg) type("image/jpeg")); }
.sky::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0) 82%, #fff8ec 100%),
              linear-gradient(180deg, rgba(10, 28, 42, 0.45) 0%, rgba(10, 28, 42, 0) 40%); }
/* shade behind the copy only, fading out before the clouds */
.hero-text::before { content: ""; position: absolute; z-index: -1; left: -40vw; right: -20%; top: -10vh; bottom: -60px;
  background: radial-gradient(ellipse at 30% 50%, rgba(10, 28, 42, 0.68) 0%, rgba(10, 28, 42, 0.35) 45%, rgba(10, 28, 42, 0) 72%); }
.hero-text { isolation: isolate; }
.nav { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(16px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--heading); font-weight: 600; font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; }
.links { display: flex; gap: clamp(12px, 3vw, 28px); }
.links a { color: #fff; text-decoration: none; font-weight: 700; opacity: 0.9; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.hero-text { position: relative; max-width: 720px; padding: clamp(12px, 5vh, 72px) clamp(16px, 4vw, 48px) 40px; }
.hero-logo { display: block; width: clamp(120px, 16vw, 190px); height: auto; margin: 0 0 18px; filter: drop-shadow(0 10px 28px rgba(10, 28, 42, 0.5)); }
.brand img { border-radius: 50%; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-weight: 800; font-size: 13px; color: var(--amber-hi); margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 5.6vw, 62px); line-height: 1.12; text-shadow: 0 2px 24px rgba(10, 28, 42, 0.45); }
.lede { font-size: clamp(17px, 2vw, 20px); max-width: 600px; text-shadow: 0 1px 12px rgba(10, 28, 42, 0.6); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--amber); color: #23170a; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px;
  box-shadow: 0 8px 24px rgba(227, 163, 59, 0.35); transition: transform 0.15s, background 0.15s; }
.btn:hover { background: var(--amber-hi); transform: translateY(-1px); }
.btn.ghost { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; border: 1.5px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(4px); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.24); }
.btn.disabled { opacity: 0.6; pointer-events: none; }
.fine { font-size: 14px; opacity: 0.9; margin-top: 12px; text-shadow: 0 1px 8px rgba(10, 28, 42, 0.7); }

.band { padding: clamp(56px, 9vw, 96px) 0; background: var(--cloud); }
.band.light { background: var(--sand-2); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.wrap.narrow { max-width: 760px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(20, 50, 74, 0.06); }
.card p { margin: 0; color: var(--ink-soft); }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.steps p { margin: 0; color: var(--ink-soft); }
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--amber-hi);
  font-family: var(--heading); font-weight: 700; font-size: 20px; padding-top: 3px; }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--night); }
details p { margin: 10px 0 0; color: var(--ink-soft); }

.footer { background: var(--night); color: #c9d6e2; padding: 28px 0; text-align: center; font-size: 14px; }
.footer p { max-width: 760px; margin: 0 auto; padding: 0 16px; }

@media (max-width: 560px) {
  .brand span { display: none; }
  .steps li { flex-direction: column; gap: 10px; }
}
