/* Lumi public site: "bright and playful" (light theme).
   Fonts are self-hosted (SIL OFL 1.1). No external requests. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* surfaces */
  --page: #fffaf2;
  --card: #ffffff;
  --line: #f0e6d6;
  --line-2: #e7dcc9;
  /* ink */
  --ink: #1b2a4a;       /* headings */
  --text: #3a4560;      /* body */
  --muted: #69738c;
  /* brand */
  --sun: #ffc83d;
  --sun-hi: #ffd56b;
  --sun-deep: #f2a91d;
  --on-sun: #1b2a4a;
  --coral: #e8553f;
  --blue: #3c6df0;
  --purple: #7c5ce6;
  --green: #1f9d68;
  --teal: #12a3a0;
  --pink: #e2557a;
  /* pastels */
  --p-yellow: #fff1c9;
  --p-green: #dcf3e2;
  --p-pink: #ffe1e3;
  --p-purple: #ebe5ff;
  --p-blue: #dcecff;
  --p-peach: #ffe6d4;
  --p-mint: #e3f6f1;
  /* night (the game's own palette, used inside device screens) */
  --night-0: #090d29;
  --night-1: #131a47;
  --lantern: #ffc65c;
  /* states */
  --danger: #c2341f;
  --danger-bg: #fdecea;
  --ok: #17784f;
  --ok-bg: #e6f6ee;

  --font-head: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 66ch;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(27, 42, 74, .06), 0 2px 8px rgba(27, 42, 74, .05);
  --shadow-m: 0 2px 4px rgba(27, 42, 74, .05), 0 12px 32px rgba(27, 42, 74, .09);
  --shadow-l: 0 4px 10px rgba(27, 42, 74, .06), 0 24px 60px rgba(27, 42, 74, .14);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
svg { display: block; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 3.9rem); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem); line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.02rem + 0.3vw, 1.22rem); color: var(--text); line-height: 1.6; }
.muted { color: var(--muted); }
strong { font-weight: 700; color: var(--ink); }

a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: #2550c9; text-decoration-thickness: 2px; }

ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; max-width: var(--measure); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.hl-coral { color: var(--coral); }
.hl-blue { color: var(--blue); }
.hl-purple { color: var(--purple); }
.hl-green { color: var(--green); }

/* ---------- focus & skip ---------- */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 1rem; top: -10rem; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 0.7rem 1.1rem; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.section--tint { background: linear-gradient(180deg, var(--page), #fff3e0 18%, #fff3e0 82%, var(--page)); }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
.section-head p { color: var(--muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; }
.section-head--row > div { max-width: 46rem; }
.section-head--row p { margin-bottom: 0; }
.more-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.98rem; color: var(--blue); text-decoration: none; white-space: nowrap;
}
.more-link:hover { text-decoration: underline; }
.more-link svg, .btn svg, .signin svg { width: 1.05em; height: 1.05em; flex: none; }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 250, 242, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 0.75rem; min-height: 4.6rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-variation-settings: "SOFT" 100;
  font-size: 1.75rem; font-weight: 750; letter-spacing: -0.02em;
  margin-right: auto; padding: 0.2rem 0.2rem 0.2rem 0;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 2.3rem; height: 2.5rem; flex: none; }

.nav-toggle {
  display: none; align-items: center; gap: 0.45rem;
  font: inherit; font-size: 0.98rem; font-weight: 700; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 999px;
  padding: 0.45rem 0.9rem; cursor: pointer; min-height: 44px;
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle svg { width: 1.1rem; height: 1.1rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; color: var(--text); text-decoration: none;
  font-size: 0.98rem; padding: 0.5rem 0.8rem; border-radius: 999px;
}
.site-nav a:hover { color: var(--ink); background: rgba(27, 42, 74, 0.06); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; background: var(--p-yellow); }
.site-nav .nav-extra { display: none; }

.signin {
  display: inline-flex; align-items: center; gap: 0.4rem; flex: none;
  min-height: 44px; padding: 0.45rem 0.8rem; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: 0.98rem; text-decoration: none;
}
.signin:hover { color: var(--ink); background: rgba(27, 42, 74, 0.06); }
.header-cta { flex: none; }

@media (max-width: 1079px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--page); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(27, 42, 74, .08);
    padding: 0.5rem var(--gutter) 1.25rem; display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a { font-size: 1.08rem; padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .site-nav a[aria-current="page"] { background: none; box-shadow: inset 4px 0 0 var(--sun); padding-left: 1rem; }
  .js .site-nav .nav-extra { display: block; }
  .js .signin { display: none; }
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .brand { font-size: 1.5rem; }
  .brand svg { width: 2rem; height: 2.2rem; }
  .header-cta .cta-long { display: none; }
  .header-cta { padding-inline: 1rem; }
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 0.9rem; align-items: center; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.7rem 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.96rem; }
.btn--sun, .btn--lantern { background: var(--sun); color: var(--on-sun); box-shadow: 0 6px 16px rgba(242, 169, 29, 0.32); }
.btn--sun:hover, .btn--lantern:hover { background: var(--sun-hi); color: var(--on-sun); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(242, 169, 29, 0.38); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost .play { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.btn--ghost .play svg { width: 0.7rem; height: 0.7rem; }
.btn--green { background: var(--green); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--coral { background: var(--coral); color: #fff; }
.btn--purple { background: var(--purple); color: #fff; }
.btn--green:hover, .btn--blue:hover, .btn--coral:hover, .btn--purple:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- small notices ---------- */
.pill-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--p-yellow); color: var(--ink);
  border: 1px solid #f6dc95; border-radius: 999px;
  padding: 0.3rem 0.85rem 0.3rem 0.6rem; font-size: 0.9rem; font-weight: 700;
  margin-bottom: 1.25rem;
}
.pill-badge svg { width: 1.1rem; height: 1.1rem; }
.pilot-note {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; color: var(--muted); margin-top: 1.25rem;
}
.pilot-note::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 104, .15); flex: none; }
.callout {
  border-left: 4px solid var(--teal); background: var(--p-mint);
  padding: 1.1rem 1.35rem; border-radius: 0 var(--radius-m) var(--radius-m) 0; max-width: 50rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout--lantern { border-left-color: var(--sun-deep); background: var(--p-yellow); }
.callout h2, .callout h3 { margin-bottom: 0.35em; }

/* =========================================================
   HOME
   ========================================================= */

/* ---------- hero ---------- */
/* Layout follows the reference: copy on the left, a photo that fades into the page on its left edge,
   and a mint feature strip with a wavy top edge that the photo sinks into. */
.hero { position: relative; overflow: hidden; }
.hero-stage { position: relative; padding-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.hero-copy { position: relative; z-index: 4; max-width: 34rem; }
.hero h1 { max-width: 12ch; margin-bottom: 0.45em; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.1rem); }
.hero h1 .doodle-wrap { position: relative; display: inline-block; }
.hero h1 .doodle-wrap::after {
  content: ""; position: absolute; right: -0.6em; top: -0.2em; width: 0.62em; height: 0.62em;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23ffc83d' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M8 30 L4 36M18 22 L16 6M27 26 L36 12M30 33 L38 31'/%3E%3C/svg%3E");
}
.hero .lede { max-width: 31rem; color: var(--text); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.14rem); }

.social-proof { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.1rem; }
.faces { display: flex; flex: none; }
.faces img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--page); margin-left: -0.75rem; box-shadow: 0 2px 6px rgba(27, 42, 74, .12); }
.faces img:first-child { margin-left: 0; }
.social-proof b { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.social-proof .facts { display: flex; flex-wrap: wrap; gap: 0.15rem 0.9rem; font-size: 0.86rem; color: var(--muted); margin-top: 0.15rem; }
.social-proof .facts span { display: inline-flex; align-items: center; gap: 0.3rem; }
.social-proof .facts svg { width: 0.95rem; height: 0.95rem; }

.hero .deco { position: absolute; pointer-events: none; }
.deco-blue { left: -2.75rem; top: 0.5rem; width: 5.5rem; z-index: 0; }
.deco-green { left: -2.4rem; bottom: 5rem; width: 4.5rem; z-index: 0; display: none; }

.hero-visual { position: relative; height: clamp(17rem, 58vw, 31rem); margin-top: 1.75rem; }
.hero-photo {
  position: absolute; inset: 0; z-index: 1; background: transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16%);
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 34% 42%; }
.deco-pink, .deco-sun { display: none; }

.float-card {
  position: absolute; z-index: 3;
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-m);
  padding: 0.8rem 1rem; font-size: 0.8rem; color: var(--muted); line-height: 1.35;
}
.float-card b { display: block; color: var(--ink); font-size: 0.95rem; }
.float-card b.sm { font-size: 0.86rem; }
.fc-progress { left: var(--gutter); top: 18%; width: 11rem; transform: rotate(-2deg); padding: 0.65rem 0.85rem; }
.fc-progress .row { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.45rem; }
.fc-progress .tile { width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--p-blue); display: grid; place-items: center; flex: none; }
.fc-progress .tile svg { width: 2rem; height: 1.3rem; }
.bar { height: 7px; border-radius: 99px; background: #eef0f5; overflow: hidden; margin-top: 0.6rem; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.fc-done { display: none; }
.fc-done b { display: flex; align-items: center; gap: 0.35rem; font-family: var(--font-head); font-variation-settings: "SOFT" 100; font-size: 1.2rem; }
.fc-done .mini-lumi { width: 1.5rem; height: 1.6rem; }
.fc-next { right: var(--gutter); bottom: 3.75rem; width: 14rem; }
.fc-next .row { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.45rem; }
.fc-next .row > span { flex: none; }
.fc-next .row > span.txt { flex: 1; min-width: 0; }
.fc-next .txt b { font-size: 0.9rem; }
.fc-next .isle-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--night-1); display: grid; place-items: center; }
.fc-next .isle-ico svg { width: 2.3rem; height: 1.6rem; }
.fc-next .go { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--p-yellow); display: grid; place-items: center; color: var(--ink); }
.fc-next .go svg { width: 0.95rem; height: 0.95rem; }
.hero-visual .doodle { position: absolute; z-index: 3; display: none; }

/* feature strip */
.hero-strip { position: relative; z-index: 3; background: #ecf7ee; margin-top: -1.5rem; padding: 0.75rem 0 2rem; }
.hero-strip .wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(24px, 4.2vw, 60px); display: block; }
.hero-strip .wrap { position: relative; z-index: 1; }
.strip-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip-features li { margin: 0; max-width: none; }
.strip-features .si { display: block; margin-bottom: 0.5rem; }
.strip-features .si svg { width: 2.1rem; height: 2.1rem; }
.strip-features h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 0 0 0.25rem; }
.strip-features p { font-size: 0.88rem; line-height: 1.5; color: var(--muted); margin: 0; }
.deco-sun2 { left: -2rem; bottom: -2rem; width: 6.5rem; }
.deco-leaf { right: 0.5rem; bottom: -0.4rem; width: 3.6rem; display: none; }
.deco-heart { right: 5.75rem; top: 1.25rem; width: 1.15rem; display: none; }

@media (min-width: 640px) {
  .fc-done { display: block; right: var(--gutter); top: 14%; transform: rotate(3deg); padding-right: 1.3rem; }
  .fc-progress { width: 12.5rem; }
}
@media (min-width: 900px) {
  .strip-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .strip-features li + li { border-left: 1px solid #cfe6d5; padding-left: 1.75rem; }
  .deco-leaf, .deco-heart { display: block; }
  .hero-strip { padding: 0.5rem 0 2.25rem; }
}
@media (min-width: 1000px) {
  .hero-stage { min-height: clamp(36rem, 42vw, 40rem); display: flex; align-items: center; padding-block: 2.25rem 7rem; }
  .hero-stage > .wrap { width: 100%; }
  .hero-copy { max-width: min(31rem, 37vw); }
  .deco-green { display: block; }
  .hero-visual { position: absolute; margin: 0; height: auto; top: 0; bottom: 0; right: 0; left: 40%; }
  .hero-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 12%, #000 27%);
            mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 12%, #000 27%);
  }
  .hero-photo img { object-position: 30% 42%; }
  .deco-pink, .deco-sun { display: block; z-index: 2; }
  .deco-pink { left: 8%; bottom: 2.5rem; width: 5rem; }
  .deco-sun { left: 14.5%; bottom: 5.25rem; width: 2.75rem; }
  .fc-progress { left: 17%; top: 12%; width: 13.5rem; transform: rotate(-3deg); padding: 0.8rem 1rem; }
  .fc-done { right: 7%; top: 10%; }
  .fc-next { right: 3%; top: 38%; bottom: auto; width: 15.5rem; }
  .hero-visual .doodle { display: block; }
  .hero-visual .d-star { left: 14%; top: 50%; width: 2.3rem; }
  .hero-visual .d-boat { left: 19%; top: 60%; width: 4.4rem; transform: rotate(-8deg); }
  .hero-visual .d-arc { left: 31%; top: 4%; width: 3rem; }
  .hero-strip { margin-top: -3.25rem; }
}

/* ---------- area cards ---------- */
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .areas { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.area {
  --tone: var(--p-yellow); --accent: var(--sun-deep);
  position: relative; margin: 0; max-width: none;
  background: var(--tone); border-radius: var(--radius-m);
  padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column;
  border: 1px solid rgba(27, 42, 74, 0.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.area--yellow { --tone: var(--p-yellow); --accent: #e09a12; }
.area--green { --tone: var(--p-green); --accent: var(--green); }
.area--pink { --tone: var(--p-pink); --accent: var(--pink); }
.area--purple { --tone: var(--p-purple); --accent: var(--purple); }
.area--blue { --tone: var(--p-blue); --accent: var(--blue); }
.area--peach { --tone: var(--p-peach); --accent: var(--coral); }
.area .art { aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 0.6rem; }
.area .art svg { width: 92%; height: auto; overflow: visible; filter: drop-shadow(0 8px 10px rgba(27, 42, 74, .14)); --isle-shadow: transparent; }
.area h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.area p { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.9rem; }
.area .go {
  margin-top: auto; width: 2rem; height: 2rem; border-radius: 50%;
  background: #fff; color: var(--accent); display: grid; place-items: center;
  box-shadow: var(--shadow-s); text-decoration: none;
}
.area .go svg { width: 1rem; height: 1rem; }
.area .go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* whole card clickable */
.area .go:focus-visible { outline-offset: 2px; }

/* ---------- steps panel ---------- */
.steps-panel {
  background: linear-gradient(120deg, #eef8f4, #f3f4ff 60%, #fff4e8);
  border: 1px solid #e3ece8; border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 1000px) { .steps-panel { grid-template-columns: 0.8fr 2.2fr; gap: 2.5rem; } }
.steps-panel h2 { margin-bottom: 0.6rem; }
.steps-panel .intro p { color: var(--muted); margin: 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
@media (min-width: 720px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 2.75rem; } }
.flow li { position: relative; margin: 0; max-width: none; counter-increment: step; }
.flow .art { position: relative; height: 5.5rem; margin-bottom: 0.85rem; }
.flow .art .blob { position: absolute; left: 1.4rem; top: 0.2rem; width: 6rem; height: 5rem; border-radius: 50% 44% 52% 46%; background: var(--tone, var(--p-yellow)); }
.flow .art svg { position: relative; height: 5.3rem; width: auto; margin-left: 2.1rem; }
.flow .num {
  position: absolute; left: 0; bottom: 0.15rem; z-index: 2;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
  background: #fff; color: var(--accent, var(--ink)); border: 2px solid currentColor;
}
.flow li:nth-child(1) { --tone: #ffe8b5; --accent: #c98100; }
.flow li:nth-child(2) { --tone: #d8e6ff; --accent: var(--blue); }
.flow li:nth-child(3) { --tone: #d6f2e0; --accent: var(--green); }
.flow h3 { margin-bottom: 0.35rem; }
.flow p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (min-width: 720px) {
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; right: -1.85rem; top: 2.35rem; width: 0.8rem; height: 0.8rem;
    border-top: 2.5px solid #9aa3b8; border-right: 2.5px solid #9aa3b8; transform: rotate(45deg);
  }
}

/* ---------- island cards ---------- */
.isle-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .isle-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .isle-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.isle-card {
  margin: 0; max-width: none; background: var(--card); border-radius: var(--radius-m);
  border: 1px solid var(--line); box-shadow: var(--shadow-s); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.isle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.isle-card .media { position: relative; aspect-ratio: 16 / 10; background: var(--night-1); overflow: hidden; }
.isle-card .media svg { width: 100%; height: 100%; }
.isle-card .age {
  position: absolute; right: 0.7rem; top: 0.7rem;
  background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 0.78rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.isle-card .body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.isle-card h3 { margin-bottom: 0.2rem; }
.isle-card .area-tag { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.86rem; color: var(--muted); margin-bottom: 0.6rem; }
.isle-card .area-tag i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--accent, var(--sun)); }
.isle-card .meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.isle-card .meta li { margin: 0; font-size: 0.76rem; font-weight: 700; color: var(--ink); background: #f4f1ea; border-radius: 999px; padding: 0.15rem 0.55rem; }
.isle-card p { font-size: 0.93rem; color: var(--text); margin: 0 0 1.1rem; }
.isle-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- trust panel ---------- */
.trust-panel {
  background: linear-gradient(120deg, #f1f8ef, #f6f7ee 60%, #fff8ea);
  border: 1px solid #e3ecdf; border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  display: grid; gap: 2.25rem; align-items: center;
}
@media (min-width: 1000px) { .trust-panel { grid-template-columns: 1.35fr 1fr; gap: 3rem; } }
.features { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.4rem 2rem; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { margin: 0; max-width: none; display: grid; grid-template-columns: 3.1rem 1fr; gap: 0.85rem; align-items: start; }
.features .ico { width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--tone, var(--p-yellow)); }
.features .ico svg { width: 1.6rem; height: 1.6rem; }
.features h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0.2rem 0 0.2rem; }
.features p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.report-card {
  position: relative; background: var(--card); border-radius: var(--radius-m);
  box-shadow: var(--shadow-l); padding: 1.3rem 1.35rem 1.2rem; max-width: 28rem; justify-self: center; width: 100%;
}
.report-card::before {
  content: ""; position: absolute; right: -0.9rem; top: -1rem; width: 2.6rem; height: 2.6rem;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233c6df0' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 34 L12 26M18 30 L20 18M26 32 L34 24'/%3E%3C/svg%3E");
}
.report-card .who { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.report-card .avatar { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--p-purple); display: grid; place-items: center; flex: none; }
.report-card .avatar svg { width: 2.2rem; height: 2.4rem; }
.report-card .who b { display: block; color: var(--ink); font-size: 1rem; }
.report-card .who span { font-size: 0.82rem; color: var(--muted); }
.report-card dl { margin: 0; }
.report-card .r { margin-bottom: 0.9rem; }
.report-card .r-top { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
.report-card dt { font-weight: 700; color: var(--ink); }
.report-card dd { margin: 0; color: var(--muted); }
.report-card .bar { height: 8px; margin-top: 0.4rem; }
.report-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 0.9rem; margin-top: 0.4rem; }
.report-card .stat { display: flex; gap: 0.6rem; align-items: center; font-size: 0.8rem; color: var(--muted); line-height: 1.25; }
.report-card .stat .ico { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; flex: none; }
.report-card .stat .ico svg { width: 1.05rem; height: 1.05rem; }
.report-card .stat b { display: block; color: var(--ink); font-size: 1.1rem; }
.report-card .note { font-size: 0.78rem; color: var(--muted); margin: 0.9rem 0 0; }

/* ---------- family Q&A cards ---------- */
.qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .qa { grid-template-columns: 1.45fr 1fr 1fr; } }
.qa > li {
  margin: 0; max-width: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-m); box-shadow: var(--shadow-s); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.qa .q-head { display: flex; align-items: center; gap: 0.75rem; }
.qa .q-ico { width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--tone, var(--p-yellow)); }
.qa .q-ico svg { width: 1.5rem; height: 1.5rem; }
.qa h3 { font-size: 1.08rem; margin: 0; }
.qa p { margin: 0; color: var(--text); font-size: 0.95rem; }
.qa p.quote { font-size: 1rem; }
.qa p.quote::before { content: "\201C"; font-family: var(--font-head); color: var(--sun-deep); font-size: 2.2rem; line-height: 0; vertical-align: -0.55rem; margin-right: 0.1rem; }
.qa .src { font-size: 0.82rem; color: var(--muted); margin-top: auto; }
.qa .q-feature { flex-direction: row; gap: 1.1rem; align-items: stretch; }
.qa .q-feature .art { flex: none; width: 40%; border-radius: 14px; background: linear-gradient(160deg, #ffe7b5, #ffd2c4); display: grid; place-items: center; min-height: 10rem; }
.qa .q-feature .art svg { width: 70%; }
.qa .q-feature .txt { display: flex; flex-direction: column; gap: 0.7rem; }
@media (max-width: 520px) { .qa .q-feature { flex-direction: column; } .qa .q-feature .art { width: 100%; min-height: 8rem; } .qa .q-feature .art svg { width: 30%; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(110deg, #fff3cf 0%, #e6f2ff 55%, #dff1ff 100%);
  border: 1px solid #e3e9f2; border-radius: var(--radius-l);
  padding: clamp(1.6rem, 1rem + 3vw, 3rem); display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 860px) { .cta-banner { grid-template-columns: 1.1fr 0.9fr; } }
.cta-banner h2 { margin-bottom: 0.4em; }
.cta-banner p { color: var(--text); margin: 0; }
.cta-banner .art { justify-self: center; width: min(100%, 26rem); }

/* the older band, still used on inner pages */
.cta-band { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.cta-band .wrap {
  display: grid; gap: 1.75rem; align-items: center;
  background: linear-gradient(110deg, #fff3cf 0%, #e6f2ff 60%, #dff1ff 100%);
  border: 1px solid #e3e9f2; border-radius: var(--radius-l);
  padding: clamp(1.6rem, 1rem + 3vw, 3rem);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
@media (min-width: 760px) { .cta-band .wrap { grid-template-columns: auto 1fr; gap: 2.75rem; } }
.cta-band .lumi-big { width: clamp(6.5rem, 5rem + 6vw, 10rem); }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: var(--text); }
@media (max-width: 759px) { .cta-band { padding-inline: var(--gutter); } .cta-band .wrap { padding-inline: 1.4rem; } }

/* ---------- motion (only when welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lumi-float { animation: lumiFloat 6s ease-in-out infinite; transform-box: fill-box; }
  .float-card.bob { animation: bob 7s ease-in-out infinite; }
  .float-card.bob-2 { animation: bob2 8s ease-in-out infinite 1s; }
  .path-reveal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawPath 3.6s cubic-bezier(.45,.05,.3,1) .3s forwards; }
  .isle-lamp { opacity: 0.25; animation: lampOn .6s ease-out forwards; animation-delay: calc(0.3s + var(--i) * 0.38s); }
}
@keyframes lumiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes bob2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
@keyframes lampOn { from { opacity: 0.25; } to { opacity: 1; } }
.map-label { font-family: var(--font-body); font-size: 15px; fill: #f4eddd; paint-order: stroke; stroke: var(--night-0); stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 700px) { .map-label { display: none; } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.25rem, 1.75rem + 3vw, 4rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0.75rem var(--gutter) 0;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto;
  border-radius: var(--radius-l);
  background:
    radial-gradient(40% 70% at 92% 30%, #ffe3a3, transparent 70%),
    radial-gradient(30% 60% at 78% 100%, #d9ecff, transparent 70%),
    linear-gradient(120deg, #fff6e4, #fdf1e3);
  border: 1px solid #f3e4c8;
  z-index: -1;
}
.page-hero .wrap { display: grid; gap: 2rem; align-items: center; padding-inline: calc(var(--gutter) + clamp(1rem, 3vw, 2.5rem)); }
@media (min-width: 820px) { .page-hero .wrap { grid-template-columns: 1fr auto; } }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); }
.page-hero .lede { color: var(--text); max-width: 40rem; margin-bottom: 0; }
.page-hero .hero-art { width: clamp(7rem, 5rem + 7vw, 10rem); justify-self: end; }
@media (max-width: 819px) { .page-hero .hero-art { display: none; } }

/* steps (numbered sequence, inner pages) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  max-width: none; margin: 0; counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-s); padding: 4.4rem 1.3rem 1.3rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 1.2rem; left: 1.3rem;
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%;
  font-weight: 700; font-size: 0.95rem; color: var(--blue); background: var(--p-blue);
}
.steps li:nth-child(2)::before { color: var(--green); background: var(--p-green); }
.steps li:nth-child(3)::before { color: var(--coral); background: var(--p-peach); }
.steps h3 { margin-bottom: 0.4em; }
.steps p { color: var(--muted); margin: 0; }

/* islands list */
.isles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .isles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .isles { grid-template-columns: repeat(3, 1fr); } }
.isles li {
  max-width: none; margin: 0; display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.25rem 1rem;
  align-items: start; padding: 1rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-m); box-shadow: var(--shadow-s);
}
.isles svg { width: 4.5rem; height: 3rem; grid-row: span 2; padding: 0.2rem; border-radius: 12px; background: var(--night-1); }
.isles h3 { margin: 0; font-size: 1.12rem; }
.isles p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.isles .skill { color: var(--ink); font-weight: 700; }

/* audiences */
.roles { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .roles { grid-template-columns: repeat(2, 1fr); } }
.roles li {
  max-width: none; margin: 0; padding: 1.25rem 1.35rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-s);
  border-top: 5px solid var(--tone, var(--sun));
}
.roles li:nth-child(4n+1) { --tone: var(--sun); }
.roles li:nth-child(4n+2) { --tone: #6fd0a0; }
.roles li:nth-child(4n+3) { --tone: #9db8ff; }
.roles li:nth-child(4n+4) { --tone: #f3a3b5; }
.roles h3 { margin-bottom: 0.3em; }
.roles p { color: var(--muted); margin: 0; }

/* check lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem 2.5rem; }
@media (min-width: 760px) { .checks--two { grid-template-columns: repeat(2, 1fr); } }
.checks li { max-width: 34rem; margin: 0; position: relative; padding-left: 2.35rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--p-green) no-repeat center/0.85rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f9d68' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.checks--teal li::before { background-color: var(--p-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233c6df0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); }

/* prose pages */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose .callout { margin-block: 1.75rem; }
.with-aside { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); gap: 4rem; } }
.aside-box {
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.35rem 1.45rem;
  background: var(--card); box-shadow: var(--shadow-s); align-self: start;
}
@media (min-width: 960px) { .aside-box { position: sticky; top: 6rem; } }
.aside-box h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.aside-box ul { margin: 0; padding-left: 1.1em; }
.aside-box li { font-size: 0.98rem; color: var(--muted); }
.aside-box p { font-size: 0.98rem; color: var(--muted); }
.toc { list-style: none; padding: 0 !important; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.45rem 0.6rem; margin-inline: -0.6rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.98rem; }
.toc a:hover { background: var(--p-yellow); color: var(--ink); }

/* devices diagram (how it works) */
.devices { margin: 0; background: linear-gradient(140deg, #eef4ff, #fff3e0); border-radius: var(--radius-l); padding: 1.5rem; }
.devices svg { width: 100%; height: auto; }
.devices figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.75rem; }
.dev-label { font-family: var(--font-body); font-size: 16px; fill: var(--muted); }
.dev-strong { font-family: var(--font-body); font-size: 15px; fill: var(--ink); font-weight: 700; }
@media (max-width: 600px) { .dev-label, .dev-strong { font-size: 24px; } }

/* not-a-diagnosis banner */
.no-dx {
  display: grid; gap: 1rem 1.5rem; align-items: center;
  border: 1px solid #f3dc9f; border-radius: var(--radius-l);
  padding: clamp(1.3rem, 1rem + 2vw, 2rem); background: linear-gradient(120deg, #fff6dc, #fffaf0);
}
@media (min-width: 720px) { .no-dx { grid-template-columns: auto 1fr; } }
.no-dx svg { width: 4.5rem; height: 4.8rem; }
.no-dx h2 { margin-bottom: 0.3em; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.no-dx p { margin: 0; color: var(--text); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.35rem; max-width: 40rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 700; font-size: 1rem; color: var(--ink); }
.field .hint { font-size: 0.92rem; color: var(--muted); margin: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink);
  background: #fffdf9; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 0.75rem 0.9rem; min-height: 50px;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 6 5-6' fill='none' stroke='%2369738c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1.1rem; padding-right: 2.6rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9bda8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(60, 109, 240, .35); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field-error { color: var(--danger); font-size: 0.95rem; margin: 0; font-weight: 700; }
.field-error:empty { display: none; }
.check-field { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.check-field input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0 0; accent-color: var(--blue); }
.check-field label { font-weight: 400; color: var(--text); }
.check-field .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-m); padding: 1.1rem 1.3rem; max-width: 40rem; margin-bottom: 1.5rem; }
.form-status:empty { display: none; }
.form-status h2 { font-size: 1.3rem; margin-bottom: 0.3em; }
.form-status p { margin: 0; }
.form-status--error { background: var(--danger-bg); border: 1px solid #f3b8ae; }
.form-status--error h2 { color: var(--danger); }
.form-status--ok { background: var(--ok-bg); border: 1px solid #a8dcc2; }
.form-status--ok h2 { color: var(--ok); }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(1rem, 2vw, 2rem); background: #fff; border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: 0.95rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 2.25rem; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.15fr 2fr 1.2fr; gap: 3rem; } }
.foot-brand .brand { font-size: 1.6rem; margin-bottom: 0.6rem; }
.foot-brand p { margin: 0 0 0.75rem; max-width: 22rem; }
.foot-statement { font-weight: 700; color: var(--ink); }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.5rem; }
.foot-nav h2 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: var(--ink); margin: 0.3rem 0 0.6rem; }
.foot-nav ul { list-style: none; padding: 0; margin: 0; }
.foot-nav li { margin: 0; }
.foot-nav a { display: inline-block; color: var(--muted); padding: 0.3rem 0; text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-cta h2 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: var(--ink); margin: 0.3rem 0 0.6rem; }
.foot-cta p { margin: 0 0 1rem; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.75rem; font-size: 0.88rem; }
.foot-legal p { margin: 0; }
/* ---- refinements ---- */
.steps-panel h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
@media (min-width: 1000px) { .steps-panel { grid-template-columns: 1fr 2.3fr; } }
.area .art svg { width: 100%; }
@media (min-width: 560px) { .foot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- photos (v3) ---- */
/* area cards: hand-painted edges, like the reference.
   The colour sits on a pseudo-element pushed through an SVG displacement filter (#paint-1..3 in the page),
   so the edge wobbles like a brush stroke while the text and art stay crisp. A white "paper" rim, darker
   pigment pooling at the edge and a fine grain finish the look. */
.area {
  background: transparent; border: 0; isolation: isolate;
  min-height: 15.5rem; padding: 1.1rem 1.1rem 1.2rem;
}
.area:hover { box-shadow: none; }
.area::before, .area::after {
  content: ""; position: absolute; inset: 4px; z-index: -1; pointer-events: none;
  border-radius: 20px 16px 22px 14px / 16px 22px 14px 20px;
  filter: url(#paint-1);
}
.area::before {
  background:
    radial-gradient(70% 50% at 30% 24%, rgba(255, 255, 255, .6), transparent 72%),
    radial-gradient(60% 45% at 80% 92%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 75%),
    radial-gradient(45% 35% at 10% 70%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 75%),
    var(--tone);
  box-shadow:
    inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 30%, transparent),
    inset 0 0 16px 3px color-mix(in srgb, var(--accent) 15%, transparent),
    0 0 0 5px rgba(255, 255, 255, .95),
    0 0 0 6.5px color-mix(in srgb, var(--accent) 10%, transparent),
    0 8px 16px rgba(27, 42, 74, .07);
}
.area::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .28 .3 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply; opacity: .55;
}
.area:nth-child(3n+2)::before, .area:nth-child(3n+2)::after { filter: url(#paint-2); }
.area:nth-child(3n)::before, .area:nth-child(3n)::after { filter: url(#paint-3); }
.area:nth-child(even)::before, .area:nth-child(even)::after { border-radius: 16px 22px 14px 20px / 20px 14px 22px 16px; }
.area .go { background: var(--accent); color: #fff; box-shadow: 0 3px 8px color-mix(in srgb, var(--accent) 35%, transparent); width: 2.1rem; height: 2.1rem; }
.area h3 { font-size: 1.1rem; }
.areas { gap: 1.1rem; }

/* island cards with photos */
.isle-card .media { background: #efe3cf; }
.isle-card .media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.isle-card:hover .media img { transform: scale(1.04); }
.isle-card h3 { display: flex; align-items: center; gap: 0.5rem; }
.isle-card .isle-ico { width: 2rem; height: 2rem; border-radius: 50%; background: var(--night-1); display: grid; place-items: center; flex: none; }
.isle-card .isle-ico svg { width: 1.75rem; height: 1.15rem; }
.isle-card .area-tag { margin-left: 0.1rem; }

/* report card avatar */
.report-card .avatar { overflow: hidden; }
.report-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* family Q&A feature photo */
.qa .q-feature .art { overflow: hidden; background: #efe3cf; }
.qa .q-feature .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 520px) { .qa .q-feature .art { aspect-ratio: 16 / 9; } }

/* CTA banner photo */
.cta-banner { overflow: visible; background: linear-gradient(105deg, #fff4d6 0%, #e8f3ff 45%, #dcefff 100%); }
.cta-banner .art { position: relative; width: min(100%, 25rem); justify-self: end; margin-block: -0.5rem; }
.cta-photo {
  aspect-ratio: 5 / 4; overflow: hidden; background: #efe3cf;
  border-radius: 58% 42% 46% 54% / 52% 50% 50% 48%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .7), var(--shadow-m);
}
.cta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-banner .spark { position: absolute; width: 1.4rem; }
.cta-banner .s1 { left: -1.25rem; top: 12%; }
.cta-banner .s2 { right: -0.5rem; top: -0.25rem; width: 1.2rem; }
.cta-banner .s3 { left: 6%; bottom: 4%; width: 0.8rem; }
.cta-banner .cta-lumi { position: absolute; left: -2.6rem; bottom: -0.5rem; width: 4.2rem; }
.cta-banner .leaf { position: absolute; right: -1rem; bottom: -0.75rem; width: 2.8rem; }
@media (min-width: 860px) { .cta-banner { grid-template-columns: 1.2fr 0.8fr; } }
@media (min-width: 1000px) { .cta-banner .art { margin-block: -3.5rem -1rem; } }
@media (max-width: 859px) { .cta-banner .art { justify-self: center; width: min(86%, 22rem); margin: 0.5rem auto 0.5rem; } }

/* inner page heroes with a photo */
.page-hero .wrap { padding-block: 0.5rem; }
.page-hero .hero-pic { position: relative; width: clamp(15rem, 12rem + 14vw, 25rem); justify-self: end; margin-block: 0.75rem; }
.page-hero .hero-pic .pic {
  aspect-ratio: 4 / 3; overflow: hidden; background: #efe3cf;
  border-radius: 54% 46% 42% 58% / 50% 54% 46% 50%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .75), var(--shadow-m);
}
.page-hero .hero-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero .hero-pic .badge { position: absolute; left: -1.25rem; bottom: -0.5rem; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-m); display: grid; place-items: center; }
.page-hero .hero-pic .badge svg { width: 2.8rem; height: 3rem; }
.page-hero .hero-pic .spark { position: absolute; right: -0.4rem; top: -0.6rem; width: 1.6rem; }
@media (max-width: 819px) { .page-hero .hero-pic { justify-self: center; width: min(100%, 22rem); } }

/* photos inside inner pages */
.photo-card { margin: 1.75rem 0 0; }
.photo-card img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.photo-card figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 0.5rem; }
.aside-box + .photo-card { margin-top: 1.25rem; }

/* footer on the page colour, like the reference */
.site-footer { background: var(--page); }
.aside-photo { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 0.5rem; }
@media (max-width: 639px) {
  .fc-next { display: none; }
  .fc-progress { top: auto; bottom: 3.5rem; left: 0.6rem; width: 10rem; padding: 0.55rem 0.7rem; }
  .deco-blue { left: -3.75rem; }
  .hero-visual { height: 21rem; }
  .hero-photo img { object-position: 18% 30%; }
}
