:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #171717;
  --text: #fafafa;
  --muted: #a1a1a1;
  --line: #262626;
  --steel: #464646;
  --paper: #e5e5e5;
  --mint: #ff8833;
  --blue: #a1a1a1;
  --radius: 10px;
  --max: 1152px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
.page-shell { padding: 24px 0 0; }
.graphite-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.graphite-nav > div, .graphite-brand, .intro-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.graphite-nav > div { color: var(--muted); gap: 24px; }
.graphite-nav > div a:hover { color: var(--text); }
.graphite-brand { gap: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.graphite-brand span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 8px;
  font-size: 12px;
}
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.site-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: clamp(48px, 9vw, 112px) 0 clamp(32px, 6vw, 64px);
}
.site-intro h1 {
  margin: 16px 0 20px;
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.04;
}
.site-intro .eyebrow span, .account-link span { color: var(--mint); }
.site-intro p:not(.eyebrow), .intro-copy, .cabinet-note {
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.55;
}
.site-intro p:not(.eyebrow) { max-width: 45ch; margin: 0 0 24px; }
.intro-actions { flex-wrap: wrap; }
.account-link, .back-link { color: var(--muted); }
.account-link { background: var(--panel); border-radius: 8px; font-weight: 500; }
.account-link:hover, .back-link:hover { color: var(--text); }
.cabinet-link { color: var(--mint); text-underline-offset: 4px; }
.graphite-nav .account-link {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.graphite-signal {
  display: grid;
  place-items: center;
  aspect-ratio: 1.65;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 65% 52%, #18212e 0%, transparent 56%),
    radial-gradient(ellipse at 39% 35%, #211a10 0%, transparent 49%),
    #080808;
}
.graphite-signal > i, .graphite-signal > span {
  grid-area: 1 / 1;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid #525252;
  border-radius: 9px;
  transform: rotate(45deg) skew(-11deg, -11deg);
}
.graphite-signal > i:nth-child(1) { translate: -23% 0; opacity: .42; }
.graphite-signal > i:nth-child(2) { translate: -7% 0; opacity: .7; }
.graphite-signal > i:nth-child(3) { translate: 9% 0; }
.graphite-signal > i:nth-child(4) { translate: 25% 0; opacity: .66; }
.graphite-signal > span {
  translate: 9% 0;
  background: linear-gradient(#101010,#101010) padding-box,
    linear-gradient(115deg, #ffb931, #fff 27%, #2e73fc 47%, #262626 76%) border-box;
  border-color: transparent;
  box-shadow: 0 0 18px #729fff30;
  opacity: .86;
}
.graphite-workflow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.graphite-workflow article { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.graphite-workflow small { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.graphite-workflow h2 { font-size: 20px; font-weight: 500; margin: 16px 0 8px; }
.graphite-workflow p { color: var(--muted); font-size: 14px; margin: 0; }
.pricing-page { margin-top: clamp(48px, 9vw, 108px); scroll-margin-top: 24px; }
.page-heading h2, .account-card h1 { margin: 0; font-size: clamp(30px,4vw,36px); font-weight: 500; letter-spacing: -.025em; }
.cabinet-note { margin: 0 0 22px; }
.tariff-card, .term-card, .summary-card, .account-card, .signed-in-panel,
.subscription-panel, .payment-panel, .payment-row {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
}
.tariff-card, .term-card, .summary-card, .account-card, .signed-in-panel,
.subscription-panel, .payment-panel, .account-form input { border-radius: var(--radius); }
@media (min-width: 601px) { .tariff-card { min-height: 150px; } }
.choice:hover .tariff-card, .choice:hover .term-card { border-color: var(--steel); transform: none; }
.choice input:checked + .tariff-card, .choice input:checked + .term-card {
  background: var(--line);
  border-color: var(--steel);
  box-shadow: inset 0 0 0 1px var(--steel);
}
.total-price, .tariff-speed, .summary-plan, .verified-mark { color: var(--text); }
.summary-card h2, .term-card small { color: var(--muted); }
.account-form input { background: var(--bg); border-color: var(--steel); color: var(--text); }
.account-form input:focus { border-color: var(--muted); box-shadow: none; }
.primary-button {
  color: #171717;
  background: var(--paper);
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  box-shadow: inset 0 1px #fff, inset 0 -2px 6px #0000001a;
  font-size: 14px;
  font-weight: 500;
}
.primary-button:not(:disabled):hover { background: var(--text); }
.primary-button:disabled { box-shadow: none; }
.button-link { gap: 8px; }
.checkout-consent input { accent-color: var(--paper); }
.checkout-consent a, .text-button { color: var(--mint); }
.site-footer {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 32px 0 0 !important;
  padding: 20px 0 24px !important;
  border-top: 1px solid var(--line) !important;
  font-size: 12px !important;
}
.site-footer a { color: var(--muted) !important; white-space: normal; }
.site-footer a:hover { color: var(--text) !important; }
.account-card .site-footer { margin-top: 16px !important; padding-bottom: 0 !important; }
:where(a, button):focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; }
@media (max-width: 650px) {
  .page-shell { width: calc(100% - 32px); padding-top: 16px; }
  .graphite-nav > div { display: none; }
  .site-intro { grid-template-columns: 1fr; gap: 24px; }
  .graphite-signal { aspect-ratio: 2; }
  .graphite-workflow { grid-template-columns: 1fr; }
  .graphite-workflow article { padding: 16px; }
  .graphite-workflow h2 { margin: 8px 0; }
}
