/* HIT Pacific: shared styles for the v2 page design (#406 Release 1: /, /business/, /fair-go/).
   Loaded after /brand.css on those pages only. The live header and footer come from brand.css;
   nothing here styles header, nav or footer. Page-only rules (circle position, Fair Go policy
   sections) stay inline in each page. Source: marketing/prototype/*.html in the-isp. */

:root {
  --navy-deep: #00283f; --orange-dark: #d95a14;
  --ink: #13293a; --muted: #4f6475; --line: #dbe3ea; --tint: #eaf4fb;
  --shadow: 0 8px 24px rgba(0,40,63,.10), 0 2px 6px rgba(0,40,63,.05);
  --shadow-lg: 0 20px 50px rgba(0,40,63,.18), 0 4px 10px rgba(0,40,63,.08);
}
body.v2 { background: #f3f6f9; color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.v2 main a { color: var(--blue); }
.v2 .wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.v2 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2 .tnum { font-variant-numeric: tabular-nums; }
.v2 main svg { flex: none; }
.v2 main h1, .v2 main h2, .v2 main h3, .v2 main p { text-wrap: pretty; }

/* ── Buttons ── */
.v2 .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; border: 0; border-radius: 10px; transition: background .15s, transform .12s, box-shadow .15s; white-space: nowrap; }
.v2 .btn:active { transform: translateY(1px); }
/* White on Hit Orange is ~3:1, so orange buttons keep text at 19px bold (WCAG large text) */
.v2 main a.btn-orange, .v2 .btn-orange { background: var(--orange); color: #fff; font-size: 1.1875rem; height: 56px; padding: 0 26px; box-shadow: 0 6px 16px rgba(245,107,32,.32); }
.v2 .btn-orange:hover { background: var(--orange-dark); }
.v2 main a.btn-line, .v2 .btn-line { background: #fff; color: var(--navy); border: 2px solid var(--navy); font-size: 1rem; height: 46px; padding: 0 18px; }
.v2 .btn-line:hover { background: var(--navy); color: #fff; }
.v2 .btn.multi { white-space: normal; height: auto; min-height: 46px; padding: 8px 14px; line-height: 1.2; text-align: center; }
.v2 .btn svg { transition: transform .15s; }
.v2 .btn:hover svg { transform: translateX(3px); }

/* ── Hero ── */
.v2 .hero { position: relative; background: var(--navy); color: #fff; overflow-x: clip; }
.v2 .hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.v2 .hero-photo picture { display: block; height: 100%; }
.v2 .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; display: block; }
.v2 .hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(0,59,92,.92) 18%, rgba(0,59,92,.45) 40%, rgba(0,59,92,0) 62%);
}
.v2 .hero .wrap { position: relative; z-index: 2; min-height: 430px; padding-top: 42px; padding-bottom: 92px; }
.v2 .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 11ch; }
.v2 .swoosh { position: relative; white-space: nowrap; }
.v2 .swoosh svg { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .3em; overflow: visible; }
.v2 .swoosh path { stroke-dasharray: 400; stroke-dashoffset: 0; animation: v2-draw 1s .3s cubic-bezier(.65,0,.35,1) backwards; }
@keyframes v2-draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.v2 .hero .sub { font-size: 1.3rem; line-height: 1.4; margin-top: 20px; max-width: 26em; color: #eef5fa; }
.v2 .hero-icons { list-style: none; display: flex; margin-top: 28px; }
.v2 .hero-icons li { display: grid; justify-items: center; text-align: center; gap: 8px; font-size: .92rem; font-weight: 600; line-height: 1.2; padding: 0 22px; }
.v2 .hero-icons li:first-child { padding-left: 0; }
.v2 .hero-icons li + li { border-left: 1px solid rgba(255,255,255,.35); }
.v2 .hero-icons svg { width: 36px; height: 36px; color: #fff; }

/* Price circle. Filled by /home-v2.js; it stays hidden until a price is in it (no typed prices). */
.v2 .roundel {
  position: absolute; z-index: 3; right: max(32px, calc((100vw - 1280px) / 2 + 40px)); top: 28px;
  width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #ff8d4d, var(--orange) 55%, #e2560e);
  border: 6px solid #fff; box-shadow: 0 14px 34px rgba(0,0,0,.28); transform: rotate(-8deg); color: #fff;
  container-type: inline-size; overflow: hidden;
}
.v2 .roundel[hidden] { display: none; }
.v2 .roundel > div { width: 80%; }
.v2 .roundel .t1 { font-size: 10cqw; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; white-space: nowrap; }
.v2 .roundel .t2 { font-size: 7cqw; font-weight: 700; margin-top: 4cqw; white-space: nowrap; }
.v2 .roundel .t3 { font-size: 17cqw; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.v2 .roundel .t4 { font-size: 6.6cqw; font-weight: 700; white-space: nowrap; }

/* ── Address check bar (real /sq-widget.js inside), overlapping the hero edge ── */
.v2 .check-bar { position: relative; z-index: 5; margin-top: -58px; scroll-margin-top: 16px; }
.v2 .check {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: auto minmax(220px, .8fr) 1.5fr; align-items: center; gap: 22px; padding: 22px 30px;
}
.v2 .check .pin { color: var(--orange); width: 46px; height: 46px; }
.v2 .check h2 { font-size: 1.45rem; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.v2 .check p { color: var(--muted); font-size: .98rem; }
.v2 .check .sq-widget { min-height: 56px; align-self: center; }
.v2 .noscript-signup { grid-column: 1 / -1; font-weight: 700; }
.v2 .check .sq-input { height: 56px; font-size: 1.02rem; border-radius: 10px; }
.v2 .check .sq-btn { min-height: 56px; border-radius: 10px; font-size: 1.1875rem; font-weight: 800; padding: 0 26px; }

/* ── Plans ── */
.v2 .plans { padding: 46px 0 22px; }
/* Cards share one row grid (subgrid), so names, prices, speeds and buttons line up */
.v2 .plans-grid { display: grid; grid-template-columns: .82fr repeat(3, 1fr); column-gap: 22px; row-gap: 0; }
.v2 .plans-intro { grid-row: span 6; padding-top: 6px; }
.v2 .eyebrow { color: var(--orange-dark); font-size: .86rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.v2 .plans-intro h2 { font-size: clamp(2rem, 3.3vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: var(--dark); margin: 8px 0 14px; }
.v2 .plans-intro p { color: var(--muted); font-size: 1.05rem; }
.v2 .plans-intro a.more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 16px; font-weight: 700; text-decoration: none; }
.v2 .plan { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 6; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.v2 .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.v2 .plan-band { background: var(--tint); border-radius: 11px 11px 0 0; padding: 20px 22px 14px; }
.v2 .plan h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; color: var(--dark); line-height: 1.15; }
.v2 .plan .desc { font-size: .95rem; font-weight: 600; color: var(--ink); margin-top: 4px; text-wrap: pretty; }
.v2 .plan-price { padding: 16px 22px 0; min-height: 70px; }
.v2 .price { display: flex; align-items: baseline; gap: .3rem; }
.v2 .price .amt { font-size: 2.35rem; font-weight: 800; letter-spacing: -.04em; color: var(--dark); line-height: 1; }
.v2 .price .per { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.v2 .price .amt a { font-size: 1.05rem; letter-spacing: 0; font-weight: 700; }
.v2 .price-note { font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.v2 .spec { margin: 14px 22px 0; background: #f4f8fb; border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; align-self: start; }
.v2 .spec[hidden] { display: none; }
.v2 .spec > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .9rem; }
.v2 .spec dt { color: var(--ink); white-space: nowrap; font-size: .88rem; font-weight: 600; }
.v2 .spec dd { font-weight: 800; font-size: 1rem; color: var(--navy); white-space: nowrap; }
.v2 .spec .cap { justify-content: flex-end; }
.v2 .spec .cap dd { font-weight: 600; font-size: .76rem; color: var(--muted); }
.v2 .ticks { list-style: none; display: grid; gap: 6px; margin: 14px 22px 0; font-size: .95rem; font-weight: 700; align-self: start; }
.v2 .ticks li { display: flex; gap: .55rem; align-items: center; }
.v2 .ticks svg { color: var(--green); }
.v2 .plan .cta { padding: 18px 22px 0; align-self: end; }
.v2 .plan .cta .btn { width: 100%; }
.v2 .plan .meta { font-size: .8rem; font-weight: 600; color: var(--muted); text-align: center; padding: 10px 22px 18px; }
.v2 .plan .meta a { color: var(--muted); }
.v2 .plan.rec { border: 2px solid var(--orange); }
.v2 .plan.rec .plan-band { background: #fff4ec; border-radius: 10px 10px 0 0; }
.v2 .tab { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--dark); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .8rem; border-radius: 6px; white-space: nowrap; z-index: 1; }
.v2 .fine { font-size: .8rem; color: var(--muted); margin-top: 18px; max-width: 80em; }
.v2 .plans-intro .fine { font-size: .86rem; margin-top: 4px; }

/* ── Benefit strip, brand navy (Helen, 11 Nov 2026) ── */
.v2 .benefits { padding: 18px 0; }
.v2 .benefits ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-radius: 12px; --line: rgba(255,255,255,.16); box-shadow: 0 10px 28px rgba(0,40,63,.22); }
.v2 .benefits li { display: flex; align-items: center; gap: 12px; padding: 20px 16px; min-width: 0; }
.v2 .benefits li + li { border-left: 1px solid var(--line); }
.v2 .benefits svg { width: 34px; height: 34px; color: var(--cyan); }
.v2 .benefits b { display: block; font-size: 1rem; color: #fff; line-height: 1.25; white-space: nowrap; }
.v2 .benefits span { font-size: .86rem; color: #d5e4ee; white-space: nowrap; }

/* ── How to switch + social carousel ── */
.v2 .switch { padding: 18px 0 46px; }
.v2 .switch-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
.v2 .card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 24px 28px; }
.v2 .steps-card { display: grid; grid-template-columns: .9fr 2.6fr; gap: 24px; align-items: center; }
.v2 .steps-card h2 { font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; color: var(--dark); line-height: 1.1; white-space: nowrap; }
.v2 .steps-card > div > p { color: var(--ink); margin-top: 6px; }
.v2 .steps-card a.more { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; margin-top: 8px; font-weight: 700; text-decoration: none; }
.v2 .steps { list-style: none; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: start; text-align: center; }
.v2 .steps .n { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin: 0 auto 10px; }
.v2 .steps h3 { font-size: .98rem; color: var(--dark); line-height: 1.25; }
.v2 .steps p { font-size: .86rem; color: var(--muted); margin-top: 3px; }
.v2 .steps .arr { color: #7d93a5; margin-top: 10px; }

/* Social links carousel (replaces the quote box until a customer agrees to be quoted; Terry, 17 Nov 2026).
   Plain links, no third-party embeds or scripts. Scroll-snap track; /home-v2.js adds the dots,
   arrows and a slow auto-advance that stops on hover, focus or touch, and never runs with reduced motion. */
.v2 .social { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.v2 .social h2 { font-size: 1.15rem; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
.v2 .social-track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 10px; }
.v2 .social-track::-webkit-scrollbar { display: none; }
.v2 .social-track li { scroll-snap-align: start; min-width: 0; }
.v2 .social-track a { display: grid; grid-template-columns: 48px 1fr; align-items: center; column-gap: 14px; padding: 14px 16px; border-radius: 10px; background: #f4f8fb; text-decoration: none; color: var(--ink); min-height: 84px; }
.v2 .social-track a:hover { background: var(--tint); }
.v2 .social-track a:focus-visible { outline: 3px solid rgba(0,130,202,.45); outline-offset: -3px; }
.v2 .social-track svg { width: 48px; height: 48px; grid-row: span 2; }
.v2 .social-track b { font-size: 1.02rem; color: var(--navy); line-height: 1.2; }
.v2 .social-track span { font-size: .88rem; color: var(--muted); line-height: 1.3; }
.v2 .social-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.v2 .social-nav[hidden] { display: none; }
.v2 .social-nav button { font: inherit; border: 0; background: none; cursor: pointer; color: var(--navy); }
.v2 .social-nav .arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.v2 .social-nav .arrow:hover { background: var(--tint); }
.v2 .social-nav .dot { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; }
.v2 .social-nav .dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b8c7d3; }
.v2 .social-nav .dot[aria-current="true"]::before { background: var(--orange); }
.v2 .social-nav button:focus-visible { outline: 3px solid rgba(0,130,202,.45); outline-offset: 1px; border-radius: 50%; }

/* ── Closing band ── */
.v2 .closing { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: 40px 0 44px; }
.v2 .closing .w { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v2 .closing .wrap { position: relative; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.v2 .closing h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.v2 .closing p { color: #d5e4ee; margin-top: 4px; }
.v2 .closing .txt { text-align: center; }

/* ── Helen's (?) bubbles for tech terms (#406): real buttons, tap or keyboard; /home-v2.js opens them ── */
.v2 .tip { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-left: 6px; vertical-align: 0; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); font: 800 .72rem/1 Inter, sans-serif; cursor: pointer; padding: 0; }
.v2 .tip:hover, .v2 .tip[aria-expanded="true"] { background: var(--blue); color: #fff; }
.v2 .tip:focus-visible { outline: 3px solid rgba(0,130,202,.45); outline-offset: 2px; }
.v2 .meta .tip { margin-left: 4px; }
#tipbox { position: absolute; z-index: 60; max-width: 290px; background: var(--navy); color: #fff; border-radius: 10px; padding: 12px 14px; font-size: .9rem; line-height: 1.45; text-align: left; box-shadow: var(--shadow-lg); }
#tipbox b { display: block; color: var(--yellow); margin-bottom: 2px; }
#tipbox[hidden] { display: none; }

/* ── Motion ── */
.v2 .rise { animation: v2-rise .6s cubic-bezier(.2,.7,.2,1) backwards; }
.v2 .d1 { animation-delay: .05s; } .v2 .d2 { animation-delay: .15s; } .v2 .d3 { animation-delay: .27s; } .v2 .d4 { animation-delay: .38s; }
@keyframes v2-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.v2 .roundel.pop { animation: v2-pop .6s .1s cubic-bezier(.3,1.5,.5,1) backwards; }
@keyframes v2-pop { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) {
  .v2 *, .v2 *::before, .v2 *::after { animation: none !important; transition: none !important; }
  .v2 .swoosh path { stroke-dashoffset: 0; }
  .v2 .social-track { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 1400px) and (min-width: 981px) { .v2 .hero-photo { width: 60%; } }
@media (max-width: 1280px) {
  .v2 .closing .w { display: none; }
}
@media (max-width: 1280px) and (min-width: 981px) {
  .v2 .check { grid-template-columns: auto 1fr; }
  .v2 .check .sq-widget { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .v2 .plans-grid { grid-template-columns: repeat(3, 1fr); column-gap: 16px; }
  .v2 .plans-intro { grid-column: 1 / -1; grid-row: auto; margin-bottom: 30px; }
  .v2 .plan-band, .v2 .plan-price, .v2 .plan .cta, .v2 .plan .meta { padding-left: 16px; padding-right: 16px; }
  .v2 .spec, .v2 .ticks { margin-left: 16px; margin-right: 16px; }
  .v2 .switch-grid { grid-template-columns: 1fr; }
  /* Stacked: heading above the cards, fine print below them (it sits beside them on wide screens) */
  .v2 .plans-intro.split { display: contents; }
  .v2 .plans-intro.split h2 { grid-column: 1 / -1; margin-bottom: 30px; }
  .v2 .plans-intro.split .fine { grid-column: 1 / -1; order: 99; margin-top: 18px; }
}
@media (max-width: 980px) {
  .v2 .hero-photo { position: relative; width: 100%; height: 260px; }
  .v2 .hero-photo::before { background: linear-gradient(180deg, var(--navy) 0%, rgba(0,59,92,0) 40%); }
  .v2 .hero { display: flex; flex-direction: column-reverse; }
  .v2 .hero .wrap { min-height: 0; padding-top: 6px; }
  .v2 .roundel { top: auto; bottom: 84px; right: 16px; width: 150px; height: 150px; border-width: 4px; }
  .v2 .check { grid-template-columns: auto 1fr; }
  .v2 .check .sq-widget { grid-column: 1 / -1; }
  .v2 .steps-card { grid-template-columns: 1fr; }
  .v2 .plans-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .v2 .plan { margin-bottom: 30px; }
  .v2 .benefits ul { grid-template-columns: repeat(2, 1fr); }
  .v2 .benefits li:nth-child(3) { border-left: 0; }
  .v2 .benefits li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .v2 .wrap { padding: 0 16px; }
  .v2 .hero-photo { height: 240px; }
  .v2 .roundel { width: 120px; height: 120px; bottom: 104px; right: auto; left: 8px; transform: rotate(8deg); }
  .v2 .hero .wrap { padding-top: 28px; padding-bottom: 24px; }
  .v2 .hero .sub { font-size: 1.1rem; }
  .v2 .hero-icons { flex-wrap: wrap; row-gap: 16px; }
  .v2 .hero-icons li { width: 50%; padding: 0 8px; }
  .v2 .hero-icons li:nth-child(odd) { border-left: 0; }
  .v2 .check { padding: 18px; gap: 14px; }
  .v2 .check .pin { width: 36px; height: 36px; }
  .v2 .check h2 { font-size: 1.2rem; }
  .v2 .check .sq-btn { font-size: 1.05rem; padding: 0 16px; }
  .v2 .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .v2 .benefits ul { grid-template-columns: 1fr; }
  .v2 .benefits li + li { border-left: 0; border-top: 1px solid var(--line); }
  .v2 .benefits b, .v2 .benefits span { white-space: normal; }
  .v2 .steps { grid-template-columns: 1fr; text-align: left; }
  .v2 .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
  .v2 .steps .n { margin: 0; grid-row: span 2; }
  .v2 .steps .arr { display: none; }
  .v2 .closing .wrap { gap: 20px; }
}
/* Thin phones: buttons never wrap and have a fixed height, so shrink text and padding, then drop the arrow */
@media (max-width: 400px) {
  .v2 .btn-orange { font-size: 1.05rem; padding: 0 16px; gap: .4rem; max-width: 100%; }
  .v2 .spec dt { white-space: normal; }
  .v2 .card { padding: 20px 18px; }
}
@media (max-width: 340px) {
  .v2 .btn-orange svg { display: none; }
}
