* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font: 15px/1.6 "Inter", system-ui, sans-serif;
  color: #1d222b;
  background-color: #f5f1eb;
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(45, 79, 134, 0.10), transparent 62%),
    radial-gradient(900px 480px at -12% 18%, rgba(196, 160, 112, 0.16), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; }
a { color: #1f3a66; text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.req { color: #2d4f86; font-weight: 700; }
.opt { font-weight: 400; color: #7b808a; font-size: 0.82rem; margin-left: 6px; }

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 241, 235, 0.8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-head.scrolled { border-bottom-color: #e6e0d7; box-shadow: 0 8px 24px -20px rgba(29, 34, 43, 0.5); }
.head-row { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d222b;
  text-decoration: none;
  font: 600 1.28rem "Fraunces", Georgia, serif;
  letter-spacing: -0.01em;
}
.mark { width: 28px; height: 28px; color: #2d4f86; transition: transform 0.4s ease-out; }
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: #454b57;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav a:hover { background: rgba(29, 34, 43, 0.05); color: #1d222b; }
.nav a.is-active { background: #fff; color: #1d222b; box-shadow: 0 1px 2px rgba(29, 34, 43, 0.04), 0 6px 18px -10px rgba(29, 34, 43, 0.16); }

/* language picker */
.lang {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  color: #454b57;
}
.lang svg { position: absolute; left: 12px; pointer-events: none; }
.lang select {
  width: auto;
  min-height: 38px;
  padding: 6px 34px 6px 34px;
  border: 1px solid #d3cbbf;
  border-radius: 999px;
  background-color: #fff;
  background-position: right 12px center;
  font-size: 0.86rem;
  font-weight: 500;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1f3a66;
}
.hero h1 {
  font: 600 clamp(2.2rem, 4.6vw, 3.45rem) / 1.08 "Fraunces", Georgia, serif;
  letter-spacing: -0.025em;
}
.hero h1 em { font-style: italic; font-weight: 500; color: #2d4f86; }
.lede { max-width: 34em; margin: 20px 0 0; color: #454b57; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.text-link { color: #1d222b; font-weight: 600; text-decoration: none; }
.text-link .arrow { display: inline-block; transition: transform 0.3s ease-out; }
.text-link:hover .arrow { transform: translateX(4px); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: #454b57; font-size: 0.88rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%232f8a5a' opacity='.15'/%3E%3Cpath d='m4.8 8.3 2.1 2.1 4.3-4.4' fill='none' stroke='%232f8a5a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* live figures panel */
.pulse {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, #222c3d 0%, #151b26 100%);
  color: #efe9e1;
  box-shadow: 0 2px 6px rgba(29, 34, 43, 0.06), 0 26px 50px -24px rgba(29, 34, 43, 0.4);
}
.pulse::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(96, 140, 220, 0.30), transparent);
  pointer-events: none;
}
.pulse > * { position: relative; }
.pulse-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd8b5;
}
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4cc282; }
.live i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4cc282;
  animation: ping 2s ease-out infinite;
}
.live.off { color: #a9a297; }
.live.off i, .live.off i::after { background: #a9a297; animation: none; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }

.pulse-select {
  max-width: 62%;
  padding: 6px 30px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23efe9e1' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #efe9e1;
  font: inherit;
  font-size: 0.8rem;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}
.pulse-select:focus-visible { outline: 2px solid #a9c4ff; outline-offset: 2px; }
.pulse-select option { color: #1d222b; }

.pulse-num { margin: 18px 0 0; }
.pulse-num strong { font: 600 3.6rem/1 "Fraunces", Georgia, serif; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pulse-cap { margin: 6px 0 0; color: #a9a297; font-size: 0.92rem; }
.spark { height: 58px; margin: 16px 0 4px; }
.spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.spark .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s 0.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse-trend { margin: 0; min-height: 1.4em; font-size: 0.84rem; color: #a9a297; }
.pulse-trend b { font-weight: 600; }
.pulse-trend .up { color: #f3a39a; }
.pulse-trend .down { color: #9fd8b5; }
.pulse-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pulse-split strong { display: block; font: 600 1.6rem/1.1 "Fraunces", Georgia, serif; color: #fff; }
.pulse-split span { font-size: 0.8rem; color: #a9a297; }
.pulse-foot { margin: 16px 0 0; font-size: 0.74rem; line-height: 1.5; color: #8d877d; }
.pulse-foot a { color: #a9c4ff; }

/* sections */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.section-head h2 { font: 600 2rem/1.15 "Fraunces", Georgia, serif; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: #7b808a; font-size: 0.92rem; }

.card {
  background: #fff;
  border: 1px solid #e6e0d7;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(29, 34, 43, 0.04), 0 6px 18px -10px rgba(29, 34, 43, 0.16);
}
.card h3 { font: 600 1.22rem/1.25 "Fraunces", Georgia, serif; letter-spacing: -0.01em; }
.card-sub { margin: 6px 0 16px; color: #7b808a; font-size: 0.88rem; }

/* check */
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.form-card { padding: 32px; }
.side { position: sticky; top: 92px; display: grid; gap: 20px; }

.step + .step { margin-top: 30px; padding-top: 28px; border-top: 1px dashed #d3cbbf; }
.step-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font: 600 1.02rem "Inter", system-ui, sans-serif !important; letter-spacing: 0 !important; }
.step-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ebf0f8;
  color: #1f3a66;
  font: 600 0.95rem "Fraunces", Georgia, serif;
}
.step-title .opt { margin-left: 0; }

.field { position: relative; margin-top: 18px; }
label { display: block; margin-bottom: 7px; font-size: 0.85rem; font-weight: 600; color: #454b57; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: #1d222b;
  background: #fbf9f6;
  border: 1.5px solid #d3cbbf;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
textarea { resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #bdb4a7; }
input:focus, select:focus, textarea:focus { border-color: #2d4f86; background-color: #fff; box-shadow: 0 0 0 4px rgba(45, 79, 134, 0.18); }
input::placeholder, textarea::placeholder { color: #aaa398; }
select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23454b57' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* valid */
.field.is-valid input,
.field.is-valid textarea {
  border-color: #2f8a5a;
  box-shadow: 0 0 0 4px rgba(47, 138, 90, 0.13);
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232f8a5a'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.field.is-valid textarea { background-position: right 13px top 14px; }
.field.is-valid > label { color: #2f8a5a; }
.field.is-valid > label .req { color: #2f8a5a; }

/* invalid */
.field.is-invalid input,
.field.is-invalid textarea { border-color: #c23b2c; box-shadow: 0 0 0 4px rgba(194, 59, 44, 0.11); }
.field-msg {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.8rem;
  color: #c23b2c;
  transition: max-height 0.3s ease-out, opacity 0.3s, margin 0.3s;
}
.field.is-invalid .field-msg { max-height: 44px; opacity: 1; margin-top: 7px; }
.shake { animation: shake 0.42s ease-out; }
@keyframes shake {
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

/* price + month/week switch */
.price { position: relative; }
.price .prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7b808a; font-weight: 600; pointer-events: none; z-index: 1; }
.price input { padding-left: 30px; padding-right: 128px; }
.field.is-valid .price input { padding-right: 160px; background-position: right 132px center; }
.segmented {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  padding: 3px;
  border-radius: 8px;
  background: #ece6dd;
}
.segmented label { margin: 0; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: block;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7b808a;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.segmented input:checked + span { background: #fff; color: #1d222b; box-shadow: 0 1px 3px rgba(29, 34, 43, 0.15); }
.segmented input:focus-visible + span { outline: 2px solid #2d4f86; }

/* warning signs */
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sign {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1.5px solid #e6e0d7;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s, background 0.25s, transform 0.25s ease-out, box-shadow 0.25s;
}
.sign:hover { border-color: #d3cbbf; background: #fbf9f6; transform: translateY(-1px); }
.sign input { position: absolute; opacity: 0; pointer-events: none; }
.tick {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid #d3cbbf;
  border-radius: 6px;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.tick::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.25s ease-out;
}
.sign-text b { display: block; font-size: 0.9rem; font-weight: 600; color: #1d222b; line-height: 1.35; }
.sign-text small { display: block; margin-top: 2px; font-size: 0.78rem; color: #7b808a; line-height: 1.4; }
.pts {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f5f1eb;
  color: #7b808a;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background 0.25s, color 0.25s;
}
.sign:has(input:checked) { border-color: #2d4f86; background: #ebf0f8; box-shadow: 0 6px 16px -12px rgba(31, 58, 102, 0.7); }
.sign:has(input:checked) .tick { background: #2d4f86; border-color: #2d4f86; }
.sign:has(input:checked) .tick::after { transform: rotate(45deg) scale(1); }
.sign:has(input:checked) .pts { background: #2d4f86; color: #fff; }
.sign:has(input:focus-visible) { outline: 3px solid rgba(45, 79, 134, 0.18); outline-offset: 2px; }
.sign.pop { animation: pop 0.35s ease-out; }
@keyframes pop { 40% { transform: scale(1.025); } }

/* summary */
.summary-head { display: flex; align-items: baseline; justify-content: space-between; }
.progress-label { font-size: 0.8rem; color: #7b808a; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.progress-label.done { color: #2f8a5a; font-weight: 600; }
.progress { height: 5px; margin-top: 12px; border-radius: 5px; background: #ece6dd; overflow: hidden; }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(180deg, #3a5f9c, #26436f); transition: width 0.5s ease-out; }
.progress.done span { background: #2f8a5a; }

.checklist { margin: 14px 0 0; padding: 0; list-style: none; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #e6e0d7;
  font-size: 0.9rem;
  color: #7b808a;
  transition: color 0.3s;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #d3cbbf;
  border-radius: 50%;
  background: no-repeat center / 12px;
  transition: background-color 0.3s, border-color 0.3s, transform 0.35s ease-out;
}
.checklist li.done { color: #1d222b; }
.checklist li.done::before {
  border-color: #2f8a5a;
  background-color: #2f8a5a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: scale(1.08);
}
.sign-count { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fbf9f6; font-size: 0.84rem; color: #7b808a; transition: background 0.3s, color 0.3s; }
.sign-count.warn { background: #ebf0f8; color: #1f3a66; font-weight: 600; }

/* checkbox */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  font-weight: 400;
  font-size: 0.84rem;
  color: #454b57;
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid #d3cbbf;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.25s;
}
.check .box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.25s ease-out;
}
.check input:checked + .box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(45, 79, 134, 0.18); }
.check.is-valid { color: #2f8a5a; }
.check.is-valid .box { background: #2f8a5a; border-color: #2f8a5a; box-shadow: 0 0 0 4px rgba(47, 138, 90, 0.13); }
.check.is-invalid { color: #c23b2c; }
.check.is-invalid .box { border-color: #c23b2c; box-shadow: 0 0 0 4px rgba(194, 59, 44, 0.11); }

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #3a5f9c, #26436f);
  color: #fff;
  font: 600 0.98rem "Inter", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 22px -12px rgba(31, 58, 102, 0.9);
  transition: transform 0.2s ease-out, box-shadow 0.25s, filter 0.25s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 16px 28px -14px rgba(31, 58, 102, 0.9); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:focus-visible { outline: 3px solid rgba(45, 79, 134, 0.18); outline-offset: 2px; }
.btn-block { width: 100%; margin-top: 18px; }
.btn-quiet { min-height: 48px; padding: 10px 20px; background: #1d222b; box-shadow: 0 10px 20px -14px rgba(29, 34, 43, 0.9); }
.btn-quiet:hover { background: #2d3440; }
.btn.secondary { background: #fff; color: #1d222b; box-shadow: inset 0 0 0 1.5px #d3cbbf; }
.btn.secondary:hover { box-shadow: inset 0 0 0 1.5px #1d222b; filter: none; }
.btn[disabled] { cursor: progress; opacity: 0.85; }
.btn[disabled] .btn-text::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#submit.ready { background: linear-gradient(180deg, #389a66 0%, #2a7d51 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 22px -12px rgba(42, 125, 81, 0.9); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.status { min-height: 1.4em; margin: 10px 0 0; text-align: center; font-size: 0.84rem; color: #7b808a; }


/* result */
.result { margin-top: 28px; border-top: 4px solid #2d4f86; animation: rise 0.6s ease-out; }
.result:has(.badge-low) { border-top-color: #2f8a5a; }
.result:has(.badge-medium) { border-top-color: #c98510; }
.result:has(.badge-high) { border-top-color: #c23b2c; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { display: inline-block; padding: 7px 14px; border-radius: 999px; color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-low { background: #2f8a5a; }
.badge-medium { background: #c98510; }
.badge-high { background: #c23b2c; }
.score b { font: 600 2.6rem/1 "Fraunces", Georgia, serif; font-variant-numeric: tabular-nums; }
.score span { margin-left: 2px; color: #7b808a; }
.meter { position: relative; height: 10px; margin: 16px 0 6px; border-radius: 10px; background: #ece6dd; overflow: hidden; }
.meter::before, .meter::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; z-index: 1; }
.meter::before { left: 25%; }
.meter::after { left: 50%; }
.meter span { display: block; width: 0; height: 100%; border-radius: inherit; transition: width 1.1s ease-out 0.15s; }
.meter-low span { background: #2f8a5a; }
.meter-medium span { background: #c98510; }
.meter-high span { background: #c23b2c; }
.explanation { margin: 14px 0 0; font-size: 1.05rem; color: #1d222b; }
.result h4 { margin: 20px 0 6px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #7b808a; }
.result ul { margin: 0; padding-left: 20px; color: #454b57; }
.result li + li { margin-top: 4px; }
.pts-inline { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #ece6dd; font-size: 0.75rem; font-weight: 700; color: #454b57; }
.warning { padding: 10px 14px; border-radius: 10px; background: #fdf4e3; border-left: 3px solid #c98510; font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.actions .btn { min-height: 44px; font-size: 0.9rem; }
.small { font-size: 0.8rem; color: #7b808a; }

/* 3D map in the result */
.map { height: 360px; margin-top: 4px; border: 1px solid #e6e0d7; border-radius: 12px; overflow: hidden; background: #ece6dd; }
.map-note { margin: 8px 0 0; font-size: 0.8rem; color: #7b808a; }

/* how it works */
.how { padding-top: 80px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.how-steps li { padding-top: 18px; border-top: 2px solid #1d222b; }
.how-no { font: italic 500 1.05rem "Fraunces", Georgia, serif; color: #2d4f86; }
.how-steps h3 { margin-top: 8px; font: 600 1.05rem "Inter", system-ui, sans-serif; }
.how-steps p { margin: 6px 0 0; color: #454b57; font-size: 0.92rem; }
.bands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.band { padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; }
.band b { font-variant-numeric: tabular-nums; margin-right: 4px; }
.band-low { background: rgba(47, 138, 90, 0.13); color: #23704a; }
.band-medium { background: rgba(201, 133, 16, 0.14); color: #8f5d07; }
.band-high { background: rgba(194, 59, 44, 0.11); color: #9e2f23; }

/* ask a friend + contact */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 72px; align-items: start; }
.banded { padding-top: 0; overflow: hidden; }
.band-head {
  margin: 0 -28px 22px;
  padding: 16px 28px;
  background: linear-gradient(120deg, #3a5f9c 0%, #1f3a66 100%);
  color: #fff;
}
.banded .field:first-child { margin-top: 0; }
.form-foot { display: flex; justify-content: flex-end; margin-top: 14px; }

/* footer, toast */
.foot { margin-top: 72px; padding-top: 28px; padding-bottom: 48px; border-top: 1px solid #e6e0d7; text-align: center; color: #7b808a; font-size: 0.84rem; }
.foot p { margin: 4px 0; }
.made { margin-top: 16px !important; font: italic 500 1.05rem "Fraunces", Georgia, serif; color: #454b57; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: #1d222b;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(29, 34, 43, 0.06), 0 26px 50px -24px rgba(29, 34, 43, 0.4);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s ease-out;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.in { opacity: 1; transform: none; }
.no-observer .reveal { opacity: 1; transform: none; }

/* smaller screens */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .check-grid { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .head-row { gap: 16px; }
  .nav a { padding: 8px 10px; font-size: 0.86rem; }
}
@media (max-width: 860px) {
  .head-row { flex-wrap: wrap; height: auto; gap: 10px 16px; padding-top: 10px; padding-bottom: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; }
  .nav::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  .hero { padding-top: 32px; padding-bottom: 40px; }
  .pulse-num strong { font-size: 3rem; }
  .section-head h2 { font-size: 1.7rem; }
  .card, .form-card { padding: 22px 18px; }
  .band-head { margin: 0 -18px 18px; padding: 14px 18px; }
  .row, .signs, .side, .how-steps, .duo { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .how { padding-top: 56px; }
  .duo { padding-top: 48px; }
  .map { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .spark .line { stroke-dashoffset: 0; }
}
