/* Atendedor homepage — standalone stylesheet (the app shell's app.css is not loaded here).
   Look: warm cream paper, ink outlines, hard offset shadows, one hot accent. Every motion is
   transform/opacity only and switches off under prefers-reduced-motion. */

/* Colour, type and shape tokens come from /assets/tokens.css (shared with the whole platform).
   The homepage only overrides the corner radii it was designed with. */
body.hp { --radius: 22px; --radius-sm: 14px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overscroll-behavior-x: none; }
body.hp {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(27, 26, 23, .12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; }
h3 { font-size: 1.35rem; line-height: 1.15; }
h1 em, h2 em {
  font-style: normal;
  color: var(--teal);
  background: linear-gradient(transparent 64%, var(--sun) 64% 94%, transparent 94%);
  padding: 0 .08em;
}
p { margin: 0; }
svg { width: 1.2em; height: 1.2em; flex: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
.hp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.hp-skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  background: var(--coral); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.hp-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.hp-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.hp-btn svg { transition: transform .2s var(--ease-out); }
.hp-btn:hover svg { transform: translateX(3px); }
.hp-btn--lg { min-height: 58px; padding: 12px 28px; font-size: 1.1rem; }
.hp-btn--sm { min-height: 44px; padding: 6px 16px; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.hp-btn--ghost { background: transparent; }
.hp-btn--ghost:hover { background: var(--paper); }
.hp-btn--sun { background: var(--sun); }
.hp-btn--block { width: 100%; }

/* ---------- Nav ---------- */
.hp-nav {
  position: sticky; top: 12px; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  width: min(var(--wrap), calc(100% - 2 * var(--pad)));
  margin: 12px auto 0;
  padding: 8px 10px 8px 18px;
  background: rgba(251, 246, 236, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-hard);
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.hp-nav.is-scrolled { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.hp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.hp-brand-mark { width: 30px; height: 30px; transition: transform .4s var(--ease-spring); }
.hp-brand:hover .hp-brand-mark { transform: rotate(-12deg) scale(1.08); }
.hp-nav-links { display: flex; gap: 4px; margin-left: 8px; }
.hp-nav-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink-2); transition: background-color .15s, color .15s; }
.hp-nav-links a:hover { background: var(--cream-2); color: var(--ink); }
.hp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hp-nav-login { font-weight: 700; text-decoration: none; padding: 8px 6px; }
.hp-locale { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 800; }
.hp-locale a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 10px; text-decoration: none; }
.hp-locale a[aria-current="page"] { background: var(--ink); color: var(--cream); }

/* ---------- Sections ---------- */
main { width: min(var(--wrap), calc(100% - 2 * var(--pad))); margin: 0 auto; }
section { padding-block: clamp(56px, 9vw, 120px); }
.hp-sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.hp-kicker { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.hp-sec-lead { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.hp-fine { font-size: .92rem; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hp-hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: clamp(40px, 7vw, 88px);
}
.hp-hero > *, .hp-calc > * { min-width: 0; } /* grid items: let the chip row scroll instead of widening the page */
.hp-blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hp-blob--sun { width: 260px; height: 260px; background: var(--sun); left: -120px; top: 40px; opacity: .9; animation: hp-float 9s ease-in-out infinite; }
.hp-blob--ring { width: 180px; height: 180px; border: 14px solid var(--teal); right: 6px; bottom: 30px; animation: hp-float 11s ease-in-out infinite reverse; }
@keyframes hp-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(6deg); } }

.hp-hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); line-height: .98; }
.hp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; margin-bottom: 22px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-soft); }
.hp-eyebrow svg { color: var(--coral); }
.hp-lead { margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 54ch; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hp-hero .hp-fine { margin-top: 14px; }
.hp-proof { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hp-proof li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.hp-proof svg { color: var(--teal); }

[data-enter] { animation: hp-enter .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes hp-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Demo stage ---------- */
.hp-stage {
  background: var(--teal-deep); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink);
  padding: 18px;
  transform: rotate(-1.3deg);
  transition: transform .5s var(--ease-spring);
}
.hp-stage:hover { transform: rotate(0); }
.hp-stage-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.hp-stage-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.hp-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hp-chips::-webkit-scrollbar { display: none; }
@media (min-width: 961px) { .hp-chips { flex-wrap: wrap; overflow: visible; } }
.hp-chip {
  flex: none; min-height: 44px; padding: 6px 14px;
  background: transparent; color: var(--cream);
  border: 2px solid rgba(251, 246, 236, .5); border-radius: 999px;
  font-weight: 700; font-size: .92rem;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease-spring);
}
.hp-chip:hover { border-color: var(--cream); transform: translateY(-1px); }
.hp-chip.is-on { background: var(--sun); color: var(--ink); border-color: var(--sun); }

.hp-wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.hp-wave i { display: block; width: 4px; height: 100%; border-radius: 2px; background: var(--teal); transform: scaleY(.25); transform-origin: center; }
.hp-screen--voice .hp-wave i { animation: hp-wave .9s ease-in-out infinite; }
.hp-wave i:nth-child(2) { animation-delay: .12s; } .hp-wave i:nth-child(3) { animation-delay: .24s; } .hp-wave i:nth-child(4) { animation-delay: .36s; } .hp-wave i:nth-child(5) { animation-delay: .48s; }
@keyframes hp-wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* Call scene: a customer on the phone and the AI voice avatar, one comic balloon at a time
   above whoever is speaking. Without JS (or with reduced motion via .is-static) the balloons
   simply stack like a comic strip. */
.hp-scene { position: relative; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; padding: 12px 14px 14px; }
.hp-scene-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px dashed var(--cream-2); font-size: .85rem; font-weight: 700; }
.hp-callstate { display: inline-flex; align-items: center; gap: 7px; }
.hp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex: none; }
.is-ringing .hp-dot { animation: hp-blink .5s steps(2, end) infinite; }
.is-live .hp-dot { background: var(--teal); box-shadow: 0 0 0 0 rgba(11, 91, 86, .5); animation: hp-beacon 1.4s ease-out infinite; }
.is-done .hp-dot { background: var(--ink-2); }
@keyframes hp-blink { to { opacity: .15; } }
.hp-timer { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hp-scene-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); font-size: .78rem; white-space: nowrap; }
.hp-scene-tag svg { width: 14px; height: 14px; }

.hp-balloons { position: relative; padding-top: 14px; }
.hp-call[hidden] { display: none; }
.hp-balloon {
  position: relative; width: fit-content; margin: 0 0 14px; max-width: 82%; padding: 11px 15px;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.3; letter-spacing: -.005em;
}
.hp-balloon::after { content: ''; position: absolute; bottom: -12px; width: 18px; height: 18px; background: inherit; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: skewX(-10deg) rotate(45deg); }
.hp-balloon--caller { margin-right: auto; border-bottom-left-radius: 6px; }
.hp-balloon--caller::after { left: 22px; }
.hp-balloon--agent { margin-left: auto; background: var(--teal-soft); border-bottom-right-radius: 6px; }
.hp-balloon--agent::after { right: 22px; transform: skewX(10deg) rotate(45deg); }
.js .hp-scene:not(.is-static) .hp-balloons { height: 9.75rem; padding: 0; } /* rem: grows with the visitor's font size */
.js .hp-scene:not(.is-static) .hp-balloon { position: absolute; bottom: 16px; margin: 0; opacity: 0; transform: scale(.55) translateY(14px); transition: opacity .18s var(--ease-out), transform .38s var(--ease-spring); pointer-events: none; }
.js .hp-scene:not(.is-static) .hp-balloon--caller { left: 0; transform-origin: 30px 100%; }
.js .hp-scene:not(.is-static) .hp-balloon--agent { right: 0; transform-origin: calc(100% - 30px) 100%; }
.js .hp-scene:not(.is-static) .hp-balloon.is-on { opacity: 1; transform: none; }
.js .hp-scene:not(.is-static) .hp-balloon.is-off { opacity: 0; transform: scale(.92); transition: opacity .16s, transform .16s; }

.hp-result { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; width: min(100%, 380px); margin: 4px auto 0; padding: 12px 14px; background: var(--sun); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-soft); }
.js .hp-scene:not(.is-static) .hp-result { position: absolute; left: 50%; bottom: 10px; margin: 0; opacity: 0; transform: translateX(-50%) scale(.6) rotate(-8deg); transition: opacity .3s var(--ease-out), transform .5s var(--ease-spring); }
.js .hp-scene:not(.is-static) .hp-result.is-in { opacity: 1; transform: translateX(-50%) rotate(-2deg); }
.hp-result-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--sun); }
.hp-result-ic svg { width: 18px; height: 18px; }
.hp-result strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.hp-result-meta { display: block; font-size: .9rem; font-weight: 600; }
.hp-result-sent { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; padding-top: 6px; border-top: 2px dashed rgba(27, 26, 23, .25); }

.hp-floor { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 8px; }
.hp-char { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 118px; flex: none; }
.hp-char-svg { width: 100%; height: auto; transform-origin: 50% 100%; animation: hp-breathe 4s ease-in-out infinite; }
.hp-char--agent .hp-char-svg { animation-delay: -2s; }
@keyframes hp-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.hp-char figcaption { font-size: .78rem; font-weight: 800; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream-2); white-space: nowrap; }
.hp-char--agent figcaption { background: var(--teal); color: var(--cream); }
.hp-arc { opacity: 0; transition: opacity .2s; }
.hp-char--caller.is-speaking .hp-arc { animation: hp-arc 1s ease-in-out infinite; }
.hp-char--caller.is-speaking .hp-arc + .hp-arc { animation-delay: .2s; }
@keyframes hp-arc { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.hp-orb-wave line { transform-box: fill-box; transform-origin: center; transform: scaleY(.35); }
.hp-char--agent.is-speaking .hp-orb-wave line { animation: hp-wave .8s ease-in-out infinite; }
.hp-orb-wave line:nth-child(2) { animation-delay: .1s; } .hp-orb-wave line:nth-child(3) { animation-delay: .2s; } .hp-orb-wave line:nth-child(4) { animation-delay: .3s; } .hp-orb-wave line:nth-child(5) { animation-delay: .4s; }
.hp-orb-ring { transform-box: fill-box; transform-origin: center; }
.hp-char--agent.is-speaking .hp-orb-ring { animation: hp-ripple 1.6s ease-out infinite; }
.hp-char--agent.is-speaking .hp-orb-ring--2 { animation-delay: .4s; }
@keyframes hp-ripple { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.14); opacity: 0; } }
.is-ringing .hp-char--agent .hp-char-svg { animation: hp-shake .4s ease-in-out infinite; }
@keyframes hp-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.hp-burst { position: absolute; top: -16px; right: -20px; z-index: 2; width: 76px; height: 76px; display: grid; place-items: center; opacity: 0; transform: scale(.4) rotate(-12deg); transition: opacity .2s, transform .3s var(--ease-spring); pointer-events: none; }
.hp-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-burst b { position: relative; font-family: var(--font-display); font-weight: 800; font-size: .66rem; letter-spacing: .04em; transform: rotate(-8deg); }
.is-ringing .hp-burst { opacity: 1; transform: none; animation: hp-jiggle .35s ease-in-out infinite; }
@keyframes hp-jiggle { 0%, 100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.08) rotate(4deg); } }
.hp-wire { position: relative; flex: 1; height: 4px; margin-bottom: 46px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .3; transition: opacity .3s; }
.hp-wire i { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); opacity: 0; }
.is-ringing .hp-wire, .is-live .hp-wire { opacity: .6; }
.is-ringing .hp-wire i, .is-live .hp-wire i { opacity: 1; animation: hp-signal 1.3s linear infinite; }
.hp-scene[data-speaking="agent"] .hp-wire i { animation-direction: reverse; background: var(--teal); }
@keyframes hp-signal { from { left: 0; } to { left: calc(100% - 14px); } }
.hp-phone-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--cream-2); }
.hp-replay { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .88rem; box-shadow: 2px 2px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.hp-replay:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.hp-replay:active { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--ink); }
.hp-phone-note { font-size: .8rem; color: var(--ink-2); line-height: 1.3; }

/* ---------- How it works ---------- */
.hp-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.hp-steps::before, .hp-steps::after { content: ''; position: absolute; left: 8%; right: 8%; top: 22px; height: 4px; border-radius: 2px; z-index: 0; }
.hp-steps::before { background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); opacity: .35; }
.hp-steps::after { background: var(--coral); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform .8s var(--ease-out); }
.hp-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 0 0 8px; }
.hp-step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); box-shadow: var(--shadow-soft); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.hp-step h3 { margin-top: 6px; }
.hp-step p { color: var(--ink-2); font-size: 1rem; }
.hp-screen { position: relative; height: 128px; padding: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 8px; overflow: hidden; margin-top: 6px; }
.hp-fld { display: block; height: 14px; border-radius: 7px; background: var(--cream-2); overflow: hidden; }
.hp-fld i { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 7px; transform-origin: left; }
.js .hp-fld i { transform: scaleX(0); }
.is-in .hp-fld:nth-child(1) i { animation: hp-grow .5s var(--ease-out) .2s forwards; }
.is-in .hp-fld:nth-child(2) i { animation: hp-grow .5s var(--ease-out) .5s forwards; }
.is-in .hp-fld:nth-child(3) i { animation: hp-grow .5s var(--ease-out) .8s forwards; }
.hp-fld-btn { margin-top: auto; align-self: flex-end; display: grid; place-items: center; width: 34px; height: 30px; border-radius: 999px; background: var(--coral); border: 2px solid var(--ink); }
.js .hp-fld-btn { transform: scale(0); }
.is-in .hp-fld-btn { animation: hp-pop .5s var(--ease-spring) 1.2s forwards; }
@keyframes hp-grow { to { transform: scaleX(1); } }
@keyframes hp-pop { to { transform: scale(1); } }
.hp-url { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--cream-2); }
.hp-url i { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-url svg { color: var(--teal); }
.is-in .hp-url svg { animation: hp-spin 1.2s linear 2; }
@keyframes hp-spin { to { transform: rotate(360deg); } }
.hp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 700; }
.hp-facts li { display: flex; align-items: center; gap: 6px; }
.js .hp-facts li { opacity: 0; transform: translateX(-8px); }
.hp-facts svg { width: 16px; height: 16px; color: var(--teal); }
.is-in .hp-facts li:nth-child(1) { animation: hp-slide .4s var(--ease-out) .9s forwards; }
.is-in .hp-facts li:nth-child(2) { animation: hp-slide .4s var(--ease-out) 1.25s forwards; }
.is-in .hp-facts li:nth-child(3) { animation: hp-slide .4s var(--ease-out) 1.6s forwards; }
@keyframes hp-slide { to { opacity: 1; transform: none; } }
.hp-screen--voice { flex-direction: row; flex-wrap: wrap; align-content: flex-start; }
.hp-voice { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--cream-2); }
.hp-voice svg { width: 14px; height: 14px; }
.hp-voice.is-on { background: var(--sun); }
.hp-screen--voice .hp-wave { position: absolute; left: 14px; bottom: 12px; height: 30px; }
.hp-screen--voice .hp-wave i { width: 6px; background: var(--coral); }
.hp-screen--dial { justify-content: center; align-items: flex-start; }
.hp-screen--dial code { display: block; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .95rem; font-weight: 700; letter-spacing: .02em; padding: 8px 10px; background: var(--ink); color: var(--sun); border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hp-live { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; color: var(--teal); }
.hp-live i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(11, 91, 86, .5); }
.is-in .hp-live i { animation: hp-beacon 1.6s ease-out infinite; }
@keyframes hp-beacon { to { box-shadow: 0 0 0 12px rgba(11, 91, 86, 0); } }

/* ---------- What it does ---------- */
.hp-can-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hp-can { position: relative; padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.hp-can:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.hp-can--sun { background: var(--sun); }
.hp-can--teal { background: var(--teal-soft); }
.hp-can--coral { background: #ffd9cf; }
.hp-can--lilac { background: var(--lilac); }
.hp-can--cream { background: var(--paper); }
.hp-can--ink { background: var(--ink); color: var(--cream); }
.hp-can--ink p { color: rgba(251, 246, 236, .8); }
.hp-can-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--paper); border: 2px solid var(--ink); margin-bottom: 18px; transition: transform .35s var(--ease-spring); }
.hp-can--ink .hp-can-ic { background: var(--sun); color: var(--ink); }
.hp-can-ic svg { width: 26px; height: 26px; }
.hp-can:hover .hp-can-ic { transform: rotate(-8deg) scale(1.08); }
.hp-can h3 { margin-bottom: 8px; }
.hp-can p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Calculator ---------- */
.hp-calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hp-calc-form { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.hp-range { display: block; }
.hp-range-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; margin-bottom: 8px; }
.hp-range output { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; font-variant-numeric: tabular-nums; color: var(--teal); }
.hp-range input { width: 100%; height: 44px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.hp-range input::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: var(--cream-2); border: 2px solid var(--ink); }
.hp-range input::-moz-range-track { height: 10px; border-radius: 5px; background: var(--cream-2); border: 2px solid var(--ink); }
.hp-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .15s var(--ease-spring); }
.hp-range input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.hp-range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.hp-calc-board { background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 8px 8px 0 var(--teal); }
.hp-calc-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 16px; padding: 14px 0; border-bottom: 2px dashed rgba(251, 246, 236, .2); }
.hp-calc-row:last-of-type { border-bottom: 0; }
.hp-calc-k { font-weight: 600; color: rgba(251, 246, 236, .75); }
.hp-calc-v { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.hp-calc-v--big { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--sun); }
.hp-calc-v--price { color: var(--cream); }
.hp-calc-bar { grid-column: 1 / -1; display: block; height: 14px; border-radius: 7px; background: rgba(251, 246, 236, .12); overflow: hidden; }
.hp-calc-bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: 7px; background: var(--sun); transition: width .5s var(--ease-out); }
.hp-calc-row--big .hp-calc-bar i { background: var(--coral); }
.hp-calc-note { margin-top: 16px; font-size: .88rem; color: rgba(251, 246, 236, .6); }

/* ---------- Price ---------- */
.hp-price .hp-sec-head { text-align: center; margin-inline: auto; }
.hp-price-card { position: relative; width: min(100%, 560px); margin: 0 auto; padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); }
.hp-sticker { position: absolute; top: -18px; right: 18px; padding: 8px 16px; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: .9rem; transform: rotate(-4deg); box-shadow: var(--shadow-soft); }
.hp-price-amount { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.hp-price-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 7vw, 4.8rem); letter-spacing: -.04em; line-height: 1; }
.hp-price-per { font-weight: 700; font-size: 1.1rem; color: var(--ink-2); }
.hp-price-sub { margin-top: 10px; color: var(--ink-2); }
.hp-included { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.hp-included li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.hp-included svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--teal); color: var(--cream); }
.hp-price-card .hp-fine { text-align: center; margin-top: 12px; }

/* ---------- FAQ ---------- */
.hp-faq-list { max-width: 820px; }
.hp-faq-item { border-top: 2px solid var(--ink); }
.hp-faq-item:last-child { border-bottom: 2px solid var(--ink); }
.hp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-plus { position: relative; flex: none; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; transition: background-color .2s, transform .3s var(--ease-spring); }
.hp-faq-plus::before, .hp-faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease-spring); }
.hp-faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.hp-faq-item[open] .hp-faq-plus { background: var(--sun); transform: rotate(45deg); }
.hp-faq-item summary:hover .hp-faq-plus { background: var(--cream-2); }
.hp-faq-item p { padding: 0 4px 22px; max-width: 68ch; color: var(--ink-2); animation: hp-enter .35s var(--ease-out); }

/* ---------- Final CTA + footer ---------- */
.hp-final { text-align: center; background: var(--teal-deep); color: var(--cream); border: 2px solid var(--ink); border-radius: 32px; padding: clamp(48px, 8vw, 96px) var(--pad); margin-bottom: 24px; box-shadow: 10px 10px 0 var(--sun); }
.hp-final h2 em { color: var(--sun); background: none; }
.hp-final p { margin: 16px auto 28px; font-size: 1.15rem; color: rgba(251, 246, 236, .8); max-width: 48ch; }
.hp-foot { width: min(var(--wrap), calc(100% - 2 * var(--pad))); margin: 0 auto; padding: 28px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; border-top: 2px solid var(--ink); }
.hp-foot nav { display: flex; align-items: center; gap: 18px; }
.hp-foot nav a { font-weight: 700; text-decoration: none; padding: 10px 4px; }
.hp-foot p { margin-left: auto; color: var(--ink-2); font-size: .92rem; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hp-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .hp-steps::before, .hp-steps::after { display: none; }
}
@media (max-width: 960px) {
  .hp-hero { grid-template-columns: 1fr; }
  .hp-stage { transform: none; }
  .hp-calc { grid-template-columns: 1fr; }
  .hp-can-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-blob--ring { display: none; }
  .hp-char { width: 96px; }
}
@media (max-width: 840px) {
  .hp-nav-links { display: none; }
}
@media (max-width: 600px) {
  body.hp { font-size: 16px; }
  .hp-nav { top: 8px; margin-top: 8px; padding: 6px 8px 6px 12px; gap: 8px; }
  .hp-nav-login { display: none; }
  .hp-brand span { display: none; }
  .hp-can-grid, .hp-steps { grid-template-columns: 1fr; }
  .hp-actions .hp-btn { width: 100%; }
  .hp-blob--sun { width: 180px; height: 180px; left: -90px; top: -20px; }
  .hp-balloon { max-width: 90%; }
  .js .hp-scene:not(.is-static) .hp-balloons { height: 10.75rem; }
  .hp-char figcaption { white-space: normal; text-align: center; max-width: 100%; }
  .hp-char { width: 84px; }
  .hp-burst { width: 60px; height: 60px; top: -24px; right: -2px; }
  .hp-scene-tag { display: none; }
  .hp-phone-foot { flex-direction: column; align-items: flex-start; }
  .hp-final { box-shadow: 6px 6px 0 var(--sun); }
  .hp-foot p { margin-left: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hp-fld i, .hp-fld-btn { transform: none; }
  .hp-facts li { opacity: 1; transform: none; }
  .hp-steps::after { transform: scaleX(1); }
  .hp-stage { transform: none; }
  .hp-arc { opacity: .7; }
  .hp-orb-wave line { transform: none; }
}
