/* HopPath website, dark design. Plain CSS, no dependencies.
   Motion uses only transform and opacity. Everything is visible without JavaScript. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #020B1F;
  --white: #FFFFFF;
  --body: #EAF1FF;
  --sec: #A9BADB;
  --small: #8398C2;
  --blue: #2F6BFF;
  --btn: #2B63F2;       /* slightly deeper than brand blue so white text keeps 5:1 */
  --lblue: #7FA6FF;
  --amber: #F5A524;
  --amber-t: #FFC766;
  --card: #0A1B3F;
  --line: rgba(255, 255, 255, 0.12);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--lblue); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--amber-t); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--white); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.125rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.narrow { max-width: 820px; }
.center { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.center h2 { margin-bottom: 0.4em; }
.sub { color: var(--sec); font-size: 1.15rem; }
.sub.left { max-width: 640px; }
.tiny { font-size: 0.8rem; color: var(--small); margin: 0.9rem 0 0; }
.small-note { font-size: 0.9rem; color: var(--sec); }
.eyebrow { color: var(--amber-t); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: #fff; color: #020B1F; padding: 10px 16px; border-radius: 999px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 14px 26px; border-radius: 999px; font: 600 1rem/1.2 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s ease; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0.45; transition: opacity 0.25s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; }
.btn-primary { background: linear-gradient(180deg, #3A74FF, var(--btn)); color: #fff; }
.btn-primary::after { box-shadow: 0 8px 32px rgba(47, 107, 255, 0.75); }
.btn-primary:hover { color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-secondary::after { box-shadow: 0 6px 26px rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { color: #fff; border-color: #fff; }
.btn-white { background: #fff; color: #020B1F; }
.btn-white::after { box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35); }
.btn-white:hover { color: #020B1F; }
.btn-small { padding: 10px 20px; font-size: 0.95rem; }
.btn .tri { flex: none; }
.fake { cursor: default; }
.fake:hover { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(2, 11, 31, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; transform: translateY(100%); background: linear-gradient(rgba(0, 0, 0, 0.45), transparent); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.site-header.scrolled::after { opacity: 1; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--head); letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { height: auto; }
.site-nav { order: 3; flex-basis: 100%; }
.site-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: 999px; color: var(--body); text-decoration: none; font-weight: 600; font-size: 0.97rem; transition: background-color 0.2s ease; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(47, 107, 255, 0.28); }
@media (min-width: 760px) {
  .site-nav { order: 0; flex-basis: auto; margin-left: auto; }
  .header-inner { flex-wrap: nowrap; }
}

/* ---------- Glow lights ---------- */
.hero, .page-hero, .closing-wrap { position: relative; }
.glows { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); pointer-events: none; z-index: 0; }
.glow { position: absolute; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.3), rgba(47, 107, 255, 0)); animation: drift-a 26s ease-in-out infinite alternate; will-change: transform; }
.glow.g1 { left: -240px; top: -260px; }
.glow.g2 { right: -260px; top: 40px; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.24), rgba(47, 107, 255, 0)); animation-name: drift-b; animation-duration: 30s; }
.glow.g3 { right: 20%; bottom: -380px; background: radial-gradient(closest-side, rgba(245, 165, 36, 0.1), rgba(245, 165, 36, 0)); animation-name: drift-c; animation-duration: 22s; }
.page-hero .glow { width: 560px; height: 560px; }
@keyframes drift-a { to { transform: translate(120px, 70px); } }
@keyframes drift-b { to { transform: translate(-140px, 60px); } }
@keyframes drift-c { to { transform: translate(-100px, -50px); } }

/* ---------- Orb ---------- */
.orb { position: relative; width: 100%; aspect-ratio: 1; }
.orb::before { content: ""; position: absolute; inset: -35%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 107, 255, 0.32), rgba(47, 107, 255, 0)); animation: breathe-glow 4s ease-in-out infinite; }
.sphere { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 32% 28%, #8FB3FF 0, #2F6BFF 36%, #0B2A8A 72%, #051445 100%); box-shadow: 0 0 80px rgba(47, 107, 255, 0.55); animation: breathe 4s ease-in-out infinite; }
.sphere::after { content: ""; position: absolute; right: -10%; bottom: -10%; width: 62%; height: 62%; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 165, 36, 0.5), rgba(245, 165, 36, 0)); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(127, 166, 255, 0.4); }
.ring.r1 { inset: 7.5%; animation: ripple 6s ease-out infinite; }
.ring.r2 { inset: 0; border-color: rgba(127, 166, 255, 0.25); animation: ripple 6s ease-out 0.6s infinite; }
@keyframes breathe { 50% { transform: scale(1.035); } }
@keyframes breathe-glow { 50% { opacity: 0.6; transform: scale(1.06); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 55% { transform: scale(1.1); opacity: 0; } 100% { transform: scale(1.1); opacity: 0; } }
.orb-sm { width: 220px; }
.closing-orb { width: 170px; flex: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass.big { padding: 36px 28px; border-radius: 28px; }
.glass h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.two { display: grid; gap: 20px; }
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) {
  .two { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--body); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); margin-bottom: 1.4rem; }
.live { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px 2px rgba(245, 165, 36, 0.8); animation: live 2.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.45; } }
.hero h1 { margin-bottom: 0.45em; }
.lead { font-size: 1.2rem; color: var(--body); max-width: 560px; }
.hero .small { color: var(--sec); font-size: 0.95rem; max-width: 520px; }

/* Stage: stacked on phones, free layout on wide screens */
.stage { margin: 0 auto; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-width: 520px; width: 100%; }
.orb-box { position: relative; width: min(100%, 340px); margin: 0 auto; }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(255, 255, 255, 0.14); transition: transform 0.2s ease; }
.play svg { margin-left: 3px; }
.play:hover, .play:focus-visible { transform: scale(1.07); }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.b { margin: 0; padding: 12px 16px; border-radius: 20px; font-size: 0.97rem; line-height: 1.45; max-width: 330px; }
.b .who { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.b.caller { background: rgba(8, 22, 52, 0.85); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--body); }
.b.caller .who { color: var(--sec); }
.b.ai { background: var(--btn); color: #fff; border-bottom-right-radius: 6px; margin-left: auto; box-shadow: 0 10px 30px rgba(47, 107, 255, 0.4); }
.b.ai .who { color: #fff; }
.arc { display: none; }
.vlink { position: relative; height: 56px; width: 0; margin: 0 auto; border-left: 2px dotted rgba(245, 165, 36, 0.8); }
.vdot { position: absolute; left: -6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px 3px rgba(245, 165, 36, 0.7); opacity: 0; }
.booking { background: var(--card); border: 1px solid rgba(47, 107, 255, 0.6); border-radius: 22px; padding: 20px 22px; box-shadow: 0 0 50px rgba(47, 107, 255, 0.3), var(--shadow); }
.booking-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.booking h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin: 0; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--amber-t); background: rgba(245, 165, 36, 0.14); border: 1px solid rgba(245, 165, 36, 0.4); }
.fields { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 0.95rem; }
.fields dt { color: var(--sec); }
.fields dd { margin: 0; color: #fff; font-weight: 600; }
.replay { align-self: center; display: none; background: none; border: 0; color: var(--lblue); font: 600 0.9rem var(--text); cursor: pointer; padding: 6px 12px; border-radius: 999px; text-decoration: underline; text-underline-offset: 3px; }
.replay:hover { color: #fff; }

@media (min-width: 1100px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 600px; gap: 24px; }
  .stage { display: block; width: 600px; max-width: none; height: 640px; margin: 0; }
  .orb-box { position: absolute; left: 0; top: 120px; width: 400px; margin: 0; }
  .play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .bubbles { position: absolute; right: 0; top: 0; width: 330px; }
  .b.caller { max-width: 300px; }
  .vlink { display: none; }
  .arc { display: block; position: absolute; inset: 0; width: 600px; height: 640px; overflow: visible; }
  .booking { position: absolute; left: 330px; top: 440px; width: 270px; }
  .replay { position: absolute; left: 0; top: 590px; }
}
.arc-line { fill: none; stroke: rgba(245, 165, 36, 0.85); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0.1 10; }
.arc-start, .end-dot { fill: var(--amber); }
.hop-dot { opacity: 0; transform-box: view-box; transform-origin: 400px 440px; }
.hop-dot circle { fill: var(--amber); }
.hop-dot circle[fill="url(#ah)"] { fill: url(#ah); }
.end-halo { animation: halo 2.6s ease-in-out infinite; }
@keyframes halo { 50% { opacity: 0.45; } }
@keyframes hop { 0% { transform: rotate(0); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: rotate(90deg); opacity: 0; } }
@keyframes vhop { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }

/* ---------- Tools strip ---------- */
.tools { border-block: 1px solid var(--line); padding: 36px 0; background: rgba(255, 255, 255, 0.02); }
.tools-head { text-align: center; color: var(--sec); font-weight: 600; margin-bottom: 1.2rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills.left { justify-content: flex-start; margin-top: 1.5rem; }
.pills li { padding: 9px 18px; border-radius: 999px; font-size: 0.95rem; font-weight: 600; color: var(--body); background: var(--glass); border: 1px solid var(--line); }

/* ---------- Dashboard mockup ---------- */
.app { margin: 0; background: linear-gradient(160deg, rgba(14, 28, 62, 0.92), rgba(6, 16, 40, 0.92)); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(47, 107, 255, 0.15); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.app-bar figcaption { font-size: 0.82rem; color: var(--sec); }
.app-grid { display: grid; gap: 0; }
.side { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; border-bottom: 1px solid var(--line); }
.side li { padding: 8px 14px; border-radius: 12px; font-size: 0.93rem; font-weight: 600; color: var(--sec); }
.side li.active { background: rgba(47, 107, 255, 0.25); color: #fff; }
.col { padding: 20px; border-bottom: 1px solid var(--line); }
.col h3 { font-size: 1rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.calls ul { list-style: none; display: grid; gap: 10px; }
.call-row { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.call-row .t { color: #fff; font-weight: 600; font-size: 0.95rem; }
.call-row .s { color: var(--sec); font-size: 0.85rem; }
.call-row .m { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.call-row .time { color: var(--sec); font-size: 0.82rem; }
.st { font-size: 0.75rem; font-weight: 600; color: var(--body); }
.st.ok { color: #BFD3FF; }
.st.am { color: var(--amber-t); }
.call-row.hi { background: rgba(47, 107, 255, 0.2); border-color: rgba(47, 107, 255, 0.75); }
.call-row.hi::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 22px rgba(47, 107, 255, 0.6); opacity: 0; animation: pulse 3.2s ease-in-out infinite; pointer-events: none; }
.call-row.warn { background: rgba(245, 165, 36, 0.09); border-color: rgba(245, 165, 36, 0.4); }
@keyframes pulse { 50% { opacity: 1; } }
.transcript .b { max-width: 100%; font-size: 0.9rem; margin-bottom: 10px; }
.transcript .b.ai { margin-left: 22px; }
.transcript .b.caller { margin-right: 22px; }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--lblue); transform: scaleY(0.35); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.15s; }
.wave i:nth-child(3) { animation-delay: 0.3s; }
.wave i:nth-child(4) { animation-delay: 0.45s; }
.wave i:nth-child(5) { animation-delay: 0.6s; }
@keyframes wave { 50% { transform: scaleY(1); } }
.request .chip { margin-bottom: 14px; }
.request .btn { margin-top: 18px; }
@media (min-width: 1000px) {
  .app-grid { grid-template-columns: 170px 1fr 1.3fr 1fr; }
  .side { flex-direction: column; flex-wrap: nowrap; border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 14px; }
  .col { border-bottom: 0; border-right: 1px solid var(--line); min-width: 0; }
  .request { border-right: 0; }
}

/* ---------- Handles the routine ---------- */
.glass .b { max-width: 88%; margin-bottom: 10px; }
.glass .b.ai { margin-left: auto; }
.amber-panel { background: linear-gradient(160deg, rgba(245, 165, 36, 0.16), rgba(245, 165, 36, 0.04)); border-color: rgba(245, 165, 36, 0.38); }
.transfer { display: flex; align-items: center; gap: 12px; margin-top: 1.4rem; padding: 14px 18px; border-radius: 16px; background: rgba(2, 11, 31, 0.55); border: 1px solid rgba(245, 165, 36, 0.4); color: var(--amber-t); font-weight: 600; }

/* ---------- Three hops ---------- */
.hops { display: none; width: 100%; height: auto; overflow: visible; margin-bottom: 8px; }
.hops .dot { fill: var(--lblue); }
.hops .halo { fill: rgba(47, 107, 255, 0.28); }
.hops .node { fill: var(--blue); }
.hops .stop:last-child .halo { fill: rgba(245, 165, 36, 0.28); }
.hops .node.amber { fill: var(--amber); }
.three { list-style: none; display: grid; gap: 28px; }
.three li { text-align: center; padding: 0 8px; }
.three .num { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--btn); color: #fff; font: 700 1.1rem var(--head); box-shadow: 0 0 24px rgba(47, 107, 255, 0.6); }
.three .num.am { background: var(--amber); color: #020B1F; box-shadow: 0 0 24px rgba(245, 165, 36, 0.6); }
.step-label { color: var(--amber-t); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.3rem; }
.three p:last-child { color: var(--sec); margin: 0; }
@media (min-width: 760px) {
  .hops { display: block; }
  .three { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .three .num { display: none; }
}

/* ---------- Rules ---------- */
.checks { list-style: none; display: grid; gap: 16px 40px; margin-top: 1.5rem; }
.checks li { position: relative; padding-left: 40px; color: var(--body); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 14px rgba(47, 107, 255, 0.55); }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font: 700 1.15rem/1.3 var(--head); letter-spacing: -0.02em; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.9rem/1 var(--text); color: var(--lblue); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--lblue); }
.faq details p { color: var(--sec); padding: 0 4px 20px; margin: 0; max-width: 680px; }

/* ---------- Closing panel ---------- */
.closing { position: relative; overflow: hidden; display: flex; align-items: center; gap: 32px; padding: 44px 28px; border-radius: 32px; background: linear-gradient(135deg, #123D9E, #0A1B3F); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow); }
.amber-corner { position: absolute; right: -120px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 165, 36, 0.4), rgba(245, 165, 36, 0)); pointer-events: none; }
.closing-copy { position: relative; flex: 1; min-width: 0; }
.closing h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 640px; }
.closing .sub { color: #D4E0F7; max-width: 560px; }
.closing .btn-row { margin-bottom: 1.4rem; }
.badge { display: inline-block; margin: 0; padding: 7px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--amber-t); border: 1px solid rgba(245, 165, 36, 0.6); background: rgba(2, 11, 31, 0.35); }
.closing-orb { display: none; }
@media (min-width: 860px) { .closing { padding: 56px 56px; } .closing-orb { display: block; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: 56px 0 40px; }
.page-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lead { max-width: 640px; margin-bottom: 0; }
.page-hero .orb-sm { display: none; }
@media (min-width: 860px) { .page-hero .orb-sm { display: block; flex: none; } }
.notice { margin-top: 1.4rem; max-width: 640px; padding: 14px 20px; border-radius: 18px; background: rgba(245, 165, 36, 0.1); border: 1px solid rgba(245, 165, 36, 0.35); }
.notice p { margin: 0; color: var(--body); }

.service { margin-bottom: 22px; }
.service-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 1rem; }
.service-head h2 { margin: 0; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--sec); border: 1px solid var(--line); }
.tag.now { color: #BFD3FF; border-color: rgba(47, 107, 255, 0.7); background: rgba(47, 107, 255, 0.18); }
.right-if { padding: 20px 22px; border-radius: 18px; background: rgba(2, 11, 31, 0.5); border: 1px solid var(--line); }
.right-if h3 { font-size: 1rem; color: var(--amber-t); }
.right-if ul { padding-left: 1.1rem; color: var(--body); }
.right-if li { margin-bottom: 0.5rem; }

.demo { margin-bottom: 22px; }
.video-placeholder { aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: 12px; border-radius: 20px; background: radial-gradient(circle at 50% 40%, rgba(47, 107, 255, 0.28), rgba(2, 11, 31, 0.9) 70%); border: 1px solid var(--line); }
.play-circle { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12); }
.play-circle svg { margin-left: 3px; }
.vtext { color: var(--body); font-weight: 600; }

.prose h2 { font-size: 1.5rem; margin: 1.8em 0 0.5em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose { padding: 32px 28px; }

.contact-grid { display: grid; gap: 22px; align-items: start; }
.cal-frame { width: 100%; height: 640px; border: 0; border-radius: 16px; background: #fff; margin-top: 12px; }
.reach { margin: 0; }
.reach dt { color: var(--sec); font-size: 0.85rem; margin-top: 1rem; }
.reach dd { margin: 2px 0 0; font-weight: 600; color: #fff; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.7fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 24px; color: var(--sec); }
.footer-grid { display: grid; gap: 28px; }
.footer-tagline { margin: 0.9rem 0 0; max-width: 320px; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 0.6rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--sec); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--small); }
.footer-bottom p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; } }

/* ---------- Motion that needs JavaScript (hidden-then-revealed only under .js) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .stage [data-t]:not(.arc):not(.vlink) { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .stage [data-t].on:not(.arc):not(.vlink) { opacity: 1; transform: none; }
  .js .stage .arc.on .hop-dot { animation: hop 1.2s ease-in-out 1 both; }
  .js .stage .arc.on .hop-dot.t1 { animation-delay: 0.07s; }
  .js .stage .arc.on .hop-dot.t2 { animation-delay: 0.14s; }
  .js .stage .arc.on .hop-dot.t3 { animation-delay: 0.21s; }
  .js .stage .vlink.on .vdot { animation: vhop 1.1s ease-in-out 1 both; }
  .js .replay { display: inline-block; }

  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--i, 0) * 110ms); }
  .js .rv.in { opacity: 1; transform: none; }

  .js .hops .dot { opacity: 0; transition: opacity 0.35s ease; transition-delay: calc(var(--d, 0) * 80ms + 200ms); }
  .js .hops.in .dot { opacity: 1; }
  .js .hops .stop { opacity: 0.25; transition: opacity 0.5s ease; }
  .js .hops.in .stop { opacity: 1; }
  .js .hops .s0 { transition-delay: 0.1s; }
  .js .hops .s1 { transition-delay: 1.4s; }
  .js .hops .s2 { transition-delay: 2.8s; }
}

/* Pause everything while the tab is hidden */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* Reduced motion: final state, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
main { overflow-x: clip; }

/* ---------- Animated logo (header) ---------- */
.logo { display: block; flex: none; overflow: visible; }
.logo .halo { opacity: 0; }
.dot-travel, .dot-idle, .dot-hover { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .brand-text { animation: word-in 0.8s ease-out 0.1s both; }
  .dot-travel { animation: dot-load 3.2s linear 0.7s both; }
  .logo .halo-load { animation: halo-load 3.2s ease-in-out 0.7s both; }
  .dot-idle { animation: dot-idle 9s ease-in-out 5s infinite; }
  .logo .halo-idle { animation: halo-idle 9s ease-in-out 5s infinite; }
  .brand:hover .dot-hover, .brand:focus-visible .dot-hover { animation: dot-hop 0.8s ease-in-out 1; }
  .brand:hover .halo-hover, .brand:focus-visible .halo-hover { animation: halo-hop 0.8s ease-in-out 1; }
}
@keyframes word-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes dot-idle { 0%, 90% { transform: none; } 93.5% { transform: translateY(-42px); } 97% { transform: none; } 100% { transform: none; } }
@keyframes halo-idle { 0%, 91% { opacity: 0; } 97% { opacity: 0.8; } 100% { opacity: 0; } }
@keyframes dot-hop { 0% { transform: none; } 45% { transform: translateY(-70px); } 100% { transform: none; } }
@keyframes halo-hop { 0% { opacity: 0; } 70% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes dot-load {
  0% { transform: translate(-756.0px,452.0px); }
  2.15% { transform: translate(-753.2px,441.2px); }
  4.3% { transform: translate(-745.4px,410.6px); }
  6.45% { transform: translate(-733.0px,363.1px); }
  8.59% { transform: translate(-712.1px,303.1px); }
  10.74% { transform: translate(-678.7px,235.7px); }
  12.89% { transform: translate(-628.9px,168.2px); }
  15.04% { transform: translate(-559.0px,112.3px); }
  17.19% { transform: translate(-471.2px,84.9px); }
  19.34% { transform: translate(-380.7px,99.6px); }
  21.48% { transform: translate(-311.4px,155.6px); }
  23.63% { transform: translate(-266.8px,226.6px); }
  25.78% { transform: translate(-240.0px,296.6px); }
  27.93% { transform: translate(-240.0px,360.2px); }
  30.08% { transform: translate(-240.0px,409.3px); }
  32.23% { transform: translate(-240.0px,440.8px); }
  34.38% { transform: translate(-240.0px,452.0px); }
  45.31% { transform: translate(-240.0px,452.0px); }
  47.27% { transform: translate(-240.0px,445.7px); }
  49.22% { transform: translate(-240.0px,427.8px); }
  51.17% { transform: translate(-240.0px,400.1px); }
  53.13% { transform: translate(-240.0px,364.1px); }
  55.08% { transform: translate(-240.0px,321.6px); }
  57.03% { transform: translate(-234.7px,274.8px); }
  58.98% { transform: translate(-217.2px,227.2px); }
  60.94% { transform: translate(-194.9px,179.7px); }
  62.89% { transform: translate(-168.4px,134.5px); }
  64.84% { transform: translate(-138.4px,93.5px); }
  66.8% { transform: translate(-106.3px,58.5px); }
  68.75% { transform: translate(-74.2px,30.6px); }
  70.7% { transform: translate(-44.6px,10.2px); }
  72.66% { transform: translate(-20.3px,-3.2px); }
  74.61% { transform: translate(-4.9px,-3.9px); }
  76.56% { transform: translate(0.0px,0.0px); }
  100% { transform: translate(0.0px,0.0px); }
}
@keyframes halo-load { 0%, 32.81% { opacity: 0; } 37.5% { opacity: 0.55; } 46.88% { opacity: 0; } 75% { opacity: 0; } 81.25% { opacity: 1; } 100% { opacity: 0; } }
