:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #151922;
  --muted: #667085;
  --line: #d8dee8;
  --brand: #126a5a;
  --brand-strong: #0b4d41;
  --warn: #a15c00;
  --bad: #b42318;
  --good: #067647;
}

/* SentinelleTrader dashboard V2 - spec driven */
body:has(.sentinel-dashboard) {
  --st-sage: #9fbe8b;
  --st-sage-hover: #adc99c;
  --st-sage-muted: rgba(159, 190, 139, 0.18);
  --st-sage-border: rgba(159, 190, 139, 0.62);
  --st-bg: #050607;
  --st-bg-2: #07090b;
  --st-surface: #0c1013;
  --st-surface-2: #0f1418;
  --st-surface-hover: #151a1f;
  --st-border: rgba(255, 255, 255, 0.08);
  --st-border-strong: rgba(255, 255, 255, 0.13);
  --st-text: #ffffff;
  --st-secondary: #a8afb8;
  --st-muted: #7b838c;
  --st-sidebar-width: 286px;
  --st-page-padding: 32px;
  --st-radius-sm: 10px;
  --st-radius-md: 14px;
  --st-radius-lg: 18px;
  --st-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 72% 0%, rgba(159, 190, 139, 0.08), transparent 28%),
    var(--st-bg);
  color: var(--st-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

main:has(.sentinel-dashboard) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sentinel-dashboard {
  display: grid;
  grid-template-columns: var(--st-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 1) 0 var(--st-sidebar-width), transparent var(--st-sidebar-width)),
    var(--st-bg);
}

.sentinel-dashboard svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.st-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  padding: 36px 18px 18px;
  overflow-y: auto;
  border-right: 1px solid var(--st-border);
  background: rgba(5, 6, 7, 0.98);
}

.st-brand {
  display: inline-flex;
  align-items: baseline;
  padding: 0 2px;
  color: var(--st-text);
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.st-brand strong {
  color: var(--st-sage);
  font-weight: inherit;
}

.st-nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.st-nav-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--st-text);
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
}

.st-nav-item span {
  display: grid;
  place-items: center;
  color: currentColor;
}

.st-nav-item.active {
  color: var(--st-sage);
  background:
    linear-gradient(90deg, rgba(159, 190, 139, 0.18), rgba(21, 26, 31, 0.94)),
    var(--st-surface-hover);
  box-shadow: inset 2px 0 0 var(--st-sage);
}

.st-nav-item:hover {
  color: var(--st-sage);
  background: var(--st-surface-hover);
}

.st-sidebar-bottom {
  display: grid;
  gap: 14px;
  padding: 0 4px 2px;
}

.st-user-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0 10px;
}

.st-user-card strong,
.st-user-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-user-card strong {
  color: var(--st-text);
  font-size: 15px;
  font-weight: 650;
}

.st-user-card small {
  color: var(--st-secondary);
  font-size: 13px;
  font-weight: 650;
}

.st-logout-button {
  display: inline-grid;
  grid-template-columns: 19px auto;
  align-items: center;
  justify-self: start;
  gap: 9px;
  width: auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 116, 116, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(255, 116, 116, 0.045);
  color: #ff9d9d;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.st-logout-button:hover {
  border-color: rgba(255, 116, 116, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 116, 116, 0.12), rgba(255, 116, 116, 0.045)),
    rgba(255, 255, 255, 0.02);
  color: #ffd1d1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 16px 34px rgba(0, 0, 0, 0.24);
}

.st-logout-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.65;
}

.st-main {
  display: grid;
  gap: 30px;
  padding: 34px var(--st-page-padding) 32px;
  min-width: 0;
}

.st-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin: 0;
}

.st-topbar h1 {
  margin: 0;
  color: var(--st-text);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.st-topbar p {
  margin: 12px 0 0;
  color: var(--st-text);
  font-size: 18px;
}

.st-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.st-select-card,
.st-bell {
  min-height: 70px;
  border: 1px solid var(--st-border-strong);
  border-radius: 8px;
  background: rgba(12, 16, 19, 0.92);
  color: var(--st-text);
}

.st-account-menu {
  position: relative;
  width: 248px;
}

.st-select-card {
  position: relative;
  display: grid;
  width: 100%;
  align-items: center;
  padding: 0 44px 0 20px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.st-select-card::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 29px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--st-text);
  border-bottom: 2px solid var(--st-text);
  transform: rotate(45deg);
  pointer-events: none;
}

.st-account-menu.is-open .st-select-card::after {
  top: 33px;
  transform: rotate(225deg);
}

.st-select-card span {
  display: block;
  width: 100%;
  color: var(--st-text);
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-select-card:focus {
  outline: none;
  border-color: rgba(159, 190, 139, 0.58);
  box-shadow: 0 0 0 4px rgba(159, 190, 139, 0.12);
}

.st-account-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: none;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(159, 190, 139, 0.22);
  border-radius: 8px;
  background: rgba(8, 11, 13, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.st-account-menu.is-open .st-account-menu-list {
  display: grid;
  gap: 6px;
}

.st-account-menu-item {
  display: block;
  padding: 13px 14px;
  border-radius: 7px;
  color: var(--st-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.st-account-menu-item:hover,
.st-account-menu-item.is-current {
  background: rgba(159, 190, 139, 0.14);
  color: #f4f8ef;
}

.st-period-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 230px;
  padding: 0 22px;
  font-size: 18px;
  font-weight: 700;
}

.st-period-card svg:last-child {
  margin-left: auto;
  width: 18px;
  height: 18px;
}

.st-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  padding: 0;
}

.st-bell span {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--st-sage);
  box-shadow: 0 0 0 4px rgba(159, 190, 139, 0.16);
}

.st-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(620px, 1.38fr);
  gap: 28px;
  align-items: stretch;
}

.st-panel {
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.045), transparent 42%),
    linear-gradient(180deg, rgba(15, 20, 24, 0.96), rgba(8, 10, 12, 0.96));
  box-shadow: var(--st-shadow);
}

.st-status-panel {
  padding: 38px 28px 28px;
}

.st-settings-panel {
  position: relative;
  display: grid;
  gap: 0;
  padding: 34px 32px 24px;
}

.st-settings-pending-note {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  border: 1px solid rgba(217, 154, 78, 0.32);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(217, 154, 78, 0.1);
  color: #e2aa68;
  font-size: 14px;
  line-height: 1.35;
}

.st-settings-pending-note.is-visible {
  display: flex;
}

.st-settings-pending-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
}

.st-panel-header,
.st-settings-head {
  border-bottom: 1px solid var(--st-border);
}

.st-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-bottom: 24px;
}

.st-panel-header h2,
.st-settings-head h2 {
  margin: 0;
  color: var(--st-text);
  font-size: 22px;
  line-height: 1.2;
}

.st-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--st-sage);
  font-size: 22px;
  font-weight: 600;
}

.st-active-badge b {
  font: inherit;
}

.st-active-badge span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--st-sage);
}

.st-active-badge.good {
  color: var(--st-sage);
}

.st-active-badge.good span {
  background: var(--st-sage);
  box-shadow: 0 0 0 4px rgba(159, 190, 139, 0.12);
}

.st-active-badge.warn {
  color: #d99a4e;
}

.st-active-badge.warn span {
  background: #d99a4e;
  box-shadow: 0 0 0 4px rgba(217, 154, 78, 0.14);
  animation: st-status-pulse 1.1s ease-in-out infinite;
}

.st-active-badge.bad {
  color: #ff776b;
}

.st-active-badge.bad span {
  background: #ff776b;
  box-shadow: 0 0 0 4px rgba(255, 119, 107, 0.14);
}

.st-panel-subtitle,
.st-settings-head p,
.st-section-body p,
.st-setting-copy p,
.st-footnote {
  color: var(--st-secondary);
}

.st-panel-subtitle {
  margin: 24px 0 0;
  font-size: 16px;
}

.st-panel-subtitle.good {
  color: var(--st-sage);
}

.st-panel-subtitle.warn {
  color: #d99a4e;
}

.st-panel-subtitle.bad {
  color: #ff776b;
}

.st-status-loader {
  overflow: hidden;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 160ms ease;
}

.st-status-loader.is-visible {
  opacity: 1;
}

.st-status-loader span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #d99a4e, transparent);
  animation: st-status-slide 1.45s ease-in-out infinite;
}

@keyframes st-status-pulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes st-status-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(250%);
  }
}

.st-status-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 26px;
  padding: 32px 0;
  border-bottom: 1px solid var(--st-border);
}

.st-status-row:last-of-type {
  border-bottom: 0;
}

.st-section-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--st-sage);
  border-radius: 50%;
  color: var(--st-sage);
}

.st-section-icon svg {
  width: 27px;
  height: 27px;
}

.st-section-body {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.st-section-body h3,
.st-setting-copy h3 {
  margin: 0;
  color: var(--st-text);
  font-size: 20px;
  line-height: 1.2;
}

.st-main-value {
  color: var(--st-text);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.st-main-value.st-ratio {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.st-main-value span {
  color: var(--st-text);
}

.st-main-value.st-risk-alert,
.st-main-value.st-risk-alert span,
.st-main-value .st-risk-alert,
.st-setting-copy .st-risk-alert {
  color: #ff776b;
}

.st-main-value .st-limit-value {
  color: var(--st-text);
}

.st-main-value.st-risk-alert .st-limit-value {
  color: #ff776b;
}

.st-balance-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: baseline;
  margin-top: 18px;
  padding: 16px 0 0;
  border-top: 1px solid var(--st-border);
}

.st-balance-strip span {
  color: var(--st-secondary);
  font-size: 14px;
  font-weight: 650;
}

.st-balance-strip strong {
  color: var(--st-text);
  font-size: 18px;
  font-weight: 750;
  text-align: right;
}

.st-section-body p,
.st-section-body small,
.st-setting-copy p,
.st-setting-copy small {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.st-hours-toggle {
  display: inline-grid;
  grid-template-columns: 46px max-content;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  color: var(--st-text);
  cursor: pointer;
}

.st-hours-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.st-hours-toggle span {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid var(--st-border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: 160ms ease;
}

.st-hours-toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--st-text);
  transition: 160ms ease;
}

.st-hours-toggle input:checked + span {
  border-color: var(--st-sage-border);
  background: var(--st-sage);
}

.st-hours-toggle input:checked + span::after {
  transform: translateX(20px);
  background: #071008;
}

.st-hours-toggle strong {
  font-size: 14px;
  font-weight: 700;
}

.st-hours-toggle.is-disabled {
  cursor: not-allowed;
  color: var(--st-muted);
  opacity: 0.65;
}

.st-section-body b,
.st-setting-copy b,
.st-time-control b {
  color: var(--st-sage);
  font-weight: 650;
}

.st-progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.st-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--st-sage);
}

.st-days {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.st-day {
  min-width: 52px;
  height: 42px;
  border: 1px solid var(--st-border-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--st-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
}

button.st-day {
  cursor: pointer;
}

.st-day.active {
  border-color: var(--st-sage-border);
  background: linear-gradient(180deg, rgba(159, 190, 139, 0.95), rgba(117, 151, 100, 0.95));
  color: #071008;
  box-shadow: 0 0 0 4px rgba(159, 190, 139, 0.08);
}

.st-day.inactive,
.st-day:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--st-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.st-hours-row.is-disabled .st-section-icon,
.st-time-control.is-disabled + .st-active-days .st-day,
.st-time-control.is-disabled .st-time-field::after,
.st-time-control.is-disabled .st-time-field::before {
  opacity: 0.45;
}

.st-hours-row.is-disabled .st-main-value,
.st-hours-row.is-disabled .st-section-body p,
.st-time-control.is-disabled small {
  color: var(--st-muted);
}

.st-hours-row.is-disabled .st-section-body b,
.st-time-control.is-disabled b {
  color: var(--st-muted);
}

.st-timezone-note {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--st-border);
  color: var(--st-text);
  font-size: 16px;
}

.st-timezone-note svg {
  width: 24px;
  height: 24px;
}

.st-settings-head {
  display: grid;
  gap: 14px;
  padding-bottom: 24px;
}

.st-settings-head p {
  margin: 0;
  font-size: 17px;
}

.st-setting-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--st-border);
}

.st-setting-copy {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.st-setting-control {
  display: grid;
  gap: 18px;
}

.st-stepper {
  justify-self: end;
  display: grid;
  grid-template-columns: 60px 94px 82px 60px;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid var(--st-border-strong);
  border-radius: 7px;
  background: rgba(7, 9, 11, 0.92);
}

.st-stepper button,
.st-stepper span,
.st-stepper input {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--st-text);
}

.st-stepper button {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 34px;
  font-weight: 300;
}

.st-stepper button:first-child,
.st-stepper span {
  background: rgba(255, 255, 255, 0.035);
}

.st-stepper input {
  padding: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.st-stepper span {
  display: grid;
  place-items: center;
  color: var(--st-text);
  font-size: 17px;
}

.st-range {
  appearance: none;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: linear-gradient(90deg, var(--st-sage) 0 var(--fill), rgba(255, 255, 255, 0.1) var(--fill) 100%);
}

.st-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--st-sage);
  cursor: pointer;
}

.st-range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--st-text);
  font-size: 16px;
}

.st-time-control {
  justify-self: end;
  width: min(100%, 320px);
}

.st-time-inputs {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  gap: 14px;
  align-items: center;
}

.st-time-field {
  position: relative;
  display: block;
}

.st-time-field::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border: 1.7px solid var(--st-text);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.9;
}

.st-time-field::before {
  content: "";
  position: absolute;
  right: 21px;
  top: 50%;
  width: 5px;
  height: 7px;
  transform: translateY(-70%);
  border-left: 1.7px solid var(--st-text);
  border-bottom: 1.7px solid var(--st-text);
  pointer-events: none;
  opacity: 0.9;
}

.st-time-inputs input,
.st-time-control select {
  min-height: 48px;
  border: 1px solid var(--st-border-strong);
  border-radius: 6px;
  background: rgba(7, 9, 11, 0.92);
  color: var(--st-text);
  color-scheme: dark;
  font-size: 17px;
  font-weight: 600;
}

.st-time-control.is-disabled input,
.st-time-control.is-disabled select {
  color: var(--st-muted);
  background: rgba(255, 255, 255, 0.025);
}

.st-time-inputs input {
  width: 100%;
  padding-right: 42px;
}

.st-time-inputs input::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.st-time-inputs input:disabled::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.st-time-inputs span {
  color: var(--st-text);
  text-align: center;
  font-size: 20px;
}

.st-time-control select {
  width: 100%;
}

.st-time-control small {
  color: var(--st-text);
  font-size: 15px;
}

.st-active-days {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.st-active-days > span {
  color: var(--st-text);
  font-size: 16px;
}

.st-settings-footer {
  display: grid;
  grid-template-columns: minmax(310px, max-content) minmax(240px, 300px);
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.st-restore,
.st-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.st-restore {
  border: 1px solid var(--st-border-strong);
  background: transparent;
  color: var(--st-text);
}

.st-save {
  border: 0;
  background: var(--st-sage);
  color: var(--st-text);
}

.st-save:hover {
  background: var(--st-sage-hover);
}

.st-footnote {
  margin: 18px 0 0;
  font-size: 15px;
}

.st-account-delete-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
}

.st-danger-button {
  min-height: 42px;
  border: 1px solid rgba(255, 119, 107, 0.42);
  border-radius: 7px;
  padding: 0 16px;
  background: rgba(255, 119, 107, 0.12);
  color: #ffafa8;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.st-danger-button:hover {
  background: rgba(255, 119, 107, 0.2);
  color: #ffd4d0;
}

.st-danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.st-account-delete-row form {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.st-delete-help {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.st-delete-help-lock {
  color: #ffafa8;
}

.st-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.st-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.st-confirm-modal {
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid rgba(255, 119, 107, 0.28);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #151a1d, #090b0d);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(10px) scale(0.98);
  transition: transform 160ms ease;
}

.st-modal-backdrop.is-open .st-confirm-modal {
  transform: translateY(0) scale(1);
}

.st-confirm-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 119, 107, 0.45);
  border-radius: 50%;
  background: rgba(255, 119, 107, 0.12);
  color: #ffafa8;
  font-size: 22px;
  font-weight: 850;
}

.st-confirm-copy h2 {
  margin: 0 0 10px;
  color: var(--st-text);
  font-size: 22px;
  line-height: 1.2;
}

.st-confirm-copy p {
  margin: 0;
  color: var(--st-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.st-confirm-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 4px;
}

.st-modal-cancel,
.st-modal-delete {
  min-height: 44px;
  border-radius: 7px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 750;
}

.st-modal-cancel {
  border: 1px solid var(--st-border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--st-text);
}

.st-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.07);
}

.st-modal-delete {
  border: 1px solid rgba(255, 119, 107, 0.46);
  background: rgba(255, 119, 107, 0.16);
  color: #ffafa8;
}

.st-modal-delete:hover {
  background: rgba(255, 119, 107, 0.24);
  color: #ffd4d0;
}

.st-modal-delete:disabled {
  cursor: wait;
  opacity: 0.72;
}

.st-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--st-sage-border);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--st-surface);
  color: var(--st-text);
  transition: 160ms ease;
}

.st-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.locked-access-shell {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 100vh;
  background: #030504;
}

.locked-access-preview {
  pointer-events: none;
  user-select: none;
  opacity: 1;
  filter: none;
}

.locked-access-preview .st-settings-panel,
.locked-access-preview .st-status-panel {
  box-shadow: none;
}

.locked-access-preview .st-stepper input {
  pointer-events: none;
}

.locked-access-fake-settings {
  display: grid;
  gap: 30px;
  padding-top: 32px;
}

.locked-access-fake-settings div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--st-border);
  color: var(--st-text);
}

.locked-access-fake-settings strong {
  font-size: 18px;
  font-weight: 750;
}

.locked-access-fake-settings span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-width: 160px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--st-text);
  text-align: center;
  font-size: 22px;
  font-weight: 750;
}

.locked-access-dim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background:
    radial-gradient(circle at 50% 18%, rgba(159, 190, 139, 0.03), transparent 34%),
    rgba(0, 0, 0, 0.58);
}

.locked-access-overlay {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  width: min(760px, calc(100vw - 42px));
  display: grid;
  justify-items: center;
  gap: 18px;
  transform: translate(-50%, -50%);
}

.locked-access-modal {
  width: 100%;
  max-height: calc(100vh - 42px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 22px 50px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 190, 139, 0.045), transparent 38%),
    linear-gradient(180deg, rgba(7, 11, 15, 0.98), rgba(3, 6, 8, 0.98));
  color: var(--st-text);
  box-shadow: 0 32px 92px rgba(0, 0, 0, 0.62);
}

.locked-access-close {
  position: absolute;
  top: 16px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

.locked-access-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.locked-access-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.locked-access-lock {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--st-sage);
}

.locked-access-lock img {
  display: block;
  width: 62px;
  height: auto;
}

.locked-access-head h1 {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 760;
}

.locked-access-head p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.35;
}

.locked-access-head strong {
  color: var(--st-sage);
  font-weight: 700;
}

.locked-access-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 640px);
  margin: 30px auto 0;
}

.locked-access-plan {
  position: relative;
  display: flex;
  min-height: 394px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 20px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 36%),
    rgba(7, 11, 16, 0.95);
}

.locked-access-plan.featured {
  border-color: rgba(159, 190, 139, 0.82);
  box-shadow:
    0 0 0 1px rgba(159, 190, 139, 0.12),
    0 0 30px rgba(159, 190, 139, 0.12);
}

.locked-access-top-badge {
  position: absolute;
  left: 50%;
  top: -17px;
  transform: translateX(-50%);
  white-space: nowrap;
  border: 1px solid rgba(159, 190, 139, 0.84);
  border-radius: 7px;
  padding: 7px 14px;
  background: #10170e;
  color: var(--st-sage);
  font-size: 12px;
  font-weight: 700;
}

.locked-access-launch {
  align-self: flex-start;
  border: 1px solid rgba(159, 190, 139, 0.62);
  border-radius: 6px;
  padding: 6px 10px;
  background: rgba(159, 190, 139, 0.07);
  color: var(--st-sage);
  font-size: 12px;
  font-weight: 650;
}

.locked-access-plan h3 {
  margin: 17px 0 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 650;
}

.locked-access-price {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 12px;
}

.locked-access-price strong {
  color: var(--st-sage);
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 780;
}

.locked-access-price span,
.locked-access-old {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.locked-access-price span {
  padding-bottom: 4px;
}

.locked-access-old {
  margin: 10px 0 0;
}

.locked-access-line {
  height: 1px;
  margin: 16px 0 15px;
  background: rgba(255, 255, 255, 0.09);
}

.locked-access-plan ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locked-access-plan li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.32;
}

.locked-access-plan li svg {
  width: 18px;
  height: 18px;
  color: var(--st-sage);
  stroke-width: 2;
}

.locked-access-cta {
  display: grid;
  place-items: center;
  min-height: 48px;
  max-height: 48px;
  margin-top: auto;
  border-radius: 8px;
  background: #ffffff;
  color: #080b0a;
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.08);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.locked-access-cta:hover {
  background: #f2f6ee;
}

.locked-access-note {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 14px;
}

.locked-access-note strong {
  color: var(--st-sage);
  font-weight: 750;
}

.locked-access-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.locked-access-logout:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1100px) {
  .sentinel-dashboard {
    grid-template-columns: 1fr;
  }

  .st-sidebar {
    position: static;
    height: auto;
    gap: 22px;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--st-border);
  }

  .st-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .st-nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 70px;
    gap: 8px;
    padding: 10px 8px;
    font-size: 13px;
  }

  .st-user-card {
    display: none;
  }

  .st-main {
    padding: 24px;
  }

  .st-topbar,
  .st-header-actions {
    display: grid;
    width: 100%;
  }

  .st-header-actions {
    grid-template-columns: 1fr 72px;
  }

  .st-account-menu,
  .st-select-card {
    width: 100%;
  }

  .st-dashboard-grid,
  .st-setting-row {
    grid-template-columns: 1fr;
  }

  .st-stepper,
  .st-time-control {
    justify-self: stretch;
  }

  .locked-access-sidebar {
    display: none;
  }

  .locked-access-overlay {
    width: min(720px, calc(100vw - 28px));
  }

  .locked-access-modal {
    padding: 26px 22px 18px;
  }

  .locked-access-head h1 {
    font-size: 34px;
  }

  .locked-access-head p {
    font-size: 16px;
  }

  .locked-access-plans {
    grid-template-columns: 1fr;
    width: min(100%, 430px);
    gap: 22px;
  }

  .locked-access-plan {
    min-height: auto;
  }

  .locked-access-price strong {
    font-size: 48px;
  }

  .locked-access-logout {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .st-main {
    padding: 18px;
  }

  .st-brand {
    font-size: 24px;
  }

  .st-nav {
    grid-template-columns: 1fr;
  }

  .st-topbar h1 {
    font-size: 34px;
  }

  .st-header-actions,
  .st-settings-footer,
  .st-stepper {
    grid-template-columns: 1fr;
  }

  .st-bell {
    width: 100%;
  }

  .st-status-row,
  .st-setting-copy {
    grid-template-columns: 1fr;
  }

  .st-account-delete-row,
  .st-account-delete-row form,
  .st-danger-button {
    width: 100%;
  }

  .st-confirm-modal,
  .st-confirm-actions {
    grid-template-columns: 1fr;
  }

  .st-confirm-icon {
    justify-self: start;
  }

  .st-main-value {
    font-size: 32px;
  }

  .locked-access-overlay {
    top: 18px;
    transform: translateX(-50%);
    max-height: calc(100vh - 36px);
    overflow: auto;
  }

  .locked-access-modal {
    max-height: calc(100vh - 36px);
    padding: 22px 16px 16px;
    border-radius: 16px;
  }

  .locked-access-close {
    top: 10px;
    right: 12px;
  }

  .locked-access-lock {
    width: 62px;
    height: 62px;
  }

  .locked-access-lock svg {
    width: 30px;
    height: 30px;
  }

  .locked-access-head h1 {
    font-size: 30px;
  }

  .locked-access-plan {
    padding: 18px;
  }

  .locked-access-top-badge {
    position: static;
    transform: none;
    justify-self: start;
    margin-bottom: 12px;
  }

  .locked-access-price strong {
    font-size: 42px;
  }

  .locked-access-cta {
    min-height: 56px;
    font-size: 15px;
  }

  .locked-access-logout {
    margin-bottom: 18px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

body:has(.site-hero-page) {
  --hero-bg: #050607;
  --hero-panel: #0a0d10;
  --hero-panel-2: #0e1115;
  --hero-line: rgba(255, 255, 255, 0.08);
  --hero-line-strong: rgba(255, 255, 255, 0.14);
  --hero-text: #ffffff;
  --hero-soft: #c7cbd1;
  --hero-muted: #9aa3ad;
  --hero-sage: #9fb58f;
  --hero-sage-hover: #a7c08b;
  --hero-sage-soft: rgba(159, 181, 143, 0.14);
  --hero-red: #e03a32;
  --hero-red-soft: rgba(224, 58, 50, 0.18);
  background:
    radial-gradient(circle at 74% 26%, rgba(159, 181, 143, 0.08), transparent 28%),
    linear-gradient(180deg, #030404 0%, var(--hero-bg) 48%, #020303 100%);
  color: var(--hero-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

main:has(.site-hero-page) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-hero-page {
  width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 18px clamp(18px, 2vw, 38px) 26px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 54px 54px;
}

.site-hero-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-nav {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(360px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--hero-line);
}

.hero-wordmark,
.hero-mockup-brand,
.hero-inline-brand {
  color: var(--hero-text);
  text-decoration: none;
  white-space: nowrap;
}

.hero-wordmark {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 1;
}

.hero-wordmark strong,
.hero-mockup-brand strong,
.hero-inline-brand strong {
  color: var(--hero-sage);
  font-weight: inherit;
}

.hero-wordmark strong {
  color: #8fca72;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-nav a {
  color: var(--hero-text);
  text-decoration: none;
}

.hero-nav-links a,
.hero-nav-actions > a:not(.hero-nav-cta) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-nav-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 32px;
}

.hero-nav-actions > span {
  width: 1px;
  height: 36px;
  background: var(--hero-line);
}

.hero-nav-cta,
.hero-main-cta {
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hero-sage-hover), #7ea65e);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 16px 42px rgba(126, 166, 94, 0.18);
}

.hero-nav-cta {
  min-height: 50px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
}

.hero-shell {
  width: 100%;
  max-width: none;
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: minmax(440px, 0.37fr) minmax(720px, 0.63fr);
  gap: clamp(26px, 2.2vw, 46px);
  align-items: stretch;
}

.hero-copy {
  padding-top: 2px;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(159, 181, 143, 0.28);
  border-radius: 999px;
  background: rgba(5, 6, 7, 0.72);
  color: #86cf61;
  font-size: 17px;
}

.hero-badge span,
.hero-account-switch span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #74c954;
  box-shadow: 0 0 18px rgba(116, 201, 84, 0.4);
}

.hero-copy h1 {
  display: grid;
  gap: 8px;
  margin: 38px 0 30px;
  color: var(--hero-text);
  font-size: clamp(40px, 2.75vw, 56px);
  line-height: 1.03;
  font-weight: 850;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:first-child {
  white-space: normal;
}

.hero-copy h1 span:last-child {
  color: #6aa34e;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.42;
}

.hero-inline-brand {
  display: inline;
  font-weight: 500;
}

.hero-subtitle-strong {
  color: #ffffff;
  font-weight: inherit;
}

.hero-main-cta {
  width: min(500px, 100%);
  min-height: 60px;
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.hero-benefits article {
  min-height: 98px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  padding: 17px 16px;
  border: 1px solid var(--hero-line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(159, 181, 143, 0.08), transparent 54%),
    rgba(10, 13, 16, 0.78);
  color: var(--hero-text);
}

.hero-benefits svg {
  width: 38px;
  height: 38px;
  color: #86cf61;
}

.hero-metatrader-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-benefits span {
  font-size: 14px;
  line-height: 1.45;
}

.hero-mockup {
  align-self: start;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--hero-line-strong);
  border-radius: 20px;
  padding: 24px 28px 14px;
  background:
    radial-gradient(circle at 18% 25%, rgba(159, 181, 143, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(15, 18, 21, 0.9), rgba(4, 5, 6, 0.94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.hero-mockup svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-mockup-brand {
  font-size: 24px;
  font-weight: 800;
}

.hero-account-switch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--hero-line);
  border-radius: 8px;
  background: rgba(7, 9, 11, 0.9);
  color: var(--hero-text);
  font-size: 14px;
}

.hero-account-switch svg {
  width: 16px;
  height: 16px;
}

.hero-mockup-title {
  margin-top: 36px;
}

.hero-mockup-title h2 {
  margin: 0;
  color: var(--hero-text);
  font-size: 28px;
  font-weight: 700;
}

.hero-mockup-title p {
  margin: 12px 0 0;
  color: var(--hero-soft);
  font-size: 16px;
}

.hero-status-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 1fr 1.12fr;
  gap: 18px;
  margin-top: 22px;
}

.hero-status-card,
.hero-info-card {
  border: 1px solid var(--hero-line);
  border-radius: 10px;
  background: rgba(10, 13, 16, 0.72);
}

.hero-status-card {
  min-height: 212px;
  padding: 22px;
}

.hero-protection-card {
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(159, 181, 143, 0.12), transparent 45%),
    rgba(10, 13, 16, 0.72);
  animation: heroProtectionGlow 10s ease-in-out infinite;
}

.hero-shield {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #7ed060;
}

.hero-shield svg {
  width: 74px;
  height: 74px;
  stroke-width: 1.45;
}

.hero-protection-card strong {
  display: block;
  color: #7ed060;
  font-size: 16px;
  font-weight: 700;
}

.hero-protection-card p,
.hero-status-card p {
  margin: 16px 0 0;
  color: var(--hero-soft);
  font-size: 14px;
  line-height: 1.45;
}

.hero-status-card > span {
  display: block;
  color: var(--hero-text);
  font-size: 15px;
}

.hero-status-card > strong {
  display: block;
  margin-top: 20px;
  color: var(--hero-text);
  font-size: 36px;
  line-height: 1;
  font-weight: 760;
}

.hero-status-card.hero-protection-card > strong {
  margin-top: 0;
  color: #7ed060;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-animated-value,
.hero-animated-count {
  position: relative;
  height: 42px;
}

.hero-animated-value em,
.hero-animated-count em {
  position: absolute;
  inset: 0 auto auto 0;
  font-style: normal;
  opacity: 0;
  animation: heroValueCycle 10s ease-in-out infinite;
}

.hero-animated-value em:nth-child(2) {
  animation-delay: 3.1s;
}

.hero-animated-value em:nth-child(3) {
  animation-delay: 5.8s;
}

.hero-animated-count em:nth-child(1) {
  animation: heroCountOne 10s ease-in-out infinite;
}

.hero-animated-count em:nth-child(2) {
  animation: heroCountTwo 10s ease-in-out infinite;
}

.hero-progress {
  height: 8px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ed060, var(--hero-sage));
  animation: heroProgressFill 10s ease-in-out infinite;
}

.hero-progress-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--hero-soft);
  font-size: 14px;
}

.hero-lock-card {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  border-color: rgba(224, 58, 50, 0.58);
  color: var(--hero-red);
  background: var(--hero-red-soft);
  animation: heroLockPulse 10s ease-in-out infinite;
}

.hero-lock-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--hero-red);
  border-radius: 50%;
  color: var(--hero-red);
}

.hero-lock-card strong {
  margin-top: 14px;
  color: var(--hero-red);
  font-size: 20px;
  line-height: 1.25;
}

.hero-lock-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero-lock-card b {
  margin-top: 7px;
  color: var(--hero-red);
  font-size: 26px;
  font-weight: 760;
}

.hero-mockup-bottom {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.2fr;
  gap: 18px;
  margin-top: 18px;
}

.hero-info-card {
  min-height: 222px;
  padding: 18px;
}

.hero-info-card h3 {
  margin: 0 0 22px;
  color: var(--hero-text);
  font-size: 17px;
  font-weight: 600;
}

.hero-info-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.hero-info-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-info-card dt {
  color: var(--hero-soft);
  font-size: 14px;
}

.hero-info-card dd {
  margin: 0;
  color: #86cf61;
  font-size: 15px;
}

.hero-info-card ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-info-card li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--hero-soft);
  font-size: 14px;
}

.hero-info-card li span {
  display: grid;
  place-items: center;
  color: var(--hero-soft);
}

.hero-info-card li span.ok {
  color: #7ed060;
}

.hero-info-card li span.warn {
  color: #f4b63d;
}

.hero-info-card li span.bad {
  color: var(--hero-red);
}

.hero-info-card li small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.hero-info-card a {
  display: inline-flex;
  margin-top: 20px;
  color: #7ed060;
  font-size: 15px;
  text-decoration: none;
}

.hero-demo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 462px;
  margin-top: 14px;
}

.hero-demo-app {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  min-height: 442px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 34% 12%, rgba(134, 207, 97, 0.05), transparent 32%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.92), rgba(4, 5, 6, 0.94));
}

.hero-demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px 12px;
  border: 1px solid var(--hero-line);
  border-radius: 12px;
  background: rgba(6, 8, 10, 0.72);
}

.hero-demo-sidebar strong {
  display: block;
  margin-bottom: 12px;
  color: var(--hero-text);
  font-size: 18px;
  font-weight: 820;
}

.hero-demo-sidebar span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 650;
}

.hero-demo-sidebar span.active {
  color: #bfe3ad;
  background: rgba(134, 207, 97, 0.13);
}

.hero-demo-sidebar svg {
  width: 17px;
  height: 17px;
  color: #86cf61;
}

.hero-demo-sidebar small {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.hero-demo-workspace {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.hero-demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--hero-line);
  border-radius: 12px;
  background: rgba(8, 11, 13, 0.72);
}

.hero-demo-toolbar strong {
  color: var(--hero-text);
  font-size: 20px;
  font-weight: 840;
}

.hero-demo-toolbar p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.hero-demo-toolbar nav {
  display: flex;
  gap: 8px;
}

.hero-demo-toolbar nav span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 750;
}

.hero-demo-toolbar nav span.active {
  color: #bfe3ad;
  background: rgba(134, 207, 97, 0.13);
}

.hero-demo-content {
  display: grid;
  grid-template-columns: minmax(430px, 0.72fr) minmax(210px, 0.42fr);
  gap: 16px;
  align-items: stretch;
}

.hero-demo-panel {
  width: 100%;
  border: 1px solid var(--hero-line-strong);
  border-radius: 14px;
  padding: 18px 18px 17px;
  background:
    radial-gradient(circle at 22% 12%, rgba(134, 207, 97, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(12, 16, 19, 0.96), rgba(7, 9, 11, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.hero-demo-side-preview {
  display: grid;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 16px;
  min-width: 0;
}

.hero-demo-side-preview article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--hero-line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 44%),
    rgba(8, 11, 13, 0.68);
  overflow: hidden;
}

.hero-demo-side-preview span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 780;
}

.hero-demo-side-preview i {
  display: block;
  height: 42px;
  margin-top: 12px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
}

.hero-demo-side-preview i:nth-child(3) {
  width: 82%;
}

.hero-demo-side-preview i:nth-child(4) {
  width: 66%;
}

.hero-demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hero-line);
}

.hero-demo-head span {
  display: block;
  color: var(--hero-text);
  font-size: 14px;
  font-weight: 750;
}

.hero-demo-head p {
  margin: 14px 0 0;
  color: var(--hero-soft);
  font-size: 14px;
}

.hero-demo-head p i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #86cf61;
  box-shadow: 0 0 0 4px rgba(134, 207, 97, 0.12);
  vertical-align: middle;
  animation: heroDemoStatusDot 12s linear infinite;
}

.hero-demo-status {
  position: relative;
  min-width: 76px;
  min-height: 22px;
  color: #86cf61;
  font-size: 18px;
  text-align: right;
}

.hero-demo-status span {
  position: absolute;
  right: 0;
  top: 0;
  font-size: inherit;
  font-weight: 800;
  opacity: 0;
}

.hero-demo-status span:first-child {
  color: #86cf61;
  animation: heroDemoStatusActive 12s linear infinite;
}

.hero-demo-status span:last-child {
  color: var(--hero-red);
  animation: heroDemoStatusLocked 12s linear infinite;
}

.hero-demo-metric {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--hero-line);
}

.hero-demo-metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-demo-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #86cf61;
  border-radius: 50%;
  color: #86cf61;
}

.hero-demo-icon svg {
  width: 23px;
  height: 23px;
}

.hero-demo-body h3 {
  margin: 0 0 14px;
  color: var(--hero-text);
  font-size: 16px;
  font-weight: 800;
}

.hero-demo-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 20px;
}

.hero-demo-values strong {
  color: var(--hero-text);
  font-size: 28px;
  font-weight: 780;
  line-height: 1;
}

.hero-demo-values strong:first-child {
  color: #86cf61;
}

.hero-demo-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
  color: var(--hero-soft);
  font-size: 13px;
}

.hero-demo-progress {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-demo-progress span {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: linear-gradient(90deg, #86cf61, var(--hero-sage));
  animation: heroDemoDrawdownBar 12s linear infinite;
}

.hero-demo-remaining,
.hero-demo-body p {
  margin: 12px 0 0;
  color: var(--hero-soft);
  font-size: 13px;
}

.hero-demo-dd-value {
  position: relative;
  height: 30px;
}

.hero-demo-dd-value em {
  position: absolute;
  inset: 0 auto auto 0;
  font-style: normal;
  opacity: 0;
}

.hero-demo-dd-value em:nth-child(1) { animation: heroDemoDdValue1 12s linear infinite; }
.hero-demo-dd-value em:nth-child(2) { animation: heroDemoDdValue2 12s linear infinite; }
.hero-demo-dd-value em:nth-child(3) { animation: heroDemoDdValue3 12s linear infinite; }
.hero-demo-dd-value em:nth-child(4) { animation: heroDemoDdValue4 12s linear infinite; }

.hero-demo-dd-value em:nth-child(4) {
  color: #ff625d;
}

.hero-demo-hours {
  display: block;
  margin-bottom: 6px;
  color: #86cf61;
  font-size: 24px;
  line-height: 1.1;
}

.hero-demo-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-demo-days span {
  min-width: 42px;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(134, 207, 97, 0.15);
  color: #dfeedd;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.hero-demo-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  justify-items: center;
  width: min(330px, 80%);
  padding: 30px 28px;
  border: 1px solid rgba(224, 58, 50, 0.68);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(66, 20, 20, 0.96), rgba(27, 8, 8, 0.98));
  box-shadow: 0 26px 80px rgba(224, 58, 50, 0.22);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  animation: heroDemoLockShow 12s linear infinite;
}

.hero-demo-lock strong {
  margin-top: 14px;
  color: var(--hero-red);
  font-size: 30px;
  font-weight: 850;
  line-height: 1.04;
}

.hero-demo-lock .hero-demo-lock-message {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.35;
}

.hero-demo-lock .hero-demo-reactivation {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.1;
}

.hero-demo-lock .hero-demo-reactivation span,
.hero-demo-lock .hero-demo-reactivation b {
  display: block;
}

.hero-demo-lock .hero-demo-reactivation b {
  margin-top: 7px;
  color: #ff625d;
  font-size: 30px;
  font-weight: 850;
  text-shadow: 0 0 18px rgba(224, 58, 50, 0.28);
}

.hero-trust {
  width: 100%;
  max-width: none;
  align-self: end;
  margin: 20px 0 0;
  padding-top: 0;
  border-top: 0;
  text-align: center;
  transform: translateY(-42px);
}

.hero-trust-title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 17px;
  font-weight: 500;
}

.hero-trust img {
  display: block;
  width: min(100%, 1576px);
  height: auto;
  margin: 0 auto;
  opacity: 0.78;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.site-steps-section {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: -58px 0 0;
  padding: clamp(30px, 3vw, 38px) clamp(18px, 4vw, 72px) clamp(82px, 8vw, 126px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 54px 54px;
  color: var(--hero-text);
}

.site-steps-section svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps-inner {
  width: min(100%, 1410px);
  margin: 0 auto;
}

.steps-pill {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 26px;
  padding: 12px 24px;
  border: 1px solid rgba(159, 181, 143, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(159, 181, 143, 0.085), rgba(159, 181, 143, 0.025));
  color: var(--hero-sage-hover);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 18px 80px rgba(159, 181, 143, 0.08);
}

.steps-pill svg {
  width: 18px;
  height: 18px;
}

.steps-heading {
  display: block;
  text-align: center;
}

.steps-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
}

.steps-heading h2 span,
.steps-heading p strong span,
.step-card p strong span,
.steps-bottom-statement span {
  color: var(--hero-sage-hover);
}

.steps-heading p {
  margin: 22px auto 0;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(20px, 1.75vw, 29px);
  line-height: 1.45;
  font-weight: 400;
}

.steps-heading p strong,
.step-card p strong {
  color: #ffffff;
  font-weight: 500;
}

.steps-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.2vw, 48px);
  margin-top: clamp(74px, 7vw, 108px);
}

.step-card {
  position: relative;
  min-height: 520px;
  padding: 76px clamp(22px, 2.5vw, 42px) 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 18%, rgba(159, 181, 143, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(13, 17, 17, 0.82), rgba(7, 9, 10, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 90px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 88px;
  right: calc(clamp(22px, 3.2vw, 48px) * -1);
  width: clamp(22px, 3.2vw, 48px);
  border-top: 2px dashed rgba(159, 181, 143, 0.28);
  transform: translateY(-50%);
}

.step-number {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(159, 181, 143, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(159, 181, 143, 0.15), rgba(4, 6, 6, 0.98) 72%),
    #060807;
  color: var(--hero-sage-hover);
  font-size: 31px;
  font-weight: 800;
  box-shadow: 0 0 42px rgba(159, 181, 143, 0.16);
}

.step-visual {
  min-height: 224px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
}

.step-icon-chip {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(159, 181, 143, 0.34);
  border-radius: 18px;
  background: rgba(159, 181, 143, 0.08);
  color: var(--hero-sage-hover);
}

.step-icon-chip svg {
  width: 27px;
  height: 27px;
}

.step-account-visual {
  align-content: center;
}

.step-account-panel,
.step-limits-panel {
  width: min(100%, 300px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 7, 8, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.step-account-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 47px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.step-account-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
}

.step-account-row span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-account-row strong {
  color: var(--hero-sage-hover);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.step-account-panel button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(167, 192, 139, 0.96), rgba(120, 151, 101, 0.96));
  color: #071006;
  font-size: 14px;
  font-weight: 800;
}

.step-limits-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.step-limits-title svg {
  width: 20px;
  height: 20px;
  color: var(--hero-sage-hover);
}

.step-limit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 13px;
  text-align: left;
}

.step-limit-row span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
}

.step-limit-row strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.step-limit-row i {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.step-limit-row i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #85a874, #b6d396);
  box-shadow: 0 0 18px rgba(159, 181, 143, 0.34);
}

.step-protected-visual {
  gap: 18px;
}

.step-shield-ring {
  position: relative;
  width: 186px;
  height: 186px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(159, 181, 143, 0.18), rgba(159, 181, 143, 0.025) 52%, transparent 70%);
}

.step-shield-ring::before,
.step-shield-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(159, 181, 143, 0.14);
  border-radius: 50%;
}

.step-shield-ring::after {
  inset: 42px;
}

.step-shield {
  position: relative;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  color: var(--hero-sage-hover);
  filter: drop-shadow(0 0 26px rgba(159, 181, 143, 0.38));
}

.step-shield svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.step-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(159, 181, 143, 0.32);
  border-radius: 999px;
  background: rgba(159, 181, 143, 0.06);
  color: var(--hero-sage-hover);
  font-size: 15px;
  font-weight: 800;
}

.step-active-badge span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--hero-sage-hover);
  box-shadow: 0 0 18px rgba(159, 181, 143, 0.56);
}

.step-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.17;
  font-weight: 800;
  letter-spacing: 0;
}

.step-card p {
  margin: 18px auto 0;
  max-width: 350px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.45;
}

.steps-bottom-statement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
  padding: 23px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
}

.steps-bottom-statement svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--hero-sage-hover);
}

.steps-bottom-statement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.32;
}

.site-discipline-section {
  width: 100%;
  padding: clamp(92px, 8vw, 138px) clamp(18px, 4vw, 72px) clamp(86px, 7vw, 116px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 54px 54px;
  color: var(--hero-text);
}

.site-discipline-section svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discipline-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  text-align: center;
}

.discipline-pill {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 34px;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.discipline-pill svg {
  width: 23px;
  height: 23px;
  color: #ffffff;
  stroke-width: 1.8;
}

.discipline-pill span span {
  color: #70bf48;
}

.discipline-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 5.2vw, 82px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.discipline-heading h2 span {
  color: #70bf48;
}

.discipline-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(68px, 6vw, 92px);
}

.discipline-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 42px clamp(24px, 2.5vw, 46px) 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.055), transparent 33%),
    linear-gradient(180deg, rgba(12, 15, 17, 0.78), rgba(4, 5, 6, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 84px rgba(0, 0, 0, 0.38);
}

@media (min-width: 1200px) {
  .discipline-inner {
    width: min(100%, 1600px);
  }

  .discipline-card {
    padding-left: clamp(30px, 2.5vw, 52px);
    padding-right: clamp(30px, 2.5vw, 52px);
  }
}

.discipline-visual {
  position: relative;
  width: 260px;
  height: 188px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 238, 230, 0.9);
  filter: drop-shadow(0 0 34px rgba(255, 246, 236, 0.12));
}

.discipline-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.tilt-person {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 118px;
  height: 122px;
  transform: translateX(-50%);
}

.tilt-person::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 78px;
  height: 86px;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 246, 236, 0.72);
  border-bottom: 0;
  border-radius: 48% 48% 44% 44%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 246, 236, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 246, 236, 0.04), rgba(0, 0, 0, 0.5));
  box-shadow: inset 0 -28px 40px rgba(0, 0, 0, 0.72);
}

.tilt-person span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 126px;
  height: 64px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 246, 236, 0.5);
  border-radius: 70px 70px 6px 6px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 246, 236, 0.12), rgba(0, 0, 0, 0.78) 62%),
    rgba(2, 3, 3, 0.9);
}

.tilt-scribble {
  position: absolute;
  top: 0;
  left: 50%;
  width: 118px;
  height: 60px;
  transform: translateX(-50%);
}

.tilt-scribble i {
  position: absolute;
  inset: 8px 4px;
  border: 1.5px solid rgba(255, 246, 236, 0.64);
  border-radius: 50%;
  transform: rotate(var(--rot, 0deg)) scaleX(var(--sx, 1));
}

.tilt-scribble i:nth-child(1) { --rot: 12deg; --sx: 1.05; }
.tilt-scribble i:nth-child(2) { --rot: -18deg; --sx: 0.9; inset: 12px 14px 6px 8px; }
.tilt-scribble i:nth-child(3) { --rot: 34deg; --sx: 0.8; inset: 16px 22px 10px 14px; }
.tilt-scribble i:nth-child(4) { --rot: -42deg; --sx: 0.68; inset: 20px 28px 14px 24px; }

.tilt-bolt {
  position: absolute;
  width: 24px;
  height: 42px;
  clip-path: polygon(42% 0, 100% 42%, 62% 42%, 82% 100%, 0 36%, 42% 38%);
  background: rgba(255, 246, 236, 0.72);
}

.tilt-bolt-a { left: 18px; top: 64px; transform: rotate(-24deg); }
.tilt-bolt-b { right: 20px; top: 64px; transform: rotate(20deg) scaleX(-1); }
.tilt-bolt-c { left: 0; top: 120px; transform: rotate(-38deg) scale(0.75); }
.tilt-bolt-d { right: 2px; top: 118px; transform: rotate(36deg) scale(0.75) scaleX(-1); }

.storm-visual {
  height: 180px;
}

.storm-cloud {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 218px;
  height: 92px;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 32px rgba(255, 246, 236, 0.12));
}

.storm-cloud span {
  position: absolute;
  bottom: 0;
  border: 1px solid rgba(255, 246, 236, 0.38);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 246, 236, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255, 246, 236, 0.08), rgba(0, 0, 0, 0.82));
}

.storm-cloud span:nth-child(1) {
  left: 0;
  width: 96px;
  height: 58px;
  border-radius: 58px 58px 34px 34px;
}

.storm-cloud span:nth-child(2) {
  left: 42px;
  width: 94px;
  height: 86px;
  border-radius: 64px;
}

.storm-cloud span:nth-child(3) {
  right: 38px;
  width: 86px;
  height: 70px;
  border-radius: 58px;
}

.storm-cloud span:nth-child(4) {
  right: 0;
  width: 86px;
  height: 54px;
  border-radius: 48px 48px 32px 32px;
}

.storm-warning {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 88px;
  height: 78px;
  transform: translateX(-50%);
  color: rgba(255, 246, 236, 0.94);
}

.storm-warning svg {
  width: 100%;
  height: 100%;
  stroke-width: 3;
}

.storm-rain i {
  position: absolute;
  top: 118px;
  width: 1px;
  height: 32px;
  background: rgba(255, 246, 236, 0.22);
  transform: rotate(18deg);
}

.storm-rain i:nth-child(1) { left: 60px; }
.storm-rain i:nth-child(2) { left: 96px; top: 132px; }
.storm-rain i:nth-child(3) { left: 132px; }
.storm-rain i:nth-child(4) { left: 176px; top: 130px; }
.storm-rain i:nth-child(5) { left: 210px; }

.rules-visual {
  height: 188px;
}

.rules-ring {
  position: absolute;
  left: 50%;
  top: 0;
  width: 188px;
  height: 188px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 246, 236, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 246, 236, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 0 46px rgba(255, 246, 236, 0.08),
    0 0 42px rgba(255, 246, 236, 0.08);
}

.rules-lock {
  position: absolute;
  left: 50%;
  top: 46px;
  width: 86px;
  height: 96px;
  transform: translateX(-50%);
}

.rules-shackle {
  position: absolute;
  left: 50%;
  top: 0;
  width: 52px;
  height: 54px;
  transform: translateX(-50%);
  border: 7px solid rgba(255, 246, 236, 0.78);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.rules-lock-body {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 86px;
  height: 64px;
  border: 1.5px solid rgba(255, 246, 236, 0.72);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 246, 236, 0.12), rgba(0, 0, 0, 0.7));
}

.rules-lock i {
  position: absolute;
  left: 29px;
  bottom: 24px;
  width: 30px;
  height: 18px;
  border-left: 5px solid rgba(255, 246, 236, 0.76);
  border-bottom: 5px solid rgba(255, 246, 236, 0.76);
  transform: rotate(-45deg);
}

.rules-check {
  position: absolute;
  right: 16px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 246, 236, 0.82);
  border-radius: 50%;
  background: rgba(7, 8, 8, 0.96);
  color: rgba(255, 246, 236, 0.92);
}

.rules-check svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.6;
}

.discipline-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(25px, 1.8vw, 32px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

.discipline-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.2vw, 23px);
  line-height: 1.48;
  font-weight: 400;
}

.discipline-card .discipline-warning {
  margin-top: 8px;
  color: #e0635e;
  font-weight: 800;
}

.discipline-cta {
  width: min(500px, 100%);
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  padding: 0 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hero-sage-hover), #7ea65e);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 16px 42px rgba(126, 166, 94, 0.18);
}

.discipline-cta span {
  font-size: 24px;
  line-height: 1;
}

@keyframes heroDemoDrawdownBar {
  0% { width: 8%; }
  33% { width: 92%; }
  34%, 100% { width: 100%; }
}

@keyframes heroDemoDdValue1 {
  0%, 7% { opacity: 1; transform: translateY(0); }
  11%, 100% { opacity: 0; transform: translateY(4px); }
}

@keyframes heroDemoDdValue2 {
  0%, 7% { opacity: 0; transform: translateY(-4px); }
  11%, 17% { opacity: 1; transform: translateY(0); }
  21%, 100% { opacity: 0; transform: translateY(4px); }
}

@keyframes heroDemoDdValue3 {
  0%, 17% { opacity: 0; transform: translateY(-4px); }
  21%, 33% { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(4px); }
}

@keyframes heroDemoDdValue4 {
  0%, 33% { opacity: 0; transform: translateY(-4px); }
  34%, 86% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(4px); }
}

@keyframes heroDemoLockShow {
  0%, 33% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
  34%, 86% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

@keyframes heroDemoStatusActive {
  0%, 33% { opacity: 1; }
  34%, 100% { opacity: 0; }
}

@keyframes heroDemoStatusLocked {
  0%, 33% { opacity: 0; }
  34%, 86% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes heroDemoStatusDot {
  0%, 33% {
    background: #86cf61;
    box-shadow: 0 0 0 4px rgba(134, 207, 97, 0.12);
  }
  34%, 86% {
    background: var(--hero-red);
    box-shadow: 0 0 0 4px rgba(224, 58, 50, 0.16);
  }
  100% {
    background: #86cf61;
    box-shadow: 0 0 0 4px rgba(134, 207, 97, 0.12);
  }
}

@keyframes heroValueCycle {
  0%, 24% { opacity: 1; transform: translateY(0); }
  30%, 100% { opacity: 0; transform: translateY(5px); }
}

@keyframes heroCountOne {
  0%, 43% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes heroCountTwo {
  0%, 43% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@keyframes heroProgressFill {
  0%, 24% { width: 42%; }
  34%, 54% { width: 84%; }
  62%, 86% { width: 100%; }
  96%, 100% { width: 42%; }
}

@keyframes heroLockPulse {
  0%, 46% {
    border-color: rgba(224, 58, 50, 0.22);
    background: rgba(224, 58, 50, 0.06);
  }
  55%, 86% {
    border-color: rgba(224, 58, 50, 0.68);
    background: rgba(224, 58, 50, 0.18);
    box-shadow: 0 0 34px rgba(224, 58, 50, 0.1);
  }
  100% {
    border-color: rgba(224, 58, 50, 0.22);
    background: rgba(224, 58, 50, 0.06);
  }
}

@keyframes heroProtectionGlow {
  0%, 48%, 100% { border-color: rgba(159, 181, 143, 0.22); }
  58%, 84% { border-color: rgba(159, 181, 143, 0.42); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-protection-card,
  .hero-lock-card,
  .hero-demo-progress span,
  .hero-demo-dd-value em,
  .hero-demo-lock,
  .hero-demo-status span,
  .hero-demo-head p i,
  .hero-progress span,
  .hero-animated-value em,
  .hero-animated-count em {
    animation: none;
  }

  .hero-animated-value em,
  .hero-animated-count em,
  .hero-demo-dd-value em,
  .hero-demo-status span {
    opacity: 0;
  }

  .hero-animated-value em:nth-child(2),
  .hero-animated-count em:nth-child(2),
  .hero-demo-dd-value em:nth-child(4),
  .hero-demo-status span:last-child {
    opacity: 1;
  }

  .hero-demo-lock {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 1280px) {
  .site-hero-page {
    padding: 22px 24px 34px;
  }

  .hero-nav {
    grid-template-columns: auto 1fr;
  }

  .hero-nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    max-width: 980px;
    margin: 46px auto 0;
  }

  .hero-copy h1 {
    margin-top: 46px;
    font-size: 46px;
  }

  .hero-demo-app {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .hero-demo-content {
    grid-template-columns: minmax(390px, 1fr);
  }

  .hero-demo-side-preview {
    display: none;
  }
}

@media (max-width: 1120px) {
  .steps-cards {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    gap: 64px;
  }

  .step-card:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -64px;
    width: 0;
    height: 64px;
    border-top: 0;
    border-left: 2px dashed rgba(159, 181, 143, 0.26);
    transform: translateX(50%);
  }

  .discipline-cards {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .discipline-card {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .site-hero-page {
    padding: 20px 14px 30px;
  }

  .hero-nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 18px;
  }

  .hero-wordmark {
    font-size: 26px;
  }

  .hero-nav-links,
  .hero-nav-actions {
    justify-content: start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-nav-actions > span {
    display: none;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy h1 span:first-child {
    white-space: normal;
  }

  .hero-copy p {
    font-size: 19px;
  }

  .hero-main-cta {
    min-height: 58px;
    font-size: 18px;
  }

  .hero-benefits,
  .hero-status-grid,
  .hero-mockup-bottom {
    grid-template-columns: 1fr;
  }

  .hero-trust img {
    width: 100%;
  }

  .hero-mockup {
    padding: 20px 16px;
  }

  .hero-mockup-top {
    align-items: start;
    flex-direction: column;
  }

  .hero-status-card {
    min-height: 160px;
  }

  .hero-info-card {
    min-height: auto;
  }

  .hero-demo-stage {
    min-height: 560px;
    margin-top: 24px;
  }

  .hero-demo-app {
    display: block;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hero-demo-sidebar,
  .hero-demo-toolbar,
  .hero-demo-side-preview {
    display: none;
  }

  .hero-demo-content {
    display: block;
  }

  .hero-demo-panel {
    padding: 20px 16px;
  }

  .hero-demo-metric {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .hero-demo-values strong {
    font-size: 24px;
  }

  .hero-demo-lock {
    width: min(300px, 88%);
  }

  .site-steps-section {
    margin-top: -52px;
    padding: 28px 14px 82px;
  }

  .steps-pill {
    padding: 10px 18px;
    font-size: 13px;
  }

  .steps-heading h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .steps-heading p {
    font-size: 18px;
  }

  .steps-cards {
    margin-top: 68px;
  }

  .step-card {
    min-height: auto;
    padding: 66px 18px 34px;
    border-radius: 24px;
  }

  .step-visual {
    min-height: 196px;
    margin-bottom: 26px;
  }

  .step-number {
    width: 62px;
    height: 62px;
    top: -31px;
    font-size: 27px;
  }

  .step-shield-ring {
    width: 162px;
    height: 162px;
  }

  .step-shield {
    width: 92px;
    height: 92px;
  }

  .steps-bottom-statement {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 36px;
    padding: 20px 18px;
    text-align: left;
  }

  .steps-bottom-statement p {
    font-size: 18px;
  }

  .site-discipline-section {
    padding: 78px 14px 82px;
  }

  .discipline-pill {
    padding: 10px 17px;
    gap: 9px;
    font-size: 13px;
  }

  .discipline-pill svg {
    width: 19px;
    height: 19px;
  }

  .discipline-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.12;
  }

  .discipline-cards {
    margin-top: 52px;
    gap: 22px;
  }

  .discipline-card {
    padding: 34px 18px 36px;
    border-radius: 22px;
  }

  .discipline-visual {
    width: 230px;
    height: 170px;
    margin-bottom: 22px;
    transform: scale(0.92);
  }

  .discipline-card h3 {
    font-size: 25px;
  }

  .discipline-card p {
    font-size: 17px;
  }

  .discipline-cta {
    min-height: 60px;
    gap: 18px;
    margin-top: 34px;
    padding: 0 20px;
    font-size: 18px;
  }

  .discipline-cta span {
    font-size: 28px;
  }
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 48px;
}

body:has(.site-hero-page) main {
  width: 100%;
  max-width: none;
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

input,
select,
summary {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: var(--brand-strong);
}

.small-button {
  min-height: 28px;
  padding: 6px 10px;
  font-size: 12px;
}

.danger-button {
  background: #a93636;
}

.danger-button:hover {
  background: #842828;
}

.secondary-button {
  background: #475467;
}

.secondary-button:hover {
  background: #344054;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #344054;
  background: #eef2f6;
}

.pill.good {
  color: var(--good);
  background: #dcfae6;
}

.pill.warn {
  color: var(--warn);
  background: #fff2cc;
}

.pill.bad {
  color: var(--bad);
  background: #fee4e2;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.events {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.events li {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

body:has(.auth-shell) {
  --auth-bg: #030504;
  --auth-bg-2: #050807;
  --auth-card: rgba(5, 7, 6, 0.72);
  --auth-border: rgba(255, 255, 255, 0.1);
  --auth-border-soft: rgba(255, 255, 255, 0.075);
  --auth-text: #ffffff;
  --auth-primary: #f5f7f5;
  --auth-muted: #a8aea8;
  --auth-dim: #757b75;
  --auth-sage: #8fca72;
  --auth-sage-soft: #9bd77d;
  --auth-sage-glow: rgba(143, 202, 114, 0.28);
  background:
    radial-gradient(circle at 88% 11%, rgba(143, 202, 114, 0.15), transparent 24%),
    radial-gradient(circle at 74% 34%, rgba(143, 202, 114, 0.065), transparent 32%),
    radial-gradient(circle at 16% 70%, rgba(143, 202, 114, 0.06), transparent 34%),
    linear-gradient(180deg, #000 0%, #010201 54%, #030504 100%);
  color: var(--auth-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body:has(.pricing-shell) {
  --auth-bg: #030504;
  --auth-card: rgba(5, 7, 6, 0.72);
  --auth-border: rgba(255, 255, 255, 0.1);
  --auth-border-soft: rgba(255, 255, 255, 0.075);
  --auth-text: #ffffff;
  --auth-primary: #f5f7f5;
  --auth-muted: #a8aea8;
  --auth-dim: #757b75;
  --auth-sage: #8fca72;
  --auth-sage-soft: #9bd77d;
  background:
    radial-gradient(circle at 84% 10%, rgba(143, 202, 114, 0.14), transparent 25%),
    radial-gradient(circle at 15% 72%, rgba(143, 202, 114, 0.065), transparent 34%),
    linear-gradient(180deg, #000 0%, #010201 54%, #030504 100%);
  color: var(--auth-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

main:has(.auth-shell) {
  width: 100%;
  max-width: none;
  margin: 0;
}

main:has(.pricing-shell) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(34px, 5.4vw, 76px) clamp(24px, 5.7vw, 84px) 26px;
  background:
    radial-gradient(circle at 83% 18%, rgba(143, 202, 114, 0.075), transparent 29%),
    radial-gradient(circle at 42% 32%, rgba(255, 255, 255, 0.025), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.26) 52%, rgba(0, 0, 0, 0.52) 100%);
}

.pricing-shell {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 5vw, 82px) 28px;
  background:
    radial-gradient(circle at 83% 18%, rgba(143, 202, 114, 0.075), transparent 29%),
    radial-gradient(circle at 42% 32%, rgba(255, 255, 255, 0.025), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.24) 52%, rgba(0, 0, 0, 0.52) 100%);
}

.auth-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
}

.auth-glow-one {
  top: -20%;
  right: -10%;
  width: 610px;
  height: 610px;
  background: radial-gradient(circle, rgba(143, 202, 114, 0.12), transparent 66%);
}

.auth-glow-two {
  left: -18%;
  bottom: 8%;
  width: 760px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(143, 202, 114, 0.11), transparent 72%);
}

.auth-page {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(470px, 620px);
  align-items: center;
  gap: clamp(46px, 8vw, 128px);
}

.auth-wordmark {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: baseline;
  color: var(--auth-text);
  font-size: clamp(27px, 2.55vw, 38px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.auth-wordmark strong,
.auth-copy p strong {
  color: var(--auth-sage-soft);
  font-weight: inherit;
}

.auth-brand-panel {
  position: relative;
  min-height: 690px;
  display: grid;
  align-content: center;
  gap: 68px;
  padding-top: 84px;
}

.auth-copy {
  max-width: 470px;
}

.auth-copy h1 {
  display: grid;
  gap: 4px;
  margin: 0 0 34px;
  color: var(--auth-text);
  font-size: clamp(44px, 5vw, 63px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 620;
}

.auth-copy h1 strong {
  max-width: 550px;
  color: var(--auth-sage-soft);
  font-weight: inherit;
}

.auth-mobile-line {
  display: inline;
}

.auth-copy p {
  margin: 0;
  color: var(--auth-muted);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.72;
  font-weight: 420;
}

.auth-copy p span {
  color: var(--auth-text);
}

.auth-wave {
  position: absolute;
  left: -180px;
  right: -130px;
  bottom: 142px;
  height: 330px;
  opacity: 0.58;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(143, 202, 114, 0.9) 0 1.05px, transparent 1.25px);
  background-size: 10px 10px;
  clip-path: polygon(0 52%, 8% 45%, 17% 36%, 27% 43%, 38% 59%, 49% 64%, 60% 47%, 70% 39%, 81% 49%, 91% 58%, 100% 52%, 100% 100%, 0 100%);
  transform: perspective(780px) rotateX(64deg) translateY(8px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 74%, transparent 100%);
}

.auth-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  margin-top: auto;
}

.auth-benefit {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  color: var(--auth-primary);
}

.auth-benefit > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(143, 202, 114, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 18%, rgba(143, 202, 114, 0.16), transparent 46%),
    rgba(143, 202, 114, 0.07);
  color: var(--auth-sage-soft);
}

.auth-benefit svg,
.auth-field svg,
.auth-eye svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-benefit strong {
  display: block;
  color: var(--auth-text);
  font-size: 18px;
  font-weight: 620;
  line-height: 1.35;
}

.auth-benefit small {
  display: block;
  margin-top: 7px;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.4;
}

.auth-panel {
  position: relative;
  width: 100%;
  display: grid;
  gap: 24px;
  padding: clamp(38px, 4.7vw, 70px) clamp(32px, 4.4vw, 58px) 38px;
  border: 1px solid var(--auth-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 10%, rgba(143, 202, 114, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 28%),
    var(--auth-card);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.auth-panel-head {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
  text-align: center;
}

.auth-panel h2 {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(38px, 3.8vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.auth-panel-head p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 18px;
  line-height: 1.4;
}

.signup-panel {
  gap: 18px;
}

.signup-panel .auth-panel-head {
  margin-bottom: 18px;
}

.signup-panel .auth-submit {
  margin-top: 10px;
}

.auth-field {
  display: grid;
  gap: 14px;
  color: var(--auth-primary);
  font-size: 17px;
  font-weight: 520;
}

.auth-field > span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(2, 4, 3, 0.45);
  color: rgba(255, 255, 255, 0.86);
}

.auth-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0;
  color: var(--auth-text);
  background: transparent;
  font-size: 18px;
  outline: none;
}

.auth-field input::placeholder {
  color: rgba(168, 174, 168, 0.78);
}

.auth-eye {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
}

.auth-eye:hover {
  background: transparent;
  color: var(--auth-sage-soft);
}

.auth-forgot {
  justify-self: end;
  margin-top: -8px;
  color: var(--auth-sage-soft);
  font-size: 17px;
  text-decoration: none;
}

.auth-submit {
  min-height: 72px;
  margin-top: 24px;
  border-radius: 13px;
  background: linear-gradient(135deg, #a7df85, var(--auth-sage));
  color: #071006;
  font-size: 19px;
  font-weight: 780;
  box-shadow: 0 14px 34px rgba(143, 202, 114, 0.2);
}

.auth-submit:hover {
  background: linear-gradient(135deg, #b5ec94, #9fd27f);
}

.auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 28px 0 2px;
  color: var(--auth-muted);
  font-size: 16px;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  height: 1px;
  background: var(--auth-border-soft);
}

.auth-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.auth-socials button {
  min-height: 72px;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(2, 4, 3, 0.32);
  color: var(--auth-text);
  font-size: 19px;
  font-weight: 400;
}

.auth-socials button:hover {
  background: rgba(255, 255, 255, 0.045);
}

.auth-google-logo,
.auth-apple-logo {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: block;
}

.auth-apple-logo {
  color: #fff;
}

.auth-signup {
  margin: 10px 0 14px;
  color: var(--auth-primary);
  text-align: center;
  font-size: 18px;
}

.auth-signup a,
.auth-terms a {
  margin-left: 12px;
  color: var(--auth-sage-soft);
  text-decoration: none;
  font-weight: 560;
}

.auth-terms {
  max-width: 440px;
  margin: -4px auto 2px;
  color: var(--auth-muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

.auth-terms a {
  margin-left: 0;
}

.auth-panel .notice {
  margin: -16px 0 4px;
  border-color: rgba(224, 58, 50, 0.28);
  background: rgba(224, 58, 50, 0.1);
  color: #ff9b96;
  text-align: center;
}

.auth-footer {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 38px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--auth-muted);
  text-align: center;
  font-size: 16px;
}

.auth-footer p {
  margin: 0;
}

.auth-footer p + p {
  margin-top: 18px;
}

.auth-footer span {
  margin: 0 18px;
  color: var(--auth-dim);
}

.pricing-nav,
.pricing-main,
.pricing-footer {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.pricing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
}

.pricing-wordmark {
  position: static;
}

.pricing-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pricing-nav-links a {
  color: var(--auth-muted);
  font-size: 15px;
  text-decoration: none;
}

.pricing-nav-links a:hover {
  color: var(--auth-text);
}

.pricing-nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(143, 202, 114, 0.3);
  border-radius: 999px;
  background: rgba(143, 202, 114, 0.08);
  color: var(--auth-sage-soft) !important;
}

.pricing-main {
  padding: clamp(56px, 7vw, 96px) 0 0;
}

.pricing-hero {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.pricing-pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border: 1px solid rgba(143, 202, 114, 0.24);
  border-radius: 999px;
  background: rgba(143, 202, 114, 0.07);
  color: var(--auth-sage-soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.pricing-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auth-sage-soft);
  box-shadow: 0 0 0 4px rgba(143, 202, 114, 0.12);
}

.pricing-hero h1 {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(40px, 5.7vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 650;
}

.pricing-hero p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--auth-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 26px;
  min-height: 620px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--auth-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 0%, rgba(143, 202, 114, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 28%),
    var(--auth-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.pricing-card-featured {
  border-color: rgba(143, 202, 114, 0.34);
  background:
    radial-gradient(circle at 80% 0%, rgba(143, 202, 114, 0.15), transparent 35%),
    linear-gradient(180deg, rgba(143, 202, 114, 0.07), transparent 34%),
    var(--auth-card);
}

.pricing-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 202, 114, 0.12);
  color: var(--auth-sage-soft);
  font-size: 12px;
  font-weight: 720;
}

.pricing-card-head {
  display: grid;
  gap: 12px;
  padding-right: 120px;
}

.pricing-plan {
  color: var(--auth-text);
  font-size: 30px;
  font-weight: 680;
  letter-spacing: -0.04em;
}

.pricing-card-head p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.55;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: var(--auth-text);
}

.pricing-price strong {
  font-size: clamp(54px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.pricing-price span {
  margin-bottom: 8px;
  color: var(--auth-muted);
  font-size: 18px;
}

.pricing-cta {
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--auth-text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.pricing-cta.featured {
  border-color: transparent;
  background: linear-gradient(135deg, #a7df85, var(--auth-sage));
  color: #071006;
  box-shadow: 0 14px 34px rgba(143, 202, 114, 0.18);
}

.pricing-features {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.pricing-features li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--auth-primary);
  font-size: 16px;
  line-height: 1.45;
}

.pricing-features svg,
.pricing-note svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--auth-sage-soft);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-note {
  max-width: 820px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--auth-muted);
}

.pricing-note div {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(143, 202, 114, 0.08);
}

.pricing-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .auth-shell {
    padding-inline: 26px;
  }

  .auth-page {
    gap: 42px;
    grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1fr);
  }

  .auth-copy h1 {
    font-size: 43px;
  }
}

@media (max-width: 860px) {
  .auth-shell {
    overflow-y: auto;
    padding: 28px 20px 24px;
  }

  .auth-page {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .auth-brand-panel {
    min-height: auto;
    gap: 26px;
    padding-top: 70px;
  }

  .auth-wordmark {
    font-size: 28px;
  }

  .auth-copy {
    max-width: none;
  }

  .auth-copy h1 {
    display: block;
    max-width: 360px;
    margin-bottom: 18px;
    font-size: clamp(29px, 7.6vw, 34px);
    line-height: 1.08;
  }

  .auth-copy h1 span,
  .auth-copy h1 strong {
    display: inline;
  }

  .auth-copy h1 strong::before {
    content: " ";
  }

  .auth-copy h1 .auth-mobile-line {
    display: block;
  }

  .auth-copy p {
    font-size: 16px;
  }

  .auth-wave {
    display: none;
  }

  .auth-benefits {
    display: none;
  }

  .auth-panel {
    padding: 30px 20px 24px;
  }

  .auth-panel-head {
    margin-bottom: 12px;
  }

  .auth-panel h2 {
    font-size: 32px;
  }

  .auth-panel-head p,
  .auth-field input,
  .auth-field,
  .auth-forgot,
  .auth-signup,
  .auth-terms,
  .auth-footer {
    font-size: 15px;
  }

  .auth-terms {
    font-size: 12px;
  }

  .auth-field > span,
  .auth-submit,
  .auth-socials button {
    min-height: 58px;
  }

  .auth-socials {
    grid-template-columns: 1fr;
  }

  .auth-footer span {
    margin: 0 8px;
  }

  .pricing-shell {
    padding: 24px 18px;
  }

  .pricing-nav {
    align-items: flex-start;
  }

  .pricing-nav-links {
    gap: 12px;
  }

  .pricing-nav-links a:not(.pricing-nav-cta) {
    display: none;
  }

  .pricing-nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px !important;
  }

  .pricing-main {
    padding-top: 46px;
  }

  .pricing-hero {
    text-align: left;
  }

  .pricing-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .pricing-hero p {
    margin-left: 0;
    margin-right: 0;
    font-size: 15px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
    padding: 26px 20px;
  }

  .pricing-card-head {
    padding-right: 0;
  }

  .pricing-badge {
    position: static;
    width: max-content;
    order: -1;
  }

  .pricing-plan {
    font-size: 26px;
  }

  .pricing-price strong {
    font-size: 58px;
  }

  .pricing-note {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

.summary-strip,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  margin-bottom: 22px;
}

.summary-strip > div,
.metric-grid > div {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.summary-strip > div:last-child,
.metric-grid > div:nth-child(6) {
  border-right: 0;
}

.summary-strip strong,
.metric-grid strong {
  font-size: 21px;
}

.summary-strip span,
.metric-grid span {
  color: var(--muted);
  font-size: 12px;
}

.metric-grid {
  grid-template-columns: repeat(6, 1fr);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.account-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-actions > .button,
.account-actions > form {
  flex: 1 1 190px;
}

.account-actions > form {
  display: flex;
}

.account-actions button {
  width: 100%;
}

.account-help {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.account-card-head,
.account-meta,
.section-heading,
.toggle-line,
.reset-row,
.inline-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-meta {
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}

.account-meta .good {
  color: var(--good);
}

.account-meta .warn {
  color: var(--warn);
}

.account-meta .bad {
  color: var(--bad);
}

.panel p.good {
  color: var(--good);
}

.panel p.warn {
  color: var(--warn);
}

.panel p.bad {
  color: var(--bad);
}

.section-heading {
  margin: 18px 0 12px;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.add-account {
  margin-top: 18px;
}

.add-account summary {
  border: 0;
  padding: 0;
  font-weight: 700;
  cursor: pointer;
}

.add-account[open] summary {
  margin-bottom: 18px;
}

.activation-progress {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.activation-progress p {
  margin: 0;
  font-size: 13px;
}

.platform-gate {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
}

.platform-gate legend {
  padding: 0;
  color: var(--text);
  font-weight: 700;
}

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

.platform-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.platform-choice:has(input:checked) {
  border-color: var(--brand);
  background: rgba(18, 106, 90, 0.12);
}

.platform-choice input {
  width: auto;
  accent-color: var(--brand);
}

.platform-choice span {
  display: grid;
  gap: 3px;
}

.platform-choice small {
  color: var(--muted);
}

.platform-dependent-fields {
  display: grid;
  gap: 14px;
}

.setting-band {
  display: grid;
  gap: 10px;
  padding: 13px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.readonly-value {
  font-weight: 700;
}

.reset-row input {
  flex: 1;
}

.icon-button {
  width: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 22px;
}

.danger-outline {
  color: var(--bad);
  background: #fff;
  border: 1px solid #f5b7b1;
}

.danger-outline:hover {
  color: #fff;
  background: var(--bad);
}

.compact-button {
  min-height: 34px;
  justify-self: start;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
}

.notice {
  padding: 12px 14px;
  border: 1px solid #a6e3c8;
  background: #ecfdf3;
  border-radius: 6px;
}

.bad-notice {
  border-color: #f5b7b1;
  background: #fff1f0;
  color: var(--bad);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
  align-items: start;
}

.inline-form input {
  min-width: 90px;
}

body:has(.risk-app) {
  background:
    radial-gradient(circle at 72% 18%, rgba(143, 168, 123, 0.08), transparent 28%),
    #07090b;
}

main:has(.risk-app) {
  width: min(1240px, calc(100% - 32px));
  margin: 22px auto 42px;
}

.risk-app {
  --risk-bg: #07090b;
  --risk-panel: #101417;
  --risk-panel-soft: #0c1013;
  --risk-line: #232a2e;
  --risk-line-soft: #171d20;
  --risk-text: #f4f6f0;
  --risk-muted: #98a197;
  --risk-sage: #9bb98b;
  --risk-sage-strong: #7f9f70;
  --risk-sage-soft: rgba(155, 185, 139, 0.16);
  --risk-danger: #db6b66;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  min-height: calc(100vh - 64px);
  color: var(--risk-text);
}

.risk-app * {
  letter-spacing: 0;
}

.risk-app a {
  color: inherit;
}

.risk-sidebar,
.risk-panel {
  background: linear-gradient(180deg, rgba(18, 23, 26, 0.98), rgba(10, 13, 15, 0.98));
  border: 1px solid var(--risk-line);
  border-radius: 8px;
}

.risk-sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  height: calc(100vh - 44px);
  padding: 18px 14px;
}

.risk-brand,
.risk-nav-item,
.risk-user-card {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.risk-brand {
  padding: 0 6px;
  font-size: 18px;
}

.risk-brand-mark,
.risk-nav-item span,
.risk-user-card > span,
.risk-metric-title span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(155, 185, 139, 0.44);
  border-radius: 50%;
  color: var(--risk-sage);
  background: var(--risk-sage-soft);
  font-weight: 800;
}

.risk-nav {
  display: grid;
  gap: 8px;
}

.risk-nav-item {
  min-height: 50px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #dfe5dc;
}

.risk-nav-item:hover,
.risk-nav-item.active {
  background: rgba(155, 185, 139, 0.12);
  color: var(--risk-sage);
}

.risk-user-card {
  min-width: 0;
  padding: 12px 10px;
  background: #0b0f12;
  border: 1px solid var(--risk-line-soft);
  border-radius: 8px;
}

.risk-user-card div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.risk-user-card strong,
.risk-user-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-user-card small,
.risk-topbar p,
.risk-panel-head p,
.risk-setting-row p,
.risk-metric p,
.risk-setting-row small,
.risk-footnote {
  color: var(--risk-muted);
}

.risk-main {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.risk-topbar {
  margin: 0;
  align-items: center;
}

.risk-topbar h1 {
  font-size: 31px;
}

.risk-topbar p {
  margin: 8px 0 0;
}

.risk-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.risk-account-select,
.risk-date-pill,
.risk-icon-button {
  min-height: 50px;
  border: 1px solid var(--risk-line);
  border-radius: 7px;
  background: #0c1013;
  color: var(--risk-text);
}

.risk-account-select {
  width: 230px;
}

.risk-date-pill,
.risk-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
}

.risk-icon-button {
  width: 54px;
  color: var(--risk-sage);
  font-size: 12px;
  font-weight: 800;
}

.risk-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(420px, 1.35fr);
  gap: 20px;
  align-items: start;
}

.risk-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
}

.risk-panel {
  padding: 22px;
}

.risk-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.risk-panel-head.vertical {
  display: grid;
  gap: 8px;
}

.risk-panel-head span {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.risk-status.active {
  color: var(--risk-sage);
}

.risk-status.waiting {
  color: #d7ba7d;
}

.risk-system-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: -2px 0 22px;
  color: #d9dfd6;
}

.risk-system-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--risk-sage);
  box-shadow: 0 0 0 5px rgba(155, 185, 139, 0.13);
}

.risk-metric {
  display: grid;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--risk-line);
}

.risk-metric:first-of-type {
  border-top: 0;
}

.risk-metric-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.risk-metric-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-left: 50px;
}

.risk-metric-values strong,
.risk-hours-row strong {
  display: block;
  color: var(--risk-sage);
  font-size: 28px;
  line-height: 1.1;
}

.risk-metric-values small {
  display: block;
  margin-top: 6px;
  color: var(--risk-muted);
}

.risk-progress,
.risk-slider-line {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #1b2124;
}

.risk-progress span,
.risk-slider-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--risk-sage-strong), var(--risk-sage));
}

.risk-metric p {
  margin: 0;
  padding-left: 50px;
}

.risk-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-left: 50px;
}

.risk-market-badge {
  border-radius: 6px;
  padding: 6px 9px;
  background: var(--risk-sage-soft);
  color: var(--risk-sage);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.risk-days {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.risk-day {
  min-width: 43px;
  text-align: center;
  border-radius: 6px;
  padding: 9px 10px;
  background: #151a1d;
  color: #bac3b8;
  font-size: 12px;
  font-weight: 800;
}

.risk-day.active {
  color: #071008;
  background: linear-gradient(180deg, var(--risk-sage), var(--risk-sage-strong));
}

.risk-settings-form {
  display: grid;
  gap: 0;
}

.risk-setting-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(210px, 0.9fr);
  gap: 14px 22px;
  padding: 22px 0;
  border-top: 1px solid var(--risk-line);
  align-items: center;
}

.risk-setting-row > div:first-child {
  display: grid;
  gap: 7px;
}

.risk-setting-row p,
.risk-panel-head p,
.risk-footnote {
  margin: 0;
}

.risk-number-control {
  display: grid;
  grid-template-columns: 44px minmax(80px, 1fr) 64px;
  align-items: center;
  gap: 0;
  min-height: 48px;
  border: 1px solid var(--risk-line);
  border-radius: 7px;
  overflow: hidden;
  background: #090c0f;
}

.risk-number-control span,
.risk-number-control b {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--risk-muted);
  background: #13181b;
  font-weight: 800;
}

.risk-number-control input {
  height: 48px;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: #090c0f;
  color: var(--risk-text);
  font-size: 18px;
  font-weight: 800;
}

.risk-slider-line,
.risk-setting-row small,
.risk-setting-row .risk-days {
  grid-column: 2;
}

.risk-reset-block [data-reset-editor] {
  display: grid;
  gap: 12px;
}

.risk-reset-block label,
.risk-time-window,
.risk-toggle {
  color: var(--risk-muted);
}

.risk-reset-block input,
.risk-reset-block select,
.risk-time-window input,
.risk-account-select {
  border-color: var(--risk-line);
  background: #0a0e11;
  color: var(--risk-text);
}

.risk-reset-block .secondary-button,
.risk-form-footer .secondary-button {
  background: #171e22;
  border: 1px solid var(--risk-line);
  color: var(--risk-text);
}

.risk-toggle {
  display: flex;
  justify-content: flex-start;
}

.risk-form-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--risk-line);
}

.risk-app button,
.risk-app .button {
  background: linear-gradient(180deg, var(--risk-sage), var(--risk-sage-strong));
  color: #071008;
}

.risk-app button:hover,
.risk-app .button:hover {
  background: linear-gradient(180deg, #a6c296, #86a776);
}

.risk-app .danger-button {
  background: #3a1919;
  border: 1px solid rgba(219, 107, 102, 0.42);
  color: #ffd7d4;
}

.risk-app .danger-button:hover {
  background: #572120;
}

.risk-footnote {
  padding-top: 12px;
}

.risk-events {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-events li {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-top: 1px solid var(--risk-line);
}

.risk-events li:first-child {
  border-top: 0;
}

.risk-events strong {
  color: var(--risk-sage);
  font-size: 12px;
}

.risk-events span,
.risk-danger-zone p {
  color: var(--risk-muted);
}

body:has(.risk-app) {
  background: #07090b;
}

main:has(.risk-app) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.risk-app {
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, #080b0e 0 204px, transparent 204px),
    radial-gradient(circle at 78% 7%, rgba(155, 185, 139, 0.05), transparent 32%),
    #07090b;
}

.risk-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border: 0;
  border-right: 1px solid #1c2227;
  border-radius: 0;
  background: #090c10;
  padding: 28px 16px 16px;
}

.risk-main {
  width: min(1030px, calc(100vw - 244px));
  padding: 24px 26px 40px;
  margin: 0 auto;
  gap: 20px;
}

.risk-brand {
  padding: 3px 8px 8px;
  font-size: 22px;
  font-weight: 800;
}

.risk-brand strong {
  color: #f4f6f0;
}

.risk-brand strong::first-letter {
  color: var(--risk-sage);
}

.risk-brand-mark,
.risk-nav-item span {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--risk-sage);
}

.risk-nav-item span {
  width: 24px;
  height: 24px;
}

.risk-brand svg,
.risk-nav-item svg,
.risk-icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.risk-brand svg {
  width: 36px;
  height: 36px;
}

.risk-nav {
  gap: 7px;
}

.risk-nav-item {
  min-height: 52px;
  padding: 0 14px;
  border-radius: 6px;
  color: #d7ddd4;
  font-weight: 700;
}

.risk-nav-item.active,
.risk-nav-item:hover {
  background: #14191d;
  color: var(--risk-sage);
}

.risk-user-card {
  padding: 14px 12px;
  background: #0d1115;
  border-color: #1d2429;
}

.risk-user-card > span {
  border: 0;
  color: #071008;
  background: linear-gradient(180deg, var(--risk-sage), var(--risk-sage-strong));
}

.risk-topbar {
  min-height: 56px;
}

.risk-topbar h1 {
  font-size: 30px;
  line-height: 1.05;
}

.risk-topbar p {
  margin-top: 7px;
  font-size: 13px;
}

.risk-top-actions {
  gap: 14px;
}

.risk-account-select,
.risk-date-pill,
.risk-icon-button {
  min-height: 52px;
  border-color: #20262c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.01) inset;
}

.risk-account-select {
  width: 176px;
  padding: 8px 14px;
  font-weight: 700;
}

.risk-date-pill {
  width: 164px;
  justify-content: flex-start;
  font-weight: 700;
}

.risk-icon-button {
  width: 52px;
  padding: 0;
}

.risk-dashboard-grid {
  grid-template-columns: 385px minmax(0, 1fr);
  gap: 20px;
}

.risk-panel {
  background: rgba(11, 15, 18, 0.96);
  border-color: #20262c;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  padding: 24px;
}

.risk-panel-head {
  margin-bottom: 20px;
}

.risk-panel-head span {
  font-size: 13px;
}

.risk-status {
  font-size: 15px;
  letter-spacing: 0;
}

.risk-system-line {
  margin: -1px 0 20px;
  font-size: 13px;
}

.risk-metric {
  padding: 24px 0;
  gap: 13px;
}

.risk-metric:last-child {
  padding-bottom: 8px;
}

.risk-metric-title strong {
  text-transform: uppercase;
  font-size: 15px;
}

.risk-metric-title span {
  width: 34px;
  height: 34px;
  border-color: rgba(155, 185, 139, 0.5);
  font-size: 11px;
}

.risk-metric-values {
  padding-left: 50px;
}

.risk-metric-values strong,
.risk-hours-row strong {
  font-size: 27px;
}

.risk-progress,
.risk-slider-line {
  height: 7px;
  background: #171c20;
}

.risk-days {
  gap: 10px;
}

.risk-day {
  min-width: 41px;
  border-radius: 5px;
  background: #151a1e;
}

.risk-setting-row {
  grid-template-columns: minmax(236px, 0.95fr) minmax(250px, 1fr);
  gap: 10px 18px;
  padding: 24px 0;
}

.risk-setting-row > div:first-child {
  position: relative;
  min-height: 48px;
  padding-left: 54px;
}

.risk-setting-row > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(155, 185, 139, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(155, 185, 139, 0.24), transparent 55%),
    rgba(155, 185, 139, 0.08);
}

.risk-setting-row > div:first-child strong {
  font-size: 15px;
}

.risk-setting-row > div:first-child p {
  max-width: 260px;
  line-height: 1.45;
}

.risk-number-control {
  min-height: 48px;
  border-color: #20262c;
}

.risk-number-control input {
  height: 48px;
}

.risk-reset-block [data-reset-editor] {
  background: #090d10;
  border: 1px solid #20262c;
  border-radius: 7px;
  padding: 12px;
}

.risk-time-window input,
.risk-reset-block input,
.risk-reset-block select,
.risk-account-select {
  border-radius: 6px;
}

.risk-form-footer {
  padding-top: 18px;
}

.risk-app button {
  min-width: 184px;
}

.risk-bottom-grid {
  grid-template-columns: minmax(0, 1.1fr) 330px;
  gap: 20px;
}

@media (max-width: 820px) {
  main {
    width: min(100% - 20px, 1120px);
    margin-top: 18px;
  }

  header,
  .grid,
  .two,
  .account-grid,
  .admin-grid,
  .summary-strip,
  .metric-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .summary-strip > div,
  .metric-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-strip > div:last-child,
  .metric-grid > div:last-child {
    border-bottom: 0;
  }

  main:has(.risk-app) {
    width: min(100% - 20px, 1120px);
  }

  .risk-app,
  .risk-dashboard-grid,
  .risk-bottom-grid,
  .risk-setting-row,
  .risk-metric-values {
    grid-template-columns: 1fr;
  }

  .risk-sidebar {
    position: static;
    height: auto;
  }

  .risk-top-actions {
    justify-content: stretch;
  }

  .risk-account-select,
  .risk-date-pill,
  .risk-icon-button {
    width: 100%;
  }

  .risk-slider-line,
  .risk-setting-row small,
  .risk-setting-row .risk-days {
    grid-column: 1;
  }

  .risk-metric-values,
  .risk-metric p,
  .risk-hours-row {
    padding-left: 0;
  }
}

/* Pricing V2 strict */
body:has(.pricing-v2-shell) {
  --pricing-bg: #030504;
  --pricing-card: rgba(6, 10, 12, 0.82);
  --pricing-border: rgba(255, 255, 255, 0.1);
  --pricing-sage: #8fca72;
  --pricing-sage-soft: #9bd77d;
  --pricing-muted: rgba(255, 255, 255, 0.65);
  background: #030504;
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

main:has(.pricing-v2-shell) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.pricing-v2-shell {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 18%, rgba(143, 202, 114, 0.12), transparent 34%),
    radial-gradient(circle at 75% 38%, rgba(143, 202, 114, 0.09), transparent 32%),
    linear-gradient(180deg, #000 0%, #020403 46%, #030504 100%);
}

.pricing-v2-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.035), transparent 24%),
    radial-gradient(circle at 52% 42%, rgba(0, 119, 255, 0.045), transparent 34%);
  opacity: 0.68;
}

.pricing-v2-header {
  position: relative;
  z-index: 1;
  min-height: 61px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-v2-logo {
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.07em;
  text-decoration: none;
  white-space: nowrap;
}

.pricing-v2-logo strong {
  color: var(--pricing-sage);
  font-weight: inherit;
}

.pricing-v2-menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 37px;
  margin-right: 0;
}

.pricing-v2-menu a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.pricing-v2-menu a.active {
  color: var(--pricing-sage);
  font-weight: 700;
}

.pricing-v2-top-cta {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--pricing-sage-soft);
  color: #071007;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(143, 202, 114, 0.2);
}

.pricing-v2-main {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 990px);
  margin: 0 auto;
  padding-top: 8px;
}

.pricing-v2-title {
  text-align: center;
}

.pricing-v2-title p {
  margin: 0 0 15px;
  color: var(--pricing-sage);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.pricing-v2-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.1vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 760;
}

.pricing-v2-title h1 span {
  color: var(--pricing-sage);
}

.pricing-v2-billing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 15px;
}

.pricing-v2-toggle {
  width: 264px;
  height: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.pricing-v2-toggle button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 560;
}

.pricing-v2-toggle button.active {
  border: 1px solid var(--pricing-sage);
  background: rgba(8, 18, 14, 0.48);
  color: var(--pricing-sage);
}

.pricing-v2-saving {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  white-space: nowrap;
}

.pricing-v2-saving svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--pricing-sage);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-v2-cards {
  width: min(100%, 788px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px;
  align-items: stretch;
  margin: 24px auto 0;
}

.pricing-v2-card {
  position: relative;
  min-height: 602px;
  display: flex;
  flex-direction: column;
  padding: 27px 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 0%, rgba(15, 45, 64, 0.11), transparent 36%),
    var(--pricing-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.pricing-v2-card-pro {
  border-color: var(--pricing-sage);
  box-shadow:
    0 0 55px rgba(143, 202, 114, 0.16),
    0 24px 80px rgba(0, 0, 0, 0.28);
}

.pricing-v2-pro-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 15px;
  border: 1px solid var(--pricing-sage);
  border-radius: 8px;
  background: #071008;
  color: var(--pricing-sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pricing-v2-launch {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 12px;
  border: 1px solid rgba(143, 202, 114, 0.82);
  border-radius: 6px;
  color: var(--pricing-sage);
  font-size: 12px;
  font-weight: 680;
}

.pricing-v2-card h2 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 680;
}

.pricing-v2-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 17px;
}

.pricing-v2-price strong {
  color: var(--pricing-sage);
  font-size: 61px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.pricing-v2-price span {
  padding-bottom: 4px;
  color: #fff;
  font-size: 22px;
  font-weight: 540;
}

.pricing-v2-old {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 19px;
}

.pricing-v2-line {
  height: 1px;
  margin: 16px 0 12px;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-v2-description {
  min-height: 45px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.55;
}

.pricing-v2-features {
  display: grid;
  gap: 13px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-v2-features li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.pricing-v2-features svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--pricing-sage);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-v2-actions {
  margin-top: auto;
  padding-top: 26px;
}

.pricing-v2-cta {
  min-height: 53px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 7px;
  background: #fff;
  color: #080a08;
  font-size: 16px;
  font-weight: 600;
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.pricing-v2-cta span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 22px;
  transform: translateY(-1px);
}

.pricing-v2-actions p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  text-align: center;
}

.pricing-v2-actions a:not(.pricing-v2-cta) {
  color: var(--pricing-sage);
  text-decoration: none;
}

.pricing-v2-faq {
  width: min(100%, 838px);
  margin: 35px auto 0;
}

.pricing-v2-faq-title {
  margin-bottom: 21px;
  text-align: center;
}

.pricing-v2-faq-title > span {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border: 2px solid var(--pricing-sage);
  border-radius: 50%;
  color: var(--pricing-sage);
  font-size: 24px;
  font-weight: 780;
  line-height: 1;
}

.pricing-v2-faq-title h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.pricing-v2-faq-title strong {
  color: var(--pricing-sage);
  font-weight: inherit;
}

.pricing-v2-faq-list {
  display: grid;
  gap: 12px;
}

.pricing-v2-faq-list article {
  min-height: 85px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 20px;
  padding: 16px 26px 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(7, 12, 14, 0.82);
}

.pricing-v2-faq-list article > span svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--pricing-sage);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-v2-faq-list h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 720;
}

.pricing-v2-faq-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.pricing-v2-faq-list em {
  display: grid;
  place-items: center;
  color: var(--pricing-sage);
  font-style: normal;
}

.pricing-v2-faq-list em svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .pricing-v2-shell {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 42px;
  }

  .pricing-v2-header {
    grid-template-columns: minmax(0, 1fr);
    min-height: 64px;
    gap: 10px;
    padding: 0 14px;
  }

  .pricing-v2-logo {
    min-width: 0;
    overflow: hidden;
    font-size: 22px;
  }

  .pricing-v2-menu {
    display: none;
  }

  .pricing-v2-main {
    width: min(100% - 34px, 620px);
    padding-top: 34px;
  }

  .pricing-v2-title h1 {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1;
  }

  .pricing-v2-billing {
    flex-direction: column;
    gap: 13px;
    margin-top: 24px;
  }

  .pricing-v2-toggle {
    width: min(100%, 290px);
  }

  .pricing-v2-cards {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 26px;
    margin-top: 35px;
  }

  .pricing-v2-card {
    min-height: auto;
    padding: 28px 24px 24px;
  }

  .pricing-v2-card h2 {
    font-size: 28px;
  }

  .pricing-v2-price strong {
    font-size: 58px;
  }

  .pricing-v2-description {
    min-height: auto;
  }

  .pricing-v2-actions {
    padding-top: 34px;
  }

  .pricing-v2-faq {
    margin-top: 38px;
  }

  .pricing-v2-faq-title h2 {
    font-size: 34px;
  }

  .pricing-v2-faq-list article {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 14px;
    padding: 16px;
  }

  .pricing-v2-faq-list article > span svg {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 430px) {
  .pricing-v2-main {
    width: min(100% - 26px, 390px);
  }

  .pricing-v2-title h1 {
    font-size: 38px;
  }

  .pricing-v2-saving {
    font-size: 13px;
  }

  .pricing-v2-card {
    padding-inline: 20px;
  }

  .pricing-v2-cta {
    gap: 14px;
    font-size: 15px;
  }

  .pricing-v2-faq-list article {
    grid-template-columns: 1fr 18px;
  }

  .pricing-v2-faq-list article > span {
    display: none;
  }
}

/* Checkout page */
body:has(.checkout-page) {
  background: #030504;
  color: #fff;
}

body:has(.checkout-page) main {
  background: #030504;
}

.checkout-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #030504;
  color: #fff;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.checkout-page svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(143, 202, 114, 0.09), transparent 32%),
    radial-gradient(circle at 74% 45%, rgba(143, 202, 114, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 36%);
}

.checkout-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.checkout-logo {
  color: #fff;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.checkout-logo strong {
  color: #8fca72;
  font-weight: 650;
}

.checkout-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  font-size: 15px;
}

.checkout-nav a,
.checkout-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.checkout-nav a.active {
  color: #8fca72;
  font-weight: 700;
}

.checkout-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  background: #92d76d;
  color: #071007;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(143, 202, 114, 0.2);
}

.checkout-main {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 34px;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  text-decoration: none;
}

.checkout-back span {
  color: #8fca72;
  font-size: 24px;
  line-height: 1;
}

.checkout-title {
  max-width: 780px;
  margin: 46px auto 0;
  text-align: center;
}

.checkout-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6vw, 64px);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.checkout-title h1 span {
  color: #8fca72;
}

.checkout-title p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.checkout-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin-top: 38px;
}

.checkout-trust-strip article {
  display: flex;
  align-items: center;
  gap: 17px;
  text-align: left;
}

.checkout-trust-strip svg {
  width: 43px;
  height: 43px;
  color: rgba(255, 255, 255, 0.86);
  stroke-width: 1.7;
}

.checkout-trust-strip strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}

.checkout-trust-strip small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.checkout-trust-strip i {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.12);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.86fr);
  gap: 30px;
  margin-top: 34px;
}

.checkout-left {
  min-width: 0;
}

.checkout-card,
.checkout-security-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 11, 13, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.checkout-card {
  border-radius: 18px;
}

.checkout-form-card {
  padding: 32px;
}

.checkout-step-title {
  display: flex;
  align-items: center;
  gap: 17px;
}

.checkout-step-title span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #92d76d;
  color: #071007;
  font-size: 18px;
  font-weight: 850;
}

.checkout-step-title h2,
.checkout-summary h2,
.checkout-security-card h2 {
  margin: 0;
  color: #f5f7f5;
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.checkout-step-payment {
  margin-top: 42px;
}

.checkout-field {
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.checkout-field input,
.checkout-two-fields input {
  width: 100%;
  height: 56px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font: inherit;
  outline: none;
}

.checkout-field input::placeholder,
.checkout-two-fields input::placeholder,
.checkout-card-input input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.checkout-field input:focus,
.checkout-two-fields input:focus,
.checkout-card-input:focus-within {
  border-color: rgba(143, 202, 114, 0.7);
}

.checkout-card-input {
  display: flex;
  align-items: center;
  height: 56px;
  margin-top: 12px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.checkout-card-input input {
  min-width: 0;
  flex: 1;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  outline: none;
}

.checkout-mini-cards {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.checkout-mini-cards b {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 21px;
  border-radius: 4px;
  background: #fff;
  color: #1a5bd8;
  font-size: 10px;
  font-weight: 900;
}

.checkout-mini-cards b:nth-child(2) {
  min-width: 35px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ea2727 0 50%, #ffb12f 50% 100%);
}

.checkout-mini-cards b:nth-child(3) {
  background: #2162d4;
  color: #fff;
}

.checkout-mini-cards b:nth-child(4) {
  min-width: 35px;
  background: linear-gradient(90deg, #1c64f2, #f7f7f7, #ffb12f);
}

.checkout-two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.checkout-two-fields input {
  margin-top: 0;
}

.checkout-two-fields label {
  position: relative;
  display: block;
}

.checkout-two-fields label input {
  padding-right: 48px;
}

.checkout-two-fields label span {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 25px;
  height: 25px;
  color: rgba(255, 255, 255, 0.62);
  transform: translateY(-50%);
}

.checkout-two-fields label svg {
  width: 100%;
  height: 100%;
}

.checkout-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.5;
}

.checkout-terms input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #8fca72;
}

.checkout-terms a {
  color: #8fca72;
  text-decoration: none;
}

.checkout-no-charge {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 20px;
  border: 1px solid #8fca72;
  border-radius: 12px;
  background: rgba(7, 16, 8, 0.6);
}

.checkout-no-charge svg {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.9);
}

.checkout-no-charge strong {
  display: block;
  color: #fff;
  font-weight: 750;
}

.checkout-no-charge p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.checkout-today {
  margin: 26px 0 0;
  color: #8fca72;
  text-align: center;
  font-size: 18px;
  font-weight: 750;
}

.checkout-primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  margin-top: 18px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #070907;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 850;
  letter-spacing: -0.035em;
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.checkout-primary-cta svg {
  width: 28px;
  height: 28px;
}

.checkout-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
}

.checkout-secure-note svg {
  width: 17px;
  height: 17px;
}

.checkout-payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.checkout-payment-logos img {
  display: block;
  width: 100%;
  max-width: 592px;
  height: auto;
}

.checkout-summary {
  display: grid;
  align-content: start;
  gap: 24px;
}

.checkout-summary-card,
.checkout-included-card {
  padding: 31px 30px;
}

.checkout-summary dl {
  display: grid;
  gap: 19px;
  margin: 33px 0 0;
  font-size: 17px;
}

.checkout-summary dl div,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-summary dt {
  color: rgba(255, 255, 255, 0.7);
}

.checkout-summary dd {
  margin: 0;
  color: #fff;
  font-weight: 760;
  text-align: right;
}

.checkout-summary-line {
  height: 1px;
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.09);
}

.checkout-total {
  color: #8fca72;
  font-size: 18px;
  font-weight: 760;
}

.checkout-trial-card {
  display: flex;
  gap: 17px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.checkout-trial-card > span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.86);
}

.checkout-trial-card svg {
  width: 100%;
  height: 100%;
}

.checkout-trial-card strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.checkout-trial-card p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.checkout-included-card ul {
  display: grid;
  gap: 15px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-included-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.45;
}

.checkout-included-card svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #8fca72;
}

.checkout-security-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 30px;
  padding: 34px 42px;
  border-radius: 18px;
}

.checkout-security-copy {
  display: flex;
  align-items: center;
  gap: 28px;
}

.checkout-security-shield {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(143, 202, 114, 0.6);
  border-radius: 24px;
  background: rgba(143, 202, 114, 0.1);
  box-shadow: 0 0 35px rgba(143, 202, 114, 0.2);
}

.checkout-security-shield svg {
  width: 66px;
  height: 66px;
  color: #8fca72;
}

.checkout-security-card p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.checkout-security-badges {
  display: flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
}

.checkout-security-badges > strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 34px;
  font-weight: 900;
}

.checkout-security-badges > strong span {
  color: #8fca72;
  margin-left: 5px;
}

.checkout-security-badges div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-security-badges svg {
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.55);
}

.checkout-security-badges b {
  display: block;
  color: #8fca72;
}

.checkout-security-badges small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-transform: uppercase;
}

.checkout-footer {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font-size: 13px;
}

.checkout-footer p {
  margin: 0;
}

.checkout-footer nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 17px;
}

@media (max-width: 1023px) {
  .checkout-header {
    grid-template-columns: 1fr;
  }

  .checkout-nav {
    display: none;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    order: -1;
  }

  .checkout-security-card,
  .checkout-security-copy,
  .checkout-security-badges {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .checkout-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .checkout-logo {
    font-size: 24px;
  }

  .checkout-header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .checkout-main {
    width: min(100% - 28px, 1160px);
    padding-top: 22px;
  }

  .checkout-title {
    margin-top: 34px;
  }

  .checkout-title h1 {
    font-size: 44px;
  }

  .checkout-trust-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    width: fit-content;
    margin-inline: auto;
  }

  .checkout-trust-strip i {
    display: none;
  }

  .checkout-form-card,
  .checkout-summary-card,
  .checkout-included-card,
  .checkout-security-card {
    padding: 24px;
  }

  .checkout-two-fields {
    grid-template-columns: 1fr;
  }

  .checkout-mini-cards {
    gap: 4px;
  }

  .checkout-mini-cards b {
    min-width: 28px;
    font-size: 8px;
  }

  .checkout-primary-cta {
    min-height: 62px;
    font-size: 19px;
  }

  .checkout-security-copy {
    gap: 20px;
  }

  .checkout-security-shield {
    width: 78px;
    height: 78px;
  }

  .checkout-security-shield svg {
    width: 52px;
    height: 52px;
  }

  .checkout-footer nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Success page */
body:has(.success-page) {
  background: #030504;
  color: #fff;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

body:has(.success-page) > main {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #030504;
}

.success-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: #030504;
  color: #fff;
}

.success-page svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, rgba(143, 202, 114, 0.12), transparent 30%),
    radial-gradient(circle at 50% 42%, rgba(143, 202, 114, 0.045), transparent 36%);
}

.success-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  margin: 0;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.success-logo {
  color: #fff;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.success-logo strong {
  color: #8fca72;
  font-weight: 650;
}

.success-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  font-size: 15px;
}

.success-nav a,
.success-footer a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.success-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  background: #92d76d;
  color: #071007;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(143, 202, 114, 0.18);
}

.success-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0 72px;
  text-align: center;
}

.success-check-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin-bottom: 54px;
}

.success-check-wrap::before,
.success-check-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(156, 218, 70, 0.16);
}

.success-check-wrap::before {
  inset: 12px;
  box-shadow: 0 0 55px rgba(156, 218, 70, 0.27);
}

.success-check-wrap::after {
  inset: 28px;
  border-color: rgba(156, 218, 70, 0.76);
}

.success-check-orbit {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 17% 45%, #8fca72 0 1.5px, transparent 2px),
    radial-gradient(circle at 27% 21%, #8fca72 0 1.5px, transparent 2px),
    radial-gradient(circle at 83% 34%, #8fca72 0 1.5px, transparent 2px),
    radial-gradient(circle at 90% 52%, #8fca72 0 1px, transparent 1.5px);
  opacity: 0.88;
}

.success-check-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: #9cda46;
}

.success-check-core svg {
  width: 74px;
  height: 74px;
  stroke-width: 2.8;
}

.success-main h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(50px, 6vw, 66px);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.success-main h1 span {
  color: #8fca72;
}

.success-subtitle {
  margin: 44px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.45;
}

.success-subtitle-secondary {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
}

.success-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  margin-top: 74px;
}

.success-info-row article {
  display: flex;
  align-items: center;
  min-width: 240px;
  gap: 22px;
  text-align: left;
}

.success-info-row article > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  color: rgba(255, 255, 255, 0.94);
}

.success-info-row svg {
  width: 50px;
  height: 50px;
  stroke-width: 1.55;
}

.success-info-row small {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.success-info-row strong {
  display: block;
  margin-top: 9px;
  color: #8fca72;
  font-size: 19px;
  font-weight: 650;
}

.success-info-row i {
  width: 1px;
  height: 62px;
  background: rgba(255, 255, 255, 0.12);
}

.success-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: min(720px, 100%);
  min-height: 78px;
  margin-top: 68px;
  border-radius: 12px;
  background: #9cda46;
  color: #070907;
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(156, 218, 70, 0.18);
}

.success-primary-cta b {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.success-cancel-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
}

.success-cancel-note svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.success-footer {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 40px));
  margin: auto auto 0;
  padding: 30px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font-size: 14px;
}

.success-footer p {
  margin: 0;
}

.success-footer nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-top: 20px;
}

@media (max-width: 920px) {
  .success-header {
    grid-template-columns: 1fr auto;
  }

  .success-nav {
    display: none;
  }

  .success-main {
    padding-top: 78px;
  }

  .success-info-row {
    align-items: stretch;
    flex-direction: column;
    gap: 26px;
    margin-top: 56px;
  }

  .success-info-row i {
    display: none;
  }

  .success-info-row article {
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .success-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .success-logo {
    font-size: 24px;
  }

  .success-header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .success-main {
    width: min(100% - 28px, 1100px);
    padding: 62px 0 48px;
  }

  .success-check-wrap {
    margin-bottom: 42px;
    transform: scale(0.86);
  }

  .success-main h1 {
    font-size: 44px;
  }

  .success-subtitle {
    margin-top: 30px;
    font-size: 18px;
  }

  .success-info-row article {
    justify-content: flex-start;
    width: 100%;
  }

  .success-primary-cta {
    min-height: 66px;
    margin-top: 48px;
    gap: 18px;
  }

  .success-footer nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Client accounts center */
.account-center {
  min-height: 100vh;
}

.account-center-stage {
  min-width: 0;
  display: grid;
  grid-template-rows: 104px 1fr;
}

.account-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 0 54px;
  border-bottom: 1px solid var(--st-border);
}

.account-center-user {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--st-text);
}

.account-center-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--st-text);
}

.account-center-bell span {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--st-sage);
}

.account-center-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.065);
  color: var(--st-sage);
  font-size: 21px;
  font-weight: 900;
}

.account-center-user strong {
  font-size: 20px;
  font-weight: 750;
}

.account-center-user svg {
  width: 20px;
  height: 20px;
}

.account-center-main {
  width: min(100% - 104px, 1120px);
  margin: 0 auto;
  padding: 58px 0 78px;
}

.account-center-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.account-center-title h1 {
  margin: 0;
  color: var(--st-text);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.account-center-title p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--st-secondary);
  font-size: 19px;
  line-height: 1.45;
}

.account-center-title > span {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--st-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--st-sage);
  font-size: 15px;
  font-weight: 850;
}

.account-center-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.account-center-summary article {
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(17, 22, 25, 0.9), rgba(9, 11, 13, 0.9));
}

.account-center-summary strong {
  display: block;
  color: var(--st-text);
  font-size: 28px;
  line-height: 1.1;
}

.account-center-summary span {
  display: block;
  margin-top: 9px;
  color: var(--st-secondary);
  font-size: 14px;
}

.account-center .account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 26px;
}

.account-center .account-card,
.account-add-tile,
.account-empty-card,
.account-center .add-account {
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.05), transparent 38%),
    linear-gradient(145deg, rgba(17, 22, 25, 0.92), rgba(8, 10, 12, 0.92));
  box-shadow: var(--st-shadow);
}

.account-center .account-card {
  min-height: 220px;
  padding: 22px;
  color: var(--st-text);
}

.account-center .account-card-head strong {
  color: var(--st-text);
  font-size: 20px;
}

.account-card-login {
  margin-top: 8px;
  color: var(--st-secondary);
  font-size: 14px;
  font-weight: 650;
}

.account-center .account-meta {
  display: grid;
  gap: 7px;
  color: var(--st-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.account-center .account-meta .good,
.account-center .account-meta .warn,
.account-center .account-meta .bad {
  font-weight: 700;
}

.account-center .account-meta .good {
  color: var(--st-sage);
}

.account-center .account-meta .warn {
  color: #e8b962;
}

.account-center .account-meta .bad {
  color: #ff7474;
}

.account-center .pill.good {
  color: var(--st-sage);
  background: rgba(159, 190, 139, 0.14);
}

.account-center .pill.warn {
  color: #e8b962;
  background: rgba(232, 185, 98, 0.14);
}

.account-center .pill.bad {
  color: #ff7474;
  background: rgba(255, 116, 116, 0.14);
}

.acct-primary-button,
.acct-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.acct-primary-button {
  border: 0;
  background: linear-gradient(180deg, #a9d890, #8fca72);
  color: #071007;
}

.acct-secondary-button {
  border: 1px solid var(--st-border-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--st-text);
}

.acct-primary-button.wide {
  width: 100%;
  min-height: 58px;
}

.connect-step .acct-primary-button.wide {
  min-height: 62px;
  font-size: 17px;
}

.account-center .account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-center .account-actions > form {
  display: flex;
}

.account-add-tile {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 26px;
  color: var(--st-text);
  text-align: center;
  text-decoration: none;
  border-style: dashed;
}

.account-add-tile > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(159, 190, 139, 0.35);
  border-radius: 50%;
  color: var(--st-sage);
}

.account-add-tile > span b {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--st-sage);
  border-radius: 50%;
  background: #101417;
  font-size: 22px;
  line-height: 1;
}

.account-add-tile strong {
  margin-top: 18px;
  font-size: 21px;
}

.account-add-tile small {
  margin-top: 8px;
  color: var(--st-secondary);
  font-size: 14px;
}

.account-add-tile em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 48px;
  margin-top: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, #a9d890, #91ca74);
  color: #061006;
  font-size: 15px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: 0 15px 28px rgba(145, 202, 116, 0.16);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.account-title-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--st-sage);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.account-empty-card {
  display: grid;
  justify-items: center;
  min-height: 500px;
  padding: 58px;
  margin-bottom: 26px;
  text-align: center;
}

.account-empty-icon {
  position: relative;
  width: 132px;
  height: 132px;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.account-empty-icon span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 39px;
  width: 28px;
  height: 28px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.account-empty-icon span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 81px;
  width: 54px;
  height: 30px;
  border: 5px solid #ffffff;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  transform: translateX(-50%);
}

.account-empty-icon em {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid var(--st-sage);
  border-radius: 50%;
  color: var(--st-sage);
  font-size: 33px;
  font-style: normal;
  font-weight: 300;
}

.account-empty-card h2 {
  margin: 30px 0 0;
  color: var(--st-text);
  font-size: 34px;
  letter-spacing: -0.02em;
}

.account-empty-card p {
  margin: 22px 0 42px;
  color: var(--st-secondary);
  font-size: 20px;
  line-height: 1.45;
}

.account-center .add-account {
  padding: 28px;
  color: var(--st-text);
}

.account-center .onboarding-card {
  width: min(100%, 1040px);
  margin: 0 auto 26px;
  padding: 42px;
}

.account-center .platform-step {
  min-height: 520px;
  padding: 54px 64px 62px;
}

.account-center .connect-step {
  width: min(100%, 980px);
  padding: 38px 48px;
}

.add-account-head {
  margin-bottom: 34px;
  padding-bottom: 0;
  border-bottom: 0;
}

.add-account-head h2 {
  margin: 8px 0 0;
  color: var(--st-text);
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.add-account-head p {
  margin: 12px 0 0;
  color: var(--st-secondary);
  font-size: 18px;
}

.onboarding-step-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(159, 190, 139, 0.22);
  border-radius: 999px;
  background: rgba(159, 190, 139, 0.08);
  color: var(--st-sage);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-center .risk-form label,
.account-center .platform-gate legend,
.account-center .field-label {
  color: var(--st-text);
}

.account-center .risk-form input,
.account-center .risk-form select {
  border-color: var(--st-border-strong);
  background: rgba(7, 9, 11, 0.72);
  color: var(--st-text);
}

.account-center .risk-form input::placeholder {
  color: var(--st-muted);
}

.account-center .readonly-value {
  border-color: var(--st-border);
  background: rgba(7, 9, 11, 0.5);
  color: var(--st-secondary);
}

.account-center .setting-band {
  border-color: var(--st-border);
  background: rgba(255, 255, 255, 0.025);
}

.account-center .account-platform-select {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  width: min(100%, 780px);
  margin: 8px auto 0;
}

.account-center .account-platform-select .platform-choice {
  display: grid;
  justify-items: center;
  min-height: 300px;
  padding: 48px 34px 38px;
  border: 1px solid var(--st-border-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(145deg, rgba(22, 27, 30, 0.82), rgba(7, 9, 11, 0.9));
  color: var(--st-text);
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.account-center .account-platform-select .platform-choice:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 190, 139, 0.58);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 28px rgba(159, 190, 139, 0.08);
}

.account-center .account-platform-select .platform-choice::before {
  content: "";
  width: 112px;
  height: 94px;
  margin-bottom: 22px;
  background: url("/static/metatrader_logo_site.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.34));
}

.account-center .account-platform-select strong {
  color: var(--st-text);
  font-size: 44px;
  line-height: 1;
}

.account-center .account-platform-select small {
  display: block;
  margin-top: 14px;
  color: var(--st-secondary);
  font-size: 20px;
}

.account-center .account-platform-select em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 56px;
  padding: 0 34px;
  margin-top: 38px;
  border-radius: 8px;
  background: linear-gradient(180deg, #a9d890, #91ca74);
  color: #061006;
  font-family: inherit;
  font-size: 18px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 16px 28px rgba(145, 202, 116, 0.18);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.account-center .platform-choice:has(input:checked) {
  border-color: var(--st-sage);
  background: rgba(159, 190, 139, 0.12);
}

.selected-platform-line {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--st-text);
}

.selected-platform-line span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--st-sage);
}

.selected-platform-line strong {
  color: var(--st-text);
  font-size: 16px;
}

.selected-platform-line a {
  color: var(--st-sage);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.account-connect-form {
  gap: 22px;
}

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

.account-center .risk-form label {
  display: grid;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.account-center .risk-form input,
.account-center .risk-form select {
  min-height: 58px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 17px;
}

.account-center .risk-form .muted {
  color: var(--st-muted);
  font-size: 12px;
  font-weight: 600;
}

.account-risk-panel {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--st-border);
}

.account-risk-panel h3 {
  margin: 0 0 2px;
  color: var(--st-text);
  font-size: 22px;
}

.account-risk-panel .two {
  gap: 16px;
}

.account-center .setting-band {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
}

.connect-step .account-risk-panel > .two,
.connect-step .account-risk-panel > [data-reset-editor],
.connect-step .account-risk-panel > .setting-band {
  padding: 14px 14px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.connect-step .account-risk-panel > .two label,
.connect-step .account-risk-panel [data-reset-editor] label,
.connect-step .account-risk-panel .setting-band label,
.connect-step .account-risk-panel .field-label {
  color: var(--st-text);
  font-size: 15px;
}

.account-center .connect-step {
  width: min(100%, 1060px);
}

.connect-step .account-risk-panel {
  gap: 12px;
  padding-top: 28px;
}

.connect-step .account-risk-panel h3 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 650;
}

.risk-strict-row,
.risk-trading-box {
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.035), transparent 45%),
    rgba(255, 255, 255, 0.022);
}

.risk-strict-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 12px 18px;
}

.risk-row-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 17px;
  color: var(--st-text);
  font-size: 18px;
  font-weight: 520;
}

.risk-row-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--st-sage);
}

.risk-row-icon svg {
  width: 27px;
  height: 27px;
}

.risk-row-left i,
.risk-sub-label i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.risk-stepper {
  display: grid;
  grid-template-columns: 58px minmax(128px, auto) 58px;
  overflow: hidden;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.82);
}

.risk-stepper button {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--st-text);
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
}

.risk-stepper button:first-child {
  border-right: 1px solid var(--st-border);
}

.risk-stepper button:last-child {
  border-left: 1px solid var(--st-border);
}

.account-center .risk-stepper label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  gap: 7px;
  padding: 0 18px;
  color: var(--st-text);
  font-size: 20px;
  font-weight: 520;
  line-height: 1;
}

.risk-stepper input {
  width: 70px;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--st-text) !important;
  font: inherit;
  font-size: 20px !important;
  font-weight: 520;
  line-height: 1;
  text-align: right;
  outline: none;
  appearance: textfield;
}

.risk-stepper label span {
  font-size: 20px;
  font-weight: 520;
  line-height: 1;
}

.risk-stepper input::-webkit-outer-spin-button,
.risk-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.risk-trading-group {
  display: grid;
  gap: 12px;
}

.risk-hours-switch {
  position: relative;
  display: block !important;
  width: 74px;
  height: 38px;
}

.risk-hours-switch input {
  position: absolute;
  opacity: 0;
}

.risk-hours-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px var(--st-border);
}

.risk-hours-switch span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 160ms ease;
}

.risk-hours-switch input:checked + span {
  background: linear-gradient(180deg, #b5df4b, #9bd22f);
}

.risk-hours-switch input:checked + span::after {
  transform: translateX(36px);
}

.risk-trading-box {
  display: grid;
  gap: 12px;
  padding: 14px 18px;
}

.risk-days-line,
.risk-hours-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 12px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.44);
}

.risk-sub-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--st-text);
  font-size: 16px;
}

.risk-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.risk-day-chip {
  min-width: 64px;
  min-height: 42px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.54);
  font-size: 15px;
  font-weight: 620;
  cursor: pointer;
}

.risk-day-chip.active {
  border-color: rgba(159, 190, 139, 0.72);
  background: linear-gradient(180deg, #b5df4b, #9bd22f);
  color: #10150b;
}

.risk-trading-group.is-disabled .risk-day-chip,
.risk-trading-group.is-disabled .risk-time-range {
  opacity: 0.45;
}

.risk-time-range {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.82);
  color: var(--st-text);
}

.risk-time-range input {
  width: 86px;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--st-text) !important;
  font-size: 16px;
  outline: none;
}

.risk-timezone-copy {
  display: grid;
  gap: 6px;
  padding: 2px 12px 0;
  color: var(--st-secondary);
  font-size: 16px;
}

.risk-timezone-copy strong {
  color: var(--st-sage);
  font-weight: 620;
}

.risk-timezone-copy small {
  color: var(--st-muted);
  font-size: 14px;
}

.risk-reset-row {
  align-items: center;
}

.risk-reset-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(116px, 1fr));
  gap: 14px;
  min-width: 500px;
}

.risk-reset-slots small {
  grid-column: 1 / -1;
  margin-top: -4px;
  color: var(--st-muted);
  font-size: 14px;
}

.risk-reset-slot {
  display: grid;
  gap: 7px;
}

.risk-reset-slot > span {
  color: var(--st-secondary);
  font-size: 14px;
  text-align: center;
}

.risk-reset-control {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.82);
}

.risk-reset-slot.is-empty .risk-reset-control {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.22);
}

.risk-reset-control input {
  width: 104px;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--st-text) !important;
  font-size: 18px;
  text-align: center;
  outline: none;
}

.risk-reset-control input::-webkit-calendar-picker-indicator {
  display: none;
}

.risk-reset-add,
.risk-reset-remove {
  border: 0;
  background: transparent;
  color: var(--st-text);
  cursor: pointer;
}

.risk-reset-add[hidden],
.risk-reset-remove[hidden] {
  display: none !important;
}

.risk-reset-add {
  font-size: 32px;
  font-weight: 300;
}

.risk-reset-remove {
  position: absolute;
  right: 7px;
  top: 5px;
  color: #ff9d9d;
  font-size: 18px;
}

.account-center .activation-progress {
  border-color: var(--st-border);
  background: rgba(255, 255, 255, 0.035);
}

.account-center .activation-progress p.good {
  color: var(--st-sage);
}

.account-center .activation-progress p.warn {
  color: #e8b962;
}

.account-center .activation-progress p.bad {
  color: #ff7474;
}

.action-error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.action-error-card {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(141, 166, 130, 0.18), transparent 48%),
    rgba(12, 14, 13, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.action-error-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 177, 92, 0.38);
  background: rgba(255, 177, 92, 0.12);
  color: #ffd4a3;
  font-weight: 760;
}

.action-error-card h1 {
  margin: 0 0 10px;
  color: var(--st-text);
  font-size: 28px;
  letter-spacing: 0;
}

.action-error-card p {
  margin: 0 0 22px;
  color: var(--st-muted);
  line-height: 1.55;
}

.action-error-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1180px) {
  .account-center-main {
    width: min(100% - 46px, 900px);
  }

  .account-center .account-grid,
  .account-center-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .account-center {
    display: block;
  }

  .account-center .st-sidebar {
    position: relative;
    height: auto;
    min-height: 0;
    grid-template-rows: auto;
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--st-border);
  }

  .account-center .st-nav,
  .account-center .st-user-card {
    display: none;
  }

  .account-center-stage {
    display: block;
  }

  .account-center-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .account-center-header > div:first-child,
  .account-center-user strong {
    display: none;
  }

  .account-center-main {
    width: min(100% - 28px, 620px);
    padding: 34px 0 48px;
  }

  .account-center-title {
    display: grid;
  }

  .account-center-title h1 {
    font-size: 35px;
  }

  .account-empty-card {
    min-height: 430px;
    padding: 38px 22px;
  }

  .account-center .onboarding-card {
    padding: 26px 18px;
  }

  .account-center .account-platform-select,
  .connect-fields-grid,
  .account-risk-panel .two {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-center .account-platform-select {
    width: 100%;
  }

  .account-center .account-platform-select .platform-choice {
    min-height: 230px;
    padding: 32px 20px;
  }

  .add-account-head h2 {
    font-size: 30px;
  }
}

.settings-page .settings-main {
  max-width: 1180px;
}

.settings-title p {
  max-width: 760px;
}

.settings-notice {
  display: flex;
  align-items: center;
  min-height: 50px;
  margin: 0 0 22px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
}

.settings-notice.good {
  border: 1px solid rgba(159, 190, 139, 0.35);
  background: rgba(159, 190, 139, 0.11);
  color: var(--st-sage);
}

.settings-notice.bad {
  border: 1px solid rgba(255, 116, 116, 0.35);
  background: rgba(255, 116, 116, 0.1);
  color: #ff7474;
}

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

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.055), transparent 36%),
    linear-gradient(145deg, rgba(17, 22, 25, 0.93), rgba(8, 10, 12, 0.93));
  box-shadow: var(--st-shadow);
}

.settings-card-wide {
  grid-column: 1 / -1;
}

.settings-card-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.settings-card-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(159, 190, 139, 0.36);
  border-radius: 8px;
  background: rgba(159, 190, 139, 0.1);
  color: var(--st-sage);
}

.settings-card-head svg {
  width: 21px;
  height: 21px;
}

.settings-card-head h2 {
  margin: 0;
  color: var(--st-text);
  font-size: 20px;
  line-height: 1.15;
}

.settings-card-head p {
  margin: 8px 0 0;
  color: var(--st-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.settings-fields {
  display: grid;
  gap: 15px;
}

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

.settings-fields label {
  display: grid;
  gap: 8px;
  color: var(--st-text);
  font-size: 13px;
  font-weight: 700;
}

.settings-fields input,
.settings-fields select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--st-border-strong);
  border-radius: 8px;
  outline: 0;
  background: rgba(0, 0, 0, 0.28);
  color: var(--st-text);
  font: inherit;
}

.settings-fields select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--st-secondary) 50%),
    linear-gradient(135deg, var(--st-secondary) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.settings-fields input:focus,
.settings-fields select:focus {
  border-color: rgba(159, 190, 139, 0.65);
  box-shadow: 0 0 0 3px rgba(159, 190, 139, 0.12);
}

.settings-primary,
.settings-secondary,
.settings-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.settings-primary {
  align-self: flex-start;
  background: linear-gradient(180deg, #a9d890, #8fca72);
  color: #071007;
}

.settings-secondary {
  align-self: flex-start;
  border: 1px solid var(--st-border-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--st-text);
}

.settings-danger {
  align-self: flex-start;
  border: 1px solid rgba(255, 116, 116, 0.28);
  background: rgba(255, 116, 116, 0.1);
  color: #ff7474;
}

.settings-plan {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(159, 190, 139, 0.22);
  border-radius: 8px;
  background: rgba(159, 190, 139, 0.08);
}

.settings-plan strong {
  color: var(--st-text);
  font-size: 28px;
  line-height: 1.05;
}

.settings-plan span {
  color: var(--st-sage);
  font-size: 15px;
  font-weight: 700;
}

.settings-plan-lines {
  display: grid;
  gap: 10px;
}

.settings-plan-lines p,
.settings-small {
  margin: 0;
  color: var(--st-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.settings-plan-lines b {
  color: var(--st-text);
}

.settings-readonly {
  display: grid;
  gap: 8px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.settings-readonly span {
  color: var(--st-secondary);
  font-size: 13px;
  font-weight: 700;
}

.settings-readonly strong {
  color: var(--st-text);
  font-size: 18px;
}

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

.settings-toggles label {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "switch title"
    "switch note";
  column-gap: 14px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.settings-toggles input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-toggles label > span {
  grid-area: switch;
  position: relative;
  align-self: start;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  transition: background 0.18s ease;
}

.settings-toggles label > span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.settings-toggles input:checked + span {
  background: var(--st-sage);
}

.settings-toggles input:checked + span::after {
  transform: translateX(20px);
}

.settings-toggles strong {
  grid-area: title;
  color: var(--st-text);
  font-size: 15px;
}

.settings-toggles small {
  grid-area: note;
  color: var(--st-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.settings-session-card {
  min-height: auto;
}

@media (max-width: 1180px) {
  .settings-grid,
  .settings-fields.two,
  .settings-toggles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .settings-page .settings-main {
    padding-top: 34px;
  }

  .settings-card {
    padding: 20px;
  }

  .settings-card-head {
    align-items: center;
  }

  .settings-primary,
  .settings-secondary,
  .settings-danger {
    width: 100%;
  }
}
