/* Heilioo marketing site */
:root {
  --indigo: #2B27A5;
  --indigo-deep: #1C187A;
  --ink: #17144F;
  --ink-soft: #4B4880;
  --lav: #E4E1FF;
  --lav-soft: #F4F3FF;
  --paper: #FBFAFF;
  --sun: #F9C933;
  --sun-deep: #E9B10F;
  --mint: #3FC7A0;
  --coral: #FF7A6B;
  --white: #fff;
  --radius-xl: 36px;
  --radius-l: 24px;
  --radius-m: 16px;
  --shadow: 0 18px 50px -20px rgba(43, 39, 165, .35);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.section-head { max-width: var(--max); margin: 0 auto 56px; padding: 0 var(--gutter); text-align: center; }
.section-head h2 { max-width: 18ch; margin: 0 auto; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 18px;
}
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.tag--light { color: var(--sun); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter); transition: padding .4s var(--ease); }
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 22px; border-radius: 999px;
  background: rgba(251, 250, 255, .72);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(43, 39, 165, .08);
  transition: box-shadow .4s var(--ease), background .4s;
}
.nav.is-scrolled .nav__inner { box-shadow: var(--shadow); background: rgba(255, 255, 255, .9); }
.nav__brand img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: .96rem; }
.nav__links a { text-decoration: none; position: relative; color: var(--ink-soft); transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sun); transform: translateX(-50%) scale(0); transition: transform .3s var(--spring);
}
.nav__links a:hover { color: var(--indigo); }
.nav__links a:hover::after { transform: translateX(-50%) scale(1); }
.login { position: relative; flex: none; }
.nav__login {
  font: inherit; cursor: pointer; background: transparent; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 800; color: var(--indigo); padding: 10px 16px; border-radius: 999px;
  border: 2px solid rgba(43, 39, 165, .18); transition: border-color .25s, background .25s;
}
.nav__login svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; }
.nav__login:hover, .nav__login[aria-expanded="true"] { border-color: var(--indigo); background: #fff; }
.nav__login .login__caret { width: 16px; height: 16px; margin-left: -2px; transition: transform .3s var(--spring); }
.nav__login[aria-expanded="true"] .login__caret { transform: rotate(180deg); }
.login__menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 300px; padding: 8px; border-radius: 20px;
  background: #fff; box-shadow: 0 24px 60px -20px rgba(23, 20, 79, .45); border: 1px solid rgba(43, 39, 165, .08);
  display: grid; gap: 4px; transform-origin: 85% 0; animation: menu-in .32s var(--spring);
}
.login__menu[hidden] { display: none; }
@keyframes menu-in { from { transform: translateY(-6px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.login__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; text-decoration: none; line-height: 1.3; transition: background .2s; }
.login__item:hover, .login__item:focus-visible { background: var(--lav-soft); }
.login__item b { display: block; font-weight: 800; color: var(--ink); }
.login__item small { color: var(--ink-soft); font-weight: 600; font-size: .84rem; }
.login__ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; transition: transform .35s var(--spring); }
.login__item:hover .login__ic { transform: rotate(-8deg) scale(1.06); }
.login__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.login__ic--school { background: var(--indigo); color: var(--sun); }
.login__ic--family { background: #FFF1C2; color: #C2410C; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--indigo); color: #fff; font-weight: 800; padding: 12px 20px; border-radius: 999px;
  transition: background .25s, transform .25s var(--spring);
}
.nav__cta i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); transition: transform .35s var(--spring); }
.nav__cta:hover { background: var(--indigo-deep); transform: translateY(-1px); }
.nav__cta:hover i { transform: translateY(-5px); }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--lav); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--indigo); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  max-width: var(--max); margin: 10px auto 0; padding: 14px; border-radius: var(--radius-l);
  background: #fff; box-shadow: var(--shadow); display: grid; gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.mobile-menu a:hover { background: var(--lav-soft); }
.mobile-menu__cta { background: var(--sun); text-align: center; }
.mobile-menu__label { margin: 8px 14px 2px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.mobile-menu__logins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.mobile-menu__login { border: 2px solid rgba(43, 39, 165, .18); color: var(--indigo); display: grid; place-items: center; text-align: center; line-height: 1.25; }

/* ---------- HERO ---------- */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__blobs { position: absolute; inset: -80px -10vw 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); animation: morph 18s ease-in-out infinite; }
.blob--a { width: 560px; height: 560px; right: 2%; top: 4%; background: var(--lav); }
.blob--b { width: 180px; height: 180px; left: 38%; top: 8%; background: #FFF1C2; animation-duration: 14s; animation-delay: -4s; }
.blob--c { width: 120px; height: 120px; left: 2%; bottom: 6%; background: #D6F5EB; animation-duration: 12s; animation-delay: -7s; }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) rotate(0); }
  33% { border-radius: 63% 37% 45% 55% / 55% 61% 39% 45%; transform: translate(12px, -18px) rotate(8deg); }
  66% { border-radius: 38% 62% 36% 64% / 62% 35% 65% 38%; transform: translate(-14px, 10px) rotate(-6deg); }
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--lav); font-weight: 800; font-size: .88rem; color: var(--indigo);
}
.hero__kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(63, 199, 160, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(63, 199, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 199, 160, 0); } }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 700; color: var(--indigo); margin: 22px 0 22px; }
.hero__title { text-wrap: balance; }
.hero__title .line { display: inline; }
.squiggle { font-style: normal; position: relative; display: inline-block; color: var(--ink); }
.squiggle svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; }
.js .squiggle path { animation: draw 1.3s .7s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 32px; }
.btn-sun {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.05rem;
  padding: 17px 26px 17px 28px; border-radius: 999px;
  box-shadow: 0 6px 0 var(--sun-deep), 0 18px 30px -12px rgba(233, 177, 15, .7);
  transition: transform .25s var(--spring), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn-sun svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.btn-sun:hover svg { transform: translateX(4px); }
.btn-sun:active { box-shadow: 0 2px 0 var(--sun-deep), 0 8px 16px -10px rgba(233, 177, 15, .7); translate: 0 4px; }
.btn-walk {
  font-weight: 800; color: var(--indigo); text-decoration: none; padding: 6px 0;
  background: linear-gradient(var(--indigo), var(--indigo)) 0 100% / 0 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.btn-walk:hover { background-size: 100% 2px; }
.btn-walk span { display: inline-block; transition: transform .3s var(--spring); }
.btn-walk:hover span { transform: translateY(3px); }
.hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.hero__facts strong { font-family: var(--display); color: var(--indigo); font-size: 1.5rem; margin-right: 4px; }

.hero__art { position: relative; }
.hero__img { width: 100%; filter: drop-shadow(0 30px 40px rgba(43, 39, 165, .14)); }
.js .hero__img { animation: rise 1s .15s var(--ease) both; }
@keyframes rise { from { transform: translateY(30px) scale(.97); } to { transform: none; } }
.chip, .toast {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px; padding: 10px 16px 10px 10px;
  box-shadow: 0 16px 40px -14px rgba(23, 20, 79, .35); font-size: .88rem; line-height: 1.25;
  transition: transform .2s linear;
}
.chip b, .toast b { display: block; font-weight: 800; }
.chip small { color: var(--ink-soft); font-weight: 600; font-size: .82rem; }
.chip__icon, .toast__bell { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.chip__icon svg, .toast__bell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chip__icon--mint { background: #D6F5EB; color: #1E9C78; }
.chip__icon--sun { background: #FFF1C2; color: #9A7200; }
.chip--reg { left: -4%; top: 58%; animation: bob 6s ease-in-out infinite; }
.chip--bus { right: -2%; top: 6%; animation: bob 7s -2s ease-in-out infinite; }
.toast { right: 4%; bottom: -2%; padding: 12px 18px 12px 12px; max-width: 290px; animation: bob 8s -4s ease-in-out infinite; }
.toast__bell { background: var(--indigo); color: var(--sun); }
.toast__bell svg { animation: ring 4s 1.5s infinite; transform-origin: 50% 10%; }
.toast__text { font-weight: 700; transition: opacity .35s, transform .35s var(--ease); }
.toast__text.is-swap { opacity: 0; transform: translateY(6px); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ring { 0%, 12%, 100% { transform: rotate(0); } 3% { transform: rotate(14deg); } 6% { transform: rotate(-12deg); } 9% { transform: rotate(8deg); } }

/* ---------- TICKER ---------- */
.ticker { background: var(--indigo); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: 20px -2vw 0; }
.ticker__track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { list-style: none; display: flex; margin: 0; padding: 0; }
.ticker li { font-family: var(--display); font-weight: 600; font-size: 1.35rem; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); margin-left: 28px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- DAY ---------- */
.day { padding: clamp(80px, 11vw, 150px) 0 60px; }
.day__grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.day__stage {
  position: sticky; top: 110px; align-self: start; height: min(74vh, 620px);
  background: var(--lav-soft); border-radius: var(--radius-xl); overflow: hidden;
  display: grid; place-items: center;
}
.day__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--lav) 1.6px, transparent 1.6px); background-size: 22px 22px; opacity: .9;
}
.day__clock {
  position: absolute; top: 22px; left: 22px; z-index: 2; display: flex; align-items: baseline; gap: 6px;
  background: var(--indigo); color: #fff; border-radius: 999px; padding: 8px 18px;
  font-family: var(--display); font-weight: 600;
}
.day__time { font-size: 1.6rem; display: inline-block; }
.day__time.is-tick { animation: tick .45s var(--spring); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
.day__ampm { color: var(--sun); font-size: .95rem; }
.day__frames { position: relative; width: 88%; aspect-ratio: 4 / 3; }
.day__frames img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translateY(24px) scale(.94) rotate(-2deg);
  transition: opacity .55s var(--ease), transform .7s var(--spring);
}
.day__frames img.is-on { opacity: 1; transform: none; }
.day__progress { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 8px; border-radius: 8px; background: rgba(43, 39, 165, .1); overflow: hidden; }
.day__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--indigo), var(--mint)); transform-origin: left; transform: scaleX(var(--p, .08)); transition: transform .25s linear; border-radius: 8px; }
.day__steps { list-style: none; margin: 0; padding: 8vh 0 18vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-left: 34px; position: relative; transition: opacity .4s; }
.js .step { opacity: .38; }
.js .step.is-active { opacity: 1; }
.step::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 3px; background: var(--lav); border-radius: 3px; }
.step::after {
  content: ""; position: absolute; left: -1px; top: 50%; width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 3px solid var(--lav); transform: translateY(-50%); transition: all .4s var(--spring);
}
.step.is-active::after { background: var(--sun); border-color: var(--indigo); transform: translateY(-50%) scale(1.25); }
.step__time { font-family: var(--display); font-weight: 600; color: var(--indigo); font-size: 1rem; margin-bottom: 10px; }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.step p { color: var(--ink-soft); max-width: 44ch; }
.step__img { display: none; }

/* ---------- FEATURES ---------- */
.features { padding: clamp(80px, 10vw, 140px) 0; }
.bento { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 28px;
  background: #fff; border: 1px solid rgba(43, 39, 165, .08); min-height: 240px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .45s var(--spring), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card--att { grid-column: span 2; background: var(--indigo); color: #fff; }
.card--att p { color: #CFCBFF; }
.card--tt { background: #FFF6D6; }
.card--grade { background: #E3F7F0; }
.card--fees { grid-column: span 2; }
.card--msg { grid-column: span 2; background: var(--lav-soft); }
.card--bus { grid-column: span 2; background: #FFE9E5; }
.card--care, .card--import { grid-column: span 1; }
.card--import { background: var(--ink); color: #fff; }
.card--import p { color: #C9C6F0; }

.demo-att { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.m { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; background: rgba(255, 255, 255, .12); color: #fff; }
.m--p { background: var(--mint); color: var(--ink); }
.m--l { background: var(--sun); color: var(--ink); }
.m--a { background: var(--coral); color: var(--ink); }
.m--e { background: var(--lav); color: var(--indigo); }
.js .card--att.is-in .m { animation: pop .5s var(--spring) both; }
.card--att .m:nth-child(n) { animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }

.demo-tt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.demo-tt i { height: 26px; border-radius: 8px; background: rgba(43, 39, 165, .12); }
.demo-tt i:nth-child(2) { background: var(--indigo); }
.demo-tt i:nth-child(4) { background: var(--sun); animation: hop 4s var(--spring) infinite; }
.demo-tt i:nth-child(6) { background: var(--mint); }
.demo-tt i:nth-child(8) { background: var(--coral); }
@keyframes hop { 0%, 30% { transform: none; } 45%, 75% { transform: translate(calc(200% + 12px), -32px); } 90%, 100% { transform: none; } }

.demo-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: auto; }
.demo-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--mint); transform-origin: bottom; }
.demo-bars i:last-child { background: var(--indigo); }
.js .card--grade.is-in .demo-bars i { animation: grow .9s var(--spring) both; }
.demo-bars i:nth-child(2) { animation-delay: .08s !important; }
.demo-bars i:nth-child(3) { animation-delay: .16s !important; }
.demo-bars i:nth-child(4) { animation-delay: .24s !important; }
.demo-bars i:nth-child(5) { animation-delay: .32s !important; }
@keyframes grow { from { transform: scaleY(.05); } to { transform: none; } }

.demo-pay { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.demo-pay__bar { flex: 1; height: 14px; border-radius: 14px; background: var(--lav-soft); overflow: hidden; }
.demo-pay__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sun), var(--mint)); transform-origin: left; animation: fill 5s var(--ease) infinite; }
.demo-pay__ok { font-weight: 800; color: #1E9C78; background: #D6F5EB; padding: 6px 14px; border-radius: 999px; animation: okpop 5s var(--spring) infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
@keyframes okpop { 0%, 50% { transform: scale(.6); opacity: .25; } 62%, 92% { transform: scale(1); opacity: 1; } 100% { transform: scale(.6); opacity: .25; } }

.demo-lang { margin-top: auto; position: relative; height: 54px; }
.demo-lang span {
  position: absolute; left: 0; bottom: 0; background: #fff; border-radius: 18px 18px 18px 4px; padding: 10px 18px;
  font-weight: 800; color: var(--indigo); box-shadow: 0 8px 20px -10px rgba(43, 39, 165, .4);
  opacity: 0; animation: bubble 12.5s infinite;
}
.demo-lang span:nth-child(2) { animation-delay: 2.5s; }
.demo-lang span:nth-child(3) { animation-delay: 5s; }
.demo-lang span:nth-child(4) { animation-delay: 7.5s; }
.demo-lang span:nth-child(5) { animation-delay: 10s; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 4%, 18% { opacity: 1; transform: none; } 22%, 100% { opacity: 0; transform: translateY(-10px); } }

.demo-route { margin-top: auto; }
.demo-route svg { width: 100%; height: 70px; overflow: visible; }
.route { fill: none; stroke: var(--coral); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.bus-dot { fill: var(--sun); stroke: var(--indigo); stroke-width: 3; offset-path: path("M8 44 C 50 6, 90 58, 130 26 S 190 10, 212 30"); animation: drive 6s ease-in-out infinite alternate; }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ---------- PARENTS ---------- */
.parents { position: relative; background: var(--indigo); color: #fff; padding: clamp(80px, 10vw, 140px) 0 clamp(110px, 12vw, 170px); overflow: hidden; }
.parents::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 201, 51, .18), transparent 65%);
}
.parents__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.parents__copy h2 { margin-bottom: 22px; max-width: 14ch; }
.parents__copy > p { color: #D9D6FF; font-size: 1.1rem; max-width: 46ch; }
.parents__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.parents__list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.parents__list li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2317144F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.parents__art { position: relative; }
.parents__plate { background: var(--lav-soft); border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; padding: 8% 10%; animation: morph 20s ease-in-out infinite; }
.parents__plate img { max-height: 520px; margin: 0 auto; }
.notes { list-style: none; padding: 0; margin: 0; position: absolute; right: -4%; bottom: 6%; width: min(290px, 70%); display: grid; }
.notes li {
  grid-area: 1 / 1; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px 12px 52px; position: relative;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); font-size: .9rem; line-height: 1.3;
  opacity: 0; transform: translateY(20px) scale(.95);
  animation: note 12s var(--ease) infinite;
}
.notes li::before { content: ""; position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 10px; background: url("/assets/brand/favicon-32.png") center / cover; }
.notes li b { display: block; font-weight: 800; }
.notes li span { color: var(--ink-soft); font-size: .82rem; }
.notes li:nth-child(2) { animation-delay: 3s; }
.notes li:nth-child(3) { animation-delay: 6s; }
.notes li:nth-child(4) { animation-delay: 9s; }
@keyframes note { 0% { opacity: 0; transform: translateY(20px) scale(.95); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-18px) scale(.97); } }
.parents__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; }
.parents__wave path { fill: var(--paper); }

/* ---------- TRUST ---------- */
.trust { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 9vw, 120px) var(--gutter); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.trust__art { background: var(--lav-soft); border-radius: var(--radius-xl); padding: 6%; }
.trust__copy h2 { margin-bottom: 34px; max-width: 16ch; }
.shields { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.shields li { display: flex; gap: 18px; align-items: flex-start; }
.shields b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.shields p { color: var(--ink-soft); font-size: .98rem; }
.shield-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--indigo); color: var(--sun); display: grid; place-items: center; transition: transform .4s var(--spring); }
.shields li:hover .shield-ic { transform: rotate(-8deg) scale(1.08); }
.shield-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- PLUGS ---------- */
.plugs { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) clamp(60px, 8vw, 110px); text-align: center; }
.plugs p { font-weight: 800; color: var(--ink-soft); margin-bottom: 20px; }
.plugs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.plugs li { font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding: 12px 22px; border-radius: 999px; border: 2px dashed rgba(43, 39, 165, .2); color: var(--indigo); transition: border-color .3s, background .3s, transform .3s var(--spring); }
.plugs li:hover { border-style: solid; border-color: var(--indigo); background: #fff; transform: translateY(-3px); }

/* ---------- DEMO ---------- */
.demo { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(70px, 9vw, 120px); }
.demo__card { position: relative; border-radius: var(--radius-xl); background: var(--sun); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; overflow: hidden; }
.demo__card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(23, 20, 79, .08) 2px, transparent 2px); background-size: 26px 26px; pointer-events: none; }
.demo__copy { position: relative; }
.demo__copy h2 { color: var(--ink); max-width: 14ch; margin-bottom: 16px; }
.demo__copy > p { color: #4A3B05; font-weight: 600; max-width: 44ch; }
.demo__form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo__form label { display: grid; gap: 6px; font-weight: 800; font-size: .86rem; color: var(--ink); }
.demo__form input, .demo__form select {
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--ink);
  border: 2px solid transparent; border-radius: 14px; padding: 13px 14px; background: rgba(255, 255, 255, .85);
  transition: border-color .2s, background .2s; min-width: 0; width: 100%;
}
.demo__form input:focus, .demo__form select:focus { outline: none; border-color: var(--indigo); background: #fff; }
.btn-stamp {
  grid-column: 1 / -1; justify-self: start; position: relative; cursor: pointer;
  font: inherit; font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  color: #fff; background: var(--indigo); border: 0; border-radius: 18px; padding: 16px 30px;
  box-shadow: 6px 6px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-stamp:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-stamp:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.demo__note { grid-column: 1 / -1; font-weight: 700; color: var(--ink); min-height: 1.6em; }
.demo__art { position: relative; width: 100%; }
.js .demo.is-in .demo__art { animation: jump 1.1s var(--spring) both; }
@keyframes jump { 0% { transform: translateY(40px) scale(.92); } 60% { transform: translateY(-10px); } 100% { transform: none; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(80px, 10vw, 140px); }
.faq__list { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid rgba(43, 39, 165, .1); border-radius: 20px; padding: 4px 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lav-soft); color: var(--indigo); display: grid; place-items: center; font-size: 1.4rem; transition: transform .35s var(--spring), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); color: #C9C6F0; padding: 60px var(--gutter) 40px; }
.foot__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 30px 40px; align-items: center; }
.foot__brand img { height: 44px; width: auto; margin-bottom: 12px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 14px 26px; font-weight: 700; }
.foot__links a { text-decoration: none; transition: color .2s; }
.foot__links a:hover { color: var(--sun); }
.foot__small { grid-column: 1 / -1; font-size: .88rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; }

/* ---------- REVEALS (only when JS is running) ---------- */
.js [data-reveal] { transform: translateY(48px) scale(.98); transition: transform 1s var(--spring); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__login { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--att, .card--fees, .card--msg, .card--bus, .card--care, .card--import { grid-column: span 1; }
}
@media (max-width: 860px) {
  .hero, .parents__inner, .trust, .demo__card { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 640px; margin: 0 auto; }
  .chip--reg { left: 0; }
  .chip--bus { right: 0; }
  .toast { right: 0; }
  .day__grid { grid-template-columns: 1fr; }
  .day__stage { display: none; }
  .day__steps { padding: 0; }
  .step { min-height: 0; padding: 0 0 56px 34px; }
  .js .step { opacity: 1; }
  .step::after { top: 6px; transform: none; }
  .step.is-active::after { transform: scale(1.25); }
  .step__img { display: block; margin-top: 22px; background: var(--lav-soft); border-radius: var(--radius-l); padding: 6%; }
  .trust__art { order: -1; }
  .notes { right: 0; }
  .demo__art { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding: 10px 12px; }
  .nav__inner { padding: 8px 8px 8px 16px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: 10px; }
  .nav__login { padding: 8px 14px; }
  .nav__login svg:first-child { display: none; }
  .login__menu { right: -60px; width: min(300px, calc(100vw - 32px)); }
  .nav__brand img { height: 32px; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--att, .card--fees, .card--msg, .card--bus, .card--care, .card--import { grid-column: auto; min-height: 0; }
  .chip, .toast { font-size: .78rem; padding: 8px 12px 8px 8px; gap: 8px; }
  .chip__icon, .toast__bell { width: 30px; height: 30px; border-radius: 10px; }
  .chip--bus { top: -2%; }
  .toast { max-width: 230px; bottom: -6%; }
  .demo__form { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .ticker li { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .js [data-reveal] { transform: none; }
  .demo-lang span:first-child, .notes li:first-child { opacity: 1; transform: none; }
}
