/* ==========================================================================
   HOME TEST (/home-test) — 2026-11-13 redesign, loaded only by home-test.blade.php
   One palette: navy #081D3A · blue #016CFD · lime #8CD117 on white/ice.
   The old violet ramp (--v-*) is remapped to a navy→blue ramp here, so every
   existing component that used purple turns on-brand without touching it.
   Style: soft UI (white cards, gentle navy-tinted shadows, 20px radii).
   Motion: spring ease-out, 150–400ms, transform/opacity only, off under
   prefers-reduced-motion.
   ========================================================================== */
body.ht {
  --v-950:#06152B; --v-900:#081D3A; --v-800:#0B2A55; --v-700:#0E3A78; --v-600:#0F4FA8;
  --v-500:#016CFD; --v-400:#3D8BFF; --v-300:#8DB9FF; --v-100:#E3EEFF; --v-50:#F2F7FF; --v-40:#016CFD;
  --ink:#0A1A33; --body:#3B4A63; --muted:#62708A; --line:#E2E8F2; --shell:#F5F8FC;
  --sh-sm:0 1px 2px rgba(8,29,58,.06), 0 1px 3px rgba(8,29,58,.06);
  --sh:0 12px 32px rgba(8,29,58,.08);
  --sh-lg:0 28px 60px rgba(8,29,58,.16);
  --sh-violet:0 14px 38px rgba(1,108,253,.25);
  --spring:cubic-bezier(.22,1.2,.36,1);
  background:#fff;
}
.ht .section { padding-block:clamp(64px,8vw,104px) }
.ht .section--tint { background:var(--shell) }
.ht .eyebrow { color:var(--v-500) }
.ht-head { margin-bottom:clamp(28px,4vw,44px) }
.ht-head--center { text-align:center }
.ht-head--center .eyebrow { justify-content:center }
.ht-head h2 { margin:0 }

/* ---------- Plans: same component, one palette ---------- */
.ht .tab.is-active { background:var(--v-900) }
.ht .pplan {
  background:linear-gradient(180deg,#F2F7FF 0%,#fff 60%);
  border:1px solid var(--line);
  box-shadow:var(--sh);
}
.ht .pplan--hero { background:linear-gradient(180deg,#F1FBDF 0%,#fff 60%); border-color:#CDEB97 }
.ht .pplan__nickname { background:none; -webkit-text-fill-color:currentColor; color:var(--v-500) }
.ht .pplan--hero .pplan__nickname { color:var(--l-700) }
.ht .pplan__speedtoggle::before { background:var(--v-500); box-shadow:0 3px 10px rgba(1,108,253,.3) }
.ht .pplan__off { background:var(--v-900) }
.ht .pplan__save { background:#EAF2FF; color:var(--ink) }
.ht .pplan__save * { color:inherit }
.ht .graph_bg { border-radius:28px; background:var(--v-900); padding:clamp(24px,4vw,48px); color:#fff }
.ht .graph_bg h2 { color:#fff }
.ht .graph_bg .lede { color:#B9C8E6 }

/* ---------- Why Delta Fibre ---------- */
.ht-why { background:var(--v-900); color:#C9D5EA; position:relative; overflow:hidden }
.ht-why::before {           /* soft brand glow, no purple */
  content:""; position:absolute; inset:auto -10% -40% auto; width:60%; aspect-ratio:1;
  background:radial-gradient(circle, rgba(1,108,253,.35), transparent 65%); pointer-events:none
}
.ht-why .eyebrow { color:var(--l-400) }
.ht-why h2 { color:#fff }
.ht-why__grid { display:grid; grid-template-columns:1fr 1.15fr; gap:clamp(32px,5vw,72px); align-items:center; position:relative }
.ht-art { width:100%; height:auto; overflow:visible }
.ht-chips { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:12px }
.ht-chip {
  display:flex; align-items:center; gap:14px; padding:14px 16px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:16px;
  transition:transform .25s var(--spring), background .25s ease, border-color .25s ease
}
.ht-chip:hover { transform:translateY(-3px); background:rgba(255,255,255,.1); border-color:rgba(140,209,23,.5) }
.ht-chip__ico { flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--l-500); color:var(--v-900) }
.ht-chip__ico svg { width:22px; height:22px }
.ht-chip__txt { display:flex; flex-direction:column; line-height:1.2; min-width:0 }
.ht-chip__txt em { font-style:normal; font:800 .72rem var(--display); letter-spacing:.08em; text-transform:uppercase; color:var(--l-400) }
.ht-chip__txt b { font:700 1.02rem var(--display); color:#fff }
.ht-chip__txt b sup { font-size:.6em }
.ht-fine { margin:18px 0 0; font-size:.72rem; line-height:1.45; color:#7F8FAD }
.ht-fine a { color:#B9C8E6 }

/* ---------- Speed guide ---------- */
.ht-sg { display:grid; grid-template-columns:repeat(3,1fr); gap:18px }
.ht-sg__card {
  background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px;
  box-shadow:var(--sh-sm); display:flex; flex-direction:column; gap:6px;
  transition:transform .25s var(--spring), box-shadow .25s ease, border-color .25s ease
}
.ht-sg__card:hover { transform:translateY(-4px); box-shadow:var(--sh); border-color:var(--v-300) }
.ht-sg__people { display:flex; align-items:flex-end; gap:2px; height:44px; margin-bottom:8px }
.ht-person { width:26px; height:auto }
.ht-person--cam { width:56px }
.ht-sg__card h3 { margin:0; font-size:1.15rem; color:var(--ink) }
.ht-sg__who { margin:0; font-size:.88rem; color:var(--muted) }
.ht-sg__doing { margin:6px 0 0; font-size:.9rem; line-height:1.5; color:var(--body) }
.ht-sg__pick {
  margin-top:auto; padding-top:14px; border-top:1px dashed var(--line);
  display:flex; justify-content:space-between; align-items:flex-end; gap:12px
}
.ht-sg__pick span { font:700 .98rem var(--display); color:var(--v-900); display:flex; flex-direction:column }
.ht-sg__pick span small { font:500 .78rem var(--text); color:var(--muted) }
.ht-sg__pick strong { font:900 1.6rem var(--display); color:var(--v-500); letter-spacing:-.02em; font-variant-numeric:tabular-nums }
.ht-sg__pick strong small { font-size:.5em; color:var(--muted); font-weight:600 }

/* ---------- How it works ---------- */
.ht-steps-wrap { background:var(--shell) }
.ht-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; position:relative }
/* fibre line behind the three illustrations, with a light pulse running along it */
.ht-steps::before, .ht-steps::after {
  left:16%; right:16%;
  background:linear-gradient(90deg,transparent,var(--v-500),transparent) no-repeat 0 0 / 80px 100%;
  animation:htPulse 2.8s cubic-bezier(.45,0,.55,1) infinite
}
@keyframes htPulse { to { background-position:100% 0 } }
.ht-step { text-align:center; position:relative; z-index:1 }
.ht-step__art {
  width:128px; height:128px; margin:0 auto 18px; border-radius:50%; background:#fff;
  display:grid; place-items:center; box-shadow:var(--sh); position:relative;
  transition:transform .3s var(--spring)
}
.ht-step:hover .ht-step__art { transform:translateY(-6px) rotate(-2deg) }
.ht-step__art svg { width:84px; height:auto }
.ht-step__n {
  position:absolute; top:-4px; right:-4px; width:36px; height:36px; border-radius:50%;
  display:grid; place-items:center; background:var(--l-500); color:var(--v-900);
  font:900 1rem var(--display); border:3px solid #fff
}
.ht-step h3 { margin:0 0 6px; font-size:1.2rem; color:var(--ink) }
.ht-step p { margin:0 auto; max-width:30ch; color:var(--body); font-size:.95rem }
.ht-needle { transform-origin:60px 80px; animation:htNeedle 3s var(--spring) infinite alternate }
@keyframes htNeedle { from { transform:rotate(-80deg) } to { transform:rotate(0) } }

/* ---------- About ---------- */
.ht-about__grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,80px); align-items:center }
.ht-about__media { position:relative }
.ht-about__media img { position:relative; z-index:1; width:100%; height:auto; border-radius:24px; box-shadow:var(--sh-lg); display:block }
.ht-blob { position:absolute; border-radius:50%; z-index:0 }
.ht-blob--lime { width:42%; aspect-ratio:1; background:var(--l-500); top:-8%; right:-6%; opacity:.9 }
.ht-blob--blue { width:30%; aspect-ratio:1; background:var(--v-500); bottom:-8%; left:-6% }

/* ---------- Pathways ---------- */
.ht-paths-wrap { background:var(--shell); padding-top:0 }
.ht-paths { display:grid; grid-template-columns:1fr 1fr; gap:20px }
.ht-path {
  display:flex; align-items:center; gap:18px; padding:26px 28px; border-radius:24px;
  background:#fff; border:1px solid var(--line); box-shadow:var(--sh-sm);
  text-decoration:none; color:var(--body);
  transition:transform .25s var(--spring), box-shadow .25s ease, border-color .25s ease
}
.ht-path:hover { transform:translateY(-4px); box-shadow:var(--sh); border-color:var(--v-300) }
.ht-path__txt { flex:1; min-width:0 }
.ht-path h3 { margin:0 0 6px; color:var(--ink); font-size:1.25rem }
.ht-path p { margin:0 0 12px; font-size:.95rem }
.ht-path__go { display:inline-flex; align-items:center; gap:6px; font:700 .95rem var(--display); color:var(--v-500) }
.ht-path__go svg { width:18px; height:18px; transition:transform .25s var(--spring) }
.ht-path:hover .ht-path__go svg { transform:translateX(4px) }
.ht-path__art { flex:none; width:140px }
.ht-path__art svg { width:100%; height:auto; overflow:visible }

/* ---------- Final CTA ---------- */
.ht-cta { background:radial-gradient(700px 360px at 85% 50%, rgba(1,108,253,.35), transparent 70%), linear-gradient(135deg,#0B2A55,#081D3A); border-bottom:1px solid rgba(255,255,255,.08); color:#C9D5EA; overflow:hidden }
.ht-cta__grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(24px,4vw,56px); align-items:center; padding-block:clamp(48px,6vw,72px) }
.ht-cta h2 { color:#fff; margin:0 0 8px }
.ht-cta p { margin:0 0 22px }
.ht-cta .checker1 .checker__row { flex-wrap:nowrap; gap:10px }
.ht-cta .checker1 .checker__field { min-width:0; flex:1 }
.ht-cta__mascot img { width:100%; height:auto; border-radius:24px; display:block; box-shadow:0 0 0 6px rgba(140,209,23,.25), var(--sh-lg) }

/* ---------- Shared illustration motion ---------- */
.ht-fibre { stroke-dasharray:14 10; animation:htDash 1.2s linear infinite }
@keyframes htDash { to { stroke-dashoffset:-48 } }
.ht-waves path { animation:htWave 2.4s ease-in-out infinite; transform-box:fill-box; transform-origin:50% 100% }
.ht-waves path:nth-child(2) { animation-delay:.25s }
.ht-waves path:nth-child(3) { animation-delay:.5s }
@keyframes htWave { 0%,100% { opacity:.35 } 50% { opacity:1 } }
.ht-node { animation:htBob 3s ease-in-out infinite; transform-box:fill-box; transform-origin:center }
@keyframes htBob { 50% { transform:translateY(-8px) } }

/* ---------- Footer fine print: smaller, tighter, full width ---------- */
.ht .site-footer__legal { gap:10px; font-size:.7rem; line-height:1.4; color:#7F8FAD }
.ht .site-footer__legal p { max-width:none }
.ht .site-footer__legal a { color:#9FB0CC }
.ht .site-footer { color:#9FB0CC }

/* ---------- Responsive ---------- */
@media (max-width:980px) {
  .ht-why__grid, .ht-about__grid, .ht-cta__grid { grid-template-columns:1fr }
  .ht-why__art { max-width:360px; margin:0 auto }
  .ht-sg { grid-template-columns:repeat(2,1fr) }
  .ht-paths { grid-template-columns:1fr }
  .ht-cta__mascot { max-width:520px }
}
@media (max-width:760px) {
  .ht-steps { grid-template-columns:1fr; gap:36px }
  .ht-steps::before, .ht-steps::after { display:none }
  .ht-chip { flex-direction:column; align-items:flex-start; gap:10px; padding:14px }
  .ht-chip__ico { width:38px; height:38px }
  .ht-chip__txt b { font-size:.95rem }
}
@media (max-width:560px) {
  .ht-sg { grid-template-columns:1fr }
  .ht-path { flex-direction:column-reverse; align-items:flex-start }
  .ht-path__art { width:110px }
  .ht-cta .checker1 .checker__row { flex-wrap:wrap }
  .ht-cta .checker1 .checker__field { min-width:100% }
}
@media (prefers-reduced-motion: reduce) {
  .ht-fibre, .ht-waves path, .ht-node, .ht-needle, .ht-steps::after { animation:none }
  .ht-chip, .ht-sg__card, .ht-step__art, .ht-path, .ht-path__go svg { transition:none }
}
