﻿:root {
  --bg-0: #050913;
  --bg-1: #0a1120;
  --bg-2: #111d34;
  --text: #f4f8ff;
  --muted: #9fb1cc;
  --primary: #3ee1bc;
  --primary-2: #6fc8ff;
  --warm: #ffd395;
  --success: #9fffd8;
  --warning: #ffe8b5;
  --danger: #ffadad;
  --surface: rgba(16, 27, 48, 0.62);
  --surface-strong: rgba(10, 18, 34, 0.84);
  --shadow-lg: 0 22px 60px rgba(3, 8, 18, 0.45);
  --shadow-md: 0 14px 36px rgba(4, 10, 22, 0.32);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --font-main: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-main);
  font-optical-sizing: auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #070c14 0%, #0b111b 48%, #060a11 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(220, 235, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 235, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

.scene-3d-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  pointer-events: none;
  opacity: 0.9;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 0 24px;
}

.page-main {
  flex: 1;
  margin-top: 16px;
}

.access-journey-page .page-main {
  margin-top: 6px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.nav-button,
.button {
  min-height: 46px;
  border-radius: 999px;
  border: none;
  padding: 0 18px;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

.nav-button,
.button-secondary {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.nav-button-primary,
.button-primary {
  color: #081123;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-2) 50%, var(--warm));
  box-shadow: 0 16px 30px rgba(62, 225, 188, 0.27);
}

.button:hover,
.nav-button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.site-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(2.15rem, 5.4vw, 4.6rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 1.18rem;
}

.mini-label,
.eyebrow {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(62, 225, 188, 0.12);
}

.mini-label-live {
  color: #bef9e9;
  background: rgba(62, 225, 188, 0.16);
  box-shadow: 0 0 0 1px rgba(62, 225, 188, 0.22) inset;
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 24px;
  align-items: start;
}

.landing-copy {
  animation: fade-up 0.75s ease both;
}

.landing-copy p {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row-premium span {
  min-height: 62px;
  min-width: 160px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-md);
}

.trust-row-premium b {
  font-size: 0.95rem;
}

.trust-row-premium small {
  color: var(--muted);
  font-size: 0.78rem;
}

.landing-stage {
  border-radius: var(--radius-xl);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.orbital-scene {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background: transparent;
  box-shadow: none;
}

.orbital-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(193, 219, 255, 0.42);
}

.ring-a {
  width: 168px;
  height: 168px;
  animation: spin 8.5s linear infinite;
}

.ring-b {
  width: 118px;
  height: 118px;
  border-style: dashed;
  animation: spin 6.4s linear infinite reverse;
}

.ring-c {
  width: 210px;
  height: 210px;
  opacity: 0.4;
  animation: pulse-ring 4.2s ease-in-out infinite;
}

.access-shield {
  position: absolute;
  width: 78px;
  height: 92px;
  clip-path: polygon(50% 0%, 90% 16%, 90% 56%, 50% 100%, 10% 56%, 10% 16%);
  background: linear-gradient(170deg, rgba(62, 225, 188, 0.42), rgba(111, 200, 255, 0.24));
  box-shadow: 0 0 28px rgba(62, 225, 188, 0.32);
  animation: shield-bob 3.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.pricing-sheet {
  padding: 20px;
  margin-top: 10px;
  border-radius: var(--radius-xl);
  background: transparent;
  box-shadow: none;
}

.pricing-head {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 10px;
}

.pricing-head span {
  color: var(--primary);
  font-size: 0.9rem;
}

.pricing-cards {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.pricing-card {
  border-radius: 16px;
  padding: 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title price"
    "note note";
  gap: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-card strong {
  grid-area: title;
}

.pricing-card span {
  grid-area: price;
  color: var(--primary);
  font-weight: 700;
}

.pricing-card small {
  grid-area: note;
  color: var(--muted);
}

.pricing-card-featured {
  background: linear-gradient(145deg, rgba(62, 225, 188, 0.22), rgba(111, 200, 255, 0.12));
}

.pricing-card-link {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  animation: tariff-in 0.75s ease both;
}

.pricing-card-link[data-card-index="1"] {
  animation-delay: 0.04s;
}

.pricing-card-link[data-card-index="2"] {
  animation-delay: 0.14s;
}

.pricing-card-link[data-card-index="3"] {
  animation-delay: 0.24s;
}

.pricing-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(62, 225, 188, 0.16);
}

.referral-note {
  margin-top: 10px;
  color: #bff8e8;
  font-size: 0.92rem;
}

.access-flow {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: linear-gradient(165deg, rgba(16, 27, 48, 0.78), rgba(8, 14, 27, 0.88));
  box-shadow: var(--shadow-lg);
}

.access-journey-page .site-header {
  min-height: 56px;
  justify-content: space-between;
}

.access-journey-page .access-home-link {
  margin-left: auto;
}

.access-journey-page .brand {
  margin: 0;
}

.access-journey {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: transparent;
  box-shadow: none;
  display: grid;
  gap: 14px;
}

.access-journey-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.access-journey-hint {
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
}

.journey-scroll-cue {
  width: 44px;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.journey-scroll-cue-mobile {
  display: none;
  width: 68px;
  gap: 8px;
}

.journey-mouse {
  width: 24px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid rgba(192, 218, 255, 0.65);
  display: grid;
  justify-items: center;
  padding-top: 7px;
}

.journey-wheel {
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: rgba(111, 200, 255, 0.95);
  animation: cue-wheel 1.5s ease-in-out infinite;
}

.journey-chevron {
  width: 12px;
  height: 14px;
  position: relative;
  top: 0;
  animation: cue-chevron 1.5s ease-in-out infinite;
}

.journey-chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(170, 203, 246, 0.9);
  border-bottom: 2px solid rgba(170, 203, 246, 0.9);
  transform: translateX(-50%) rotate(45deg);
}

.journey-swipe-track {
  width: 58px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(176, 207, 245, 0.58);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px;
  display: flex;
  align-items: center;
}

.journey-swipe-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(62, 225, 188, 0.95), rgba(111, 200, 255, 0.92));
  box-shadow: 0 0 12px rgba(111, 200, 255, 0.45);
  animation: cue-swipe-dot 1.8s ease-in-out infinite;
}

.journey-swipe-arrows {
  width: 26px;
  height: 10px;
  position: relative;
}

.journey-swipe-arrows::before,
.journey-swipe-arrows::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(170, 203, 246, 0.9);
  border-right: 2px solid rgba(170, 203, 246, 0.9);
  transform: translateY(-50%) rotate(45deg);
}

.journey-swipe-arrows::before {
  left: 1px;
  transform: translateY(-50%) rotate(-135deg);
}

.journey-swipe-arrows::after {
  right: 1px;
}

.access-journey-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: min(56vh, 500px);
  background: transparent;
  box-shadow: none;
  touch-action: none;
}

.access-journey-viewport::before,
.access-journey-viewport::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(194, 232, 255, 0.68);
  border-right: 2px solid rgba(194, 232, 255, 0.68);
  pointer-events: none;
}

.access-journey-viewport::before {
  left: 12px;
  transform: translateY(-50%) rotate(-135deg);
}

.access-journey-viewport::after {
  right: 12px;
  transform: translateY(-50%) rotate(45deg);
}

.access-journey-track {
  height: 100%;
  transition: transform 0.52s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.journey-screen {
  min-height: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.journey-screen h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.journey-screen p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.journey-app-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(640px, 100%);
}

.journey-app-link {
  min-height: 52px;
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journey-app-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(5, 12, 24, 0.36);
}

.journey-app-link-wide {
  grid-column: 1 / -1;
}

.journey-dots {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.journey-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.journey-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.journey-nav {
  min-height: 46px;
  border: 1px solid rgba(194, 232, 255, 0.16);
  border-radius: 12px;
  padding: 0 14px;
  display: none;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  font: 700 0.9rem/1 var(--font-main);
  background: rgba(255, 255, 255, 0.075);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.journey-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(200, 221, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.journey-dot.is-active {
  transform: scale(1.2);
  background: linear-gradient(145deg, var(--primary), var(--primary-2));
}

.journey-modal-card {
  width: min(760px, 100%);
  max-height: min(84vh, 780px);
  overflow-y: auto;
}

@keyframes cue-wheel {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  45% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@keyframes cue-chevron {
  0%,
  100% {
    opacity: 0.3;
    top: 0;
  }

  50% {
    opacity: 1;
    top: 4px;
  }
}

@keyframes cue-swipe-dot {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(36px);
  }
}

.access-flow-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.steps-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  animation: card-pop 0.7s ease both;
}

.step-card-1 {
  animation-delay: 0.04s;
}

.step-card-2 {
  animation-delay: 0.14s;
}

.step-card-3 {
  animation-delay: 0.24s;
}

.step-index {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.78rem;
  color: #c5f4e8;
  background: rgba(62, 225, 188, 0.14);
}

.step-card h2 {
  margin-top: 10px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.step-apps {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.step-apps a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.06);
}

.notice {
  min-height: 44px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: #ffd8d8;
  background: rgba(255, 173, 173, 0.16);
}

.notice-soft {
  color: #ffe8ba;
  background: rgba(255, 232, 181, 0.14);
}

.notice-success {
  color: var(--success);
  background: rgba(159, 255, 216, 0.14);
}

.dashboard-modern {
  display: grid;
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 16px;
  align-items: stretch;
}

.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
}

.dashboard-top-period {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  align-items: stretch;
}

.dashboard-greeting {
  border-radius: var(--radius-xl);
  padding: 18px 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
}

.dashboard-greeting h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.dashboard-subline {
  margin-top: 8px;
  color: var(--muted);
}

.subscription-spot {
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
  background: linear-gradient(160deg, rgba(17, 31, 55, 0.84), rgba(8, 14, 26, 0.9));
  box-shadow: var(--shadow-md);
}

.subscription-spot span {
  color: var(--muted);
}

.subscription-spot strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.period-card {
  gap: 14px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 34px rgba(5, 11, 22, 0.22);
  min-width: 0;
  display: grid;
}

.period-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.period-card-head span:first-child {
  color: var(--muted);
}

.period-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.period-days-highlight {
  min-height: 96px;
  border-radius: 16px;
  padding: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.period-days-highlight::after {
  content: none;
}

.period-days-highlight strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 2.9rem);
  line-height: 1;
  color: var(--primary);
}

.period-days-highlight small {
  display: block;
  margin-top: 4px;
  color: rgba(62, 225, 188, 0.85);
  font-size: 0.86rem;
}

.period-meta p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.period-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.period-modal-card {
  width: min(760px, 100%);
}

.connect-priority-journey .connect-priority-head {
  justify-content: flex-start;
}

.connect-priority-journey {
  background: transparent;
  box-shadow: none;
}

.journey-steps-two {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: start;
}

.journey-step-card {
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 10px;
  min-width: 0;
  align-self: start;
}

.journey-step-card h3 {
  margin: 0;
}

.journey-step-card .step-index {
  justify-self: start;
  align-self: start;
}

.dashboard-logout-link {
  color: var(--muted);
}

.rules-page .site-footer {
  justify-content: center;
}

.rules-page .rules-card {
  background: transparent;
  box-shadow: none;
}

.connect-priority,
.plans-modern,
.quick-access-hero,
.quick-access-card,
.quick-access-config,
.rules-card,
.auth-card,
.config-card,
.account-card,
.login-card {
  border-radius: var(--radius-xl);
  padding: 20px;
  background: linear-gradient(165deg, rgba(16, 27, 48, 0.78), rgba(8, 14, 27, 0.88));
  box-shadow: var(--shadow-lg);
}

.connect-priority.connect-priority-journey {
  background: transparent;
  box-shadow: none;
  padding: 20px;
}

.connect-priority-head,
.plans-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.connect-priority-head p,
.plans-head p,
.quick-access-caption,
.rules-list p,
.auth-card p,
.checkout-note {
  color: var(--muted);
}

.device-steps {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.device-step-block {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.device-step-block h3 {
  margin-top: 8px;
}

.device-options {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.device-option {
  min-height: 42px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
}

.device-option-active {
  background: linear-gradient(145deg, rgba(62, 225, 188, 0.25), rgba(111, 200, 255, 0.16));
}

.device-option-wide {
  grid-column: 1 / -1;
}

.config-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  min-height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(62, 225, 188, 0.14);
}

.config-actions,
.checkout-actions,
.quick-access-inline-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-access-inline-actions-centered {
  justify-content: center;
}

pre {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(5, 10, 19, 0.7);
  color: #cbffef;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.site-config-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.site-config-item {
  display: grid;
  gap: 8px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.site-config-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.site-config-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.site-config-item h4 {
  margin: 0;
  font-size: 0.98rem;
}

.site-config-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.config-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(62, 225, 188, 0.45);
  text-underline-offset: 3px;
}

.config-link-monospace {
  display: block;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(5, 10, 19, 0.7);
  color: #cbffef;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-height: 82px;
  overflow-y: auto;
}

.plans-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-tile {
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
}

.plan-tile input {
  display: none;
}

.plan-tile span {
  color: var(--primary);
  font-weight: 700;
}

.plan-tile small {
  color: var(--muted);
}

.plan-tile-featured,
.plan-tile-active {
  background: linear-gradient(145deg, rgba(62, 225, 188, 0.24), rgba(111, 200, 255, 0.12));
}

.checkout-status {
  margin-top: 10px;
}

.checkout-status-muted {
  color: var(--muted);
}

.checkout-status-success {
  color: var(--success);
}

.checkout-status-warning {
  color: var(--warning);
}

.checkout-status-error {
  color: #ffd4d4;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 10, 20, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(16, 28, 50, 0.96), rgba(9, 16, 30, 0.96));
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.simple-page,
.quick-access-page {
  display: grid;
  gap: 14px;
}

.quick-access-status {
  margin-top: 8px;
}

.quick-access-status-muted {
  color: var(--muted);
}

.quick-access-status-success {
  color: var(--success);
}

.quick-access-status-warning {
  color: var(--warning);
}

.quick-access-status-error {
  color: #ffd4d4;
}

.quick-access-grid,
.config-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-access-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

.device-instruction-panel {
  margin-top: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.quick-access-apps {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.quick-access-app-link {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
}

.quick-access-config-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.journey-modal-card .quick-access-config-head {
  margin-bottom: 14px;
  padding-right: 34px;
  justify-content: center;
  text-align: center;
}

.journey-modal-card .quick-access-inline-actions-centered {
  width: 100%;
}

.journey-modal-card .config-link-monospace,
.quick-access-config .config-link-monospace {
  margin-top: 12px;
}

.not-found-page {
  min-height: min(520px, calc(100vh - 220px));
  display: grid;
  place-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.not-found-copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 520px;
}

.not-found-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.rules-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

[data-static-card] {
  animation: soft-rise 0.65s ease both;
}

[data-tilt-card] {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tariff-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(4vw, 2vw, 0);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-3vw, -2vw, 0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.03);
    opacity: 0.55;
  }
}

@keyframes shield-bob {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: translateY(-7px) rotateX(10deg) rotateY(-8deg);
  }
}

@media (max-width: 1024px) {
  .landing,
  .steps-grid,
  .dashboard-summary,
  .dashboard-top,
  .not-found-page,
  .device-steps,
  .plans-grid,
  .quick-access-grid,
  .config-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.92rem;
  }

  .journey-app-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-top-period,
  .period-visual,
  .journey-steps-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1200px);
  }

  .home-page .site-header {
    justify-content: center;
    text-align: center;
  }

  .home-page .brand {
    width: 100%;
    justify-content: center;
  }

  .site-nav {
    display: none;
  }

  .home-page .mini-label,
  .home-page .landing-copy h1,
  .home-page .referral-note {
    display: none;
  }

  .home-page .landing-copy p {
    display: block;
    width: 100%;
    margin: 0 auto 14px;
    padding: 0 10px;
    max-width: 100%;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 5.7vw, 1.28rem);
    font-weight: 700;
    line-height: 1.18;
    text-wrap: balance;
    text-align: center;
    color: var(--text);
    background: transparent;
    border: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    overflow-wrap: anywhere;
    backdrop-filter: none;
  }

  .home-page .landing-copy p::before {
    content: none;
  }

  .home-page .hero-actions {
    margin-top: 0;
  }

  .home-page .hero-actions .button {
    width: 100%;
  }

  .home-page .trust-row.trust-row-premium {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    overflow: visible;
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 0;
  }

  .home-page .trust-row-premium span {
    min-width: 0 !important;
    width: auto;
    flex: 1 1 0;
    min-height: 50px;
    padding: 8px 7px;
    border-radius: 12px;
    text-align: center;
    box-shadow: none;
  }

  .home-page .trust-row-premium b {
    font-size: 0.82rem;
  }

  .home-page .trust-row-premium small {
    font-size: 0.72rem;
  }

  .home-page .landing-stage {
    margin-top: 8px;
  }

  .home-page .orbital-scene {
    display: none;
  }

  .home-page .landing-copy,
  .home-page .pricing-card-link {
    animation: none;
  }

  .hero-actions .button,
  .config-actions .button,
  .checkout-actions .button,
  .quick-access-inline-actions,
  .quick-access-inline-actions .button,
  .device-options {
    width: 100%;
  }

  .access-flow,
  .landing-stage,
  .connect-priority,
  .plans-modern,
  .quick-access-hero,
  .quick-access-card,
  .quick-access-config,
  .rules-card,
  .modal-card {
    padding: 16px;
    border-radius: 18px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .home-page .site-footer {
    align-items: center;
    text-align: center;
  }

  .home-page .site-footer span {
    display: none;
  }

  .dashboard-page .site-header {
    justify-content: center;
    text-align: center;
  }

  .dashboard-page .site-nav {
    display: none;
  }

  .dashboard-page .brand {
    margin: 0 auto;
  }

  .dashboard-page .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .rules-page .site-header {
    justify-content: center;
    text-align: center;
  }

  .rules-page .site-nav {
    display: none;
  }

  .rules-page .brand {
    margin: 0 auto;
  }

  .rules-page .site-footer {
    align-items: center;
    text-align: center;
  }


  .access-journey-page .site-header {
    justify-content: center;
    text-align: center;
  }

  .access-journey-page .access-home-link {
    display: none;
  }

  .access-journey-page .brand {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .access-journey {
    padding: 10px 14px 14px;
    gap: 10px;
  }

  .scene-3d-canvas {
    opacity: 0.78;
  }

  .access-journey-head h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .access-journey-hint {
    display: none !important;
  }

  .journey-scroll-cue-desktop {
    display: none;
  }

  .journey-scroll-cue-mobile {
    display: grid;
  }

  .access-journey-viewport {
    height: min(54vh, 400px);
    min-height: 318px;
    overflow: hidden;
    touch-action: pan-y;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 0 0 1px rgba(194, 232, 255, 0.08);
  }

  .access-journey-viewport::before,
  .access-journey-viewport::after {
    display: none;
  }

  .access-journey-track {
    display: flex;
    gap: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.52s cubic-bezier(0.22, 0.8, 0.25, 1);
  }

  .journey-screen {
    min-width: 100%;
    width: 100%;
    min-height: 100%;
    flex: 0 0 100%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .journey-screen {
    padding: 14px;
    gap: 10px;
  }

  .journey-screen h2 {
    max-width: 100%;
    font-size: clamp(0.96rem, 4.4vw, 1.14rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .journey-screen p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .journey-app-link {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .journey-dots {
    display: grid;
    width: 100%;
    margin-top: 2px;
  }

  .journey-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(82px, 1fr) auto minmax(82px, 1fr);
    align-items: center;
    gap: 8px;
  }

  .journey-nav {
    display: inline-flex;
  }

  .journey-nav:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .journey-nav:disabled {
    opacity: 0.38;
    cursor: default;
  }

  .journey-dots-row {
    gap: 2px;
  }

  .journey-dot {
    position: relative;
    width: 32px;
    height: 46px;
    display: grid;
    place-items: center;
    background: transparent;
    transform: none;
  }

  .journey-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(200, 221, 255, 0.42);
    transition: width 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .journey-dot.is-active {
    background: transparent;
    transform: none;
  }

  .journey-dot.is-active::after {
    width: 22px;
    background: linear-gradient(145deg, var(--primary), var(--primary-2));
    box-shadow: 0 0 14px rgba(111, 200, 255, 0.35);
  }

  .journey-modal-card {
    max-height: min(86vh, 620px);
    padding: 14px;
  }

  .access-journey-page .site-footer {
    align-items: center;
    text-align: center;
  }

  .access-journey-page .site-footer span {
    display: none;
  }

  .not-found-page {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .not-found-panel {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  body.home-page .landing-copy {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.home-page .landing-copy p {
    max-width: calc(100vw - 32px) !important;
    padding: 0 8px !important;
    font-size: clamp(1rem, 5.4vw, 1.22rem) !important;
  }

  body.home-page .trust-row.trust-row-premium {
    display: block !important;
    width: 100%;
    max-width: calc(100vw - 18px);
    overflow: hidden;
  }

  body.home-page .trust-row.trust-row-premium span {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 8px;
  }
}
