:root {
  --green: #1FAA59;
  --green-deep: #127A3E;
  --green-tint: #E9F8EF;
  --red: #F43F54;
  --red-deep: #D72E43;
  --red-tint: #FEEDEF;
  --ink: #1A2420;
  --muted: #5C6B63;
  --line: #E4EAE6;
  --white: #FFFFFF;
  --head: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--white);
}
*, *::before, *::after { box-sizing: inherit; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
p { margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; border-radius: 999px;
  padding: 1rem 1.7rem;
  font: 700 1rem var(--body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(244, 63, 84, 0.32); }
.btn-red:hover { background: var(--red-deep); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 10px 24px rgba(31, 170, 89, 0.3); }
.btn-green:hover { background: var(--green-deep); }
.btn-soft { background: var(--green-tint); color: var(--green-deep); }
.btn-block { width: 100%; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(244, 63, 84, 0.55);
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(244, 63, 84, 0.5); } 80%, 100% { box-shadow: 0 0 0 18px rgba(244, 63, 84, 0); } }
.shine { overflow: hidden; }
.shine::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
header.top.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(26, 36, 32, 0.06); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1rem; }
.logo { height: 58px; width: auto; }
nav.links { display: flex; gap: 1.6rem; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 0.6rem; }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--green-tint); cursor: pointer; flex-shrink: 0; }
.menu-btn span { position: absolute; left: 13px; width: 20px; height: 2.5px; border-radius: 2px; background: var(--green-deep); transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-btn.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.mnav { display: none; }
nav.links a { color: var(--muted); text-decoration: none; position: relative; }
nav.links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--red); transition: width 0.25s ease; }
nav.links a:hover { color: var(--ink); }
nav.links a:hover::after { width: 100%; }
.top-actions .btn { padding: 0.75rem 1.25rem; font-size: 0.92rem; }
@media (max-width: 1180px) {
  nav.links { display: none; }
  .menu-btn { display: block; }
  .mnav { display: block; max-height: 0; overflow: hidden; background: var(--white); border-top: 1px solid transparent; transition: max-height 0.4s ease, border-color 0.3s ease; }
  .mnav.open { max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; border-top-color: var(--line); box-shadow: 0 18px 30px rgba(26, 36, 32, 0.08); }
  .mnav-in { max-width: 1160px; margin: 0 auto; padding: 0.5rem 1.25rem 1.25rem; display: grid; }
  .mnav a.l { padding: 0.95rem 0.25rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mnav a.l:hover { color: var(--green-deep); }
  .mnav.open a.l { animation: mlink 0.35s ease both; }
  .mnav.open a.l:nth-child(2) { animation-delay: 0.04s; }
  .mnav.open a.l:nth-child(3) { animation-delay: 0.08s; }
  .mnav.open a.l:nth-child(4) { animation-delay: 0.12s; }
  .mnav.open a.l:nth-child(5) { animation-delay: 0.16s; }
  .mnav.open a.l:nth-child(6) { animation-delay: 0.2s; }
  .mnav .btn { margin-top: 1rem; width: 100%; }
  @keyframes mlink { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

.hero { position: relative; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: 0; }
.b1 { width: 420px; height: 420px; background: #C9F0D8; top: -120px; right: 8%; animation: drift1 16s ease-in-out infinite; }
.b2 { width: 360px; height: 360px; background: #FFD3D9; bottom: -140px; left: -80px; animation: drift2 19s ease-in-out infinite; }
.b3 { width: 260px; height: 260px; background: #D8F5E3; top: 40%; left: 40%; animation: drift1 22s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, -40px) scale(1.1); } }
.glyph { position: absolute; z-index: 1; font-family: var(--head); font-weight: 800; pointer-events: none; user-select: none; animation: bob 7s ease-in-out infinite; }
.g1 { top: 12%; left: 46%; font-size: 2.2rem; color: rgba(31, 170, 89, 0.28); }
.g2 { top: 70%; left: 4%; font-size: 2.6rem; color: rgba(244, 63, 84, 0.25); animation-delay: -2s; }
.g3 { top: 80%; left: 50%; font-size: 1.8rem; color: rgba(31, 170, 89, 0.3); animation-delay: -4s; }
.g4 { top: 6%; left: 3%; font-size: 1.9rem; color: rgba(244, 63, 84, 0.22); animation-delay: -1s; }
.g5 { top: 46%; right: 2%; font-size: 2.1rem; color: rgba(31, 170, 89, 0.25); animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-22px) rotate(6deg); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.95rem 0.4rem 0.5rem;
  font-weight: 600; font-size: 0.88rem; color: var(--muted);
  box-shadow: 0 4px 14px rgba(26, 36, 32, 0.05);
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.8); opacity: 0; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; margin: 1.25rem 0 1.25rem; }
.rot { display: block; position: relative; height: 1.12em; overflow: hidden; }
.rot span {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  background: linear-gradient(90deg, var(--green) 0%, #3DCB7A 40%, var(--red) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(110%); opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.4s ease;
  animation: hue 6s linear infinite;
}
.rot span.on { transform: translateY(0); opacity: 1; }
.rot span.off { transform: translateY(-110%); opacity: 0; }
@keyframes hue { 0% { background-position: 0% 0; } 50% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.trustline { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; font-weight: 600; font-size: 0.9rem; }
.trustline span { display: inline-flex; align-items: center; gap: 0.45rem; }
.trustline svg { width: 18px; height: 18px; stroke: var(--green); }

.stage { position: relative; display: grid; place-items: center; perspective: 1200px; }
.phone {
  position: relative;
  width: 290px; height: 590px;
  background: #1A2420;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(18, 122, 62, 0.25), 0 10px 30px rgba(26, 36, 32, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  animation: hover 6s ease-in-out infinite;
}
@keyframes hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.screen { position: relative; width: 100%; height: 100%; background: var(--white); border-radius: 34px; overflow: hidden; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #1A2420; border-radius: 999px; z-index: 5; }
.sbar { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: 0.72rem; font-weight: 700; }
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 10px; }
.app-head strong { font-family: var(--head); font-size: 1.15rem; }
.app-head .dotlogo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--green), var(--red)); }
.scr { position: absolute; inset: 96px 0 0 0; padding: 0 16px; opacity: 0; transform: translateX(30px); transition: opacity 0.45s ease, transform 0.45s ease; pointer-events: none; }
.scr.on { opacity: 1; transform: translateX(0); }
.scr.out { opacity: 0; transform: translateX(-30px); }
.scr h4 { font-family: var(--head); font-size: 1.05rem; margin: 0 0 0.75rem; }
.f { border: 1.5px solid var(--line); border-radius: 12px; padding: 0.5rem 0.75rem; margin-bottom: 0.55rem; }
.f small { display: block; font-size: 0.66rem; color: var(--muted); font-weight: 600; }
.f b { display: block; min-height: 1.3em; font-size: 0.86rem; }
.f.act { border-color: var(--green); background: var(--green-tint); }
.caret { display: inline-block; width: 2px; height: 0.95em; background: var(--green); vertical-align: -2px; margin-left: 1px; animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fake-btn { margin-top: 0.75rem; background: var(--red); color: var(--white); text-align: center; font-weight: 700; font-size: 0.86rem; border-radius: 999px; padding: 0.7rem; transition: transform 0.15s ease; }
.fake-btn.press { transform: scale(0.94); background: var(--red-deep); }
.radar { position: relative; width: 210px; height: 210px; margin: 1.5rem auto 1rem; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: radar 2.4s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: 0.8s; }
.radar i:nth-child(3) { animation-delay: 1.6s; }
@keyframes radar { 0% { transform: scale(0.15); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(31, 170, 89, 0.35), transparent 30%); animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar .me { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--red); }
.radar .pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid var(--white); transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.radar .pin.show { transform: scale(1); }
.p1 { top: 22%; left: 28%; } .p2 { top: 64%; left: 72%; } .p3 { top: 30%; left: 74%; } .p4 { top: 72%; left: 26%; }
.center-note { text-align: center; font-weight: 700; font-size: 0.9rem; }
.tcard { display: flex; align-items: center; gap: 0.7rem; border: 1.5px solid var(--line); border-radius: 14px; padding: 0.65rem; margin-bottom: 0.6rem; opacity: 0; transform: translateY(16px); transition: all 0.4s ease; background: var(--white); }
.tcard.show { opacity: 1; transform: translateY(0); }
.tcard.pick { border-color: var(--green); background: var(--green-tint); box-shadow: 0 8px 20px rgba(31, 170, 89, 0.2); transform: scale(1.03); }
.av { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--white); font-size: 0.85rem; }
.tcard .meta { flex: 1; min-width: 0; }
.tcard .meta b { display: block; font-size: 0.86rem; }
.tcard .meta small { display: block; font-size: 0.72rem; color: var(--muted); }
.ver { font-size: 0.62rem; font-weight: 800; color: var(--green-deep); background: var(--white); border: 1.5px solid var(--green); border-radius: 999px; padding: 0.15rem 0.45rem; }
.mpesa { margin-top: 1.25rem; border-radius: 18px; background: #F3FBF6; border: 1.5px solid #CDEFDB; padding: 1.1rem; text-align: center; }
.mpesa .mp { font-family: var(--head); font-weight: 800; color: var(--green-deep); font-size: 1.2rem; letter-spacing: 0.02em; }
.mpesa p { font-size: 0.8rem; color: var(--muted); margin: 0.4rem 0 1rem; }
.pins { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; }
.pins i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); transition: background 0.2s ease, transform 0.2s ease; }
.pins i.fill { background: var(--green); transform: scale(1.15); }
.done { text-align: center; padding-top: 1.5rem; position: relative; }
.done svg { width: 96px; height: 96px; }
.done circle { fill: var(--green-tint); stroke: var(--green); stroke-width: 4; }
.done path { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.scr.on .done path { animation: draw 0.6s 0.25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h4 { font-size: 1.5rem; margin: 0.75rem 0 0.25rem; }
.receipt { margin-top: 1rem; border: 1.5px dashed var(--line); border-radius: 12px; padding: 0.7rem; font-size: 0.78rem; text-align: left; }
.receipt div { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.15rem 0; }
.receipt b { font-size: 0.78rem; }
.conf { position: absolute; top: 0; width: 8px; height: 12px; border-radius: 2px; opacity: 0; }
.scr.on .conf { animation: fall 1.6s ease-in forwards; }
@keyframes fall { 0% { transform: translateY(-20px) rotate(0); opacity: 1; } 100% { transform: translateY(320px) rotate(540deg); opacity: 0; } }
.float-card {
  position: absolute; z-index: 3;
  background: var(--white); border-radius: 16px; padding: 0.7rem 0.9rem;
  box-shadow: 0 14px 34px rgba(26, 36, 32, 0.14);
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 0.85rem;
  animation: bob2 5s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-card svg { width: 18px; height: 18px; }
.fc1 { top: 40%; left: calc(50% - 315px); }
.fc1 .ic { background: var(--green-tint); } .fc1 svg { stroke: var(--green); }
.fc2 { bottom: 8%; right: calc(50% - 325px); animation-delay: -2.5s; }
.fc2 .ic { background: var(--red-tint); } .fc2 svg { stroke: var(--red); }
@keyframes bob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; padding: 1.75rem 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.track { display: flex; gap: 0.75rem; width: max-content; animation: slide 40s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .track { animation-play-state: paused; }
.pill { white-space: nowrap; border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 700; font-size: 0.92rem; }
.pill.g { background: var(--green-tint); color: var(--green-deep); }
.pill.r { background: var(--red-tint); color: var(--red-deep); }
@keyframes slide { to { transform: translateX(-50%); } }

section.block { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.head { max-width: 40rem; margin-bottom: 2.75rem; }
.head.c { margin-left: auto; margin-right: auto; text-align: center; }
.head p { margin-top: 0.9rem; font-size: 1.1rem; color: var(--muted); }

.quiz { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.tabs { display: inline-flex; background: #F3F6F4; border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 1.25rem; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 0.55rem 1.1rem; font-weight: 700; font-size: 0.9rem; color: var(--muted); cursor: pointer; transition: all 0.25s ease; }
.tabs button.on { background: var(--white); color: var(--ink); box-shadow: 0 4px 12px rgba(26, 36, 32, 0.1); }
.qbox { position: relative; background: var(--white); border: 2px solid var(--line); border-radius: 26px; padding: 2rem; box-shadow: 0 24px 60px rgba(26, 36, 32, 0.08); }
.qbox .q { font-family: var(--head); font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 800; margin-bottom: 1.4rem; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.answers button {
  border: 2px solid var(--line); background: var(--white); border-radius: 16px;
  padding: 1rem; font-weight: 800; font-size: 1.15rem; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.answers button:hover { transform: translateY(-3px); border-color: var(--green); }
.answers button.right { background: var(--green); border-color: var(--green); color: var(--white); animation: pop 0.4s ease; }
.answers button.wrong { background: var(--red-tint); border-color: var(--red); color: var(--red-deep); animation: shake 0.45s ease; }
.answers button:disabled { cursor: default; }
@keyframes pop { 50% { transform: scale(1.08); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.qresult { margin-top: 1.25rem; min-height: 3.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; opacity: 0; transform: translateY(8px); transition: all 0.35s ease; }
.qresult.show { opacity: 1; transform: translateY(0); }
.qresult p { font-weight: 700; }
.timerbar { position: absolute; left: 2rem; right: 2rem; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--green-tint); overflow: hidden; }
.timerbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--red)); transform-origin: left; }
.timerbar i.run { animation: deplete 15s linear forwards; }
@keyframes deplete { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { position: relative; border: 2px solid var(--line); border-radius: 24px; padding: 1.75rem; cursor: pointer; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; background: var(--white); overflow: hidden; }
.step .n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.4rem; background: #F3F6F4; color: var(--muted); transition: all 0.3s ease; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); }
.step .bar { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.step.on { border-color: var(--green); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(31, 170, 89, 0.16); }
.step.on .n { background: var(--green); color: var(--white); transform: rotate(-8deg) scale(1.08); }
.step.on .bar { animation: fill 3.2s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

.safe { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.shield-wrap { position: relative; display: grid; place-items: center; height: 380px; }
.shield-wrap .halo { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, var(--green-tint) 0%, transparent 70%); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); } }
.shield { position: relative; width: 210px; height: 250px; }
.shield svg { width: 100%; height: 100%; }
.scan { position: absolute; left: 12%; right: 12%; height: 4px; border-radius: 4px; background: var(--red); box-shadow: 0 0 18px 4px rgba(244, 63, 84, 0.45); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 18%; } 50% { top: 78%; } }
.orbit { position: absolute; width: 330px; height: 330px; border: 2px dashed #CDEFDB; border-radius: 50%; animation: spin 30s linear infinite; }
.orbit b { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--red); top: -8px; left: calc(50% - 8px); }
.checklist { display: grid; gap: 0.85rem; }
.ck { display: flex; align-items: center; gap: 1rem; border: 2px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; transition: all 0.4s ease; background: var(--white); }
.ck .box { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--line); display: grid; place-items: center; transition: all 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ck .box svg { width: 18px; height: 18px; stroke: var(--white); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.4); transition: all 0.3s ease; }
.ck b { font-size: 1.05rem; }
.ck.done-ck { border-color: #BDE9CF; background: var(--green-tint); }
.ck.done-ck .box { background: var(--green); border-color: var(--green); transform: rotate(-8deg); }
.ck.done-ck .box svg { opacity: 1; transform: scale(1); }
.stamp { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--white); background: var(--green); border-radius: 999px; padding: 0.6rem 1.2rem; transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.stamp.show { transform: scale(1) rotate(-3deg); }

.modes { max-width: 820px; margin: 0 auto; }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #F3F6F4; border-radius: 999px; padding: 6px; margin: 0 auto 2rem; max-width: 420px; }
.switch button { position: relative; z-index: 1; border: 0; background: transparent; padding: 0.85rem; font-weight: 800; font-size: 1rem; border-radius: 999px; cursor: pointer; color: var(--muted); transition: color 0.3s ease; }
.switch button.on { color: var(--white); }
.switch .knob { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--green); transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1), background 0.3s ease; box-shadow: 0 8px 18px rgba(31, 170, 89, 0.3); }
.switch.online .knob { transform: translateX(100%); background: var(--red); box-shadow: 0 8px 18px rgba(244, 63, 84, 0.3); }
.mode-card { position: relative; border-radius: 28px; padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem; align-items: center; transition: background 0.4s ease; background: var(--green-tint); }
.switch.online + .mode-card { background: var(--red-tint); }
.mode-icon { width: 92px; height: 92px; border-radius: 26px; background: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(26, 36, 32, 0.08); }
.mode-icon svg { width: 46px; height: 46px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.switch.online + .mode-card .mode-icon svg { stroke: var(--red); }
.mode-text h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.mode-text p { color: var(--muted); }
.swap { animation: swap 0.45s ease; }
@keyframes swap { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
.tagline-badge { position: absolute; top: -14px; right: 28px; background: var(--red); color: var(--white); font-weight: 800; font-size: 0.8rem; border-radius: 999px; padding: 0.35rem 0.9rem; transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.switch.online + .mode-card .tagline-badge { transform: scale(1) rotate(3deg); }

.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gift { position: relative; border-radius: 26px; padding: 2rem 1.6rem; background: var(--white); border: 2px solid var(--line); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; animation: bob2 6s ease-in-out infinite; }
.gift:nth-child(2) { animation-delay: -2s; }
.gift:nth-child(3) { animation-delay: -4s; }
.gift:hover { box-shadow: 0 22px 44px rgba(26, 36, 32, 0.1); }
.gift .gi { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 22px; display: grid; place-items: center; }
.gift .gi svg { width: 36px; height: 36px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gift:nth-child(odd) .gi { background: var(--green-tint); } .gift:nth-child(odd) .gi svg { stroke: var(--green); }
.gift:nth-child(even) .gi { background: var(--red-tint); } .gift:nth-child(even) .gi svg { stroke: var(--red); }
.gift h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.gift p { color: var(--muted); font-size: 0.95rem; }
.free { position: absolute; top: 14px; right: 14px; font-weight: 800; font-size: 0.75rem; color: var(--green-deep); background: var(--green-tint); border-radius: 999px; padding: 0.25rem 0.7rem; }
.gifts-cta { text-align: center; margin-top: 2.25rem; }

.promise { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; max-width: 900px; margin: 0 auto; }
.seal { position: relative; width: 210px; height: 210px; }
.seal svg.ringtext { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal svg.ringtext text { font-family: var(--body); font-weight: 800; font-size: 13.5px; letter-spacing: 2px; fill: var(--green-deep); }
.seal .core { position: absolute; inset: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 16px 32px rgba(244, 63, 84, 0.35); animation: breathe 3s ease-in-out infinite; }
.seal .core svg { width: 56px; height: 56px; stroke: var(--white); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.promise-lines { display: grid; gap: 1rem; }
.pl { display: flex; gap: 1rem; align-items: baseline; font-size: 1.25rem; }
.pl b { font-family: var(--head); font-weight: 800; }
.pl span { color: var(--muted); }

.teach { margin: 0 1.25rem; border-radius: 32px; background: linear-gradient(120deg, var(--red), #FF6B7D, var(--red)); background-size: 200% 200%; animation: flow 8s ease infinite; color: var(--white); overflow: hidden; position: relative; }
@keyframes flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.teach .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-top: 3rem; padding-bottom: 3rem; position: relative; z-index: 1; }
.teach h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.teach p { opacity: 0.92; margin-top: 0.4rem; font-size: 1.05rem; }
.teach .btn { background: var(--white); color: var(--red-deep); }
.teach .ring { position: absolute; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 50%; animation: breathe 5s ease-in-out infinite; }
.teach .r1 { width: 300px; height: 300px; right: -80px; top: -120px; }
.teach .r2 { width: 200px; height: 200px; left: 30%; bottom: -130px; animation-delay: -2s; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq details { border: 2px solid var(--line); border-radius: 18px; padding: 1.1rem 1.4rem; transition: border-color 0.25s ease, background 0.25s ease; }
.faq details[open] { border-color: #BDE9CF; background: #F7FCF9; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--red-tint); position: relative; transition: transform 0.3s ease, background 0.3s ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2.5px; background: var(--red); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s ease; }
.faq details[open] summary i { background: var(--green-tint); transform: rotate(180deg); }
.faq details[open] summary i::before { background: var(--green); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--green); }
.faq details p { margin-top: 0.7rem; color: var(--muted); }

.final { text-align: center; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 14ch; margin: 0 auto 1.25rem; }
.final h2 span { background: linear-gradient(90deg, var(--green), #3DCB7A, var(--red), var(--green)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hue 6s linear infinite; }
.final p { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }


.wa { position: fixed; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); animation: wiggle 6s ease-in-out infinite; }
.wa svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 93% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } }
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 0.7rem 5.4rem calc(0.7rem + env(safe-area-inset-bottom, 0px)) 1rem; transform: translateY(110%); transition: transform 0.35s ease; }
.mobile-cta.show { transform: translateY(0); }

.overlay { position: fixed; inset: 0; z-index: 900; overscroll-behavior: contain; background: rgba(26, 36, 32, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.overlay.open { opacity: 1; pointer-events: auto; }
.panel { width: 100%; max-width: 600px; height: min(740px, calc(100vh - 16px)); height: min(740px, calc(100dvh - 16px)); display: flex; flex-direction: column; background: var(--white); border-radius: 28px 28px 0 0; overflow: hidden; transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1); box-shadow: 0 30px 80px rgba(26, 36, 32, 0.3); }
.overlay.open .panel { transform: translateY(0); }
@media (min-width: 700px) { .overlay { align-items: center; } .panel { border-radius: 28px; height: min(720px, calc(100vh - 48px)); height: min(720px, calc(100dvh - 48px)); transform: translateY(40px) scale(0.96); } .overlay.open .panel { transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-head { flex-shrink: 0; padding: 1.1rem 1.5rem 1rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F6FCF8, #FFFFFF); }
.p-row { display: flex; align-items: center; justify-content: space-between; }
.p-count { font-weight: 700; font-size: 0.88rem; color: var(--muted); }
.p-count b { color: var(--ink); }
.x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #EEF2EF; cursor: pointer; position: relative; transition: transform 0.25s ease, background 0.2s ease; }
.x:hover { transform: rotate(90deg); background: var(--red-tint); }
.x::before, .x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.x::before { transform: translate(-50%, -50%) rotate(45deg); }
.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 0.8rem; }
.prog i { height: 6px; border-radius: 6px; background: #E6ECE8; overflow: hidden; position: relative; }
.prog i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), #3DCB7A); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.prog i.on::after { transform: scaleX(1); }
.ticket { display: flex; gap: 0.4rem; margin-top: 0.85rem; overflow-x: auto; scrollbar-width: none; }
.ticket::-webkit-scrollbar { display: none; }
.tk { flex-shrink: 0; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: 999px; border: 1.5px dashed #CBD5CF; color: #9AA79F; transition: all 0.25s ease; }
.tk.set { border-style: solid; border-color: var(--green); background: var(--green-tint); color: var(--green-deep); }
.tk.pop { animation: pop 0.4s ease; }
.p-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 1.5rem; }
.p-foot { flex-shrink: 0; display: flex; gap: 0.75rem; padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white); }
.p-foot .btn { flex: 1; }
.p-foot .back { flex: 0 0 auto; background: #EEF2EF; color: var(--ink); box-shadow: none; }
.p-foot .back[hidden] { display: none; }
.p-foot .wait { opacity: 0.55; box-shadow: none; }
.pstep { display: none; }
.pstep.on { display: block; animation: stepin 0.4s cubic-bezier(0.2, 0.9, 0.2, 1); }
.pstep.on.backward { animation-name: stepback; }
@keyframes stepin { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepback { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.pstep h3 { font-size: clamp(1.5rem, 4vw, 1.85rem); margin-bottom: 0.3rem; }
.lede { color: var(--muted); margin-bottom: 1.25rem; }
.ggroup { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.ggroup > span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.gchips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.gchips .ochip { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
.ochip { border: 2px solid var(--line); background: var(--white); border-radius: 14px; padding: 0.7rem 0.4rem; font: 700 0.95rem var(--body); color: var(--ink); cursor: pointer; transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.ochip:hover { border-color: var(--green); transform: translateY(-2px); }
.ochip.on { background: var(--green); border-color: var(--green); color: var(--white); animation: pop 0.35s ease; }
.quick { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.quick span { width: 100%; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.qchip { border: 1.5px solid #BDE9CF; background: var(--white); color: var(--green-deep); border-radius: 999px; padding: 0.4rem 0.9rem; font: 700 0.85rem var(--body); cursor: pointer; transition: all 0.2s ease; }
.qchip:hover { background: var(--green-tint); }
.qchip.on { background: var(--green); border-color: var(--green); color: var(--white); }
.mode-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.1rem 0 1.25rem; }
.mcard { position: relative; text-align: left; border: 2px solid var(--line); background: var(--white); border-radius: 20px; padding: 1.1rem; cursor: pointer; font-family: var(--body); color: var(--ink); transition: all 0.25s ease; }
.mcard:hover { transform: translateY(-2px); }
.mcard .mi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #F3F6F4; margin-bottom: 0.7rem; transition: background 0.25s ease; }
.mcard .mi svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }
.mcard b { display: block; font-size: 1.05rem; }
.mcard small { color: var(--muted); font-size: 0.82rem; }
.mcard .lr { position: absolute; top: 0.8rem; right: 0.8rem; background: var(--red); color: var(--white); font-size: 0.68rem; font-weight: 800; border-radius: 999px; padding: 0.2rem 0.55rem; }
.mcard.on { border-color: var(--green); background: var(--green-tint); box-shadow: 0 10px 24px rgba(31, 170, 89, 0.15); }
.mcard.on .mi { background: var(--green); }
.mcard.on .mi svg { stroke: var(--white); }
.lp { margin-bottom: 1rem; }
.lp-map { position: relative; z-index: 0; isolation: isolate; height: 240px; border-radius: 18px; overflow: hidden; border: 2px solid var(--line); background: #EEF2EF; }
.lp-map .leaflet-container, .lp-map.leaflet-container { font-family: var(--body); }
.lp-gps { position: absolute; z-index: 1000; right: 10px; bottom: 28px; display: inline-flex; align-items: center; gap: 0.4rem; border: 0; border-radius: 999px; padding: 0.55rem 0.9rem; background: var(--white); color: var(--green-deep); font: 700 0.85rem var(--body); box-shadow: 0 6px 18px rgba(26, 36, 32, 0.2); cursor: pointer; }
.lp-gps svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.lp-gps.busy svg { animation: spin 1s linear infinite; }
.lp-pin span { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--red); border: 3px solid var(--white); transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(244, 63, 84, 0.45); animation: pindrop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.lp-pin span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--white); }
@keyframes pindrop { from { transform: translateY(-24px) rotate(-45deg); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
.lp-place { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.7rem; border-radius: 16px; padding: 0.75rem 0.9rem; background: #F6F8F7; transition: background 0.3s ease; }
.lp-place.set { background: var(--green-tint); }
.lp-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--white); display: grid; place-items: center; }
.lp-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; }
.lp-place.set .lp-ic svg { stroke: var(--red); }
.lp-place.busy .lp-ic svg { animation: spin 1s linear infinite; }
.lp-txt { flex: 1; min-width: 0; }
.lp-txt b { display: block; font-size: 1rem; }
.lp-txt small { color: var(--muted); }
.lp-edit { flex-shrink: 0; border: 0; background: none; color: var(--green-deep); font: 700 0.82rem var(--body); text-decoration: underline; cursor: pointer; }
@keyframes spin { to { transform: rotate(360deg); } }
.lp-search { position: relative; display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.lp-search input { flex: 1; min-width: 0; height: 48px; padding: 0 1rem; border: 2px solid var(--line); border-radius: 14px; font: 500 0.95rem var(--body); color: var(--ink); background: var(--white); }
.lp-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.lp-search > button { flex-shrink: 0; border: 0; border-radius: 14px; padding: 0 1.1rem; background: var(--green); color: var(--white); font: 700 0.92rem var(--body); cursor: pointer; }
.lp-results { position: absolute; z-index: 1100; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px rgba(26, 36, 32, 0.16); padding: 6px; }
.lp-results button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0.65rem 0.8rem; border-radius: 10px; font: 600 0.9rem var(--body); color: var(--ink); cursor: pointer; }
.lp-results button:hover { background: var(--green-tint); }
.lp-note { padding: 0.65rem 0.8rem; color: var(--muted); font-size: 0.88rem; }
.lp-map { height: 300px !important; }
.lp-layers { position: absolute; z-index: 1000; top: 10px; right: 10px; display: flex; background: var(--white); border-radius: 999px; padding: 4px; box-shadow: 0 6px 18px rgba(26, 36, 32, 0.2); }
.lp-layers button { border: 0; background: none; border-radius: 999px; padding: 0.35rem 0.8rem; font: 700 0.8rem var(--body); color: var(--muted); cursor: pointer; }
.lp-layers button.on { background: var(--green); color: var(--white); }
.lp-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; font-size: 1.2rem; }
.locwrap { margin-bottom: 0.25rem; }
.sf { margin-top: 0; }
@media (max-width: 640px) { .sf { padding-bottom: 72px; } }
.locbtn { width: 100%; display: flex; align-items: center; gap: 0.8rem; border: 2px dashed #BDE9CF; background: #F7FCF9; border-radius: 16px; padding: 0.9rem 1rem; cursor: pointer; font: 700 0.95rem var(--body); color: var(--green-deep); text-align: left; transition: all 0.25s ease; }
.locbtn svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.locbtn.busy svg { animation: spin 1s linear infinite; }
.locbtn.got { border-style: solid; border-color: var(--green); background: var(--green-tint); }
.locnote { font-size: 0.82rem; color: var(--muted); margin: 0.4rem 0 1rem; }
.locwrap.hide { display: none; }
.homefields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; overflow: hidden; max-height: 200px; opacity: 1; transition: max-height 0.35s ease, opacity 0.25s ease; }
.homefields.hide { max-height: 0; opacity: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input { width: 100%; height: 52px; padding: 0 1rem; border: 2px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); font: 500 1rem var(--body); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.gpick { display: flex; gap: 0.5rem; }
.gpick .ochip { flex: 0 0 auto; padding: 0.6rem 1.4rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.dseg { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #F3F6F4; border-radius: 999px; padding: 5px; margin: 1.1rem 0 1rem; }
.dseg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 0.7rem; border-radius: 999px; font: 800 0.95rem var(--body); color: var(--muted); cursor: pointer; transition: color 0.3s ease; }
.dseg button.on { color: var(--white); }
.dknob { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--green); transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1); box-shadow: 0 6px 14px rgba(31, 170, 89, 0.3); }
.dseg.range .dknob { transform: translateX(100%); }
.cal > input, .cal .cal-alt { display: none !important; }
.cal .flatpickr-calendar.inline { width: 100%; max-width: 100%; box-shadow: none; border: 2px solid var(--line); border-radius: 20px; padding: 0.4rem 0.5rem 0.6rem; font-family: var(--body); }
.cal .flatpickr-calendar.inline::before, .cal .flatpickr-calendar.inline::after { display: none; }
.cal .flatpickr-innerContainer, .cal .flatpickr-rContainer, .cal .flatpickr-days, .cal .dayContainer, .cal .flatpickr-weekdays { width: 100% !important; max-width: none !important; min-width: 0 !important; }
.cal .flatpickr-weekdaycontainer { width: 100%; }
.cal span.flatpickr-weekday { flex: 1; font-weight: 700; color: var(--muted); }
.cal .flatpickr-months { padding: 0.25rem 0; }
.cal .flatpickr-months .flatpickr-month { height: 44px; }
.cal .flatpickr-current-month { font-size: 1.05rem; font-weight: 800; padding-top: 10px; }
.cal .flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 800; }
.cal .flatpickr-months .flatpickr-prev-month, .cal .flatpickr-months .flatpickr-next-month { top: 8px; padding: 8px 12px; border-radius: 10px; }
.cal .flatpickr-months .flatpickr-prev-month:hover svg, .cal .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--green); }
.cal .flatpickr-day { max-width: none; flex-basis: 14.2857%; height: 42px; line-height: 38px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.cal .flatpickr-day.flatpickr-disabled, .cal .flatpickr-day.prevMonthDay, .cal .flatpickr-day.nextMonthDay { color: #C3CCC6; }
.cal .flatpickr-day:hover { background: var(--green-tint); border-color: var(--green-tint); }
.cal .flatpickr-day.today { border-color: var(--red); }
.cal .flatpickr-day.selected, .cal .flatpickr-day.startRange, .cal .flatpickr-day.endRange { background: var(--green); border-color: var(--green); color: var(--white); box-shadow: none; }
.cal .flatpickr-day.inRange { background: var(--green-tint); border-color: var(--green-tint); box-shadow: none; border-radius: 0; }
.cal .flatpickr-day.startRange.inRange, .cal .flatpickr-day.startRange { border-radius: 12px 0 0 12px; }
.cal .flatpickr-day.endRange { border-radius: 0 12px 12px 0; }
.cal .flatpickr-day.startRange.endRange, .cal .flatpickr-day.selected:not(.startRange):not(.endRange) { border-radius: 12px; }
.tpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; }
.tpick button { border: 2px solid var(--line); background: var(--white); border-radius: 12px; padding: 0.65rem 0.3rem; font: 700 0.88rem var(--body); color: var(--ink); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease; }
.tpick button:hover { border-color: var(--green); transform: translateY(-2px); }
.tpick button.on { background: var(--green); border-color: var(--green); color: var(--white); animation: pop 0.35s ease; }
.hero h1 .mark { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.08em; height: 0.32em; background: #FFD3D9; border-radius: 6px; z-index: -1; transform-origin: left; animation: markin 0.9s 0.4s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
@keyframes markin { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.quick-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1.6rem; }
.quick-pick > span { font-weight: 700; font-size: 0.92rem; color: var(--ink); margin-right: 0.2rem; }
.qp { border: 2px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.55rem 1rem; font: 700 0.9rem var(--body); color: var(--ink); cursor: pointer; transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease; animation: qpin 0.5s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
.qp:nth-of-type(2) { animation-delay: 0.08s; }
.qp:nth-of-type(3) { animation-delay: 0.16s; }
.qp:nth-of-type(4) { animation-delay: 0.24s; }
.qp:hover { transform: translateY(-3px); border-color: var(--green); background: var(--green-tint); color: var(--green-deep); }
@keyframes qpin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .mark::after, .qp { animation: none; } }
.me-card { display: flex; align-items: center; gap: 0.9rem; background: var(--green-tint); border-radius: 18px; padding: 1rem 1.1rem; margin-top: 0.8rem; }
.me-av { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font: 800 1.2rem var(--head); }
.me-card b { display: block; font-size: 1.05rem; }
.me-card small { color: var(--muted); }
.consent a, .lede a { color: var(--green-deep); font-weight: 700; }
#aseg { margin-top: 0.3rem; margin-bottom: 1.2rem; }
.when { margin-top: 1rem; display: flex; align-items: center; gap: 0.8rem; background: #F6F8F7; border-radius: 16px; padding: 0.85rem 1rem; transition: background 0.3s ease; }
.when .wi { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--white); display: grid; place-items: center; }
.when .wi svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.when b { display: block; font-size: 1rem; }
.when small { color: var(--muted); }
.when.set { background: var(--green-tint); }
.when.set .wi svg { stroke: var(--green); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); margin: 0.25rem 0 0.5rem; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
.safe-note { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; }
.safe-note svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.4; flex-shrink: 0; }
@media (max-width: 520px) { .ggroup { grid-template-columns: 1fr; gap: 0.35rem; margin-bottom: 0.8rem; } .homefields, .row2 { grid-template-columns: 1fr; } .homefields { max-height: 260px; } .p-body { padding: 1.25rem; } .p-head { padding: 1rem 1.25rem 0.9rem; } .p-foot { padding-left: 1.25rem; padding-right: 1.25rem; } }

.ts-wrapper .ts-control { border: 2px solid var(--line); border-radius: 14px; min-height: 52px; padding: 0.7rem 1rem; font: 500 1rem var(--body); box-shadow: none; background: var(--white); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ts-wrapper.single .ts-control { padding-right: 2.5rem; flex-wrap: nowrap; height: 52px; }
.ts-wrapper.single .ts-control > input { flex: 1 1 auto; min-width: 2rem; }
.ts-wrapper.focus .ts-control { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.ts-wrapper.multi.has-items .ts-control { padding: 0.55rem 0.7rem; }
.ts-wrapper.multi .ts-control > div { background: var(--green); color: var(--white); border-radius: 999px; border: 0; padding: 3px 4px 3px 12px; margin: 0; font-weight: 700; font-size: 0.88rem; }
.ts-wrapper.plugin-remove_button .item .remove { border-left: 0; border-radius: 50%; width: 22px; height: 22px; padding: 0; margin-left: 6px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.22); }
.ts-wrapper.plugin-remove_button .item .remove:hover { background: rgba(255, 255, 255, 0.4); }
.ts-dropdown { z-index: 1000; margin-top: 6px; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(26, 36, 32, 0.16); font-family: var(--body); overflow: hidden; }
.ts-dropdown .ts-dropdown-content { max-height: 240px; overscroll-behavior: contain; padding: 6px; }
.ts-dropdown .option { border-radius: 10px; padding: 0.6rem 0.8rem; font-weight: 600; }
.ts-dropdown .active { background: var(--green-tint); color: var(--green-deep); }
.ts-dropdown .no-results { padding: 0.7rem 0.9rem; color: var(--muted); }
.swal2-container { z-index: 2000 !important; }
.swal2-popup { font-family: var(--body) !important; border-radius: 26px !important; }
.swal2-title { font-family: var(--head) !important; font-weight: 800 !important; color: var(--ink) !important; }
.swal2-styled { border-radius: 999px !important; font-weight: 700 !important; padding: 0.75rem 1.6rem !important; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 2100; }

.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .quiz, .safe { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .stage { margin-top: 1rem; }
  .gifts { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pl { justify-content: center; flex-direction: column; align-items: center; gap: 0.1rem; }
  .shield-wrap { height: 320px; }
}
@media (max-width: 640px) {
  .top-actions .btn { display: none; }
  .logo { height: 46px; }
  .top .wrap { height: 72px; }
  .mnav.open { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); }
  .mobile-cta { display: block; }
  .mode-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .row2 { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone { width: 262px; height: 536px; }
  .teach { margin: 0 0.75rem; }
  .teach .wrap { justify-content: center; text-align: center; }
  .answers button { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}