/* Shared static-host overrides. The app's elegant serif (New York on iOS) is
   represented on the web by Source Serif 4, including all supporting UI text. */
@font-face {
  font-family: "Analyst Elegant";
  src: url("/assets/_vinext_fonts/source-serif-4-4d5301438b31/source-serif-4-f81edfa3.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 200 900;
}

html,
body {
  --font-analyst-serif: "Analyst Elegant", "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif !important;
  --font-geist-sans: var(--font-analyst-serif) !important;
  --font-geist-mono: var(--font-analyst-serif) !important;
  --font-body: var(--font-analyst-serif) !important;
  --font-display: var(--font-analyst-serif) !important;
  font-family: var(--font-analyst-serif) !important;
}

button,
input,
textarea,
select,
option {
  font-family: inherit !important;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

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

.breadcrumbs a:hover { color: var(--text-primary); }
.breadcrumbs [aria-current="page"] { color: rgba(247, 248, 250, 0.82); }
.breadcrumbs .breadcrumb-separator { opacity: 0.45; }

.not-found-page {
  display: grid;
  min-height: calc(100vh - 190px);
  padding: 52px clamp(24px, 7vw, 110px) 80px;
  place-content: center;
  text-align: center;
}

.not-found-page .breadcrumbs { justify-content: center; }
.not-found-page .section-label { justify-content: center; }
.not-found-page h1 { margin: 18px 0 14px; font-size: clamp(58px, 12vw, 128px); line-height: 0.9; }
.not-found-page > p { max-width: 560px; margin: 0 auto 30px; color: var(--text-muted); font-size: 18px; line-height: 1.65; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.not-found-actions a { text-decoration: none; }

/* Static HTML redesign: the next-rep system is a glass workflow, not a dashboard screenshot. */
.offer-machine {
  position: relative;
  gap: 72px;
}

.offer-machine::before {
  position: absolute;
  top: 12%;
  right: -10%;
  width: 58%;
  height: 72%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 128, 255, 0.16), transparent 68%);
  content: "";
  filter: blur(30px);
  pointer-events: none;
}

.offer-copy {
  position: relative;
  z-index: 2;
}

.machine-list {
  gap: 12px;
  margin-top: 34px;
}

.machine-list article {
  position: relative;
  min-height: 142px;
  padding: 18px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 128, 255, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(247, 248, 250, 0.025) 54%),
    rgba(8, 11, 15, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 42px rgba(0, 0, 0, 0.2);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.machine-list article::after {
  position: absolute;
  right: -34px;
  bottom: -52px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(132, 230, 246, 0.2);
  border-radius: 50%;
  content: "";
  opacity: 0.6;
}

.machine-list article:hover {
  border-color: rgba(132, 230, 246, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 22px 52px rgba(0, 0, 0, 0.28), 0 0 34px rgba(47, 128, 255, 0.1);
  transform: translateY(-3px);
}

.machine-icon {
  position: relative;
  z-index: 1;
  border-color: rgba(132, 230, 246, 0.28);
  background: linear-gradient(145deg, rgba(132, 230, 246, 0.18), rgba(47, 128, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 26px rgba(47, 128, 255, 0.12);
}

.machine-list article h3,
.machine-list article p {
  position: relative;
  z-index: 1;
}

.next-step-visual.dashboard-panel {
  position: relative;
  display: block;
  height: 590px;
  min-height: 590px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 42%, rgba(47, 128, 255, 0.24), transparent 33%),
    radial-gradient(circle at 78% 12%, rgba(25, 179, 138, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(247, 248, 250, 0.035) 42%),
    rgba(7, 10, 14, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 34px 100px rgba(0, 0, 0, 0.52),
    0 0 70px rgba(47, 128, 255, 0.14);
  -webkit-mask-image: none;
  mask-image: none;
  transform: none;
  backdrop-filter: blur(24px) saturate(1.3);
}

.next-step-visual.dashboard-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 76%);
  opacity: 0.58;
  pointer-events: none;
}

.next-step-visual-topline,
.next-step-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.next-step-visual-topline {
  color: var(--text-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-step-visual-topline strong {
  color: var(--positive);
}

.next-step-orbit {
  position: relative;
  width: min(100%, 470px);
  height: 408px;
  margin: 22px auto 0;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(132, 230, 246, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-one {
  width: 268px;
  height: 268px;
  box-shadow: 0 0 46px rgba(47, 128, 255, 0.16), inset 0 0 38px rgba(47, 128, 255, 0.09);
  animation: static-orbit-spin 24s linear infinite;
}

.orbit-ring-two {
  width: 378px;
  height: 378px;
  border-color: rgba(255, 255, 255, 0.12);
  border-style: dashed;
  animation: static-orbit-spin-reverse 34s linear infinite;
}

.orbit-ring-two::before,
.orbit-ring-two::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84e6f6;
  box-shadow: 0 0 20px #84e6f6;
  content: "";
}

.orbit-ring-two::before { top: 30px; left: 42px; }
.orbit-ring-two::after { right: 56px; bottom: 18px; background: #19b38a; box-shadow: 0 0 20px #19b38a; }

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 148px;
  height: 148px;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(47, 128, 255, 0.34), rgba(25, 179, 138, 0.14)),
    rgba(10, 16, 23, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 0 0 12px rgba(47, 128, 255, 0.06), 0 0 70px rgba(47, 128, 255, 0.24);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(18px);
}

.orbit-core-label,
.orbit-core small,
.orbit-node span,
.orbit-node small,
.next-step-footer small,
.next-step-footer strong {
  font-family: var(--font-geist-mono), monospace;
  text-transform: uppercase;
}

.orbit-core-label {
  color: rgba(247, 248, 250, 0.62);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.orbit-core strong {
  margin-top: 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 0.95;
}

.orbit-core small {
  margin-top: 8px;
  color: #84e6f6;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 128px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(247, 248, 250, 0.035)), rgba(8, 12, 17, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.25);
}

.orbit-node::after {
  position: absolute;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(132, 230, 246, 0.6), transparent);
  content: "";
}

.orbit-node span {
  color: #84e6f6;
  font-size: 9px;
  font-weight: 950;
}

.orbit-node strong {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.orbit-node small {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 950;
}

.node-learn { top: 36px; left: 0; }
.node-learn::after { top: 50%; right: -56px; transform: rotate(16deg); transform-origin: left; }
.node-practice { top: 36px; right: 0; }
.node-practice::after { top: 50%; left: -56px; transform: rotate(-16deg); transform-origin: right; }
.node-review { bottom: 38px; left: 18px; }
.node-review::after { top: 50%; right: -56px; transform: rotate(-18deg); transform-origin: left; }
.node-current { right: 18px; bottom: 38px; }
.node-current::after { top: 50%; left: -56px; transform: rotate(18deg); transform-origin: right; }

.next-step-footer {
  gap: 12px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid rgba(132, 230, 246, 0.26);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(132, 230, 246, 0.14), rgba(47, 128, 255, 0.06)), rgba(8, 12, 17, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.next-step-pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #84e6f6;
  box-shadow: 0 0 0 5px rgba(132, 230, 246, 0.1), 0 0 20px #84e6f6;
}

.next-step-footer > div {
  display: grid;
  gap: 5px;
  flex: 1;
}

.next-step-footer strong {
  color: #84e6f6;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.next-step-footer small {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.next-step-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes static-orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes static-orbit-spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }

@media (max-width: 900px) {
  .next-step-visual.dashboard-panel {
    height: 560px;
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  .next-step-visual.dashboard-panel {
    height: 520px;
    min-height: 520px;
    padding: 18px;
  }

  .next-step-orbit {
    height: 350px;
    margin-top: 16px;
    transform: scale(0.8);
    transform-origin: top center;
    width: 125%;
    margin-left: -12.5%;
  }

  .next-step-footer {
    margin-top: -36px;
  }
}
