:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #526070;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --line: #d9e3ea;
  --navy: #071a3f;
  --blue: #1f86ff;
  --cyan: #16c8d7;
  --green: #2db56f;
  --orange: #ff7a1a;
  --yellow: #ffca3a;
  --purple: #7c3cff;
  --shadow: 0 24px 70px rgba(9, 28, 63, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.dashboard-has-session #auth-panel {
  display: none !important;
}

.dashboard-has-session [data-auth-link] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 227, 234, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav,
.header-actions,
.hero-actions,
.feature-row,
.experience-selector,
.site-footer,
.footer-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

.site-header nav {
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.header-actions,
.footer-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-action,
.button,
.plan-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  color: #ffffff;
  background: var(--ink);
}

.header-action.secondary,
.footer-action {
  color: var(--ink);
  background: #eaf2ff;
  border: 1px solid #bfdbfe;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 5vw, 72px) 70px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 13, 35, 0.88), rgba(4, 13, 35, 0.58) 48%, rgba(4, 13, 35, 0.14)),
    url("/assets/hero.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(0deg, var(--paper), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.9;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.7vw, 4.8rem);
  line-height: 0.96;
}

h3 {
  margin: 10px 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.hero-offer {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  max-width: 620px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff04f, #ff8c37 58%, #33d6a6);
  color: #061125;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.hero-offer-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-offer strong {
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(6, 20, 48, 0.42);
}

.hero-stats dt {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.home-hero {
  min-height: 96vh;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 202, 58, 0.38), transparent 22%),
    radial-gradient(circle at 78% 68%, rgba(22, 200, 215, 0.32), transparent 24%),
    linear-gradient(100deg, rgba(4, 13, 35, 0.93), rgba(4, 13, 35, 0.72) 50%, rgba(4, 13, 35, 0.26)),
    url("/assets/hero.png") center / cover no-repeat;
}

.home-hero h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  letter-spacing: -0.065em;
}

.hero-badge-row,
.install-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-badge-row {
  margin-top: 22px;
}

.hero-badge-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(64px, 8vw, 120px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.intro-grid p,
.value-copy p,
.section-heading p,
.experience-grid p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.feature-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--soft);
  font-weight: 750;
}

.screenshot-frame {
  margin: 0;
}

.screenshot-frame img,
.credit-art {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screenshot-frame figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.value-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--soft);
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.value-list strong,
.value-list span {
  display: block;
}

.value-list strong {
  font-size: 1.12rem;
}

.value-list span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-section {
  background:
    linear-gradient(180deg, #ffffff, #f8fbfd 72%),
    var(--paper);
}

.vivid-pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 202, 58, 0.26), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(31, 134, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f1f8ff 68%, #fff8ed 100%);
}

.vivid-pricing::before {
  content: "";
  position: absolute;
  inset: 34px clamp(18px, 5vw, 72px) auto auto;
  width: 190px;
  height: 190px;
  border-radius: 36% 64% 50% 50%;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.22), rgba(22, 200, 215, 0.18));
  filter: blur(1px);
  transform: rotate(18deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.wide-heading {
  position: relative;
  max-width: 920px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.expanded-plans {
  position: relative;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.plan {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.07);
}

.instant-plan {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  border-radius: 18px;
  border-color: rgba(31, 134, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 85% 8%, rgba(255, 202, 58, 0.28), transparent 36%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.instant-plan::after {
  content: "";
  position: absolute;
  inset: auto -24px -44px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(22, 200, 215, 0.13);
}

.instant-plan:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 134, 255, 0.38);
  box-shadow: 0 24px 54px rgba(16, 24, 40, 0.12);
}

.plan.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff8ef, #ffffff);
}

.instant-plan.featured {
  background:
    linear-gradient(180deg, #fff8ed, #ffffff),
    radial-gradient(circle at 80% 8%, rgba(255, 122, 26, 0.22), transparent 36%);
}

.hot-plan {
  border-color: rgba(45, 181, 111, 0.44);
  background:
    linear-gradient(180deg, #f0fff7, #ffffff),
    radial-gradient(circle at 80% 8%, rgba(45, 181, 111, 0.2), transparent 36%);
}

.subscription-plan {
  grid-column: span 2;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 202, 58, 0.32), transparent 24%),
    linear-gradient(135deg, #061225, #0b57d0 56%, #0f766e);
}

.subscription-plan .plan-name,
.subscription-plan .credit,
.subscription-plan .plan-note {
  color: rgba(255, 255, 255, 0.86);
}

.subscription-plan .plan-action {
  color: var(--ink);
  background: var(--yellow);
}

.plan-name {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.credit {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.1rem;
}

.plan-note {
  min-height: 54px;
  margin: -10px 0 20px;
  color: var(--muted);
  line-height: 1.45;
}

.plan-action {
  width: 100%;
  background: var(--navy);
  color: #ffffff;
}

.plan.featured .plan-action {
  background: var(--orange);
}

.instant-access {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #061225;
  color: #ffffff;
}

.instant-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.steps-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: #061225;
  font-weight: 950;
}

.steps-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
}

.steps-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.steps-grid code,
.feature-row code {
  font-size: 0.9em;
}

.experience-grid {
  background: #fffaf0;
}

.experience-selector {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.experience-selector button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.experience-selector button.selected {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.credit-art {
  justify-self: center;
}

.install-section {
  background: var(--navy);
  color: #ffffff;
}

.install-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.terminal-strip {
  max-width: 860px;
  border-radius: 8px;
  background: #020b1c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  overflow: auto;
}

.terminal-strip pre {
  margin: 0;
  padding: 24px;
  color: #c9f7d8;
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.install-link {
  margin: 18px 0 0;
}

.install-link a {
  color: var(--yellow);
  font-weight: 850;
}

.install-cta-row {
  margin-top: 20px;
}

.docs-main {
  min-height: 100vh;
  padding-top: 76px;
  background:
    radial-gradient(circle at 92% 8%, rgba(22, 200, 215, 0.13), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 32%, #f4f8fb 100%);
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(70px, 8vw, 120px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 202, 58, 0.32), transparent 24%),
    radial-gradient(circle at 14% 82%, rgba(45, 181, 111, 0.2), transparent 28%),
    linear-gradient(135deg, #071a3f 0%, #0b57d0 62%, #0f766e 100%);
}

.docs-hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.docs-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 72px);
}

.docs-toc {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.docs-toc strong {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-toc a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
}

.docs-toc a:hover {
  color: var(--navy);
  background: #eff6ff;
}

.docs-content {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.docs-section {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.07);
  scroll-margin-top: 110px;
}

.docs-section h2 {
  max-width: 900px;
  font-size: clamp(2rem, 3.6vw, 4.1rem);
  letter-spacing: -0.045em;
}

.docs-section h3 {
  margin-top: 28px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.docs-section p,
.docs-section li,
.docs-section dd {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.docs-section a {
  color: #0b57d0;
  font-weight: 850;
}

.docs-section code,
.docs-section pre {
  font-family: Consolas, Monaco, "DejaVu Sans Mono", monospace;
}

.docs-section code {
  padding: 0.12rem 0.34rem;
  border-radius: 6px;
  color: #0f3058;
  background: #eff6ff;
}

.docs-section pre {
  overflow: auto;
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  color: #c9f7d8;
  background: #020b1c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.docs-section pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  white-space: pre-wrap;
}

.docs-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
  color: #7c2d12;
  line-height: 1.65;
}

.docs-callout strong {
  color: #431407;
}

.docs-card-grid,
.docs-screenshot-grid {
  display: grid;
  gap: 18px;
}

.docs-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.76), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

.docs-card h3 {
  margin-top: 0;
}

.docs-screenshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-shot {
  margin: 0;
}

.docs-shot img {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.16);
}

.docs-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.docs-shot-hero img {
  border-color: rgba(255, 255, 255, 0.28);
}

.docs-shot-hero figcaption {
  color: rgba(255, 255, 255, 0.78);
}

.docs-inline-shot {
  margin: 22px 0;
}

.docs-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.docs-table th,
.docs-table td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.docs-table th {
  color: var(--navy);
  background: #eff6ff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-table td {
  color: var(--muted);
  line-height: 1.55;
}

.docs-steps {
  display: grid;
  gap: 14px;
  padding-left: 22px;
}

.docs-faq {
  display: grid;
  gap: 12px;
}

.docs-faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.docs-faq summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
}

.docs-faq details p {
  margin: 0;
  padding: 0 18px 18px;
}

.docs-glossary {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 12px 18px;
}

.docs-glossary dt {
  color: var(--navy);
  font-weight: 950;
}

.docs-glossary dd {
  margin: 0;
}

.dashboard-main {
  min-height: 100vh;
  padding-top: 86px;
  background:
    linear-gradient(180deg, #f5f9ff, #ffffff 44%),
    var(--paper);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(1240px, 100%);
  margin: 0 auto;
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.dashboard-hero > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
}

.admin-return-banner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #153e75;
  font-weight: 800;
}

.admin-return-banner[hidden] {
  display: none;
}

.admin-return-banner button {
  min-height: 38px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.dashboard-panel,
.install-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.dashboard-panel {
  padding: clamp(22px, 3.5vw, 42px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 0%, rgba(96, 165, 250, 0.16), transparent 26%),
    radial-gradient(circle at 90% 4%, rgba(45, 212, 191, 0.12), transparent 24%),
    #ffffff;
}

.dashboard-panel h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.dashboard-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(236, 253, 245, 0.92)),
    #eff6ff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  outline: none;
}

.dashboard-account-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-account-bar span {
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-account-bar strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.dashboard-account-bar small {
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dashboard-panel button.logout-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.dashboard-account-bar:hover .logout-button,
.dashboard-account-bar:focus-within .logout-button,
.dashboard-account-bar .logout-button:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.dashboard-account-bar:hover,
.dashboard-account-bar:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.logout-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.dashboard-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-tabs button,
.dashboard-panel button,
.copy-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.dashboard-tabs button.selected,
.dashboard-panel button.primary,
.copy-button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.oauth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.oauth-divider::before,
.oauth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.dashboard-panel button.google-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 0 18px;
  border-color: #0b57d0;
  background: linear-gradient(135deg, #0b57d0 0%, #0ea5e9 54%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(14, 116, 144, 0.22);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.dashboard-panel button.google-auth-button:hover,
.dashboard-panel button.google-auth-button:focus-visible {
  border-color: #073b8e;
  background: linear-gradient(135deg, #073b8e 0%, #0284c7 54%, #15803d 100%);
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.28);
}

.google-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: #0b57d0;
  background: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 202, 58, 0.18), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(20, 184, 166, 0.2), transparent 34%),
    linear-gradient(135deg, #071a3f 0%, #0b57d0 50%, #0f766e 100%);
}

.login-brand {
  position: fixed;
  top: 22px;
  left: 22px;
  color: #ffffff;
}

.login-card {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.login-card h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.login-card .intro {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.login-form input {
  width: 100%;
  padding: 14px;
  border: 1px solid #d8e1f2;
  border-radius: 14px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.login-form button,
.login-google-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffca3a, #ff7a1a);
  color: #071a3f;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.login-google-link {
  margin: 14px 0 10px;
  background: #ffffff;
  border: 1px solid #d8e1f2;
}

.login-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.login-status.error {
  color: #b42318;
}

.secondary-login-link {
  display: inline-flex;
  margin-top: 14px;
  color: #0b57d0;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 12px;
}

#auth-panel {
  max-width: 760px;
}

.dashboard-setup-grid {
  gap: clamp(18px, 2.4vw, 28px);
}

.dashboard-setup-grid > h2 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.06em;
}

.dashboard-setup-grid > section,
.dashboard-setup-grid > nav,
.dashboard-setup-grid > p {
  scroll-margin-top: 110px;
}

.setup-jump-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  order: 8;
  padding: 12px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.96)),
    #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.setup-jump-nav span {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.setup-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  color: #153e75;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.setup-jump-nav a:hover,
.setup-jump-nav a:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #0b57d0, #0f766e);
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.dashboard-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.wallet-card {
  padding: 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
}

.wallet-card-balance {
  grid-row: span 2;
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 214, 10, 0.45), transparent 34%),
    linear-gradient(145deg, #061125 0%, #0f766e 58%, #33d6a6 100%);
  box-shadow: 0 28px 64px rgba(6, 17, 37, 0.24);
}

.wallet-card strong {
  display: block;
  font-size: 1.8rem;
  overflow-wrap: anywhere;
}

.wallet-card-balance strong {
  max-width: 100%;
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.wallet-card span {
  color: rgba(255, 255, 255, 0.72);
}

.wallet-topup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  color: #061125;
  background: var(--yellow);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.dashboard-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-status.error {
  color: #b42318;
}

.release-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 14, 34, 0.58);
  backdrop-filter: blur(10px);
}

.release-modal[hidden] {
  display: none;
}

.email-required-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 214, 10, 0.36), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(51, 214, 166, 0.3), transparent 28%),
    rgba(6, 17, 37, 0.82);
  backdrop-filter: blur(16px);
}

.email-required-modal[hidden] {
  display: none;
}

.email-required-card {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 10, 0.22), transparent 34%),
    linear-gradient(145deg, #ffffff, #ecfeff);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.44);
}

.email-required-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.email-required-card p {
  color: var(--muted);
  font-weight: 720;
}

.email-required-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.email-required-form label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.email-required-form input {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.email-required-form button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.exit-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 214, 10, 0.4), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(20, 184, 166, 0.36), transparent 30%),
    rgba(8, 13, 31, 0.72);
  backdrop-filter: blur(14px);
}

.exit-offer-modal[hidden] {
  display: none;
}

.exit-offer-card {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 34px;
  color: #09111f;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(135deg, #fef08a 0%, #5eead4 46%, #60a5fa 100%);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.exit-offer-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -72px;
  bottom: -88px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.exit-offer-card h2 {
  position: relative;
  max-width: 500px;
  margin: 0 0 12px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.exit-offer-card p,
.exit-offer-card button,
.exit-offer-metric {
  position: relative;
}

.exit-offer-card p {
  max-width: 480px;
  color: rgba(9, 17, 31, 0.76);
  font-weight: 700;
}

.exit-offer-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #09111f;
  font-size: 1.6rem;
  line-height: 1;
}

.exit-offer-metric {
  display: inline-grid;
  gap: 2px;
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(9, 17, 31, 0.1);
}

.exit-offer-metric span {
  color: rgba(9, 17, 31, 0.62);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exit-offer-metric strong {
  font-size: 2.3rem;
  line-height: 1;
}

.release-modal-card {
  width: min(720px, 100%);
  max-height: min(720px, 90vh);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.28), transparent 34%),
    linear-gradient(145deg, #ffffff, #f1f5f9);
  box-shadow: 0 34px 110px rgba(8, 14, 34, 0.34);
}

.release-modal-card h2 {
  margin: 0 0 8px;
}

.release-modal-card pre {
  margin: 18px 0;
  white-space: pre-wrap;
}

.client-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  order: 30;
}

.startup-instructions {
  display: grid;
  gap: 18px;
  order: 10;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 202, 58, 0.24), transparent 30%),
    linear-gradient(135deg, #061225, #0b57d0 58%, #0f766e);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2);
}

.startup-instructions .section-heading {
  margin-bottom: 0;
}

.startup-instructions h2,
.startup-instructions .eyebrow {
  color: #ffffff;
}

.startup-instructions .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.model-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.model-status-card span {
  color: rgba(255, 255, 255, 0.78);
}

.model-status-card strong {
  color: #ffffff;
}

@media (max-width: 760px) {
  .model-status-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.command-set {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  max-width: none;
  overflow: hidden;
}

.linux-instructions-heading {
  display: grid;
  gap: 8px;
  order: 20;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.18), transparent 28%),
    linear-gradient(145deg, #f8fffc, #f0fdfa);
}

.linux-instructions-heading h2 {
  margin: 0;
  color: #063f37;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.linux-instructions-heading p {
  max-width: 860px;
  margin: 0;
  color: #47615e;
  line-height: 1.6;
}

.windows-codex-section {
  display: grid;
  gap: 22px;
  order: 50;
  margin: 8px 0 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 8%, rgba(96, 165, 250, 0.28), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(45, 212, 191, 0.18), transparent 26%),
    linear-gradient(145deg, #f8fbff, #eef6ff 48%, #ffffff);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.windows-section-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.windows-section-header h2 {
  margin: 0 0 8px;
  color: #071f45;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.windows-section-header p {
  max-width: 850px;
  margin: 0;
  color: #43546e;
  line-height: 1.6;
}

.windows-logo {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  grid-template-rows: repeat(2, 34px);
  gap: 6px;
  width: max-content;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, #0f172a, #1d4ed8);
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.28);
}

.windows-logo span {
  display: block;
  border-radius: 6px;
  background: linear-gradient(145deg, #dbeafe, #60a5fa);
}

.windows-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.windows-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px 18px;
  align-content: start;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.windows-step h3 {
  margin: 0;
  color: #0f2f66;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.windows-step p {
  margin: 0;
  color: #4b607c;
  line-height: 1.58;
}

.windows-step code {
  padding: 2px 5px;
  border-radius: 6px;
  color: #153e75;
  background: #eaf2ff;
}

.windows-step .step-number {
  display: inline-grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(145deg, #2563eb, #0f766e);
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.windows-step.command-step {
  grid-column: 1 / -1;
}

.windows-step .copy-button,
.windows-command {
  grid-column: 2;
}

.windows-step.featured-step {
  border-color: rgba(15, 118, 110, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.14), transparent 30%),
    #ffffff;
}

.windows-command {
  min-height: auto;
  max-height: 360px;
  margin: 0;
  padding: 16px;
  white-space: pre;
  overflow-x: auto;
  color: #e2e8f0;
  background: #071225;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.windows-command code {
  display: block;
  min-width: max-content;
  padding: 0;
  color: inherit;
  background: transparent;
  white-space: pre;
  line-height: 1.55;
}

.vscode-setup-section {
  display: grid;
  gap: 22px;
  order: 55;
  margin: 8px 0 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 10%, rgba(45, 212, 191, 0.22), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(145deg, #f5fffd, #eef6ff 54%, #ffffff);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.vscode-logo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(145deg, #0284c7, #1d4ed8 58%, #0f172a);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.28);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.vscode-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vscode-proof-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.vscode-proof-card strong {
  color: #0f2f66;
}

.vscode-proof-card p {
  margin: 0;
  color: #4b607c;
  line-height: 1.55;
}

.vscode-proof-card code {
  padding: 2px 5px;
  border-radius: 6px;
  color: #153e75;
  background: #eaf2ff;
}

.vscode-step-grid .windows-step .step-number {
  background: linear-gradient(145deg, #0284c7, #0f766e);
}

.command-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

div.command-help {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.06);
}

div.command-help strong {
  color: #ffffff;
  font-size: 1.05rem;
}

div.command-help p {
  margin: 0;
}

p.command-help code {
  padding: 2px 5px;
  border-radius: 5px;
  color: #153e75;
  background: #eaf2ff;
}

.client-panel {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(219, 234, 254, 0.72), transparent 28%),
    #f8fbff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.client-panel.wide {
  grid-column: 1 / -1;
}

.client-panel.optional-helper {
  border-style: dashed;
  background: #fffdf6;
}

.client-panel.optional-helper span::before {
  content: "Optional";
  display: inline-flex;
  margin-right: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffedd5;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.client-panel span,
.credential-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.client-panel strong,
.client-panel code {
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

#credential-note {
  order: 40;
}

.share-credit-panel {
  order: 60;
}

.usage-panel {
  order: 70;
}

.topup-showcase {
  order: 80;
}

.subscription-panel {
  order: 90;
}

.auto-topup-panel {
  order: 100;
}

#dashboard-status {
  order: 110;
}

.client-panel code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.client-panel.wide code {
  padding: 14px;
  border-radius: 16px;
  color: #d7ffe7;
  background: #071225;
  overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dashboard-panel .copy-button {
  min-height: 34px;
  padding: 0 10px;
  background: #eaf2ff;
  border-color: #bfdbfe;
  color: #153e75;
}

.topup-showcase {
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 6%, rgba(250, 204, 21, 0.36), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(34, 197, 94, 0.2), transparent 24%),
    linear-gradient(135deg, #07111f, #123a51 48%, #0f766e);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.topup-showcase .eyebrow,
.topup-showcase p,
.topup-showcase .dashboard-status {
  color: rgba(255, 255, 255, 0.74);
}

.topup-showcase h2 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.topup-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.topup-card {
  display: grid;
  gap: 6px;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  color: #082f49;
  text-align: left;
  background: linear-gradient(145deg, #fefce8, #ccfbf1);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
}

.topup-card.hot {
  background: linear-gradient(145deg, #fde68a, #f97316 58%, #ef4444);
  color: #ffffff;
}

.topup-card.max {
  background: linear-gradient(145deg, #dbeafe, #60a5fa 48%, #1d4ed8);
  color: #ffffff;
}

.topup-card span,
.topup-card small {
  font-weight: 800;
  opacity: 0.75;
}

.topup-card strong {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
}

.topup-select-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.topup-select-row label {
  color: rgba(255, 255, 255, 0.72);
}

.subscription-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid #bae6fd;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 20%, rgba(14, 165, 233, 0.2), transparent 30%),
    linear-gradient(135deg, #ecfeff, #f8fafc);
}

.subscription-panel h2 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: -0.055em;
}

.share-credit-panel {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background:
    radial-gradient(circle at top left, rgba(255, 202, 58, 0.36), transparent 32%),
    linear-gradient(135deg, #fff7ed, #f0f9ff 68%, #ecfdf5);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.share-credit-panel img {
  width: 128px;
  height: 128px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.share-credit-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.share-credit-panel .eyebrow {
  margin-bottom: 8px;
}

.welcome-main {
  min-height: 100vh;
  padding: 130px clamp(18px, 5vw, 72px) 56px;
  background:
    radial-gradient(circle at 18% 16%, rgba(31, 134, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(45, 181, 111, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #eef7ff 100%);
}

.welcome-hero {
  max-width: 980px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(217, 227, 234, 0.9);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 249, 255, 0.9)),
    var(--paper);
  box-shadow: var(--shadow);
}

.welcome-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.welcome-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.welcome-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.welcome-card,
.welcome-account-panel {
  border: 1px solid rgba(217, 227, 234, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 52px rgba(9, 28, 63, 0.09);
}

.welcome-card {
  padding: 22px;
}

.welcome-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  font-weight: 900;
}

.welcome-card h2,
.welcome-account-panel h2 {
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.welcome-card p,
.welcome-account-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.welcome-account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  margin-top: 22px;
  padding: 24px;
}

.welcome-account-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.welcome-account-panel dl div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.welcome-account-panel dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.welcome-account-panel dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-weight: 850;
}

.usage-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf6;
}

.usage-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.usage-heading h2 {
  margin-bottom: 4px;
}

.usage-graph {
  display: grid;
  grid-template-columns: repeat(7, minmax(24px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 130px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.usage-bar {
  display: grid;
  align-content: end;
  gap: 6px;
  min-height: 106px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.usage-bar span:first-child {
  display: block;
  min-height: 4px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #0b57d0, #16a34a);
}

.usage-table-wrap {
  overflow-x: auto;
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.usage-table th,
.usage-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.auto-topup-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.auto-topup-panel h2 {
  margin-bottom: 4px;
}

.form-grid .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.form-grid .checkbox-row input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  padding: 0;
  accent-color: var(--blue);
}

.install-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.install-page-grid h1 {
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.95;
}

.install-card {
  padding: 22px;
  margin-bottom: 16px;
}

.install-card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.install-card pre {
  overflow: auto;
  padding: 16px;
  border-radius: 8px;
  color: #c9f7d8;
  background: #020b1c;
  white-space: pre-wrap;
  word-break: break-word;
}

.install-card p,
.install-card li {
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 80px;
  }

  .intro-grid,
  .experience-grid,
  .value-band,
  .instant-access,
  .docs-hero,
  .docs-layout,
  .dashboard-hero,
	  .dashboard-hero > div:first-child,
	  .install-page-grid,
	  .command-set,
	  .windows-section-header,
	  .windows-step-grid,
	  .vscode-proof-grid,
	  .topup-card-grid {
	    grid-template-columns: 1fr;
	  }

  .docs-toc {
    position: static;
    max-height: none;
  }

  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-action {
    width: 100%;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 54px;
  }

  .hero-stats,
  .plans,
  .expanded-plans,
  .steps-grid,
  .docs-card-grid,
  .docs-screenshot-grid,
  .docs-glossary,
  .dashboard-card-grid,
  .client-dashboard-grid,
  .welcome-card-grid,
  .share-credit-panel,
  .welcome-account-panel,
  .windows-section-header,
  .windows-step-grid,
  .topup-select-row,
  .subscription-panel {
    grid-template-columns: 1fr;
  }

  .windows-logo {
    grid-template-columns: repeat(2, 26px);
    grid-template-rows: repeat(2, 26px);
  }

  .windows-step {
    grid-template-columns: 1fr;
  }

  .windows-step .step-number {
    grid-row: auto;
  }

  .windows-step .copy-button,
  .windows-command {
    grid-column: auto;
  }

  .subscription-plan {
    grid-column: auto;
  }

  .topup-card {
    min-height: 108px;
  }

  .wallet-card-balance {
    min-height: 220px;
  }

  .wallet-card-balance strong {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }

  .share-credit-panel img {
    width: 100%;
    height: auto;
  }

  .button {
    width: 100%;
  }

  .hero-offer {
    width: 100%;
  }

  .dashboard-account-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-panel button.logout-button {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
