/* Lobster Coaching brand: navy #171c4a, teal #00a898, white, plus tints. */
@font-face { font-family: "Bely Display"; src: url("/assets/fonts/BelyDisplay.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #171c4a;
  --teal: #00a898;
  --tint: #eef8f7;
  --grey: #f1f2f6;
  --line: #dde0ea;
  --body: #3f4466;
  --muted: #6b708f;
  --on-dark: #d6d9ea;
  --teal-light: #66cbc1;
  --mint: #9fe0d8;
  --display: "Bely Display", Georgia, serif;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--body);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; right: -260px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,152,0.22) 0%, rgba(0,168,152,0) 68%);
}

.top, main, .foot { width: 100%; max-width: 620px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.top { padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: 8px; }
.brand img { height: 46px; width: auto; display: block; }
main { flex: 1; padding-top: 18px; padding-bottom: 32px; outline: none; }
main:focus, main:focus-visible { outline: none; }
.safety + .hero { margin-top: 16px; }
.foot { padding-bottom: max(24px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--muted); }
.foot .disclaimer { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 8px; }
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--navy); line-height: 1.1; }
h1 { font-size: clamp(40px, 11vw, 56px); margin-bottom: 16px; }
h2 { font-size: clamp(28px, 7.4vw, 36px); margin-bottom: 14px; }
h3 { font-size: 24px; margin-bottom: 6px; }
p + p { margin-top: 12px; }
.lead { font-size: 18px; color: var(--body); }
.small { font-size: 14px; color: var(--muted); }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex: none; }
.dark .eyebrow { color: #fff; }

/* Screens */
.screen { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.fact { background: var(--tint); border-radius: 18px; padding: 14px 12px; text-align: center; }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--navy); line-height: 1.1; }
.fact span { font-size: 13px; color: var(--muted); }

.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; text-decoration: none;
  background: var(--navy); color: #fff; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #232a66; }
.btn:active { transform: scale(.98); }
.btn.block { width: 100%; }
.btn.teal { background: var(--teal); }
.btn.teal:hover { background: #009587; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn[disabled] { opacity: .5; cursor: default; }
.link-btn { appearance: none; background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer;
  padding: 10px 0; display: inline-flex; gap: 6px; align-items: center; font-size: 15px; }
.link-btn:hover { color: var(--navy); }
.actions { display: grid; gap: 12px; margin-top: 24px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Forms */
label.field { display: block; margin-bottom: 18px; }
label.field > span { display: block; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
input[type=text], input[type=email], textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--navy);
  border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--teal); }

.choice { display: grid; gap: 12px; margin: 8px 0 18px; }
.choice label {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; background: #fff;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .tick { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.choice label:has(input:checked) { border-color: var(--teal); background: var(--tint); }
.choice label:has(input:checked) .tick { border-color: var(--teal); background: var(--teal); }
.choice label:has(input:checked) .tick::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice b { display: block; color: var(--navy); font-weight: 600; }
.choice small { color: var(--muted); font-size: 14px; }

/* Questionnaire */
.progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.bar { height: 6px; background: var(--grey); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 99px; transition: width .3s ease; }
.q-intro { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.question { font-size: clamp(28px, 7.6vw, 38px); margin-bottom: 26px; min-height: 2.2em; }
.options { display: grid; gap: 12px; }
.option {
  appearance: none; font: inherit; text-align: left; cursor: pointer; width: 100%;
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px;
  border: 2px solid transparent; border-radius: 18px; background: var(--grey); color: var(--navy); font-size: 17px; font-weight: 500;
  transition: background .15s ease, border-color .15s ease;
}
@media (hover: hover) { .option:hover { background: var(--tint); } }
.option .num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; }
.option.selected { background: var(--tint); border-color: var(--teal); }
.option.selected .num { background: var(--teal); color: #fff; }

/* Results */
.hero {
  border-radius: 28px; padding: 28px 24px 26px; color: var(--on-dark);
  background: radial-gradient(circle at 85% 10%, #11586a 0%, #171c4a 55%);
}
.hero h1 { color: #fff; font-size: clamp(36px, 10vw, 50px); margin-bottom: 10px; }
.hero .score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.hero .score b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--teal-light); }
.hero .score span { color: var(--on-dark); font-size: 15px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 20px 0 8px; }
.scale i { height: 10px; border-radius: 99px; background: rgba(255,255,255,0.16); position: relative; }
.scale i.on { background: var(--teal); }
.scale i.here { background: #fff; box-shadow: 0 0 0 3px var(--teal); }
.scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--mint); }
.hero p.phase-text { color: #fff; font-size: 16px; margin-top: 18px; }

.card { border-radius: var(--radius); padding: 24px 22px; background: var(--tint); margin-top: 16px; }
.card.navy { background: var(--navy); color: var(--on-dark); }
.card.navy h2, .card.navy h3 { color: #fff; }
.card.white { background: #fff; border: 2px solid var(--line); }
.section-title { margin-top: 36px; }
.tips { display: grid; gap: 12px; }
.tip { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: 20px; padding: 18px; }
.tip .n { flex: none; font-family: var(--display); font-size: 30px; color: var(--teal); line-height: 1; width: 22px; }
.tip b { color: var(--navy); display: block; font-weight: 600; }

.safety { border-radius: var(--radius); padding: 24px 22px; margin-top: 16px;
  background: radial-gradient(circle at 15% 88%, #0f5068 0%, #00a898 70%); color: #fff; }
.safety h2 { color: #fff; font-size: 28px; }
.safety ul { padding: 0; list-style: none; margin: 14px 0 4px; display: grid; gap: 10px; }
.safety li { background: rgba(255,255,255,0.14); border-radius: 16px; padding: 12px 14px; }
.safety a { color: #fff; font-weight: 600; }
.safety small { color: rgba(255,255,255,0.85); font-size: 14px; display: block; }

.notice { background: var(--grey); border-radius: 16px; padding: 12px 16px; font-size: 14px; color: var(--muted); margin-top: 16px; }
.preview-banner { background: var(--navy); color: #fff; font-size: 13px; text-align: center; padding: 8px 12px; }
.sent { display: flex; gap: 12px; align-items: center; color: var(--navy); font-weight: 500; }
.sent::before { content: "✓"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.error { color: #a3352b; font-size: 14px; margin-top: 8px; }

@media (min-width: 700px) {
  main { padding-top: 40px; }
  .brand img { height: 54px; }
  .hero { padding: 36px 34px; }
  .card, .safety { padding: 28px 30px; }
}
main p a, main li a { color: var(--navy); text-decoration-color: var(--teal); text-underline-offset: 3px; }
