@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@500;600;700&display=swap');

:root {
  --bg: #080b10;
  --panel: #101721;
  --line: #283746;
  --accent: #aadaff;
  --fx-accent: #aadaff;
}
header { background: var(--bg); }
h1, h2, h3, .price { font-family: "Instrument Sans", Inter, sans-serif; }
.cinema .k-stage { min-height: min(660px, 100svh); background: #0c1622; }
.cinema-plane, .cinema-shade { position: absolute; inset: 0; pointer-events: none; }
.cinema-plane { bottom: -13%; }
.cinema-image {
  height: 100%;
  background: url('/assets/hero.png') 56% center / cover no-repeat;
  transform: scale(calc(1 + var(--k-p, 0) * .09));
}
.cinema-shade {
  background: linear-gradient(90deg, #080e18f5, #0a1425a8 47%, #0a142526 82%),
    linear-gradient(0deg, #080b10, transparent 38%);
}
.cinema-content {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-block: 54px;
}
.cinema-copy { transform: translateY(calc(var(--k-p, 0) * -38px)); }
.cinema h1 {
  font-size: clamp(52px, 7.8vw, 112px);
  line-height: .98;
  letter-spacing: -.073em;
}
.cinema .intro { max-width: 390px; }
.plans { padding-top: clamp(58px, 8vw, 112px); }
.kit-grid .card { padding: clamp(24px, 4vw, 48px); }
.kit-grid .price { font-size: clamp(44px, 5vw, 64px); }
.features { padding-block: 68px; border-top: 1px solid var(--line); }
.features .card { background: transparent; }
.closer {
  padding: clamp(56px, 9vw, 120px) 0;
  text-align: center;
  background: #101d2a;
}
.closer .actions { justify-content: center; margin-top: 24px; }
.cinema.k-static .k-stage { padding: 0; min-height: min(680px, 90svh); justify-content: center; }
@media (max-width: 760px) {
  .cinema-image { background-position: 66% center; }
  .cinema-shade { background: linear-gradient(0deg, #080b10 6%, #080f1be6 35%, #0e1b2952 100%); }
  .cinema-content { align-items: end; padding-bottom: 64px; }
  .cinema-copy { transform: translateY(calc(var(--k-p, 0) * -18px)); }
  .cinema h1 { font-size: clamp(39px, 10vw, 68px); }
  .features { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-image, .cinema-copy { transform: none; }
}

.cinema .k-stage { min-height: 560px; }
.cinema-shade {
  background: linear-gradient(180deg, #080b1066, #080b1044 25%, #080b10e8 78%, #080b10);
}
.cinema-content {
  align-items: end;
  justify-content: center;
  padding-block: 35px clamp(32px, 6vh, 68px);
}
.cinema-copy { width: min(100%, 850px); text-align: center; }
.cinema h1 { font-size: clamp(38px, 6vw, 78px); }
.cinema .intro { max-width: 540px; margin: 16px auto 20px; }
.hero-availability { width: min(100%, 620px); margin-inline: auto; text-align: left; scroll-margin-block-start: 24px; }
.hero-availability p { color: var(--muted); font-size: 14px; margin: 10px 0; }
.hero-availability .coverage-fields input { background: #0b1019eb; }
.plan-link { display: inline-block; margin-top: 18px; color: var(--accent); }
@media (max-height: 620px) {
  .cinema .k-stage { position: relative; height: auto; }
  .cinema-content { min-height: 560px; }
  .cinema-copy { transform: none; }
}

.use-cases {
  padding-block: clamp(60px, 9vw, 116px);
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 75% 0%, #14253a88, transparent 55%);
}
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 30px;
}
.use-case {
  --signal: #aadaff;
  background: #101721;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.use-copy { padding: 24px; }
.use-copy h3 { font-size: clamp(24px, 3vw, 33px); }
.use-copy p { margin: 10px 0 0; color: var(--muted); }
.use-art {
  display: grid;
  position: relative;
  place-items: center;
  height: 170px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at center, #23496b, transparent 72%), #0a121e;
}
.use-art i {
  position: absolute;
  width: 98px;
  aspect-ratio: 1;
  border: 1px solid var(--signal);
  border-radius: 50%;
  opacity: 0;
}
.use-case.is-in .use-art i { animation: use-signal 4s ease-out infinite; }
.use-case.is-in .use-art i:nth-of-type(2) { animation-delay: .8s; }
.use-case.is-in .use-art i:nth-of-type(3) { animation-delay: 1.6s; }
.use-mark {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 60px;
  border: 2px solid var(--signal);
  border-radius: 12px;
  background: linear-gradient(145deg, #1b374e, #0a1827);
  color: #e7f6ff;
  box-shadow: 0 0 24px #65bdff56;
  font-size: 28px;
  line-height: 1;
}
.use-case.is-in .use-mark { animation: use-float 5s ease-in-out infinite; }
.use-case--remote .use-mark::before { content: ">_"; font-family: monospace; }
.use-case--travel { --signal: #83e8ff; }
.use-case--travel .use-mark { width: 49px; height: 76px; border-radius: 14px; }
.use-case--travel .use-mark::before { content: "5G"; font-size: 17px; font-weight: 700; }
.use-case--gaming { --signal: #a6bfff; }
.use-case--gaming .use-mark { width: 91px; height: 45px; border-radius: 26px; }
.use-case--gaming .use-mark::before { content: "+  ••"; }
.use-case--calls .use-mark::before { content: "▶"; }
.use-case--home .use-mark { width: 57px; height: 76px; }
.use-case--home .use-mark::before { content: "⌂"; }
.use-case--backup { --signal: #82efd7; }
.use-case--backup .use-mark { width: 64px; height: 65px; border-radius: 20px; }
.use-case--backup .use-mark::before { content: "ϟ"; }
.use-case--backup .use-art { background: radial-gradient(ellipse at center, #1e534e, transparent 72%), #0a141c; }
@keyframes use-signal {
  0% { transform: scale(.65); opacity: .58; }
  85%, 100% { transform: scale(2.2); opacity: 0; }
}
@keyframes use-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (max-width: 900px) { .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .use-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .use-case.is-in .use-mark, .use-case.is-in .use-art i { animation: none; }
}

.feature-stories { display: grid; gap: clamp(32px, 7vw, 96px); margin-bottom: 44px; }
.feature-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.feature-story--reverse .story-visual { grid-column: 1; grid-row: 1; }
.feature-story--reverse .story-copy { grid-column: 2; grid-row: 1; }
.story-copy h2 { font-size: clamp(40px, 6vw, 86px); line-height: .91; }
.story-copy p, .story-copy ul { color: var(--muted); }
.story-copy ul { padding-inline-start: 20px; }
.story-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 30%, #193b56, #0c1520 74%);
}
.story-readout { display: grid; justify-items: center; text-align: center; font-variant-numeric: tabular-nums; }
.story-readout small { color: var(--muted); }
.story-readout strong { font-size: clamp(38px, 7vw, 72px); line-height: 1.08; letter-spacing: -.06em; }
.story-readout strong span { font-size: .4em; letter-spacing: 0; }
.story-readout b { color: var(--accent); }
.gateway-signal { display: grid; position: relative; place-items: center; isolation: isolate; }
.gateway-signal img { position: relative; width: 150px; height: 150px; object-fit: contain; }
.gateway-signal span {
  position: absolute;
  width: 95px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: .22;
}
.feature-story.is-in .gateway-signal span { animation: gateway-wave 3s ease-out infinite; }
.feature-story.is-in .gateway-signal span:nth-child(2) { animation-delay: .7s; }
.feature-story.is-in .gateway-signal span:nth-child(3) { animation-delay: 1.4s; }
@keyframes gateway-wave { from { transform: scale(.75); opacity: .7; } to { transform: scale(2.85); opacity: 0; } }
.billing-visual { background: radial-gradient(ellipse at 50% 95%, #153a50, #0c1520 74%); }
@media (max-width: 760px) {
  .feature-story { grid-template-columns: 1fr; }
  .feature-story--reverse .story-copy, .feature-story--reverse .story-visual { grid-column: auto; grid-row: auto; }
  .story-visual { min-height: 270px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-story.is-in .gateway-signal span { animation: none; }
}
/* Landing page */
.orbit-hero .k-stage {
  position: relative;
  display: grid;
  min-height: clamp(590px, 78svh, 820px);
  isolation: isolate;
  overflow: hidden;
}

.orbit-hero .cinema-plane {
  bottom: 0;
  transform: none;
}

.orbit-hero .cinema-image {
  transform: scale(calc(1.01 + var(--hero-travel, 0) * .08));
}

.orbit-hero .cinema-shade {
  background: linear-gradient(180deg, #080b1060, #080b1030 30%, #080b10d9 70%, var(--bg));
}

.orbit-hero .cinema-content {
  z-index: 1;
  align-items: end;
  padding-block: 210px clamp(44px, 7vh, 90px);
}

.orbit-hero .cinema-copy {
  width: min(100%, 1040px);
  transform: none;
}

.orbit-hero h1 {
  font-size: clamp(2.65rem, 8.5vw, 8rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .88;
  margin-bottom: 30px;
}

.orbit-hero h1 span, .orbit-hero h1 em { display: block; }
.orbit-hero h1 em { color: var(--accent); font-style: normal; }

.hero-orbits {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 950px;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 20%, #000 60%, transparent 96%);
}

.orbit-plane {
  position: relative;
  width: min(1120px, 108vw);
  aspect-ratio: 1.7;
  transform: translateY(-13%) rotateX(calc(48deg + var(--hero-travel, 0) * 22deg)) rotateZ(-22deg);
}

.orbit-plane i {
  position: absolute;
  inset: 2%;
  border: 1px solid #aadaff75;
  border-radius: 50%;
  box-shadow: 0 0 22px #75b4ff48, inset 0 0 18px #75b4ff2e;
  background: conic-gradient(from var(--orbit-angle), transparent 52%, #73c1ff3b 88%, #c9ebff8a 96%, transparent 100%) border-box;
  mask-image: radial-gradient(ellipse at center, transparent 60%, #000 78%);
  animation: orbital-sweep 11s linear infinite;
}

.orbit-plane i:nth-child(2) { inset: 13%; animation-delay: -4s; }
.orbit-plane i:nth-child(3) { inset: 24%; animation-delay: -7s; }
@property --orbit-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes orbital-sweep { to { --orbit-angle: 360deg; } }

.use-cases h2 {
  font-size: clamp(2.75rem, 8vw, 7.75rem);
  line-height: .92;
  letter-spacing: -.07em;
  max-width: 11ch;
  margin-block: 0 clamp(26px, 5vw, 64px);
}

.use-case {
  border-radius: 8px;
  transition: border-color .25s ease, background-color .25s ease;
}

.use-case:hover { border-color: var(--signal, var(--accent)); }
.use-copy p { max-width: 36ch; }

.motion-ready [data-scroll-fill] {
  background: linear-gradient(110deg, #eaf5ff 0 var(--text-fill, 100%), #90a7c3 var(--text-fill, 100%) 100%);
  background-clip: text;
  color: transparent;
}

@media (max-width: 600px) {
  .orbit-hero .k-stage { min-height: 560px; }
  .orbit-hero .cinema-content { padding-block-start: 190px; }
  .orbit-plane { width: 160vw; transform-origin: center; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-plane i { animation: none; }
  .orbit-hero .cinema-image { transform: none; }
}

@media (forced-colors: active) {
  .motion-ready [data-scroll-fill] { color: CanvasText; }
}
.speed-visual small { color: var(--muted); }
.speed-dial { position: relative; width: min(100%, 275px); }
.speed-dial svg { display: block; width: 100%; height: auto; }
.speed-dial path { fill: none; stroke-width: 6; stroke-linecap: round; }
.speed-track { stroke: #34495d; }
.speed-arc {
  stroke: var(--speed-color, #83dfff);
  stroke-dasharray: var(--speed-fill, 100) 100;
}
.speed-dial .story-readout { position: absolute; inset: auto 0 4%; }
.speed-dial strong { font-size: clamp(32px, 6vw, 54px); }
.speed-results {
  width: min(100%, 310px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 10px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.speed-results dt { font-size: .86rem; color: var(--muted); }
.speed-results dd { margin: 2px 0 0; font-weight: 700; }
.speed-toggle {
  padding: 5px 11px;
  color: var(--accent);
  background: transparent;
  border: 1px solid #7596ac;
  border-radius: 8px;
}
.billing-screens { width: 100%; }
.billing-benefits {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.billing-benefits li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  text-align: center;
}
.billing-benefits li span {
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 18px #79c4ff82;
}
.billing-visual .story-readout { margin-top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .billing-visual.is-in .billing-screens,
  .billing-visual.is-in .billing-benefits {
    display: grid;
    min-height: 180px;
  }
  .billing-visual.is-in .billing-benefits,
  .billing-visual.is-in .billing-benefits li,
  .billing-visual.is-in .story-readout { grid-area: 1 / 1; }
  .billing-visual.is-in .billing-benefits li {
    flex-direction: column;
    gap: 4px;
    font-size: clamp(22px, 3vw, 36px);
    animation: billing-screen 10s ease var(--screen-delay, 0s) infinite;
  }
  .billing-visual.is-in .billing-benefits li span {
    font-size: clamp(72px, 12vw, 112px);
    line-height: .78;
  }
  .billing-visual.is-in .billing-benefits li:nth-child(2) { --screen-delay: -8.5s; }
  .billing-visual.is-in .billing-benefits li:nth-child(3) { --screen-delay: -7s; }
  .billing-visual.is-in .billing-benefits li:nth-child(4) { --screen-delay: -5.5s; }
  .billing-visual.is-in .story-readout {
    align-self: center;
    margin: 0;
    animation: billing-price 10s ease-out -4s infinite;
  }
}
@keyframes billing-screen {
  0% { transform: scale(.84); opacity: 0; visibility: hidden; }
  2.7%, 12.9% { transform: scale(1); opacity: 1; visibility: visible; }
  15%, 100% { transform: scale(1.03); opacity: 0; visibility: hidden; }
}
@keyframes billing-price {
  0% { transform: translateY(14px); opacity: 0; visibility: hidden; }
  3.5%, 37% { transform: translateY(0); opacity: 1; visibility: visible; }
  40%, 100% { opacity: 0; visibility: hidden; }
}
.usage-visual .story-readout strong span {
  font-size: inherit;
  letter-spacing: inherit;
}
.usage-visual .story-readout strong {
  font-size: clamp(27px, 6vw, 66px);
  overflow-wrap: anywhere;
}
.returning-menu {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9;
  width: 100%;
  min-height: 58px;
  padding: 10px 18px;
  justify-content: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.returning-menu nav { width: auto; justify-content: center; flex-wrap: wrap; }
html:has(.returning-menu) { scroll-padding-top: var(--returning-menu-height, 0px); }
