:root {
  color-scheme: light;
  /* One brand green is shared by every theme and product surface. */
  --brand-green: #a9c4a0;
  --brand-green-rgb: 169, 196, 160;
  --brand-green-sage: var(--brand-green);
  --brand-green-bright: var(--brand-green);
  --brand-green-hover: var(--brand-green);
  --brand-green-ui-soft: rgba(169, 196, 160, 0.16);
  --brand-green-muted: rgba(169, 196, 160, 0.18);
  --brand-green-border: rgba(169, 196, 160, 0.62);
  --brand-green-hero: var(--brand-green);
  --brand-green-hero-hover: var(--brand-green);
  --brand-green-hero-soft: rgba(169, 196, 160, 0.14);
  --brand-green-auth-soft: var(--brand-green);
  --brand-green-auth-glow: rgba(169, 196, 160, 0.28);
  --brand-green-legal-bright: var(--brand-green);
  --brand-green-risk: var(--brand-green);
  --brand-green-risk-strong: var(--brand-green);
  --brand-green-risk-soft: rgba(169, 196, 160, 0.16);
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #151922;
  --muted: #667085;
  --line: #d8dee8;
  --brand: var(--brand-green);
  --brand-strong: var(--brand-green);
  --warn: #a15c00;
  --bad: #b42318;
  --good: var(--brand-green);
}

/* SentinelleTrader dashboard V2 - spec driven */
body:has(.sentinel-dashboard) {
  --st-sage: var(--brand-green-sage);
  --st-sage-hover: var(--brand-green-hover);
  --st-sage-muted: var(--brand-green-muted);
  --st-sage-border: var(--brand-green-border);
  --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-mobile-menu-toggle {
  display: none;
}

.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-header-actions-no-bell {
  grid-template-columns: minmax(0, 1fr) !important;
}

.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: nowrap;
}

.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(6, minmax(0, 1fr));
    gap: 8px;
  }

  .st-nav.client-analytics-disabled {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .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 img {
    width: 62px;
    height: auto;
  }

  .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;
}

@media (max-width: 767px) {
  html,
  body {
    overscroll-behavior-y: none;
  }
}

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: var(--brand-green-hero);
  --hero-sage-hover: var(--brand-green-hero-hover);
  --hero-sage-soft: var(--brand-green-hero-soft);
  --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 {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  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;
}

/* Wide FTMO-style hero glow, rebuilt with the SentinelleTrader green palette.
   The layered light stays behind every interactive element and fades before
   the following section, without adding another image to download. */
.site-hero-page::before,
.site-hero-page::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.site-hero-page::before {
  top: 0;
  width: min(1440px, 100vw);
  height: min(972px, 100%);
  background:
    radial-gradient(ellipse 42% 27% at 50% 0%, rgba(159, 190, 139, 0.44) 0%, rgba(118, 177, 87, 0.22) 31%, rgba(78, 128, 57, 0.1) 52%, transparent 74%),
    linear-gradient(116deg, transparent 28%, rgba(126, 190, 94, 0.075) 43%, transparent 58%),
    linear-gradient(244deg, transparent 31%, rgba(126, 190, 94, 0.065) 45%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.96) 42%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.96) 42%, transparent 92%);
}

.site-hero-page::after {
  top: -22px;
  width: min(880px, 78vw);
  height: 330px;
  background: radial-gradient(ellipse at 50% 12%, rgba(206, 239, 184, 0.34) 0%, rgba(159, 190, 139, 0.18) 38%, transparent 72%);
  filter: blur(18px);
  opacity: 0.92;
}

.site-hero-page > * {
  position: relative;
  z-index: 1;
}

.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: var(--brand-green);
}

.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-login,
.hero-nav-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

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

.hero-mobile-menu-toggle,
.hero-mobile-menu {
  display: none;
}

.hero-mobile-menu[hidden] {
  display: none !important;
}

.hero-account-menu {
  position: relative;
  color: var(--hero-text);
}

.hero-account-menu summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(159, 181, 143, 0.24);
  border-radius: 999px;
  background: rgba(13, 16, 17, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hero-account-menu summary::-webkit-details-marker {
  display: none;
}

.hero-account-menu summary:hover,
.hero-account-menu[open] summary {
  border-color: rgba(143, 202, 114, 0.62);
  background: rgba(20, 25, 22, 0.96);
}

.hero-account-menu summary:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

.hero-account-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-green), var(--brand-green));
  color: #0b1109;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.hero-account-avatar.large {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  font-size: 14px;
}

.hero-account-name {
  max-width: 155px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-account-chevron {
  width: 18px;
  height: 18px;
  display: inline-flex;
  transition: transform 160ms ease;
}

.hero-account-chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-account-menu[open] .hero-account-chevron {
  transform: rotate(180deg);
}

.hero-account-dropdown {
  position: absolute;
  z-index: 80;
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(159, 181, 143, 0.24);
  border-radius: 16px;
  background: rgba(13, 16, 17, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.hero-account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
}

.hero-account-identity div {
  min-width: 0;
}

.hero-account-identity strong,
.hero-account-identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-account-identity strong {
  color: #ffffff;
  font-size: 15px;
}

.hero-account-identity small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.hero-account-separator {
  height: 1px;
  margin: 7px 5px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-account-dropdown > a {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 560;
  transition: color 140ms ease, background 140ms ease;
}

.hero-account-dropdown > a:hover {
  color: #ffffff;
  background: rgba(143, 202, 114, 0.11);
}

.hero-account-dropdown > a > span {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.hero-account-dropdown > a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--brand-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero-account-dropdown > a.hero-account-logout,
.hero-account-dropdown > a.hero-account-logout svg {
  color: #f0a4a4;
  stroke: #df8585;
}

.hero-nav-cta,
.hero-main-cta {
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hero-sage-hover), var(--brand-green));
  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: var(--brand-green);
  font-size: 17px;
}

.hero-badge span,
.hero-account-switch span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand-green);
  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;
  white-space: nowrap;
}

.hero-copy h1 > span:last-child {
  color: var(--hero-text);
}

.hero-copy h1 .hero-title-accent {
  color: var(--brand-green);
  font-style: normal;
}

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

.hero-opening-claim {
  font-weight: 700;
}

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

.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;
}

.site-hero-page .hero-main-cta.hero-main-cta-trial {
  position: relative;
}

.hero-main-cta-label,
.hero-main-cta-note {
  display: block;
}

.hero-main-cta-note {
  position: absolute;
  right: 8px;
  bottom: 6px;
  left: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(10px, 2.7vw, 11px);
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

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

.hero-benefits-mobile {
  display: none;
}

.hero-benefits-mobile-shell {
  display: contents;
}

.landing-mobile-protection-section,
.landing-mobile-protection-frame {
  display: contents;
}

.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: var(--brand-green);
}

.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: var(--brand-green);
}

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

.hero-protection-card strong {
  display: block;
  color: var(--brand-green);
  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: var(--brand-green);
  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, var(--brand-green), 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: var(--brand-green);
  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: var(--brand-green);
}

.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: var(--brand-green);
  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: var(--brand-green);
  background: rgba(134, 207, 97, 0.13);
}

.hero-demo-sidebar svg {
  width: 17px;
  height: 17px;
  color: var(--brand-green);
}

.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: var(--brand-green);
  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: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(134, 207, 97, 0.12);
  vertical-align: middle;
  animation: heroDemoStatusDot 8s linear infinite;
}

.hero-demo-status {
  position: relative;
  min-width: 76px;
  min-height: 22px;
  color: var(--brand-green);
  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: var(--brand-green);
  animation: heroDemoStatusActive 8s linear infinite;
}

.hero-demo-status span:last-child {
  color: var(--hero-red);
  animation: heroDemoStatusLocked 8s 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 var(--brand-green);
  border-radius: 50%;
  color: var(--brand-green);
}

.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: var(--brand-green);
}

.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, var(--brand-green), var(--hero-sage));
  animation: heroDemoDrawdownBar 8s 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 8s linear infinite; }
.hero-demo-dd-value em:nth-child(2) { animation: heroDemoDdValue2 8s linear infinite; }
.hero-demo-dd-value em:nth-child(3) { animation: heroDemoDdValue3 8s linear infinite; }
.hero-demo-dd-value em:nth-child(4) { animation: heroDemoDdValue4 8s linear infinite; }

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

.hero-demo-hours {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-green);
  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 8s 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 {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  align-self: end;
  margin: 20px 0 0;
  padding: clamp(28px, 3vw, 42px) 0 clamp(30px, 3.2vw, 46px);
  border-top: 0;
  color: #080b09;
  color-scheme: light;
  text-align: center;
  transform: translateY(-42px);
}

.hero-trust::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  border-top: 1px solid rgba(8, 11, 9, 0.08);
  border-bottom: 1px solid rgba(8, 11, 9, 0.08);
  background: #ffffff;
  transform: translateX(-50%);
}

.hero-trading-stops {
  width: min(calc(100% - 32px), 1280px);
  margin: 0 auto clamp(42px, 5vw, 72px);
  padding: clamp(8px, 1vw, 16px) 0 clamp(42px, 4.6vw, 68px);
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.75fr);
  align-items: center;
  gap: clamp(24px, 3.6vw, 52px);
  border-bottom: 1px solid rgba(8, 11, 9, 0.1);
  color: #080b09;
  text-align: left;
}

.hero-trading-stops-copy,
.hero-trading-stops-visual {
  min-width: 0;
}

.hero-trading-stops h2 {
  margin: 0;
  color: #080b09;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hero-trading-stops h2 span,
.hero-trading-stops h2 strong {
  font: inherit;
}

.hero-trading-stops h2 strong {
  color: var(--brand-green);
}

.hero-trading-stops-visual {
  width: 100%;
  margin: 0;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(8, 11, 9, 0.14);
  border-radius: clamp(18px, 2.2vw, 30px);
  background: #07101d;
  box-shadow: 0 24px 68px rgba(8, 27, 52, 0.17);
}

.hero-trading-stops-visual picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-trading-stops-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: clamp(14px, 1.8vw, 25px);
  filter: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 767px) {
  .hero-trading-stops {
    width: calc(100% - 20px);
    margin: 0 auto 34px;
    padding: 4px 0 34px;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    text-align: center;
  }

  .hero-trading-stops-visual {
    padding: 3px;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(8, 27, 52, 0.16);
  }

  .hero-trading-stops-visual img {
    border-radius: 17px;
  }

  .hero-trading-stops h2 {
    width: 100%;
    margin-inline: auto;
    font-size: clamp(18px, 5.65vw, 23px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .hero-trading-stops h2 span,
  .hero-trading-stops h2 strong {
    display: block;
    white-space: nowrap;
  }
}

.landing-cold-limits {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(62px, 7vw, 104px) 16px;
  overflow: hidden;
  border-top: 1px solid rgba(8, 11, 9, 0.08);
  border-bottom: 1px solid rgba(8, 11, 9, 0.08);
  background: #ffffff;
  color: #080b09;
  color-scheme: light;
}

.landing-cold-limits-inner {
  width: min(100%, 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.75fr);
  align-items: center;
  gap: clamp(24px, 3.6vw, 52px);
}

.landing-cold-limits-copy,
.landing-cold-limits-visual {
  min-width: 0;
}

.landing-cold-limits h2 {
  margin: 0;
  color: #080b09;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.landing-cold-limits h2 span,
.landing-cold-limits h2 strong {
  font: inherit;
}

.landing-cold-limits h2 strong {
  color: var(--brand-green);
}

.landing-cold-limits-visual {
  width: 100%;
  margin: 0;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(8, 11, 9, 0.14);
  border-radius: clamp(18px, 2.2vw, 30px);
  background: #07101d;
  box-shadow: 0 24px 68px rgba(8, 27, 52, 0.17);
}

.landing-cold-limits-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: clamp(14px, 1.8vw, 25px);
  filter: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 767px) {
  .landing-cold-limits {
    padding: 52px 10px 58px;
  }

  .landing-cold-limits-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    text-align: center;
  }

  .landing-cold-limits h2 {
    width: calc(100% - 8px);
    margin-inline: auto;
    font-size: clamp(14.5px, 4.5vw, 17.5px);
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  .landing-cold-limits h2 span,
  .landing-cold-limits h2 strong {
    display: block;
    white-space: nowrap;
  }

  .landing-cold-limits-visual {
    padding: 3px;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(8, 27, 52, 0.16);
  }

  .landing-cold-limits-visual img {
    border-radius: 17px;
  }
}

.hero-trust-title {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: #080b09;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 560;
  white-space: nowrap;
}

.hero-trust-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.hero-trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hero-broker-marquee 32s linear infinite;
  will-change: transform;
}

.hero-trust-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(52px, 5vw, 92px);
  min-height: clamp(102px, 8vw, 138px);
  padding-right: clamp(52px, 5vw, 92px);
}

.hero-trust-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: clamp(78px, 6vw, 106px);
  margin: 0;
  object-fit: contain;
  filter: none;
  opacity: 1;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-trust-more {
  flex: 0 0 auto;
  padding-inline: clamp(8px, 1vw, 18px);
  color: #080b09;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

@keyframes hero-broker-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.site-steps-section {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: -58px 0 0;
  padding: clamp(30px, 3vw, 38px) clamp(18px, 4vw, 72px) clamp(50px, 4vw, 64px);
  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 .steps-title-accent,
.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, var(--brand-green), var(--brand-green));
  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: block;
  margin-top: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}

.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(50px, 4vw, 64px) 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: var(--brand-green);
}

.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 .discipline-title-accent {
  color: var(--brand-green);
}

.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), var(--brand-green));
  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;
}

.landing-day-comparison {
  width: 100%;
  padding: clamp(76px, 7vw, 112px) clamp(18px, 4vw, 64px) clamp(78px, 7vw, 108px);
  overflow: clip;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 18%, rgba(132, 183, 100, 0.055), transparent 35%),
    radial-gradient(circle at 12% 70%, rgba(255, 255, 255, 0.018), transparent 28%),
    #030504;
  color: #ffffff;
}

.landing-day-comparison-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.landing-day-comparison-title {
  margin: 0 auto clamp(54px, 5vw, 72px);
  color: #f7f8f6;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.landing-day-comparison-title span,
.landing-day-comparison-title strong {
  display: block;
}

.landing-day-comparison-title strong {
  margin-top: 4px;
  color: var(--hero-sage-hover);
  font: inherit;
}

.landing-day-comparison-grid {
  position: relative;
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 4vw, 54px);
  align-items: start;
  margin-inline: auto;
}

.landing-day-comparison-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(159, 190, 139, 0.22) 0%,
    rgba(159, 190, 139, 0.68) 12%,
    rgba(159, 190, 139, 0.68) 88%,
    rgba(159, 190, 139, 0.22) 100%
  );
  box-shadow: 0 0 12px rgba(159, 190, 139, 0.28);
  transform: translateX(-50%);
  pointer-events: none;
}

.landing-day-comparison-column {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.landing-day-comparison-column > h3 {
  min-height: 2.5em;
  display: grid;
  place-items: end center;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.25;
  font-weight: 500;
  text-wrap: balance;
}

.landing-day-summary-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(194, 214, 197, 0.28);
  border-radius: 11px;
  background:
    radial-gradient(circle at 44% 0%, rgba(146, 183, 137, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(11, 16, 17, 0.96), rgba(6, 9, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 24px 70px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.landing-day-summary-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(24px, 3.1vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 500;
  letter-spacing: 0.055em;
}

.landing-day-lock-badge,
.landing-day-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  white-space: nowrap;
}

.landing-day-lock-badge {
  flex: 0 0 auto;
  padding: 9px 14px;
  background: rgba(101, 163, 70, 0.14);
  color: var(--hero-sage-hover);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
}

.landing-day-summary-pnl {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 22px clamp(24px, 3.1vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.landing-day-summary-pnl > span {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.25;
}

.landing-day-summary-pnl strong {
  color: #f7f8f6;
  font-size: clamp(38px, 3.3vw, 48px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.landing-day-comparison-column.is-without .landing-day-summary-pnl strong {
  color: #ff4f36;
}

.landing-day-summary-rows {
  margin: 0;
}

.landing-day-summary-rows > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px clamp(24px, 3.1vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.landing-day-summary-rows > div:last-child {
  border-bottom: 0;
}

.landing-day-summary-rows dt,
.landing-day-summary-rows dd {
  margin: 0;
}

.landing-day-summary-rows dt {
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.3;
}

.landing-day-summary-rows dd {
  flex: 0 0 auto;
  color: #f7f8f6;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.15;
  font-weight: 600;
  text-align: right;
}

.landing-day-summary-rows dd.is-danger {
  color: #ff4f36;
}

.landing-day-summary-rows dd.is-safe {
  color: var(--hero-sage-hover);
}

.landing-day-status-badge {
  padding: 9px 14px;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 500;
}

.landing-day-status-badge.is-danger {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.landing-day-status-badge.is-safe {
  background: rgba(101, 163, 70, 0.16);
  color: var(--hero-sage-hover);
}

.landing-day-comparison-result {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
}

.landing-day-comparison-result span {
  display: block;
}

.landing-day-phone {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 9 / 17.8;
  padding: clamp(12px, 1.45vw, 20px) clamp(5px, 0.75vw, 10px) clamp(11px, 1.2vw, 17px);
  border: 1px solid rgba(211, 220, 216, 0.46);
  border-radius: clamp(20px, 3.4vw, 46px);
  background: linear-gradient(145deg, #69706d 0%, #171b1b 10%, #050707 48%, #202524 90%, #747a77 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.landing-day-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: clamp(5px, 0.62vw, 9px);
  left: 50%;
  width: clamp(24px, 4.2vw, 58px);
  height: clamp(5px, 0.62vw, 9px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 78% 50%, #244338 0 9%, #07100d 12%, transparent 15%),
    #020303;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.landing-day-phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: clamp(4px, 0.5vw, 7px);
  left: 50%;
  width: clamp(30px, 5vw, 66px);
  height: clamp(2px, 0.25vw, 4px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transform: translateX(-50%);
}

.landing-day-phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(14px, 2.8vw, 36px);
  background: #050708;
}

.landing-day-phone .landing-day-summary-card {
  height: 100%;
  display: grid;
  grid-template-rows: 17% 25% 58%;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.landing-day-phone .landing-day-summary-rows {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.landing-day-phone .landing-day-summary-header {
  min-height: 0;
  gap: clamp(3px, 0.55vw, 9px);
  padding: clamp(7px, 1.25vw, 17px);
  font-size: clamp(6.5px, 1.02vw, 15px);
  letter-spacing: 0.04em;
}

.landing-day-phone .landing-day-lock-badge {
  padding: clamp(3px, 0.45vw, 7px) clamp(4px, 0.7vw, 10px);
  border-radius: clamp(3px, 0.38vw, 6px);
  font-size: clamp(6px, 0.86vw, 12px);
}

.landing-day-comparison-column.is-with .landing-day-lock-badge {
  padding: clamp(3px, 0.5vw, 7px) clamp(4px, 0.7vw, 10px);
  border: 1px solid rgba(159, 190, 139, 0.32);
  background: rgba(101, 163, 70, 0.2);
  color: var(--hero-sage-hover);
  font-size: clamp(7px, 2vw, 15px);
  font-weight: 700;
  letter-spacing: 0.005em;
  box-shadow: 0 0 14px rgba(112, 191, 72, 0.08);
}

.landing-day-phone .landing-day-summary-pnl {
  min-height: 0;
  gap: clamp(3px, 0.45vw, 7px);
  padding: clamp(7px, 1.25vw, 17px);
}

.landing-day-phone .landing-day-summary-pnl > span {
  font-size: clamp(7px, 1.02vw, 15px);
}

.landing-day-phone .landing-day-summary-pnl strong {
  font-size: clamp(17px, 2.65vw, 39px);
}

.landing-day-phone .landing-day-summary-rows > div {
  min-height: 0;
  gap: clamp(3px, 0.55vw, 9px);
  padding: clamp(5px, 0.9vw, 13px) clamp(6px, 1.15vw, 16px);
}

.landing-day-phone .landing-day-summary-rows dt {
  font-size: clamp(6.5px, 1vw, 14px);
}

.landing-day-phone .landing-day-summary-rows dd {
  font-size: clamp(9px, 1.55vw, 22px);
}

.landing-day-phone .landing-day-status-badge {
  padding: clamp(3px, 0.45vw, 7px) clamp(4px, 0.7vw, 10px);
  border-radius: clamp(3px, 0.38vw, 6px);
  font-size: clamp(6px, 0.86vw, 12px);
}

html[data-theme="light"] .landing-day-comparison {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 18%, rgba(132, 183, 100, 0.055), transparent 35%),
    radial-gradient(circle at 12% 70%, rgba(255, 255, 255, 0.018), transparent 28%),
    #030504;
  color: #ffffff;
}

html[data-theme="light"] .landing-day-comparison-title,
html[data-theme="light"] .landing-day-comparison-column > h3,
html[data-theme="light"] .landing-day-summary-card,
html[data-theme="light"] .landing-day-comparison-result {
  color: inherit;
}

@media (max-width: 900px) {
  .landing-day-comparison {
    padding: 62px 14px 72px;
  }

  .landing-day-comparison-inner {
    width: min(100%, 660px);
  }

  .landing-day-comparison-title {
    margin-bottom: 46px;
    font-size: clamp(34px, 9vw, 45px);
    line-height: 1.08;
  }

  .landing-day-comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 3vw, 24px);
  }

  .landing-day-comparison-column > h3 {
    margin-bottom: 12px;
    font-size: clamp(13px, 2.8vw, 22px);
  }

  .landing-day-comparison-result {
    margin-top: 18px;
    font-size: clamp(12px, 2.35vw, 18px);
  }
}

@media (max-width: 460px) {
  .landing-day-comparison {
    padding: 56px 7px 64px;
  }

  .landing-day-comparison-title {
    font-size: clamp(28px, 7.4vw, 34px);
    letter-spacing: -0.035em;
  }

  .landing-day-comparison-grid {
    gap: 20px;
  }

  .landing-day-phone {
    width: 96%;
  }

  .landing-day-comparison-column > h3 {
    min-height: 2.6em;
    margin-bottom: 8px;
    font-size: clamp(9px, 3vw, 13px);
  }

  .landing-day-comparison-result {
    margin-top: 12px;
    font-size: clamp(8px, 2.55vw, 12px);
    line-height: 1.35;
  }
}

/* Comparison redesign: one bad day, two outcomes. The section intentionally
   keeps the same light editorial surface in both site themes. */
.landing-day-comparison.landing-day-comparison-v2,
html[data-theme="light"] .landing-day-comparison.landing-day-comparison-v2 {
  padding: clamp(78px, 7vw, 116px) clamp(20px, 4vw, 64px) clamp(80px, 7vw, 112px);
  overflow: hidden;
  border-top: 1px solid rgba(8, 11, 9, 0.08);
  border-bottom: 1px solid rgba(8, 11, 9, 0.08);
  background: #ffffff;
  color: #080b09;
  color-scheme: light;
}

.landing-day-comparison-v2 .landing-day-comparison-inner {
  width: min(100%, 1180px);
}

.landing-day-comparison-v2 .landing-day-comparison-title,
html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-title {
  width: max-content;
  max-width: 100%;
  margin: 0 auto clamp(64px, 5vw, 78px);
  color: #080b09;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 5.1vw, 72px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.048em;
  text-align: left;
  text-wrap: initial;
}

.landing-day-comparison-v2 .landing-day-comparison-title strong,
html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-title strong {
  margin-top: 6px;
  color: var(--brand-green);
}

.landing-day-comparison-v2 .landing-day-comparison-grid {
  width: min(100%, 900px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 82px);
}

.landing-day-comparison-v2 .landing-day-comparison-grid::before {
  top: clamp(46px, 4vw, 58px);
  bottom: 24px;
  width: 1px;
  background: color-mix(in srgb, var(--brand-green) 82%, #496044);
  box-shadow: none;
}

.landing-day-comparison-v2 .landing-day-comparison-column > h3,
html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-column > h3 {
  min-height: 1.35em;
  place-items: center;
  margin: 0 0 22px;
  color: #080b09;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.landing-day-comparison-v2 .landing-day-comparison-column.is-with > h3,
html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-column.is-with > h3 {
  color: var(--brand-green);
}

.landing-day-comparison-v2 .landing-day-phone {
  width: min(100%, 365px);
  aspect-ratio: 9 / 18.55;
  padding: clamp(7px, 0.75vw, 10px) clamp(4px, 0.48vw, 7px) clamp(8px, 0.8vw, 11px);
  border: 1px solid rgba(29, 34, 32, 0.78);
  border-radius: clamp(30px, 3.2vw, 46px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68), transparent 7% 93%, rgba(255, 255, 255, 0.52)),
    linear-gradient(145deg, #8d9290 0%, #191d1c 11%, #050707 49%, #252a28 89%, #9da19f 100%);
  box-shadow:
    0 22px 34px rgba(18, 22, 20, 0.22),
    0 5px 10px rgba(18, 22, 20, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.landing-day-comparison-v2 .landing-day-phone::before {
  top: clamp(11px, 1vw, 15px);
  width: clamp(34px, 3.8vw, 50px);
  height: clamp(8px, 0.85vw, 12px);
  background:
    radial-gradient(circle at 76% 50%, #25463a 0 8%, #07100d 12%, transparent 15%),
    #020303;
}

.landing-day-comparison-v2 .landing-day-phone::after {
  bottom: clamp(6px, 0.55vw, 8px);
  width: clamp(38px, 4.8vw, 62px);
  height: 3px;
  background: rgba(255, 255, 255, 0.38);
}

.landing-day-comparison-v2 .landing-day-phone-screen {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: clamp(25px, 2.75vw, 39px);
  background: #050708;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1.08fr) minmax(0, 1.9fr);
  gap: clamp(9px, 0.9vw, 13px);
  padding: clamp(27px, 2.7vw, 40px) clamp(12px, 1.4vw, 20px) clamp(18px, 1.8vw, 26px);
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 8%, rgba(169, 196, 160, 0.04), transparent 32%),
    linear-gradient(180deg, #070a0c, #050708);
  color: #ffffff;
  box-shadow: none;
  text-align: center;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-header {
  min-height: clamp(27px, 2.7vw, 40px);
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 clamp(2px, 0.45vw, 7px);
  border: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(10px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-lock-badge,
.landing-day-comparison-v2 .landing-day-comparison-column.is-with .landing-day-lock-badge {
  padding: clamp(4px, 0.46vw, 7px) clamp(6px, 0.72vw, 10px);
  border: 1px solid color-mix(in srgb, var(--brand-green) 78%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-green);
  font-size: clamp(7px, 0.78vw, 11px);
  font-weight: 450;
  letter-spacing: -0.02em;
  box-shadow: none;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl,
.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows > div {
  min-height: 0;
  border: 1px solid rgba(190, 207, 194, 0.24);
  border-radius: clamp(9px, 0.9vw, 13px);
  background: linear-gradient(180deg, rgba(12, 16, 18, 0.98), rgba(8, 11, 13, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.2vw, 18px);
  padding: clamp(12px, 1.3vw, 19px) clamp(7px, 0.9vw, 13px);
  border-bottom: 1px solid rgba(190, 207, 194, 0.24);
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl > span {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(10px, 1.05vw, 15px);
  line-height: 1.2;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl strong {
  color: #ff4938;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.landing-day-comparison-v2 .landing-day-comparison-column.is-with .landing-day-summary-pnl strong {
  color: var(--brand-green);
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 0.9vw, 13px);
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.8vw, 12px);
  padding: clamp(9px, 1vw, 15px) clamp(7px, 0.9vw, 13px);
  border-bottom: 1px solid rgba(190, 207, 194, 0.24);
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows dt {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(9px, 1vw, 14px);
  line-height: 1.15;
  text-align: center;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows dd {
  color: #ff4938;
  font-size: clamp(26px, 3vw, 43px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows dd.is-safe {
  color: var(--brand-green);
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-status-badge {
  min-width: clamp(96px, 10vw, 146px);
  padding: clamp(6px, 0.65vw, 9px) clamp(9px, 1vw, 15px);
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font-size: clamp(8px, 0.9vw, 13px);
  font-weight: 450;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-status-badge.is-danger {
  color: #ff5a4c;
}

.landing-day-comparison-v2 .landing-day-phone .landing-day-status-badge.is-safe {
  color: var(--brand-green);
}

.landing-day-comparison-v2 .landing-day-comparison-result,
html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-result {
  margin-top: clamp(24px, 2.5vw, 34px);
  color: #080b09;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 430;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.landing-day-comparison-cta-group {
  margin: clamp(42px, 4vw, 58px) auto 0;
}

.landing-day-comparison-v2 .landing-day-comparison-cta {
  width: 100%;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--brand-green);
  color: #071007;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: normal;
  text-decoration: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .landing-day-comparison.landing-day-comparison-v2,
  html[data-theme="light"] .landing-day-comparison.landing-day-comparison-v2 {
    padding: 56px 8px 62px;
  }

  .landing-day-comparison-v2 .landing-day-comparison-inner {
    width: min(100%, 430px);
  }

  .landing-day-comparison-v2 .landing-day-comparison-title,
  html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-title {
    margin-bottom: 48px;
    font-size: clamp(26px, 7.65vw, 32px);
    line-height: 1.06;
    letter-spacing: -0.047em;
  }

  .landing-day-comparison-v2 .landing-day-comparison-title strong,
  html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-title strong {
    margin-top: 3px;
  }

  .landing-day-comparison-v2 .landing-day-comparison-grid {
    width: 100%;
    gap: clamp(22px, 6.2vw, 30px);
  }

  .landing-day-comparison-v2 .landing-day-comparison-grid::before {
    top: 39px;
    bottom: 18px;
  }

  .landing-day-comparison-v2 .landing-day-comparison-column > h3,
  html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-column > h3 {
    min-height: 1.25em;
    margin-bottom: 12px;
    font-size: clamp(9.5px, 2.9vw, 12.5px);
    letter-spacing: -0.035em;
  }

  .landing-day-comparison-v2 .landing-day-phone {
    width: 100%;
    aspect-ratio: 9 / 18.55;
    padding: 5px 3px 6px;
    border-radius: clamp(22px, 7vw, 29px);
    box-shadow:
      0 13px 22px rgba(18, 22, 20, 0.2),
      0 3px 7px rgba(18, 22, 20, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  }

  .landing-day-comparison-v2 .landing-day-phone::before {
    top: 7px;
    width: clamp(25px, 7.8vw, 34px);
    height: clamp(6px, 1.85vw, 8px);
  }

  .landing-day-comparison-v2 .landing-day-phone::after {
    bottom: 4px;
    width: clamp(28px, 8.5vw, 38px);
    height: 2px;
  }

  .landing-day-comparison-v2 .landing-day-phone-screen {
    border-radius: clamp(18px, 6vw, 24px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-card {
    gap: clamp(6px, 1.8vw, 8px);
    padding: clamp(19px, 5.8vw, 25px) clamp(7px, 2vw, 10px) clamp(12px, 3.7vw, 16px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-header {
    min-height: 22px;
    gap: 4px;
    padding-inline: 1px;
    font-size: clamp(7px, 2.15vw, 9.5px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-lock-badge,
  .landing-day-comparison-v2 .landing-day-comparison-column.is-with .landing-day-lock-badge {
    padding: 3px 5px;
    font-size: clamp(5.2px, 1.55vw, 7px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl,
  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows > div {
    border-radius: clamp(7px, 2.6vw, 10px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl {
    gap: clamp(8px, 2.4vw, 11px);
    padding: clamp(9px, 2.8vw, 12px) 5px;
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl > span {
    font-size: clamp(7px, 2.1vw, 9px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-pnl strong {
    font-size: clamp(24px, 7.8vw, 33px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows {
    gap: clamp(6px, 1.8vw, 8px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows > div {
    gap: clamp(6px, 1.8vw, 8px);
    padding: clamp(7px, 2.2vw, 10px) 5px;
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows dt {
    font-size: clamp(6.5px, 2vw, 8.5px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-summary-rows dd {
    font-size: clamp(20px, 6.4vw, 27px);
  }

  .landing-day-comparison-v2 .landing-day-phone .landing-day-status-badge {
    min-width: clamp(74px, 23vw, 99px);
    padding: 5px 7px;
    font-size: clamp(6px, 1.8vw, 8px);
  }

  .landing-day-comparison-v2 .landing-day-comparison-result,
  html[data-theme="light"] .landing-day-comparison-v2 .landing-day-comparison-result {
    margin-top: 17px;
    font-size: clamp(8.5px, 2.75vw, 11.5px);
    line-height: 1.4;
  }

  .landing-day-comparison-cta-group {
    width: min(100%, 360px);
    margin-top: 34px;
  }

  .landing-day-comparison-v2 .landing-day-comparison-cta {
    min-height: 60px;
    padding-inline: 12px;
    font-size: clamp(14px, 4.1vw, 17px);
    white-space: nowrap;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

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

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

@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%, 68% { opacity: 1; transform: translateY(0); }
  76%, 100% { opacity: 0; transform: translateY(4px); }
}

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

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

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

@keyframes heroDemoStatusDot {
  0%, 33% {
    background: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(134, 207, 97, 0.12);
  }
  34%, 68% {
    background: var(--hero-red);
    box-shadow: 0 0 0 4px rgba(224, 58, 50, 0.16);
  }
  76%, 100% {
    background: var(--brand-green);
    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);
  }
}

/* Keep both header actions on one line on laptop and medium desktop widths.
   The language/theme controls reserve space on the right, so the actions
   progressively tighten before the existing 1280px stacked navigation. */
@media (min-width: 1281px) and (max-width: 1800px) {
  .hero-nav {
    gap: clamp(16px, 1.45vw, 26px);
  }

  .hero-nav-links {
    gap: clamp(24px, 2vw, 38px);
  }

  .hero-nav-links a,
  .hero-nav-actions > a:not(.hero-nav-cta) {
    font-size: clamp(14px, 1vw, 17px);
  }

  .hero-nav-actions {
    gap: clamp(8px, 1vw, 18px);
  }

  .hero-nav-cta {
    padding-inline: clamp(10px, 1.15vw, 21px);
    font-size: clamp(13px, 0.95vw, 16px);
  }
}

@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-account-menu {
    max-width: 100%;
  }

  .hero-account-dropdown {
    right: auto;
    left: 0;
  }

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

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

  .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-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 48px;
  }

  .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 {
    margin-top: 36px;
    padding: 0;
    text-align: center;
  }

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

  .site-discipline-section {
    padding: 48px 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;
  }
}

@media (max-width: 767px) {
  .steps-heading h2,
  .discipline-heading h2 {
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(24px, 7.5vw, 32px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.048em;
  }

  .steps-heading h2 .steps-title-line,
  .steps-heading h2 .steps-title-accent,
  .discipline-heading h2 .discipline-title-line {
    display: block;
  }

  .discipline-title-desktop-break {
    display: none;
  }
}

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;
}

.table-scroll {
  max-height: 540px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.table-scroll-compact {
  max-height: 360px;
}

.table-scroll table {
  table-layout: fixed;
}

.table-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  box-shadow: 0 1px 0 var(--line);
}

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;
}

.infra-expandable {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.infra-expandable summary {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 8px 11px;
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.infra-expandable summary::-webkit-details-marker {
  display: none;
}

.infra-expandable summary::after {
  content: "+";
  margin-left: 9px;
  font-size: 17px;
  line-height: 1;
}

.infra-expandable[open] summary::after {
  content: "−";
}

.infra-expandable table {
  margin-top: 14px;
}

.infra-lock-indicator {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 7px;
  border: 1px solid #f5aaa5;
  border-radius: 5px;
  background: #fee4e2;
  color: #b42318;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  vertical-align: middle;
}

.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: var(--brand-green-bright);
  --auth-sage-soft: var(--brand-green-auth-soft);
  --auth-sage-glow: var(--brand-green-auth-glow);
  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: var(--brand-green-bright);
  --auth-sage-soft: var(--brand-green-auth-soft);
  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%);
}

.auth-mobile-menu-toggle,
.auth-mobile-menu {
  display: none;
}

.auth-mobile-menu[hidden] {
  display: none !important;
}

.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;
}

.signup-mobile-title em {
  color: inherit;
  font-style: normal;
}

.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);
}

/* Empêche le remplissage automatique de Chrome/Safari de casser le thème sombre. */
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus,
.auth-field input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--auth-text);
  caret-color: var(--auth-text);
  background-color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 99999s ease-out 0s;
}

.auth-eye {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
}

.auth-eye::after {
  content: "";
  position: absolute;
  width: 27px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: rotate(-45deg) scaleX(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.auth-eye.is-visible::after {
  opacity: 1;
  transform: rotate(-45deg) scaleX(1);
}

.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, var(--brand-green), 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, var(--brand-green), var(--brand-green));
}

.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);
}

.email-verification-actions {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.email-verification-actions > form,
.email-correction-panel,
.email-correction-panel form {
  width: 100%;
}

.email-verification-actions > form,
.email-correction-panel form {
  display: grid;
  justify-items: center;
}

.email-verification-actions .auth-submit {
  width: min(100%, 360px);
}

.email-correction-toggle {
  min-height: 0;
  max-width: 100%;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--auth-sage-soft);
  font-size: clamp(13px, 3.7vw, 16px);
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: nowrap;
  appearance: none;
}

.email-correction-toggle:hover,
.email-correction-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.email-correction-panel[hidden] {
  display: none;
}

.email-correction-panel {
  padding-top: 4px;
}

.email-correction-panel form {
  gap: 14px;
}

.email-correction-panel .auth-field {
  width: 100%;
}

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

.auth-socials button,
.auth-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  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-family: inherit;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

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

.auth-socials a:focus-visible {
  outline: 2px solid var(--brand-sage);
  outline-offset: 3px;
}

.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);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-legal-links a:hover {
  color: var(--brand-green);
}

.footer-legal-links span,
.auth-footer .footer-legal-links span,
.public-site-footer .footer-legal-links span {
  margin: 0;
  color: rgba(255, 255, 255, 0.22);
}

.public-site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px 24px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030504;
  color: #929992;
  text-align: center;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.public-site-footer p {
  margin: 0;
}

.public-site-footer p + p {
  margin-top: 10px;
}

.public-site-footer span {
  margin: 0 12px;
  color: #626862;
}

.public-site-footer-landing {
  border-top: 0;
  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;
}

/* Legal pages */
body:has(.legal-shell) {
  background: #050607;
}

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

.legal-shell {
  --legal-green: var(--brand-green-sage);
  --legal-green-bright: var(--brand-green-legal-bright);
  --legal-text: #f5f7f5;
  --legal-muted: #a4aaa5;
  min-height: 100vh;
  padding: 0 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(125, 174, 101, 0.13), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.013) 1px, transparent 1px),
    #050607;
  background-size: auto, 56px 56px, 56px 56px, auto;
  color: var(--legal-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.legal-site-header {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-wordmark {
  position: static;
  font-size: 25px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 560;
}

.legal-back-link span {
  color: var(--legal-green-bright);
  font-size: 18px;
}

.legal-main {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 76px 0 86px;
}

.legal-hero {
  display: block;
  max-width: 780px;
  margin-bottom: 36px;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(159, 190, 139, 0.28);
  border-radius: 999px;
  background: rgba(159, 190, 139, 0.07);
  color: var(--legal-green-bright);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.legal-hero h1 {
  margin: 22px 0 16px;
  color: var(--legal-text);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 650;
}

.legal-hero > p {
  max-width: 680px;
  margin: 0;
  color: var(--legal-muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-hero small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.legal-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 11, 9, 0.82);
}

.legal-tabs a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.legal-tabs a:hover,
.legal-tabs a.active {
  background: rgba(159, 190, 139, 0.12);
  color: var(--legal-green-bright);
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 45%),
    rgba(10, 13, 11, 0.88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.legal-highlight-card {
  border-color: rgba(159, 190, 139, 0.24);
  background:
    radial-gradient(circle at 95% 0%, rgba(159, 190, 139, 0.12), transparent 38%),
    rgba(10, 14, 11, 0.92);
}

.legal-card h2 {
  margin: 0 0 18px;
  color: var(--legal-text);
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 630;
}

.legal-card p,
.legal-card li,
.legal-details dd,
.legal-table {
  color: var(--legal-muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 21px;
}

.legal-card li::marker {
  color: var(--legal-green);
}

.legal-card strong,
.legal-details dt {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 620;
}

.legal-card a {
  color: var(--legal-green-bright);
  text-decoration-color: rgba(181, 220, 154, 0.35);
  text-underline-offset: 3px;
}

.legal-details {
  display: grid;
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-details > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-details dt,
.legal-details dd {
  margin: 0;
  font-size: 14px;
}

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

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  vertical-align: top;
}

.legal-table th {
  background: rgba(159, 190, 139, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 650;
}

.legal-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 30px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
  font-size: 13px;
}

.legal-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 0 16px;
  }

  .legal-site-header {
    min-height: 76px;
  }

  .legal-wordmark {
    font-size: 20px;
  }

  .legal-back-link {
    font-size: 12px;
  }

  .legal-back-link span {
    display: none;
  }

  .legal-main {
    padding: 48px 0 58px;
  }

  .legal-hero {
    margin-bottom: 26px;
  }

  .legal-hero h1 {
    margin-top: 18px;
    font-size: 39px;
  }

  .legal-hero > p {
    font-size: 15px;
    line-height: 1.55;
  }

  .legal-tabs {
    grid-template-columns: 1fr;
  }

  .legal-tabs a {
    min-height: 42px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 13px;
  }

  .legal-card p,
  .legal-card li,
  .legal-details dd,
  .legal-table {
    font-size: 14px;
    line-height: 1.68;
  }

  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-legal-links {
    gap: 7px 9px;
  }
}

@media (max-width: 767px) {
  .public-site-footer {
    padding: 24px 18px 28px;
    font-size: 12px;
  }

  .public-site-footer p + p {
    margin-top: 8px;
  }

  .public-site-footer span {
    margin: 0 5px;
  }
}

.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, var(--brand-green), 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,
  .auth-socials a {
    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);
}

.marketing-traffic-summary .marketing-primary-metric {
  background: var(--brand-green-ui-soft);
  box-shadow: inset 0 0 0 1px var(--brand-green-border);
}

.marketing-traffic-summary .marketing-primary-metric strong {
  color: var(--good);
  font-size: 28px;
  font-weight: 850;
}

.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: var(--brand-green-risk);
  --risk-sage-strong: var(--brand-green-risk-strong);
  --risk-sage-soft: var(--brand-green-risk-soft);
  --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, var(--brand-green), var(--brand-green));
}

.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;
  }
}

/* Stripe billing states */
.checkout-stripe-handoff {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(143, 202, 114, 0.42);
  border-radius: 12px;
  background: rgba(143, 202, 114, 0.075);
}

.checkout-stripe-handoff > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(143, 202, 114, 0.15);
  color: var(--brand-green);
}

.checkout-stripe-handoff svg {
  width: 21px;
  height: 21px;
}

.checkout-stripe-handoff strong {
  color: #fff;
  font-size: 16px;
}

.checkout-stripe-handoff p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.checkout-no-charge.is-immediate {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.billing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 22px;
  padding: 15px 17px;
  border: 1px solid rgba(159, 190, 139, 0.34);
  border-radius: 10px;
  background: rgba(159, 190, 139, 0.09);
}

.billing-banner-payment {
  border-color: rgba(245, 178, 84, 0.42);
  background: rgba(245, 178, 84, 0.09);
}

.billing-banner p,
.billing-banner form {
  margin: 0;
}

.billing-banner p {
  color: var(--st-text, #fff);
  font-size: 14px;
  line-height: 1.5;
}

.billing-banner button {
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
  color: #071007;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

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

.settings-billing-actions form {
  margin: 0;
}

.billing-cancel-dialog {
  width: min(600px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #0d1115;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.billing-cancel-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.billing-cancel-dialog > form {
  padding: 25px;
}

.billing-cancel-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.billing-cancel-dialog-head h2 {
  margin: 0;
  font-size: 23px;
}

.billing-cancel-dialog-head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}

.billing-cancel-dialog > form > p {
  margin: 8px 0 20px;
  color: var(--st-secondary);
}

.billing-cancel-reasons {
  display: grid;
  gap: 9px;
}

.billing-cancel-reasons label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.billing-cancel-reasons input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand-green);
}

.billing-cancel-reasons span {
  flex: 1 1 auto;
}

.billing-cancel-other {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--st-secondary);
  font-size: 13px;
  font-weight: 700;
}

.billing-cancel-other textarea {
  min-height: 82px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--st-border-strong);
  border-radius: 8px;
  outline: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
}

.billing-cancel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

body:has(.billing-confirmation-page) {
  margin: 0;
  background: #050607;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.billing-confirmation-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 18%, rgba(159, 190, 139, 0.15), transparent 34%),
    #050607;
}

.billing-confirmation-card {
  width: min(590px, 100%);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(12, 16, 19, 0.96);
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.billing-confirmation-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(159, 190, 139, 0.14);
  color: var(--brand-green);
}

.billing-confirmation-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.billing-confirmation-card h1 {
  margin: 22px 0 12px;
  font-size: clamp(28px, 5vw, 38px);
}

.billing-confirmation-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.billing-confirmation-card strong {
  color: #fff;
}

.billing-confirmation-card form {
  margin: 0;
}

.billing-primary-action,
.billing-secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 9px;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
}

.billing-primary-action {
  border: 0;
  background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
  color: #071007;
  cursor: pointer;
}

.billing-secondary-action {
  margin-top: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.locked-access-billing-action {
  display: grid;
  justify-items: center;
  gap: 13px;
  width: min(430px, 100%);
  margin: 30px auto 15px;
}

.locked-access-billing-action form {
  width: 100%;
  margin: 0;
}

.locked-access-billing-action .locked-access-cta {
  width: 100%;
  min-height: 52px;
  border: 0;
  cursor: pointer;
}

.locked-access-billing-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 700px) {
  .billing-banner,
  .billing-cancel-actions,
  .settings-billing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-banner button,
  .settings-billing-actions form,
  .settings-billing-actions button {
    width: 100%;
  }

  .billing-confirmation-page {
    padding: 16px;
  }

  .billing-confirmation-card {
    padding: 30px 20px;
  }
}

/* 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: var(--brand-green-bright);
  --pricing-sage-soft: var(--brand-green-auth-soft);
  --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;
}

/* Launch offer: keep the existing cards; only add the offer labels. */
.pricing-launch-copy {
  display: block;
  line-height: 1.3;
}

.pricing-launch-copy small {
  display: block;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

.pricing-v2-launch.pricing-launch-limited {
  max-width: calc(100% - 82px);
  min-height: 36px;
  padding: 4px 10px;
  border-color: #ff7a1a;
  background: rgba(255, 122, 26, 0.08);
  color: #ff8a34;
}

.pricing-discount-badge {
  position: absolute;
  top: 19px;
  right: 22px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 42px;
  padding: 0 5px;
  overflow: hidden;
  border: 1px solid #ffb15f;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffad3d, #ff7417 58%, #ee4f00);
  color: #fff8ee;
  box-shadow: 0 3px 0 #a93800, 0 6px 18px rgba(255, 106, 0, 0.28);
  transform: rotate(5deg);
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.pricing-annual-note {
  margin: 4px 0 0;
  color: var(--pricing-sage);
  font-size: 12px;
  line-height: 1.45;
}

.pricing-annual-note:empty {
  display: none;
}

.pricing-v2-price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 17px;
}

.pricing-v2-price strong {
  white-space: nowrap;
  color: var(--pricing-sage);
  font-size: 61px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.pricing-v2-shell .pricing-v2-price strong {
  color: #ffffff;
}

.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: clamp(43px, 14.8vw, 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: var(--brand-green);
  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: var(--brand-green);
  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: var(--brand-green);
  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: var(--brand-green);
  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: var(--brand-green);
}

.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: var(--brand-green);
  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: var(--brand-green);
}

.checkout-terms a {
  color: var(--brand-green);
  text-decoration: none;
}

.checkout-no-charge {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 20px;
  border: 1px solid var(--brand-green);
  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: var(--brand-green);
  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: var(--brand-green);
  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: var(--brand-green);
}

.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: var(--brand-green);
}

.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: var(--brand-green);
  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: var(--brand-green);
}

.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: var(--brand-green);
  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: var(--brand-green);
  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%, var(--brand-green) 0 1.5px, transparent 2px),
    radial-gradient(circle at 27% 21%, var(--brand-green) 0 1.5px, transparent 2px),
    radial-gradient(circle at 83% 34%, var(--brand-green) 0 1.5px, transparent 2px),
    radial-gradient(circle at 90% 52%, var(--brand-green) 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: var(--brand-green);
}

.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: var(--brand-green);
}

.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: var(--brand-green);
  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: var(--brand-green);
  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, var(--brand-green), var(--brand-green));
  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, var(--brand-green), var(--brand-green));
  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);
}

/* Garde les identifiants de trading dans le thème sombre après l'autoremplissage. */
.account-center .risk-form input:-webkit-autofill,
.account-center .risk-form input:-webkit-autofill:hover,
.account-center .risk-form input:-webkit-autofill:focus,
.account-center .risk-form input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--st-text);
  caret-color: var(--st-text);
  background-color: rgb(7, 9, 11) !important;
  -webkit-box-shadow: 0 0 0 1000px rgb(7, 9, 11) inset !important;
  box-shadow: 0 0 0 1000px rgb(7, 9, 11) inset !important;
  transition: background-color 99999s ease-out 0s;
}

.account-center .risk-form input:autofill {
  color: var(--st-text);
  background-color: rgb(7, 9, 11) !important;
  box-shadow: 0 0 0 1000px rgb(7, 9, 11) inset !important;
}

.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, var(--brand-green), var(--brand-green));
  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;
}

.account-connect-form .broker-server-warning {
  color: #ff6767;
  font-size: 12px;
  font-weight: 600;
}

.account-connect-form .account-password-warning {
  color: #f0a24a;
  font-weight: 400;
}

.connect-fields-grid > .account-password-warning {
  grid-column: 2;
  justify-self: stretch;
  margin-top: -14px;
  font-weight: 400;
  line-height: 1.45;
}

.account-connect-form .connect-fields-grid + .full-field {
  margin-top: -16px;
}

@media (max-width: 767px) {
  .account-connect-form .connect-fields-grid + .full-field {
    margin-top: -6px;
  }
}

.st-dashboard-risk-editor {
  display: grid;
  align-content: start;
  gap: 22px;
  box-sizing: border-box;
  padding: 38px 44px 30px;
}

.st-dashboard-risk-editor.connect-step .account-risk-panel {
  padding-top: 0;
  border-top: 0;
}

.st-dashboard-risk-editor .st-settings-pending-note {
  margin: 0;
}

.st-dashboard-risk-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.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-sl-group {
  display: contents;
}

@media (min-width: 768px) {
  .risk-sl-group {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--st-border);
    border-radius: 8px;
  }

  .risk-sl-group > .risk-strict-row {
    border: 0;
    border-radius: 0;
  }

  .risk-sl-group > .risk-strict-row + .risk-strict-row {
    border-top: 1px solid var(--st-border);
  }
}

.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-info-trigger {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--st-border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--st-secondary);
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  appearance: none;
  cursor: help;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.risk-info-trigger::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
}

.risk-info-trigger:hover,
.risk-info-trigger:focus-visible,
.risk-info-trigger[aria-expanded="true"] {
  border-color: var(--st-sage);
  background: var(--st-sage-muted);
  color: var(--st-sage);
}

.risk-info-trigger:focus-visible {
  outline: 2px solid var(--st-sage);
  outline-offset: 2px;
}

.risk-info-tooltip {
  position: fixed;
  z-index: 1450;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100svh - 24px);
  overflow: auto;
  padding: 12px 14px;
  border: 1px solid var(--st-border-strong);
  border-radius: 10px;
  background: var(--st-surface);
  color: var(--st-text);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.risk-info-tooltip[hidden] {
  display: none !important;
}

.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,
.st-dashboard-risk-editor .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);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.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: var(--brand-green);
}

.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: var(--st-sage);
  background: var(--st-sage);
  color: var(--st-text);
}

html[data-theme="dark"] .risk-trading-group:not(.is-disabled) .risk-day-chip.active:not(:disabled):hover {
  border-color: var(--st-border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--st-text);
  box-shadow: none;
}

.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;
}

.st-dashboard-risk-editor .risk-reset-remove {
  top: 50%;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  line-height: 1;
  transform: translateY(-50%);
}

.st-settings-panel .risk-reset-row {
  min-height: 0;
  margin: 0;
  padding: 28px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.st-settings-panel .risk-reset-slots {
  min-width: 352px;
  flex: 1;
}

@media (max-width: 680px) {
  .st-dashboard-risk-editor {
    padding: 28px 20px 24px;
  }

  .st-dashboard-risk-actions {
    justify-content: stretch;
  }

  .st-dashboard-risk-actions .st-save {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .st-settings-panel .risk-reset-row {
    align-items: stretch;
    flex-direction: column;
  }

  .st-settings-panel .risk-reset-slots {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .st-settings-panel .risk-reset-control input {
    width: 100%;
    font-size: 15px;
  }
}

.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;
}

.activation-retry-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.activation-retry-panel[hidden] {
  display: none;
}

.account-connect-form[data-pending-connect-form][hidden] {
  display: none !important;
}

.activation-retry-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(169, 216, 144, 0.5);
  border-radius: 50%;
  color: var(--st-sage);
  background: rgba(169, 216, 144, 0.08);
}

.activation-retry-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.activation-retry-panel h3,
.activation-retry-panel p {
  margin: 0;
}

.activation-retry-panel h3 {
  color: var(--st-text);
  font-size: clamp(22px, 3vw, 29px);
}

.activation-retry-panel p {
  max-width: 620px;
  color: var(--st-muted);
  line-height: 1.55;
}

.activation-retry-panel .acct-primary-button {
  width: min(100%, 520px);
  margin-top: 8px;
}

.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;
  }

  .connect-fields-grid > .account-password-warning {
    grid-column: 1;
    margin-top: -6px;
  }

  .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;
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  .account-center .st-nav {
    display: grid;
  }

  .account-center-add-flow .account-connect-form,
  .account-center-add-flow .connect-fields-grid,
  .account-center-add-flow .connect-fields-grid > label,
  .account-center-add-flow .full-field,
  .account-center-add-flow .account-risk-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .account-center-add-flow .risk-form input,
  .account-center-add-flow .risk-form select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .account-center-add-flow .account-risk-panel > *,
  .account-center-add-flow .risk-trading-group,
  .account-center-add-flow .risk-trading-box {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .account-center-add-flow .risk-strict-row {
    flex-direction: column;
    align-items: stretch;
  }

  .account-center-add-flow .risk-stepper,
  .account-center-add-flow .risk-reset-slots {
    width: 100%;
    min-width: 0;
  }

  .account-center-add-flow .risk-days-line,
  .account-center-add-flow .risk-hours-line {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .account-center-add-flow .risk-days {
    width: 100%;
    justify-content: flex-start;
  }

  .account-center-add-flow .risk-time-range {
    width: 100%;
    justify-content: center;
  }
}

.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, var(--brand-green), var(--brand-green));
  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-billing-actions .settings-view-plans {
  border: 0;
  background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
  color: #071007;
}

.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%;
  }
}

/* Landing page — telephone uniquement (les tablettes commencent a 768 px). */
@media (max-width: 767px) {
  .site-hero-page .hero-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 16px;
    align-items: center;
  }

  .site-hero-page .hero-wordmark {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(21px, 6.2vw, 24px);
  }

  .site-hero-page .hero-nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
  }

  .site-hero-page .hero-nav-actions > a:not(.hero-nav-cta) {
    font-size: 15px;
    white-space: nowrap;
  }

  .site-hero-page .hero-nav-actions .hero-nav-cta,
  .site-hero-page .hero-nav-actions .hero-nav-login,
  .site-hero-page .hero-nav-actions .hero-nav-divider {
    display: none;
  }

  .site-hero-page .hero-nav-links {
    display: none;
  }

  .site-hero-page .hero-mobile-menu-toggle {
    display: inline-grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .site-hero-page .hero-mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-hero-page .hero-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    overflow-y: auto;
    background: #070909;
  }

  .site-hero-page .hero-mobile-menu-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    color: #f7f8f7;
    background:
      radial-gradient(circle at 92% 0%, rgba(143, 202, 114, 0.12), transparent 34%),
      #070909;
  }

  .site-hero-page .hero-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-hero-page .hero-mobile-menu-brand {
    color: #fff;
    font-size: clamp(21px, 6.2vw, 24px);
    text-decoration: none;
  }

  .site-hero-page .hero-mobile-menu-close {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .site-hero-page .hero-mobile-menu-toggle:focus-visible,
  .site-hero-page .hero-mobile-menu-close:focus-visible,
  .site-hero-page .hero-mobile-menu-links a:focus-visible,
  .site-hero-page .hero-mobile-menu-cta:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
  }

  .site-hero-page .hero-mobile-menu-close span {
    position: absolute;
    top: 21px;
    left: 8px;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-hero-page .hero-mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .site-hero-page .hero-mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .site-hero-page .hero-mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-self: start;
  }

  .site-hero-page .hero-mobile-menu-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f7f8f7;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
  }

  .site-hero-page .hero-mobile-menu-links a > span {
    color: var(--brand-green);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
  }

  .site-hero-page .hero-mobile-menu-footer {
    padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 9, 9, 0.96);
  }

  .site-hero-page .hero-mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
    color: #071007;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(86, 134, 64, 0.22);
  }

  .site-hero-page .hero-badge {
    display: none;
  }

  .site-hero-page .hero-copy h1 {
    width: calc(100% + 14px);
    margin-top: 0;
    margin-inline: -7px;
    padding-inline: 0;
    box-sizing: border-box;
    font-size: clamp(29px, 8.6vw, 35px);
  }

  .site-hero-page .hero-copy h1,
  .site-hero-page .hero-copy p {
    text-align: center;
  }

  .site-hero-page .hero-benefits-inline {
    display: none;
  }

  .site-hero-page .hero-benefits-mobile {
    display: grid;
    transform: translateY(-40px);
  }

  .site-hero-page .hero-trust {
    margin-top: 24px;
    transform: translateY(-40px);
  }
}

@media (max-width: 1199px) {
  .site-hero-page {
    grid-template-rows: auto auto auto;
    align-content: start;
  }
}

body.hero-mobile-menu-open {
  overflow: hidden;
}

/* Dashboard : le panneau de reglages se compacte avec les ecrans PC/tablette etroits. */
.sentinel-dashboard .st-dashboard-risk-editor {
  container-name: dashboard-risk-editor;
  container-type: inline-size;
}

@media (min-width: 1101px) and (max-width: 1800px) {
  .sentinel-dashboard {
    --st-sidebar-width: clamp(220px, 16vw, 286px);
  }

  .sentinel-dashboard .st-main {
    gap: 22px;
  }

  .sentinel-dashboard .st-sidebar {
    padding-right: clamp(12px, 1.1vw, 18px);
    padding-left: clamp(12px, 1.1vw, 18px);
    overflow-x: hidden;
  }

  .sentinel-dashboard .st-brand {
    font-size: clamp(22px, 1.65vw, 28px);
  }

  .sentinel-dashboard .st-nav-item {
    grid-template-columns: clamp(24px, 1.8vw, 32px) minmax(0, 1fr);
    gap: clamp(10px, 0.8vw, 14px);
    min-height: clamp(52px, 3.7vw, 60px);
    padding-right: clamp(10px, 0.8vw, 16px);
    padding-left: clamp(10px, 0.8vw, 16px);
    font-size: clamp(15px, 1.05vw, 18px);
  }

  .sentinel-dashboard .st-header-actions {
    gap: 12px;
  }

  .sentinel-dashboard .st-account-menu {
    width: clamp(190px, 14vw, 220px);
  }

  .sentinel-dashboard .st-select-card,
  .sentinel-dashboard .st-bell {
    min-height: 52px;
  }

  .sentinel-dashboard .st-select-card {
    padding-right: 38px;
    padding-left: 16px;
  }

  .sentinel-dashboard .st-select-card::after {
    top: 20px;
    right: 16px;
  }

  .sentinel-dashboard .st-account-menu.is-open .st-select-card::after {
    top: 25px;
  }

  .sentinel-dashboard .st-bell {
    flex: 0 0 52px;
    width: 52px;
  }

  .sentinel-dashboard .st-bell span {
    top: 8px;
    right: 8px;
  }

  .sentinel-dashboard .st-dashboard-grid {
    grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
    gap: 18px;
  }

  .sentinel-dashboard .st-dashboard-grid > * {
    min-width: 0;
  }

  .sentinel-dashboard .st-dashboard-risk-editor {
    gap: 16px;
    padding: 30px 20px 24px;
  }
}

@media (min-width: 768px) {
  @container dashboard-risk-editor (max-width: 900px) {
    .sentinel-dashboard .st-dashboard-risk-editor .account-risk-panel {
      min-width: 0;
      gap: 10px;
    }

    .sentinel-dashboard .st-dashboard-risk-editor .risk-strict-row {
      min-width: 0;
      min-height: 64px;
      gap: 10px;
      padding: 10px 12px;
    }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-row-left {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    font-size: 14px;
    line-height: 1.25;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-row-left > span:nth-child(2) {
    min-width: 0;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-row-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-row-icon svg {
    width: 23px;
    height: 23px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-row-left i,
  .sentinel-dashboard .st-dashboard-risk-editor .risk-row-left .risk-info-trigger,
  .sentinel-dashboard .st-dashboard-risk-editor .risk-sub-label i {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper {
    flex: 0 0 auto;
    grid-template-columns: 42px minmax(84px, 100px) 42px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper button,
  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper label {
    min-height: 48px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper button {
    font-size: 25px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper label {
    min-width: 0;
    gap: 5px;
    padding: 0 8px;
    font-size: 17px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper input {
    width: 52px;
    font-size: 17px !important;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-stepper label span {
    font-size: 17px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-hours-switch {
    flex: 0 0 64px;
    width: 64px;
    height: 34px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-hours-switch span::after {
    width: 24px;
    height: 24px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-hours-switch input:checked + span::after {
    transform: translateX(30px);
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-trading-box {
    min-width: 0;
    gap: 9px;
    padding: 10px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-days-line,
  .sentinel-dashboard .st-dashboard-risk-editor .risk-hours-line {
    min-width: 0;
    min-height: 52px;
    gap: 8px;
    padding: 0 8px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-sub-label {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-days {
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-day-chip {
    min-width: 40px;
    min-height: 36px;
    padding: 0 5px;
    font-size: 12px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-time-range {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 42px;
    gap: 7px;
    padding: 0 9px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-time-range input {
    width: 62px;
    min-width: 0;
    font-size: 14px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-timezone-copy {
    padding: 1px 5px 0;
    font-size: 13px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-timezone-copy small {
    font-size: 12px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-row .risk-row-left {
    flex: 0 1 175px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-slots {
    flex: 1 1 250px;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-slot {
    min-width: 0;
    gap: 5px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-slot > span,
  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-slots small {
    font-size: 11px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-control {
    min-width: 0;
    min-height: 48px;
  }

  .sentinel-dashboard .st-dashboard-risk-editor .risk-reset-control input {
    width: 100%;
    min-width: 0;
    padding: 0 18px 0 4px !important;
    font-size: 14px;
  }
  }
}

/* Pages Connexion et Inscription — téléphone uniquement. */
@media (max-width: 767px) {
  .auth-shell .auth-mobile-menu-toggle {
    position: absolute;
    top: 22px;
    right: 18px;
    z-index: 20;
    display: inline-grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .auth-shell .auth-mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .login-shell .auth-copy p {
    display: none;
  }

  .auth-signup-page .auth-copy p {
    display: none;
  }

  .login-shell .auth-page,
  .auth-signup-page .auth-page {
    gap: 14px;
  }

  .login-shell .auth-brand-panel,
  .auth-signup-page .auth-brand-panel {
    padding-top: 60px;
  }

  .login-shell .auth-copy h1,
  .auth-signup-page .auth-copy h1 {
    margin-bottom: 8px;
  }

  .auth-signup-page .auth-copy h1 > span:first-child {
    display: none;
  }

  .auth-signup-page .auth-copy h1 .signup-mobile-title {
    display: block;
    color: var(--auth-text);
  }

  .auth-signup-page .auth-copy h1 .signup-mobile-title::before {
    content: none;
  }

  .auth-signup-page .auth-copy h1 .signup-mobile-title > span {
    display: inline;
    color: var(--auth-text);
  }

  .auth-signup-page .auth-copy h1 .signup-mobile-title em {
    display: block;
    color: var(--auth-sage-soft);
  }

  .auth-shell .auth-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .auth-shell .auth-socials button,
  .auth-shell .auth-socials a {
    min-width: 0;
    gap: 9px;
    padding: 0 8px;
    font-size: 15px;
  }

  .auth-shell .auth-google-logo,
  .auth-shell .auth-apple-logo {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .auth-shell .auth-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    overflow-y: auto;
    background: #070909;
  }

  .auth-shell .auth-mobile-menu-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    color: #f7f8f7;
    background:
      radial-gradient(circle at 92% 0%, rgba(143, 202, 114, 0.12), transparent 34%),
      #070909;
  }

  .auth-shell .auth-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .auth-shell .auth-mobile-menu-brand {
    position: static;
    color: #fff;
    font-size: clamp(21px, 6.2vw, 24px);
    text-decoration: none;
  }

  .auth-shell .auth-mobile-menu-close {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .auth-shell .auth-mobile-menu-close span {
    position: absolute;
    top: 21px;
    left: 8px;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .auth-shell .auth-mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .auth-shell .auth-mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .auth-shell .auth-mobile-menu-toggle:focus-visible,
  .auth-shell .auth-mobile-menu-close:focus-visible,
  .auth-shell .auth-mobile-menu-links a:focus-visible,
  .auth-shell .auth-mobile-menu-cta:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
  }

  .auth-shell .auth-mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-self: start;
  }

  .auth-shell .auth-mobile-menu-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f7f8f7;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
  }

  .auth-shell .auth-mobile-menu-links a > span {
    color: var(--brand-green);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
  }

  .auth-shell .auth-mobile-menu-footer {
    padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 9, 9, 0.96);
  }

  .auth-shell .auth-mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
    color: #071007;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(86, 134, 64, 0.22);
  }
}

body.auth-mobile-menu-open {
  overflow: hidden;
}

/* Dashboard client — téléphone uniquement. */
@media (max-width: 767px) {
  body:has(.sentinel-dashboard),
  main:has(.sentinel-dashboard),
  .sentinel-dashboard {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sentinel-dashboard,
  .sentinel-dashboard * {
    box-sizing: border-box;
  }

  .sentinel-dashboard {
    display: block;
    min-width: 0;
  }

  .sentinel-dashboard .st-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    gap: 0 10px;
    padding: 15px 14px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--st-border);
  }

  .sentinel-dashboard .st-brand {
    grid-area: brand;
    align-self: center;
    min-width: 0;
    padding: 0;
    font-size: 21px;
  }

  .sentinel-dashboard .st-mobile-menu-toggle {
    grid-area: toggle;
    align-self: center;
    justify-self: end;
    width: 44px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(159, 190, 139, 0.3);
    border-radius: 10px;
    background: rgba(159, 190, 139, 0.07);
    color: var(--st-text);
    cursor: pointer;
  }

  .sentinel-dashboard .st-mobile-menu-toggle > span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .sentinel-dashboard .st-sidebar.mobile-menu-open .st-mobile-menu-toggle > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .sentinel-dashboard .st-sidebar.mobile-menu-open .st-mobile-menu-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .sentinel-dashboard .st-sidebar.mobile-menu-open .st-mobile-menu-toggle > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sentinel-dashboard .st-nav {
    grid-area: nav;
    grid-template-columns: 1fr;
    gap: 5px;
    width: 100%;
    min-width: 0;
    display: none;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--st-border);
  }

  .sentinel-dashboard .st-sidebar.mobile-menu-open .st-nav {
    display: grid;
  }

  .sentinel-dashboard .st-nav-item {
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: start;
    min-width: 0;
    min-height: 48px;
    gap: 12px;
    padding: 0 13px;
    overflow: visible;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
  }

  .sentinel-dashboard .st-nav-item span,
  .sentinel-dashboard .st-nav-item svg {
    width: 20px;
    height: 20px;
  }

  .sentinel-dashboard .st-sidebar-bottom {
    grid-area: actions;
    width: 100%;
    display: none;
    min-width: 0;
    margin-top: 8px;
    padding: 10px 0 0;
    border-top: 1px solid var(--st-border);
  }

  .sentinel-dashboard .st-sidebar.mobile-menu-open .st-sidebar-bottom {
    display: block;
  }

  .sentinel-dashboard .st-logout-button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    padding: 0 14px;
    gap: 7px;
    font-size: 12px;
    white-space: nowrap;
  }

  .sentinel-dashboard .st-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 18px;
    padding: 14px 14px 30px;
    overflow: hidden;
  }

  .sentinel-dashboard .st-topbar,
  .sentinel-dashboard .st-topbar > div,
  .sentinel-dashboard .st-header-actions,
  .sentinel-dashboard .st-dashboard-grid,
  .sentinel-dashboard .st-panel,
  .sentinel-dashboard .st-status-panel,
  .sentinel-dashboard .st-dashboard-risk-editor,
  .sentinel-dashboard .account-risk-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .sentinel-dashboard .st-topbar {
    gap: 12px;
  }

  .sentinel-dashboard .st-topbar h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .sentinel-dashboard .st-topbar p {
    display: none;
  }

  .sentinel-dashboard .st-header-actions {
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 8px;
  }

  .sentinel-dashboard .st-account-menu,
  .sentinel-dashboard .st-select-card {
    width: 100%;
    min-width: 0;
  }

  .sentinel-dashboard .st-select-card,
  .sentinel-dashboard .st-bell {
    min-height: 54px;
  }

  .sentinel-dashboard .st-select-card {
    padding: 0 40px 0 14px;
  }

  .sentinel-dashboard .st-select-card::after {
    top: 20px;
    right: 17px;
  }

  .sentinel-dashboard .st-account-menu.is-open .st-select-card::after {
    top: 25px;
  }

  .sentinel-dashboard .st-select-card span {
    min-width: 0;
    font-size: 14px;
  }

  .sentinel-dashboard .st-bell {
    width: 54px;
  }

  .sentinel-dashboard .st-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .sentinel-dashboard .st-dashboard-grid > * {
    min-width: 0;
  }

  .sentinel-dashboard .st-status-panel {
    padding: 22px 16px 18px;
  }

  .sentinel-dashboard .st-panel-header {
    display: grid;
    justify-content: stretch;
    gap: 12px;
    padding-bottom: 18px;
  }

  .sentinel-dashboard .st-panel-header h2,
  .sentinel-dashboard .st-settings-head h2 {
    font-size: 20px;
  }

  .sentinel-dashboard .st-active-badge {
    justify-self: start;
    gap: 9px;
    max-width: 100%;
    font-size: 16px;
  }

  .sentinel-dashboard .st-active-badge b {
    min-width: 0;
    white-space: normal;
  }

  .sentinel-dashboard .st-panel-subtitle {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.45;
  }

  .sentinel-dashboard .st-balance-strip {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .sentinel-dashboard .st-balance-strip strong {
    font-size: 17px;
    text-align: left;
  }

  .sentinel-dashboard .st-status-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 24px 0;
  }

  .sentinel-dashboard .st-section-icon {
    width: 42px;
    height: 42px;
  }

  .sentinel-dashboard .st-section-icon svg {
    width: 23px;
    height: 23px;
  }

  .sentinel-dashboard .st-section-body h3,
  .sentinel-dashboard .st-setting-copy h3 {
    font-size: 17px;
  }

  .sentinel-dashboard .st-main-value {
    font-size: 30px;
  }

  .sentinel-dashboard .st-section-body p,
  .sentinel-dashboard .st-section-body small,
  .sentinel-dashboard .st-setting-copy p,
  .sentinel-dashboard .st-setting-copy small {
    font-size: 14px;
  }

  .sentinel-dashboard .st-days {
    gap: 7px;
  }

  .sentinel-dashboard .st-day {
    min-width: 42px;
    height: 38px;
    font-size: 12px;
  }

  .sentinel-dashboard .st-timezone-note {
    align-items: flex-start;
    gap: 11px;
    padding-top: 20px;
    font-size: 13px;
    line-height: 1.45;
  }

  .sentinel-dashboard .st-dashboard-risk-editor {
    padding: 22px 14px 20px;
  }

  .sentinel-dashboard .account-risk-panel {
    gap: 11px;
    padding-top: 0;
  }

  .sentinel-dashboard .connect-step .account-risk-panel h3 {
    font-size: 22px;
  }

  .sentinel-dashboard .risk-strict-row {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    min-width: 0;
    padding: 14px;
  }

  .sentinel-dashboard .risk-row-left {
    gap: 10px;
    font-size: 15px;
    line-height: 1.35;
  }

  .sentinel-dashboard .risk-row-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
  }

  .sentinel-dashboard .risk-row-icon svg {
    width: 23px;
    height: 23px;
  }

  .sentinel-dashboard .risk-stepper {
    width: 100%;
    min-width: 0;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .sentinel-dashboard .risk-stepper button,
  .sentinel-dashboard .risk-stepper label {
    min-height: 50px;
  }

  .sentinel-dashboard .risk-stepper label {
    min-width: 0;
    padding: 0 8px;
  }

  .sentinel-dashboard .risk-stepper input {
    width: min(64px, 70%);
    font-size: 18px !important;
  }

  .sentinel-dashboard .risk-stepper label span {
    font-size: 17px;
  }

  .sentinel-dashboard .risk-trading-box {
    width: 100%;
    min-width: 0;
    padding: 10px;
  }

  .sentinel-dashboard .risk-days-line,
  .sentinel-dashboard .risk-hours-line {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .sentinel-dashboard .risk-days {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
  }

  .sentinel-dashboard .risk-day-chip {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    font-size: 12px;
  }

  .sentinel-dashboard .risk-time-range {
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding: 0 10px;
  }

  .sentinel-dashboard .risk-time-range input {
    width: min(42%, 86px);
    min-width: 0;
    font-size: 14px;
  }

  .sentinel-dashboard .risk-timezone-copy {
    padding: 2px 4px 0;
    font-size: 14px;
  }

  .sentinel-dashboard .risk-reset-row {
    align-items: stretch;
    flex-direction: column;
  }

  .sentinel-dashboard .risk-reset-slots,
  .sentinel-dashboard .st-settings-panel .risk-reset-slots {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .sentinel-dashboard .risk-reset-control input {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }

  .sentinel-dashboard .st-settings-footer,
  .sentinel-dashboard .st-dashboard-risk-actions {
    width: 100%;
    min-width: 0;
  }

  .sentinel-dashboard .st-restore,
  .sentinel-dashboard .st-save,
  .sentinel-dashboard .st-dashboard-risk-actions .st-save {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    white-space: normal;
    text-align: center;
  }

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

  .sentinel-dashboard .st-delete-help {
    max-width: none;
    text-align: left;
  }

  .sentinel-dashboard .st-toast {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .account-center .st-nav {
    display: none;
  }

  .account-center .st-sidebar.mobile-menu-open .st-nav {
    display: grid;
  }

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

  .account-center .account-center-header {
    display: none;
  }

  .account-center .account-center-bell,
  .account-center .account-center-avatar {
    width: 44px;
    height: 44px;
  }

  .account-center .account-center-main {
    width: calc(100% - 28px);
    max-width: 620px;
    padding: 18px 0 44px;
  }

  .account-center .account-center-title {
    gap: 12px;
    margin-bottom: 18px;
  }

  .account-center .account-center-title h1 {
    font-size: 30px;
  }

  .account-center-overview .account-center-title p {
    display: none;
  }

  .account-center .account-center-title > span {
    justify-self: start;
    max-width: 100%;
    padding: 9px 13px;
    font-size: 13px;
  }

  .account-center .account-center-summary article {
    min-height: 82px;
    padding: 17px;
  }

  .account-center .account-center-summary article:nth-child(2),
  .account-center .account-center-summary article:nth-child(3) {
    display: none;
  }

  .account-center-overview .account-center-summary {
    display: none;
  }

  .account-center .account-center-summary strong {
    font-size: 24px;
  }

  .account-center .account-card,
  .account-center .account-add-tile,
  .account-center .account-empty-card,
  .account-center .add-account {
    width: 100%;
    min-width: 0;
  }

  .account-center .account-card {
    min-height: 0;
    padding: 18px;
  }

  .account-center .account-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .account-center .account-card-head .pill {
    max-width: 128px;
    white-space: normal;
    text-align: center;
  }

  .account-center .account-actions,
  .account-center .account-actions > form,
  .account-center .account-actions .acct-primary-button,
  .account-center .account-actions .acct-secondary-button {
    width: 100%;
  }

  .account-center .account-add-tile {
    min-height: 250px;
    padding: 22px 16px;
  }

  .account-center .account-empty-card {
    min-height: 0;
    padding: 34px 18px;
  }

  .account-center .account-empty-card h2 {
    font-size: 28px;
  }

  .account-center .account-empty-card p {
    margin: 18px 0 30px;
    font-size: 16px;
  }

  .account-center .onboarding-card,
  .account-center .platform-step,
  .account-center .connect-step {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 24px 14px;
  }

  .account-center .add-account-head {
    margin-bottom: 24px;
  }

  .account-center .add-account-head h2 {
    font-size: 27px;
  }

  .account-center .add-account-head p {
    font-size: 15px;
  }

  .account-center .selected-platform-line {
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
  }

  .account-center .selected-platform-line strong {
    min-width: 0;
    font-size: 14px;
  }

  .account-center .connect-fields-grid,
  .account-center .account-risk-panel .two,
  .account-center .settings-fields.two,
  .account-center .settings-toggles {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-center .risk-form input,
  .account-center .risk-form select,
  .settings-page .settings-fields input,
  .settings-page .settings-fields select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .settings-page .settings-grid,
  .settings-page .settings-fields.two,
  .settings-page .settings-toggles {
    grid-template-columns: minmax(0, 1fr);
  }

  .settings-page .settings-card {
    min-width: 0;
    padding: 18px 14px;
  }

  .settings-page .settings-card-head {
    align-items: flex-start;
  }

  .settings-page .settings-primary,
  .settings-page .settings-secondary,
  .settings-page .settings-danger {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

/* Menu du compte de la landing — téléphone uniquement. */
@media (max-width: 767px) {
  .site-hero-page .hero-account-menu {
    width: 44px;
    max-width: 44px;
    flex: 0 0 44px;
  }

  .site-hero-page .hero-account-menu summary {
    width: 44px;
    min-height: 44px;
    padding: 3px;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
  }

  .site-hero-page .hero-account-menu summary .hero-account-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .site-hero-page .hero-account-name,
  .site-hero-page .hero-account-chevron {
    display: none;
  }

  .site-hero-page .hero-account-dropdown {
    right: 0;
    left: auto;
    width: min(310px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .site-hero-page .hero-account-dropdown > a {
    min-width: 0;
    white-space: normal;
  }

  .site-hero-page .hero-account-identity div {
    min-width: 0;
    max-width: calc(100% - 56px);
  }
}

/* FAQ de l'espace client */
.public-faq-main {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 64px 0 90px;
}

.client-faq-main {
  max-width: 1060px;
  padding-bottom: 90px;
}

.client-faq-hero {
  max-width: 760px;
  margin-bottom: 32px;
}

.client-faq-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(159, 190, 139, 0.3);
  border-radius: 999px;
  background: rgba(159, 190, 139, 0.08);
  color: var(--st-sage);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.client-faq-hero h1 {
  margin: 18px 0 10px;
  color: var(--st-text);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 650;
}

.client-faq-hero p {
  margin: 0;
  color: var(--st-secondary);
  font-size: 17px;
  line-height: 1.55;
}

.client-faq-intro {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-bottom: 42px;
  padding: 28px 30px;
  border: 1px solid rgba(159, 190, 139, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 0%, rgba(159, 190, 139, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(17, 22, 20, 0.96), rgba(8, 11, 10, 0.96));
  box-shadow: var(--st-shadow);
}

.client-faq-intro > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(159, 190, 139, 0.34);
  border-radius: 10px;
  background: rgba(159, 190, 139, 0.1);
  color: var(--st-sage);
}

.client-faq-intro svg {
  width: 27px;
  height: 27px;
}

.client-faq-intro > .client-faq-help-mark b {
  color: var(--st-sage);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.client-faq-intro h2 {
  margin: 1px 0 9px;
  color: var(--st-text);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.client-faq-intro p {
  max-width: 820px;
  margin: 0;
  color: var(--st-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.client-faq-groups {
  display: grid;
  gap: 36px;
}

.client-faq-group > h2 {
  margin: 0 0 14px;
  color: var(--st-sage);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.client-faq-list {
  overflow: hidden;
  border: 1px solid var(--st-border);
  border-radius: 10px;
  background: rgba(9, 12, 11, 0.86);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.client-faq-item {
  border-bottom: 1px solid var(--st-border);
}

.client-faq-item:last-child {
  border-bottom: 0;
}

.client-faq-item summary {
  width: auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 0;
  padding: 18px 24px;
  color: var(--st-text);
  background: transparent;
  font-size: 17px;
  font-weight: 630;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease, color 160ms ease;
}

.client-faq-item summary::-webkit-details-marker {
  display: none;
}

.client-faq-item summary:hover,
.client-faq-item[open] summary {
  background: rgba(159, 190, 139, 0.055);
  color: #fff;
}

.client-faq-item summary i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(159, 190, 139, 0.3);
  border-radius: 50%;
  background: rgba(159, 190, 139, 0.07);
}

.client-faq-item summary i::before,
.client-faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--st-sage);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.client-faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.client-faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.client-faq-answer {
  max-width: 880px;
  padding: 0 68px 24px 24px;
  color: var(--st-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.client-faq-answer p {
  margin: 0;
}

.client-faq-answer p + p,
.client-faq-answer ul + p {
  margin-top: 12px;
}

.client-faq-answer strong {
  color: var(--st-text);
  font-weight: 700;
}

.client-faq-answer ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.client-faq-answer li::marker {
  color: var(--st-sage);
}

.client-faq-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 46px;
  padding: 30px;
  border: 1px solid rgba(159, 190, 139, 0.25);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(159, 190, 139, 0.11), transparent 48%),
    rgba(10, 14, 12, 0.94);
}

.client-faq-support > div > span {
  color: var(--st-sage);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.client-faq-support h2 {
  margin: 9px 0 7px;
  color: var(--st-text);
  font-size: 23px;
  line-height: 1.2;
}

.client-faq-support p {
  margin: 0;
  color: var(--st-secondary);
  font-size: 14px;
}

.client-faq-support-email {
  color: var(--st-text);
  font-weight: 700;
  text-decoration-color: rgba(159, 190, 139, 0.62);
  text-underline-offset: 3px;
}

.client-faq-support-email:hover {
  color: var(--st-sage);
}

.client-faq-support > a {
  flex: 0 0 auto;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
  color: #071007;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.client-faq-support > a span {
  font-size: 18px;
}

@media (max-width: 767px) {
  .public-faq-main {
    width: 100%;
    padding: 34px 0 56px;
  }

  .client-faq-page .client-faq-main {
    width: calc(100% - 28px);
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .client-faq-hero {
    margin-bottom: 24px;
  }

  .client-faq-hero h1 {
    margin-top: 15px;
    font-size: 35px;
  }

  .client-faq-hero p {
    font-size: 15px;
  }

  .client-faq-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
    padding: 21px 18px;
  }

  .client-faq-intro > span {
    width: 48px;
    height: 48px;
  }

  .client-faq-intro h2 {
    font-size: 21px;
  }

  .client-faq-intro p {
    font-size: 14px;
    line-height: 1.62;
  }

  .client-faq-groups {
    gap: 30px;
  }

  .client-faq-group > h2 {
    font-size: 14px;
  }

  .client-faq-item summary {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 12px;
    padding: 16px;
    font-size: 15px;
  }

  .client-faq-item summary i {
    width: 26px;
    height: 26px;
  }

  .client-faq-answer {
    padding: 0 16px 20px;
    font-size: 14px;
    line-height: 1.62;
  }

  .client-faq-support {
    align-items: stretch;
    flex-direction: column;
    margin-top: 34px;
    padding: 22px 18px;
  }

  .client-faq-support h2 {
    font-size: 21px;
  }

  .client-faq-support > a {
    width: 100%;
  }
}

.client-contact-main {
  max-width: 980px;
  padding-top: 70px;
  padding-bottom: 80px;
}

.client-contact-hero {
  max-width: 720px;
  margin-bottom: 38px;
}

.client-contact-hero h1 {
  margin: 18px 0 10px;
  color: var(--st-text);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.client-contact-hero p {
  margin: 0;
  color: var(--st-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.client-contact-card {
  max-width: 820px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(159, 190, 139, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 8%, rgba(159, 190, 139, 0.12), transparent 34%),
    rgba(10, 14, 12, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.client-contact-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159, 190, 139, 0.32);
  border-radius: 12px;
  background: rgba(159, 190, 139, 0.09);
  color: var(--st-sage);
}

.client-contact-icon svg {
  width: 30px;
  height: 30px;
}

.client-contact-label {
  color: var(--st-sage);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.client-contact-card h2 {
  margin: 8px 0 10px;
  color: var(--st-text);
  font-size: 27px;
  line-height: 1.2;
}

.client-contact-card p {
  max-width: 590px;
  margin: 0 0 24px;
  color: var(--st-secondary);
  font-size: 15px;
  line-height: 1.68;
}

.client-contact-email {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-green), var(--brand-green));
  color: #071007;
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
}

@media (max-width: 767px) {
  .client-contact-page .client-contact-main {
    width: calc(100% - 28px);
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .client-contact-hero {
    margin-bottom: 26px;
  }

  .client-contact-hero h1 {
    margin-top: 15px;
    font-size: 35px;
  }

  .client-contact-hero p {
    font-size: 15px;
  }

  .client-contact-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .client-contact-icon {
    width: 54px;
    height: 54px;
  }

  .client-contact-icon svg {
    width: 25px;
    height: 25px;
  }

  .client-contact-card h2 {
    font-size: 22px;
  }

  .client-contact-card p {
    font-size: 14px;
  }

  .client-contact-email {
    width: 100%;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* Dashboard actions: destructive action stays beside the primary save action. */
.st-dashboard-delete-action {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
}

.st-dashboard-delete-action .st-delete-help {
  max-width: 360px;
  text-align: left;
}

.sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

@media (max-width: 680px) {
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-delete-action,
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-delete-action .st-danger-button {
    width: 100%;
  }
}

/* Dashboard desktop/tablette : le panneau de statut s'adapte a la hauteur disponible. */
@media (min-width: 768px) {
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-main {
    align-content: start;
    min-height: 100svh;
    min-width: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-grid {
    min-height: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview {
    --st-left-pad-top: clamp(18px, calc(5.32svh - 23.2px), 38px);
    --st-left-pad-inline: clamp(14px, calc(3.8svh - 15.7px), 28px);
    --st-left-pad-bottom: clamp(14px, calc(3.64svh - 13.86px), 28px);
    --st-left-header-gap: clamp(8px, calc(3.32svh - 18.18px), 20px);
    --st-left-header-pad: clamp(10px, calc(3.66svh - 18.09px), 24px);
    --st-left-title-size: clamp(15px, 1.9svh, 22px);
    --st-left-badge-gap: clamp(6px, calc(1.16svh - 2.34px), 11px);
    --st-left-badge-size: clamp(14px, calc(2.14svh - 2.61px), 22px);
    --st-left-dot-size: clamp(9px, calc(1.82svh - 6.93px), 14px);
    --st-left-subtitle-margin: clamp(8px, calc(4.74svh - 30.51px), 24px);
    --st-left-subtitle-size: clamp(11.5px, calc(1.54svh - 1.71px), 16px);
    --st-left-loader-margin: clamp(6px, calc(3.96svh - 27.54px), 18px);
    --st-left-balance-margin: clamp(7px, calc(3.06svh - 17.19px), 18px);
    --st-left-balance-pad: clamp(7px, calc(2.8svh - 16.2px), 16px);
    --st-left-balance-label: clamp(10.5px, calc(1.352svh - 1.548px), 14px);
    --st-left-balance-value: clamp(12.5px, calc(1.8svh - 2.7px), 18px);
    --st-left-row-icon: clamp(32px, calc(5.2svh - 11.8px), 48px);
    --st-left-row-icon-svg: clamp(18px, calc(3.6svh - 12.9px), 27px);
    --st-left-row-gap: clamp(9px, calc(5.2svh - 33.8px), 26px);
    --st-left-row-pad: clamp(10px, calc(7.2svh - 50.8px), 32px);
    --st-left-body-gap: clamp(4px, calc(2.4svh - 15.6px), 12px);
    --st-left-row-title: clamp(12.5px, calc(2.42svh - 7.83px), 20px);
    --st-left-value-size: clamp(22px, calc(4.2svh - 10.3px), 38px);
    --st-left-secondary-size: clamp(10.5px, calc(1.54svh - 1.71px), 16px);
    --st-left-ratio-gap: clamp(5px, calc(1.92svh - 10.08px), 12px);
    --st-left-days-gap: clamp(3px, calc(3svh - 22.5px), 12px);
    --st-left-day-height: clamp(24px, calc(5.82svh - 24.93px), 42px);
    --st-left-day-size: clamp(10px, calc(1.68svh - 4.32px), 15px);
    --st-left-timezone-pad: clamp(8px, calc(6.08svh - 43.92px), 26px);
    --st-left-timezone-gap: clamp(6px, calc(3.52svh - 24.48px), 16px);
    --st-left-timezone-size: clamp(10px, calc(1.9svh - 5.85px), 16px);
    --st-left-timezone-icon: clamp(15px, calc(3.12svh - 11.88px), 24px);
    box-sizing: border-box;
    min-height: 0;
    padding: var(--st-left-pad-top) var(--st-left-pad-inline) var(--st-left-pad-bottom);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-panel-header {
    gap: var(--st-left-header-gap);
    padding-bottom: var(--st-left-header-pad);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-panel-header h2 {
    font-size: var(--st-left-title-size);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-active-badge {
    gap: var(--st-left-badge-gap);
    font-size: var(--st-left-badge-size);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-active-badge span {
    width: var(--st-left-dot-size);
    height: var(--st-left-dot-size);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-panel-subtitle {
    margin-top: var(--st-left-subtitle-margin);
    font-size: var(--st-left-subtitle-size);
    line-height: 1.38;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-status-loader {
    height: clamp(2px, 0.28svh, 3px);
    margin-top: var(--st-left-loader-margin);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-balance-strip {
    gap: clamp(5px, 0.8svh, 8px) clamp(8px, 1.1svh, 16px);
    margin-top: var(--st-left-balance-margin);
    padding-top: var(--st-left-balance-pad);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-balance-strip span {
    font-size: var(--st-left-balance-label);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-balance-strip strong {
    font-size: var(--st-left-balance-value);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-status-row {
    grid-template-columns: var(--st-left-row-icon) minmax(0, 1fr);
    gap: var(--st-left-row-gap);
    padding-block: var(--st-left-row-pad);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-icon {
    width: var(--st-left-row-icon);
    height: var(--st-left-row-icon);
    border-width: clamp(1px, 0.16svh, 2px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-icon svg {
    width: var(--st-left-row-icon-svg);
    height: var(--st-left-row-icon-svg);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-body {
    gap: var(--st-left-body-gap);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-body h3 {
    font-size: var(--st-left-row-title);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-main-value {
    font-size: var(--st-left-value-size);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-main-value.st-ratio {
    gap: var(--st-left-ratio-gap);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-body p,
  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-body small {
    font-size: var(--st-left-secondary-size);
    line-height: 1.35;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-days {
    gap: var(--st-left-days-gap);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-day {
    height: var(--st-left-day-height);
    font-size: var(--st-left-day-size);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-timezone-note {
    gap: var(--st-left-timezone-gap);
    padding-top: var(--st-left-timezone-pad);
    font-size: var(--st-left-timezone-size);
    line-height: 1.35;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-timezone-note svg {
    flex: 0 0 var(--st-left-timezone-icon);
    width: var(--st-left-timezone-icon);
    height: var(--st-left-timezone-icon);
  }
}

@media (min-width: 768px) and (max-height: 1100px) {
  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-day {
    width: 100%;
    min-width: 0;
    padding-inline: 2px;
  }
}

@media (min-width: 1101px) and (max-height: 850px) {
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-main {
    gap: clamp(6px, 1svh, 10px);
    padding-top: clamp(6px, 1.1svh, 10px);
    padding-bottom: clamp(6px, 1svh, 10px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-panel-header h2,
  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-active-badge {
    line-height: 1.12;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-panel-subtitle,
  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-section-body p,
  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-timezone-note {
    line-height: 1.28;
  }
}

@media (min-width: 768px) and (max-height: 720px) {
  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview {
    --st-left-pad-top: 16px;
    --st-left-pad-inline: 13px;
    --st-left-pad-bottom: 12px;
    --st-left-header-pad: 9px;
    --st-left-title-size: 14px;
    --st-left-badge-size: 13px;
    --st-left-subtitle-size: 10.5px;
    --st-left-row-icon: 29px;
    --st-left-row-icon-svg: 17px;
    --st-left-row-pad: 8px;
    --st-left-row-title: 11.5px;
    --st-left-value-size: 20px;
    --st-left-secondary-size: 10px;
    --st-left-day-height: 22px;
    --st-left-day-size: 9px;
    --st-left-timezone-size: 9.5px;
  }
}

/*
 * Dashboard iPad/tablette uniquement.
 * Le mobile conserve intégralement son affichage dédié sous 768 px.
 */
@media (min-width: 768px) and (max-width: 1194px) {
  .sentinel-dashboard[data-sentinel-dashboard] {
    height: 100dvh;
    min-height: 100dvh;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar {
    position: relative;
    top: auto;
    z-index: 60;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    grid-template-areas: "brand toggle";
    gap: 0 12px;
    padding: 9px 14px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--st-border);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-brand {
    grid-area: brand;
    align-self: center;
    justify-self: start;
    width: max-content;
    min-width: 0;
    padding: 0;
    font-size: 23px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-mobile-menu-toggle {
    grid-area: toggle;
    align-self: center;
    justify-self: end;
    display: grid;
    place-content: center;
    width: 42px;
    height: 40px;
    margin-right: 112px;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(159, 190, 139, 0.3);
    border-radius: 9px;
    background: rgba(159, 190, 139, 0.07);
    color: var(--st-text);
    cursor: pointer;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-mobile-menu-toggle > span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar.mobile-menu-open .st-mobile-menu-toggle > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar.mobile-menu-open .st-mobile-menu-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar.mobile-menu-open .st-mobile-menu-toggle > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 70;
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 9px 10px;
    border-bottom: 1px solid var(--st-border);
    background: rgba(5, 6, 7, 0.985);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar.mobile-menu-open .st-nav {
    display: grid;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-nav-item {
    grid-template-columns: 22px minmax(0, 1fr);
    justify-items: start;
    min-width: 0;
    min-height: 48px;
    gap: 7px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1.15;
    text-align: left;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-nav-item span,
  .sentinel-dashboard[data-sentinel-dashboard] .st-nav-item svg {
    width: 18px;
    height: 18px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar-bottom {
    position: absolute;
    top: calc(100% + 66px);
    right: 0;
    z-index: 70;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 10px 9px;
    border-bottom: 1px solid var(--st-border);
    background: rgba(5, 6, 7, 0.985);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar.mobile-menu-open .st-sidebar-bottom {
    display: grid;
    justify-items: end;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar-bottom .st-user-card {
    display: none;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-logout-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-main {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
    gap: 9px;
    padding: 9px 10px 10px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-topbar {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-topbar > div:first-child {
    flex: 0 0 auto;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-topbar h1 {
    font-size: 26px;
    line-height: 1;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-header-actions {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    margin-left: auto;
    gap: 8px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-account-menu {
    width: clamp(190px, 31vw, 244px);
    min-width: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card,
  .sentinel-dashboard[data-sentinel-dashboard] .st-bell {
    min-height: 44px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card {
    padding-right: 36px;
    padding-left: 13px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card::after {
    top: 15px;
    right: 14px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-account-menu.is-open .st-select-card::after {
    top: 20px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card span {
    font-size: 13px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-grid {
    flex: 1 1 auto;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 10px;
    min-height: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-grid > * {
    min-width: 0;
    min-height: 0;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview {
    --st-left-pad-top: 18px;
    --st-left-pad-inline: 14px;
    --st-left-pad-bottom: 14px;
    --st-left-header-gap: 8px;
    --st-left-header-pad: 10px;
    --st-left-title-size: 15px;
    --st-left-badge-gap: 6px;
    --st-left-badge-size: 14px;
    --st-left-dot-size: 9px;
    --st-left-subtitle-margin: 8px;
    --st-left-subtitle-size: 11.5px;
    --st-left-loader-margin: 6px;
    --st-left-balance-margin: 7px;
    --st-left-balance-pad: 7px;
    --st-left-balance-label: 10.5px;
    --st-left-balance-value: 12.5px;
    --st-left-row-icon: 32px;
    --st-left-row-icon-svg: 18px;
    --st-left-row-gap: 9px;
    --st-left-row-pad: 10px;
    --st-left-body-gap: 4px;
    --st-left-row-title: 12.5px;
    --st-left-value-size: 22px;
    --st-left-secondary-size: 10.5px;
    --st-left-ratio-gap: 5px;
    --st-left-days-gap: 3px;
    --st-left-day-height: 24px;
    --st-left-day-size: 10px;
    --st-left-timezone-pad: 8px;
    --st-left-timezone-gap: 6px;
    --st-left-timezone-size: 10px;
    --st-left-timezone-icon: 15px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
  }

  .sentinel-dashboard[data-sentinel-dashboard] #risk-overview .st-day {
    width: 100%;
    min-width: 0;
    height: var(--st-left-day-height);
    padding-inline: 1px;
    font-size: var(--st-left-day-size);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor {
    gap: 12px;
    padding: 14px 12px 12px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .account-risk-panel {
    min-width: 0;
    gap: 9px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .connect-step .account-risk-panel h3 {
    margin-bottom: 2px;
    font-size: 20px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .risk-strict-row {
    min-width: 0;
    min-height: 60px;
    gap: 8px;
    padding: 8px 10px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .risk-reset-slots {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Compaction verticale supplémentaire pour les tablettes basses et les iPad tactiles. */
@media (min-width: 768px) and (max-width: 1194px) and (max-height: 900px),
       (min-width: 768px) and (max-width: 1366px) and (max-height: 1100px) and (any-pointer: coarse) {
  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-brand {
    font-size: 21px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-mobile-menu-toggle {
    width: 38px;
    height: 36px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-main {
    gap: 6px;
    padding: 6px 8px 8px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-topbar {
    min-height: 36px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-topbar h1 {
    font-size: 22px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-account-menu {
    width: clamp(180px, 28vw, 220px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card,
  .sentinel-dashboard[data-sentinel-dashboard] .st-bell {
    min-height: 36px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card {
    padding-right: 32px;
    padding-left: 11px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-select-card::after {
    top: 11px;
    right: 12px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-account-menu.is-open .st-select-card::after {
    top: 16px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-grid {
    grid-template-columns: minmax(210px, 0.6fr) minmax(0, 1.4fr);
    gap: 8px;
  }

}

/* Landing pricing: white section, original dark pricing cards, responsive plan navigation. */
.landing-pricing-section {
  --pricing-card: rgba(6, 10, 12, 0.96);
  --pricing-sage: var(--brand-green);
  --pricing-muted: rgba(255, 255, 255, 0.65);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(70px, 8vw, 112px) 0 clamp(76px, 8vw, 116px);
  overflow: hidden;
  background: #ffffff;
  color: #080b09;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.landing-pricing-section .pricing-v2-cta,
.landing-pricing-tabs button {
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.landing-pricing-inner {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.landing-pricing-heading {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.landing-pricing-heading > p {
  margin: 0 0 12px;
  color: var(--pricing-sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.landing-pricing-heading h2 {
  margin: 0;
  color: #080b09;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.landing-pricing-heading h2 span {
  color: var(--pricing-sage);
}

.landing-pricing-tabs {
  width: min(100%, 350px);
  min-height: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 34px auto 0;
  padding: 5px;
  border: 1px solid #d8ddd7;
  border-radius: 999px;
  background: #f0f3ef;
}

.landing-pricing-tabs button {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #485149;
  font: inherit;
  font-size: 15px;
  font-weight: 720;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.landing-pricing-tabs button:hover {
  color: #080b09;
  background: rgba(169, 196, 160, 0.28);
}

.landing-pricing-tabs button.is-active {
  background: var(--pricing-sage);
  color: #071007;
  box-shadow: 0 7px 18px rgba(93, 118, 85, 0.2);
}

.landing-pricing-tabs button:focus-visible {
  outline: 3px solid rgba(169, 196, 160, 0.55);
  outline-offset: 2px;
}

.landing-pricing-viewport {
  width: min(100%, 500px);
  margin: 36px auto 0;
}

.landing-pricing-track {
  width: 100%;
}

.landing-pricing-section .landing-pricing-card {
  width: min(100%, 430px);
  min-height: 602px;
  margin: 0 auto;
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 70% 0%, rgba(15, 45, 64, 0.11), transparent 36%),
    var(--pricing-card);
  color: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.landing-pricing-section .landing-pricing-card:not(.is-active) {
  display: none;
}

.landing-pricing-section .landing-pricing-card.pricing-v2-card-pro {
  border-color: var(--pricing-sage);
  background:
    radial-gradient(circle at 70% 0%, rgba(15, 45, 64, 0.11), transparent 36%),
    var(--pricing-card);
  box-shadow:
    0 0 55px rgba(169, 196, 160, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.24);
}

.landing-pricing-section .pricing-v2-card h2,
.landing-pricing-section .pricing-v2-price span {
  color: #ffffff;
}

.landing-pricing-section .pricing-v2-price strong,
.landing-pricing-section .pricing-v2-launch,
.landing-pricing-section .pricing-v2-pro-badge,
.landing-pricing-section .pricing-v2-actions a:not(.pricing-v2-cta) {
  color: var(--pricing-sage);
}

.landing-pricing-section .pricing-v2-launch,
.landing-pricing-section .pricing-v2-pro-badge {
  border-color: var(--pricing-sage);
}

.landing-pricing-section .pricing-v2-pro-badge {
  background: #071008;
}

.landing-pricing-section .pricing-v2-old,
.landing-pricing-section .pricing-v2-actions p {
  color: rgba(255, 255, 255, 0.66);
}

.landing-pricing-section .pricing-v2-description {
  color: rgba(255, 255, 255, 0.84);
}

.landing-pricing-section .pricing-v2-features li {
  color: rgba(255, 255, 255, 0.9);
}

.landing-pricing-section .pricing-v2-features svg {
  stroke: var(--pricing-sage);
}

.landing-pricing-section .pricing-v2-line {
  background: rgba(255, 255, 255, 0.08);
}

.landing-pricing-section .pricing-v2-cta,
html[data-theme="light"] .landing-pricing-section .pricing-v2-cta:not(.featured) {
  border-color: transparent;
  background: #ffffff;
  color: #080a08;
}

.landing-pricing-section .pricing-v2-cta:hover {
  background: var(--pricing-sage);
  color: #071007;
}

.landing-pricing-section .pricing-v2-cta:focus-visible {
  outline: 3px solid var(--pricing-sage);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .landing-pricing-inner {
    width: 100%;
  }

  .landing-pricing-heading,
  .landing-pricing-tabs {
    width: min(calc(100% - 40px), 620px);
  }

  .landing-pricing-viewport {
    width: min(100%, 640px);
    max-width: 640px;
    margin-top: 30px;
    padding: 20px 64px 28px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .landing-pricing-viewport::-webkit-scrollbar {
    display: none;
  }

  .landing-pricing-track {
    width: max-content;
    display: flex;
    align-items: stretch;
    gap: 20px;
  }

  .landing-pricing-section .landing-pricing-card,
  .landing-pricing-section .landing-pricing-card:not(.is-active) {
    width: min(78vw, 480px);
    min-height: 602px;
    display: flex;
    flex: 0 0 min(78vw, 480px);
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (min-width: 768px) {
  .landing-pricing-heading {
    width: 100%;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .landing-pricing-heading h2 {
    width: 100%;
    text-align: center;
  }

  .landing-pricing-tabs {
    display: none;
  }

  .landing-pricing-viewport {
    width: min(calc(100% - 40px), 1000px);
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0;
    overflow: visible;
  }

  .landing-pricing-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px);
  }

  .landing-pricing-section .landing-pricing-card,
  .landing-pricing-section .landing-pricing-card:not(.is-active) {
    width: 100%;
    min-height: 602px;
    display: flex;
    flex: none;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .landing-pricing-section {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: clamp(14px, 2.4svh, 20px) 0;
  }

  .landing-pricing-inner {
    width: 100%;
  }

  .landing-pricing-heading {
    width: calc(100% - 32px);
    margin-inline: auto;
    text-align: center;
  }

  .landing-pricing-heading > p {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .landing-pricing-heading h2 {
    font-size: clamp(21px, 6.7vw, 29px);
    line-height: 1;
    white-space: nowrap;
  }

  .landing-pricing-tabs {
    display: none;
  }

  .landing-pricing-viewport {
    width: 100vw;
    max-width: none;
    margin-top: clamp(10px, 1.7svh, 14px);
    padding: clamp(13px, 2svh, 17px) 16px 9px;
    scroll-padding-left: 16px;
  }

  .landing-pricing-track {
    gap: 12px;
  }

  .landing-pricing-section .landing-pricing-card,
  .landing-pricing-section .landing-pricing-card:not(.is-active) {
    width: min(calc(100vw - 60px), 390px);
    height: 560px;
    height: clamp(480px, calc(100svh - 100px), 590px);
    min-height: 0;
    flex-basis: min(calc(100vw - 60px), 390px);
    padding: clamp(19px, 2.8svh, 23px) clamp(18px, 5vw, 20px) clamp(18px, 2.6svh, 22px);
    border-radius: 18px;
  }

  .landing-pricing-section .pricing-v2-launch {
    min-height: clamp(24px, 3.3svh, 28px);
    padding-inline: 11px;
    border-radius: 6px;
    font-size: 11px;
  }

  .landing-pricing-section .pricing-discount-badge {
    top: 20px;
    right: 24px;
    width: 68px;
    height: 40px;
    font-size: 17px;
    transform: rotate(4deg);
  }

  .landing-pricing-section .pricing-v2-pro-badge {
    top: -14px;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 10.5px;
  }

  .landing-pricing-section .pricing-v2-card h2 {
    margin-top: clamp(10px, 1.7svh, 15px);
    font-size: clamp(24px, 6.8vw, 27px);
    line-height: 1;
  }

  .landing-pricing-section .pricing-v2-price {
    gap: 9px;
    margin-top: clamp(10px, 1.8svh, 15px);
  }

  .landing-pricing-section .pricing-v2-price strong {
    font-size: clamp(48px, 13.2vw, 55px);
    line-height: 0.9;
  }

  .landing-pricing-section .pricing-v2-price span {
    padding-bottom: 3px;
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .landing-pricing-section .pricing-v2-old {
    margin-top: 5px;
    font-size: clamp(12px, 3.4vw, 14px);
  }

  .landing-pricing-section .pricing-v2-line {
    margin: clamp(10px, 1.5svh, 14px) 0 clamp(9px, 1.3svh, 12px);
  }

  .landing-pricing-section .pricing-v2-description {
    min-height: 0;
    font-size: clamp(12px, 3.5vw, 14px);
    line-height: 1.35;
  }

  .landing-pricing-section .pricing-v2-features {
    gap: clamp(7px, 1.1svh, 10px);
    margin-top: 8px;
  }

  .landing-pricing-section .pricing-v2-features li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    font-size: clamp(12px, 3.4vw, 13.5px);
    line-height: 1.32;
  }

  .landing-pricing-section .pricing-v2-features svg {
    width: 17px;
    height: 17px;
  }

  .landing-pricing-section .pricing-v2-actions {
    padding-top: clamp(14px, 2.2svh, 20px);
  }

  .landing-pricing-section .pricing-v2-cta {
    min-height: clamp(44px, 6svh, 50px);
    gap: 11px;
    padding-inline: 10px;
    border-radius: 7px;
    font-size: 13.5px;
  }

  .landing-pricing-section .pricing-v2-cta span {
    width: 18px;
    height: 18px;
    font-size: 21px;
    line-height: 18px;
  }

  .landing-pricing-section .pricing-v2-actions p {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.25;
  }
}

/* Landing presentation video: a bright premium pause between the hero and social proof. */
.landing-video-presentation {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: clamp(68px, 7.5vw, 108px) clamp(18px, 4vw, 48px) clamp(72px, 8vw, 116px);
  border-top: 1px solid rgba(10, 14, 12, 0.08);
  border-bottom: 1px solid rgba(10, 14, 12, 0.08);
  background: #ffffff;
  color: #080b09;
  color-scheme: light;
}

.landing-video-presentation-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.landing-video-presentation-heading {
  width: 100%;
  margin: 0 0 clamp(34px, 4.2vw, 58px);
  margin-inline: auto;
  text-align: center;
}

.landing-video-presentation-heading h2 {
  width: 100%;
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
  text-align: center;
}

.landing-video-presentation-heading h2 span,
.landing-video-presentation-heading h2 strong {
  display: inline;
}

.landing-video-presentation-heading h2 strong {
  color: var(--brand-green);
  font: inherit;
}

.landing-video-frame {
  position: relative;
  width: min(1040px, 100%);
  margin-inline: auto;
  padding: clamp(6px, 0.75vw, 10px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(145deg, #252a28 0%, #050706 52%, #1a1f1d 100%);
  box-shadow:
    0 34px 80px rgba(13, 19, 16, 0.18),
    0 10px 24px rgba(13, 19, 16, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.landing-video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: clamp(14px, 2vw, 25px);
  background: #050706;
}

.landing-video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050706;
  transform: scale(1.04);
  transform-origin: 50% 50%;
}

.landing-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(66px, 7.2vw, 92px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #080b09;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
  cursor: pointer;
}

.landing-video-play svg {
  width: 52%;
  height: 52%;
  fill: currentColor;
}

.landing-video-play:hover {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.045);
}

.landing-video-play:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 5px;
}

.landing-video-frame.is-playing .landing-video-play {
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 767px) {
  .landing-video-presentation {
    padding: clamp(48px, 13vw, 62px) 12px clamp(54px, 15vw, 72px);
  }

  .landing-video-presentation-heading {
    margin-bottom: clamp(25px, 7vw, 34px);
  }

  .landing-video-presentation-heading h2 {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.04;
    letter-spacing: -0.048em;
    white-space: nowrap;
  }

  .landing-video-presentation-heading h2 span,
  .landing-video-presentation-heading h2 strong {
    display: inline;
  }

  .landing-video-frame {
    padding: 5px;
    border-radius: 18px;
    box-shadow: 0 20px 46px rgba(13, 19, 16, 0.18);
  }

  .landing-video-screen {
    border-radius: 13px;
  }
}

/* Landing typography preview: keep every form control on the same Inter family. */
body:has(.site-hero-page) button,
body:has(.site-hero-page) input,
body:has(.site-hero-page) select,
body:has(.site-hero-page) textarea {
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .landing-video-play {
    transition: none;
  }
}

/*
 * Safari iPad fait varier `dvh` lorsque ses barres se masquent au scroll.
 * La coque suit toujours la zone visible, mais le document ne défile plus et
 * toutes les dimensions internes restent calculées avec la hauteur stable.
 */
@media (min-width: 768px) and (max-width: 1366px) and (any-pointer: coarse) {
  html:has(.sentinel-dashboard[data-sentinel-dashboard]),
  body:has(.sentinel-dashboard[data-sentinel-dashboard]),
  main:has(.sentinel-dashboard[data-sentinel-dashboard]) {
    width: 100%;
    height: 100svh;
    min-height: 0;
    max-height: 100svh;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .sentinel-dashboard[data-sentinel-dashboard] {
    height: 100svh;
    min-height: 0;
    max-height: 100svh;
    overflow: hidden;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-main {
    display: flex;
    min-height: 0;
    max-height: 100%;
    flex-direction: column;
    overflow: hidden;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-topbar,
  .sentinel-dashboard[data-sentinel-dashboard] .billing-banner {
    flex: 0 0 auto;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-grid {
    min-height: 0;
    flex: 1 1 auto;
  }

}

/* Panneau droit iPad : controles lisibles, contenu entier et actions au bord bas. */
@media (min-width: 768px) and (max-width: 1194px) and (max-height: 900px),
       (min-width: 768px) and (max-width: 1366px) and (any-pointer: coarse) {
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    gap: clamp(8px, 1svh, 12px);
    padding: clamp(12px, 1.7svh, 18px) 12px clamp(12px, 1.45svh, 16px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .st-settings-pending-note {
    grid-row: 1;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .account-risk-panel {
    grid-row: 2;
    align-self: start;
    gap: clamp(6px, 0.85svh, 9px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-strict-row {
    min-height: clamp(52px, 6.9svh, 60px);
    gap: 8px;
    padding: clamp(3px, 0.55svh, 6px) 10px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-trading-group {
    gap: clamp(6px, 0.8svh, 9px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-trading-box {
    gap: clamp(4px, 0.65svh, 7px);
    padding: clamp(6px, 0.85svh, 9px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-days-line,
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-hours-line {
    min-height: clamp(46px, 5.5svh, 52px);
    gap: 6px;
    padding: 2px 6px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-timezone-copy {
    gap: 2px;
    padding: 0 4px;
    font-size: clamp(11px, 1.55svh, 13px);
    line-height: 1.2;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-timezone-copy small {
    font-size: clamp(10px, 1.4svh, 12px);
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-reset-slots {
    gap: 5px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-reset-slot {
    gap: 3px;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-reset-slot > span,
  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .risk-reset-slots small {
    margin-top: 0;
    font-size: clamp(10px, 1.4svh, 11px);
    line-height: 1.1;
  }

  .sentinel-dashboard[data-sentinel-dashboard] .st-dashboard-risk-editor .st-dashboard-risk-actions {
    grid-row: 3;
    align-self: end;
  }
}

@media (min-width: 1195px) and (max-width: 1366px) and (any-pointer: coarse) {
  .sentinel-dashboard[data-sentinel-dashboard] .st-sidebar {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
  }
}

/* Landing hero responsive: keep the validated wide layout, then compact and scale only the demo. */
.site-hero-page {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.hero-demo-canvas {
  position: relative;
  width: 100%;
  min-width: 0;
}

.site-hero-page > .hero-trust {
  position: relative;
  min-width: 0;
  margin: clamp(30px, 3.2vw, 54px) 0 0;
  transform: none;
}

.hero-trust[data-after-reviews] {
  position: relative;
  min-width: 0;
  margin: clamp(30px, 3.2vw, 54px) 0 0;
  transform: none;
}

@media (min-width: 768px) {
  .site-hero-page .hero-shell {
    width: 100%;
    max-width: none;
    min-width: 0;
    grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
    gap: clamp(18px, 2.2vw, 46px);
    align-items: start;
    margin: clamp(32px, 3vw, 42px) 0 0;
  }

  .site-hero-page .hero-copy {
    min-width: 0;
    container-name: hero-copy;
    container-type: inline-size;
  }

  .site-hero-page .hero-copy h1 {
    display: block;
    margin: clamp(24px, 2.6vw, 38px) 0 clamp(20px, 2vw, 30px);
    font-size: clamp(24px, 6.4cqw, 50px);
    text-wrap: balance;
  }

  .site-hero-page .hero-copy h1 > span {
    display: inline;
    white-space: normal;
  }

  .site-hero-page .hero-copy p {
    font-size: clamp(15px, 1.2vw, 22px);
  }

  .site-hero-page .hero-main-cta {
    min-height: clamp(52px, 4vw, 60px);
    margin-top: clamp(24px, 2.4vw, 34px);
    font-size: clamp(17px, 1.25vw, 20px);
  }

  .site-hero-page .hero-mockup {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: clamp(16px, 1.55vw, 24px) clamp(14px, 1.8vw, 28px) clamp(12px, 1vw, 14px);
    container-name: hero-mockup;
    container-type: inline-size;
  }

  .site-hero-page .hero-mockup-top {
    align-items: center;
    flex-direction: row;
    min-width: 0;
  }

  .site-hero-page .hero-mockup-brand {
    min-width: 0;
    font-size: clamp(17px, 1.55cqw, 24px);
  }

  .site-hero-page .hero-account-switch {
    min-height: clamp(34px, 3cqw, 42px);
    gap: clamp(6px, 0.7cqw, 10px);
    padding-inline: clamp(9px, 1cqw, 14px);
    font-size: clamp(11px, 0.95cqw, 14px);
    white-space: nowrap;
  }

  .site-hero-page .hero-demo-stage {
    width: 100%;
    min-width: 0;
    min-height: 462px;
  }

  .site-hero-page .hero-demo-app {
    display: grid;
    grid-template-columns: clamp(116px, 12cqw, 154px) minmax(0, 1fr);
    gap: clamp(12px, 1.35cqw, 18px);
    width: 100%;
    min-width: 0;
    min-height: 442px;
    padding: clamp(12px, 1.15cqw, 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));
  }

  .site-hero-page .hero-demo-sidebar {
    display: flex;
    gap: clamp(6px, 0.7cqw, 10px);
    padding: clamp(10px, 1cqw, 16px) clamp(8px, 0.8cqw, 12px);
  }

  .site-hero-page .hero-demo-sidebar strong {
    margin-bottom: clamp(7px, 0.8cqw, 12px);
    font-size: clamp(14px, 1.15cqw, 18px);
  }

  .site-hero-page .hero-demo-sidebar span {
    gap: clamp(5px, 0.6cqw, 9px);
    min-height: clamp(30px, 2.8cqw, 38px);
    padding-inline: clamp(6px, 0.65cqw, 10px);
    font-size: clamp(10px, 0.85cqw, 13px);
    white-space: nowrap;
  }

  .site-hero-page .hero-demo-sidebar svg {
    width: clamp(14px, 1.1cqw, 17px);
    height: clamp(14px, 1.1cqw, 17px);
  }

  .site-hero-page .hero-demo-sidebar small {
    font-size: clamp(9px, 0.78cqw, 12px);
  }

  .site-hero-page .hero-demo-workspace {
    gap: clamp(10px, 1.15cqw, 16px);
    min-width: 0;
  }

  .site-hero-page .hero-demo-toolbar {
    display: flex;
    gap: clamp(8px, 1cqw, 18px);
    min-width: 0;
    min-height: clamp(46px, 4cqw, 56px);
    padding-inline: clamp(10px, 1.1cqw, 16px);
  }

  .site-hero-page .hero-demo-toolbar > div {
    min-width: 0;
  }

  .site-hero-page .hero-demo-toolbar strong {
    font-size: clamp(15px, 1.3cqw, 20px);
    white-space: nowrap;
  }

  .site-hero-page .hero-demo-toolbar p {
    font-size: clamp(9px, 0.78cqw, 12px);
    white-space: nowrap;
  }

  .site-hero-page .hero-demo-toolbar nav {
    display: flex;
    flex: 0 1 auto;
    gap: clamp(3px, 0.5cqw, 8px);
    min-width: 0;
  }

  .site-hero-page .hero-demo-toolbar nav span {
    min-height: clamp(26px, 2.4cqw, 32px);
    padding-inline: clamp(6px, 0.75cqw, 12px);
    font-size: clamp(9px, 0.78cqw, 12px);
    white-space: nowrap;
  }

  .site-hero-page .hero-demo-content {
    display: grid;
    grid-template-columns: minmax(0, 1.714fr) minmax(clamp(180px, 16cqw, 210px), 1fr);
    gap: clamp(10px, 1.15cqw, 16px);
    min-width: 0;
  }

  .site-hero-page .hero-demo-panel {
    min-width: 0;
    padding: clamp(13px, 1.2cqw, 18px) clamp(12px, 1.2cqw, 18px) clamp(12px, 1.1cqw, 17px);
  }

  .site-hero-page .hero-demo-side-preview {
    display: grid;
    gap: clamp(10px, 1.15cqw, 16px);
    min-width: 0;
  }

  .site-hero-page .hero-demo-side-preview article {
    padding: clamp(12px, 1.2cqw, 18px);
  }

  .site-hero-page .hero-demo-side-preview span {
    margin-bottom: clamp(11px, 1.2cqw, 18px);
    font-size: clamp(11px, 0.95cqw, 14px);
    white-space: nowrap;
  }

  .site-hero-page .hero-demo-side-preview i {
    height: clamp(31px, 3cqw, 42px);
    margin-top: clamp(7px, 0.8cqw, 12px);
  }

  .site-hero-page .hero-demo-head {
    gap: clamp(12px, 1.4cqw, 22px);
    padding-bottom: clamp(12px, 1.2cqw, 18px);
  }

  .site-hero-page .hero-demo-head span,
  .site-hero-page .hero-demo-head p {
    font-size: clamp(11px, 0.95cqw, 14px);
  }

  .site-hero-page .hero-demo-head p {
    margin-top: clamp(8px, 0.9cqw, 14px);
  }

  .site-hero-page .hero-demo-status {
    min-width: clamp(56px, 5cqw, 76px);
    font-size: clamp(14px, 1.2cqw, 18px);
  }

  .site-hero-page .hero-demo-metric {
    grid-template-columns: clamp(36px, 3.2cqw, 46px) minmax(0, 1fr);
    gap: clamp(12px, 1.35cqw, 20px);
    padding: clamp(13px, 1.3cqw, 19px) 0;
  }

  .site-hero-page .hero-demo-icon {
    width: clamp(34px, 2.8cqw, 40px);
    height: clamp(34px, 2.8cqw, 40px);
  }

  .site-hero-page .hero-demo-icon svg {
    width: clamp(18px, 1.55cqw, 23px);
    height: clamp(18px, 1.55cqw, 23px);
  }

  .site-hero-page .hero-demo-body h3 {
    margin-bottom: clamp(9px, 0.9cqw, 14px);
    font-size: clamp(12px, 1cqw, 16px);
  }

  .site-hero-page .hero-demo-values,
  .site-hero-page .hero-demo-labels {
    gap: clamp(10px, 1.3cqw, 20px);
  }

  .site-hero-page .hero-demo-values strong {
    font-size: clamp(22px, 1.85cqw, 28px);
  }

  .site-hero-page .hero-demo-labels,
  .site-hero-page .hero-demo-remaining,
  .site-hero-page .hero-demo-body p {
    font-size: clamp(10px, 0.86cqw, 13px);
  }

  .site-hero-page .hero-demo-hours {
    font-size: clamp(19px, 1.6cqw, 24px);
  }

  .site-hero-page .hero-demo-days {
    gap: clamp(4px, 0.55cqw, 8px);
    margin-top: clamp(10px, 1cqw, 16px);
  }

  .site-hero-page .hero-demo-days span {
    min-width: clamp(32px, 2.75cqw, 42px);
    padding: clamp(6px, 0.6cqw, 9px) clamp(6px, 0.65cqw, 10px);
    font-size: clamp(9px, 0.78cqw, 12px);
  }

  .site-hero-page .hero-demo-stage.is-proportionally-scaled {
    position: relative;
    display: block;
    height: var(--hero-demo-scaled-height);
    min-height: var(--hero-demo-scaled-height);
  }

  .site-hero-page .hero-demo-stage.is-proportionally-scaled .hero-demo-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    width: 820px;
    max-width: none;
    margin-left: -410px;
    transform: scale(var(--hero-demo-scale));
    transform-origin: top center;
  }
}

@media (min-width: 768px) {
  @container hero-copy (max-width: 600px) {
    .site-hero-page .hero-benefits-inline {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      width: 100%;
      margin-top: clamp(24px, 2.5vw, 34px);
    }

    .site-hero-page .hero-benefits-inline article {
      width: 100%;
      min-height: 72px;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 12px;
      padding: 11px 14px;
    }

    .site-hero-page .hero-benefits-inline span {
      font-size: 14px;
      line-height: 1.35;
    }

    .site-hero-page .hero-benefits-inline svg {
      width: 34px;
      height: 34px;
    }

    .site-hero-page .hero-benefits-inline .hero-metatrader-logo {
      width: 42px;
      height: 42px;
    }
  }
}

@media (max-width: 767px) {
  .site-hero-page .hero-benefits-mobile,
  .site-hero-page > .hero-trust {
    transform: none;
  }

  .hero-benefits-mobile-shell[data-mobile-after-reviews] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 30px 14px 36px;
    background: #ffffff;
    color-scheme: light;
  }

  .hero-benefits-mobile-shell[data-mobile-after-reviews] .hero-benefits-mobile {
    display: grid;
    width: 100%;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(169, 196, 160, 0.3);
    border-radius: 24px;
    background: #050607;
    box-shadow: 0 18px 48px rgba(5, 6, 7, 0.16);
    transform: none;
  }

  .hero-benefits-mobile-shell[data-mobile-after-reviews] .hero-benefits-mobile article,
  html[data-theme="light"] .hero-benefits-mobile-shell[data-mobile-after-reviews] .hero-benefits-mobile article {
    border-color: rgba(169, 196, 160, 0.22);
    background:
      radial-gradient(circle at 20% 20%, rgba(169, 196, 160, 0.08), transparent 54%),
      rgba(10, 13, 16, 0.78);
    color: #ffffff;
    box-shadow: none;
  }

  .hero-benefits-mobile-shell[data-mobile-after-reviews] .hero-benefits-mobile svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--brand-green);
  }

  .hero-trust[data-mobile-after-reviews] {
    width: 100%;
    margin: 24px 0 0;
    padding-inline: 18px;
    transform: none;
  }

  .hero-trust-title {
    font-size: clamp(12px, 4vw, 17px);
    letter-spacing: -0.02em;
  }

  .site-hero-page > .hero-trust {
    margin-top: 24px;
  }

  .hero-trust-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  .hero-trust-track {
    animation-duration: 24s;
  }

  .hero-trust-group {
    gap: 44px;
    min-height: 96px;
    padding-right: 44px;
  }

  .hero-trust-logo {
    height: 78px;
  }

  .hero-trust-more {
    padding-inline: 6px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-trust-track {
    animation: none;
  }

  .hero-trust-group[aria-hidden="true"] {
    display: none;
  }
}

/* Central theme system. Neutrals change with the theme; the full brand-green
   palette remains inherited from :root in both modes. */
html[data-theme] {
  --ui-accent: var(--brand-green-sage);
  --ui-accent-strong: var(--brand-green-bright);
  --ui-accent-hover: var(--brand-green-hover);
  --ui-accent-soft: var(--brand-green-ui-soft);
  --brand: var(--ui-accent);
  --brand-strong: var(--ui-accent-hover);
  --good: var(--ui-accent-strong);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ui-bg: #050607;
  --ui-bg-2: #07090b;
  --ui-surface: #0c1013;
  --ui-surface-2: #0f1418;
  --ui-surface-hover: #151a1f;
  --ui-text: #f7f8f6;
  --ui-text-soft: #a8afb8;
  --ui-muted: #7b838c;
  --ui-border: rgba(255, 255, 255, 0.09);
  --ui-border-strong: rgba(255, 255, 255, 0.15);
  --ui-input: rgba(4, 7, 6, 0.76);
  --ui-danger: #ff776b;
  --ui-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --bg: var(--ui-bg);
  --panel: var(--ui-surface);
  --ink: var(--ui-text);
  --muted: var(--ui-text-soft);
  --line: var(--ui-border);
  --warn: #e2aa68;
  --bad: #ff776b;
}

html[data-theme="light"] {
  color-scheme: light;
  --ui-bg: #f4f7f2;
  --ui-bg-2: #edf2eb;
  --ui-surface: #ffffff;
  --ui-surface-2: #f7f9f6;
  --ui-surface-hover: #edf3e9;
  --ui-text: #101310;
  --ui-text-soft: #101310;
  --ui-muted: #101310;
  --ui-border: #c1c6cd;
  --ui-border-strong: #aeb4be;
  --ui-input: #ffffff;
  --ui-placeholder: #737982;
  --ui-danger: #bd3f38;
  --ui-shadow: 0 20px 55px rgba(38, 60, 41, 0.11);
  --bg: var(--ui-bg);
  --panel: var(--ui-surface);
  --ink: var(--ui-text);
  --muted: var(--ui-text-soft);
  --line: var(--ui-border);
  --warn: #8d5a12;
  --bad: #b42318;
}

html[data-theme="light"] :is(input, textarea)::placeholder {
  color: var(--ui-placeholder) !important;
  opacity: 1;
}

html[data-theme] body {
  background-color: var(--ui-bg);
  color: var(--ui-text);
}

.site-preferences {
  position: absolute;
  z-index: 1400;
  top: 15px;
  right: clamp(12px, 1.7vw, 26px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.language-picker {
  position: relative;
}

.language-picker summary {
  width: 58px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--ui-border-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ui-surface) 92%, transparent);
  color: var(--ui-text-soft);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary:hover,
.language-picker[open] summary {
  border-color: color-mix(in srgb, var(--ui-accent) 65%, transparent);
  background: var(--ui-surface-hover);
  color: var(--ui-accent-strong);
}

.language-picker summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ui-accent) 42%, transparent);
  outline-offset: 3px;
}

.language-flag {
  display: block;
  width: 20px;
  height: 14px;
  flex: 0 0 20px;
  object-fit: contain;
  user-select: none;
}

.language-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 156px;
  display: grid;
  gap: 3px;
  padding: 7px;
  border: 1px solid var(--ui-border-strong);
  border-radius: 14px;
  background: var(--ui-surface);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
}

.language-picker-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 11px;
  border-radius: 9px;
  color: var(--ui-text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.language-picker-menu a:hover,
.language-picker-menu a:focus-visible,
.language-picker-menu a[aria-current="true"] {
  background: var(--ui-surface-hover);
  color: var(--ui-accent-strong);
}

.language-picker-menu a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ui-accent) 42%, transparent);
  outline-offset: -2px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ui-border-strong);
  border-radius: 50%;
  background: color-mix(in srgb, var(--ui-surface) 92%, transparent);
  color: var(--ui-text-soft);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--ui-accent) 65%, transparent);
  background: var(--ui-surface-hover);
  color: var(--ui-accent);
}

.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ui-accent) 42%, transparent);
  outline-offset: 3px;
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  display: none;
}

html[data-theme-mode="dark-only"] .site-preferences:empty,
html[data-theme-mode="light-only"] .site-preferences:empty {
  display: none;
}

body:has(.site-hero-page) .hero-nav-actions,
body:has(.sentinel-dashboard) .st-header-actions,
body:has(.sentinel-dashboard) .account-center-user,
header .top-actions {
  margin-right: 118px;
}

html[data-theme-mode="dark-only"] body:has(.site-hero-page) .hero-nav-actions,
html[data-theme-mode="light-only"] body:has(.site-hero-page) .hero-nav-actions,
html[data-theme-mode="dark-only"] body:has(.sentinel-dashboard) .st-header-actions,
html[data-theme-mode="light-only"] body:has(.sentinel-dashboard) .st-header-actions,
html[data-theme-mode="dark-only"] body:has(.sentinel-dashboard) .account-center-user,
html[data-theme-mode="light-only"] body:has(.sentinel-dashboard) .account-center-user,
html[data-theme-mode="dark-only"] header .top-actions,
html[data-theme-mode="light-only"] header .top-actions {
  margin-right: 70px;
}

body:has(.pricing-v2-shell) .pricing-v2-header,
body:has(.checkout-page) .checkout-header,
body:has(.success-page) .success-header,
body:has(.legal-shell) .legal-site-header {
  padding-right: 146px;
}

html[data-theme-mode="dark-only"] body:has(.pricing-v2-shell) .pricing-v2-header,
html[data-theme-mode="light-only"] body:has(.pricing-v2-shell) .pricing-v2-header,
html[data-theme-mode="dark-only"] body:has(.checkout-page) .checkout-header,
html[data-theme-mode="light-only"] body:has(.checkout-page) .checkout-header,
html[data-theme-mode="dark-only"] body:has(.success-page) .success-header,
html[data-theme-mode="light-only"] body:has(.success-page) .success-header,
html[data-theme-mode="dark-only"] body:has(.legal-shell) .legal-site-header,
html[data-theme-mode="light-only"] body:has(.legal-shell) .legal-site-header {
  padding-right: 96px;
}

@media (max-width: 767px) {
  .site-preferences {
    top: 20px;
    right: 76px;
    gap: 4px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .language-picker summary {
    width: 48px;
    height: 38px;
    gap: 4px;
    padding-inline: 6px;
    font-size: 11px;
  }

  .language-picker summary .language-flag {
    width: 16px;
    height: 11px;
    flex-basis: 16px;
  }

  body:has(.site-hero-page) .hero-nav-actions,
  body:has(.sentinel-dashboard) .st-header-actions,
  body:has(.sentinel-dashboard) .account-center-user,
  header .top-actions {
    margin-right: 0;
  }

  body:has(.pricing-v2-shell) .pricing-v2-header,
  body:has(.checkout-page) .checkout-header,
  body:has(.success-page) .success-header,
  body:has(.legal-shell) .legal-site-header {
    padding-right: 118px;
  }

  html[data-theme-mode="dark-only"] body:has(.pricing-v2-shell) .pricing-v2-header,
  html[data-theme-mode="light-only"] body:has(.pricing-v2-shell) .pricing-v2-header,
  html[data-theme-mode="dark-only"] body:has(.checkout-page) .checkout-header,
  html[data-theme-mode="light-only"] body:has(.checkout-page) .checkout-header,
  html[data-theme-mode="dark-only"] body:has(.success-page) .success-header,
  html[data-theme-mode="light-only"] body:has(.success-page) .success-header,
  html[data-theme-mode="dark-only"] body:has(.legal-shell) .legal-site-header,
  html[data-theme-mode="light-only"] body:has(.legal-shell) .legal-site-header {
    padding-right: 68px;
  }
}

/* Bridge each existing visual family to the shared light palette. */
html[data-theme="light"] body:has(.sentinel-dashboard) {
  --st-sage: var(--brand-green-sage);
  --st-sage-hover: var(--brand-green-hover);
  --st-sage-muted: var(--brand-green-muted);
  --st-sage-border: var(--brand-green-border);
  --st-bg: var(--ui-bg);
  --st-bg-2: var(--ui-bg-2);
  --st-surface: var(--ui-surface);
  --st-surface-2: var(--ui-surface-2);
  --st-surface-hover: var(--ui-surface-hover);
  --st-border: var(--ui-border);
  --st-border-strong: var(--ui-border-strong);
  --st-text: var(--ui-text);
  --st-secondary: var(--ui-text-soft);
  --st-muted: var(--ui-muted);
  --st-shadow: var(--ui-shadow);
  background:
    radial-gradient(circle at 72% 0%, rgba(159, 190, 139, 0.08), transparent 28%),
    var(--ui-bg);
}

html[data-theme="light"] body:has(.site-hero-page) {
  --hero-bg: var(--ui-bg);
  --hero-panel: var(--ui-surface);
  --hero-panel-2: var(--ui-surface-2);
  --hero-line: var(--ui-border);
  --hero-line-strong: var(--ui-border-strong);
  --hero-text: var(--ui-text);
  --hero-soft: var(--ui-text-soft);
  --hero-muted: var(--ui-muted);
  --hero-sage: var(--brand-green-hero);
  --hero-sage-hover: var(--brand-green-hero-hover);
  --hero-sage-soft: var(--brand-green-hero-soft);
  --hero-red: #c53e37;
  --hero-red-soft: rgba(197, 62, 55, 0.1);
  background: var(--ui-bg);
}

html[data-theme="light"] body:has(.auth-shell),
html[data-theme="light"] body:has(.pricing-shell) {
  --auth-bg: var(--ui-bg);
  --auth-bg-2: var(--ui-bg-2);
  --auth-card: rgba(255, 255, 255, 0.88);
  --auth-border: var(--ui-border-strong);
  --auth-border-soft: var(--ui-border);
  --auth-text: var(--ui-text);
  --auth-primary: var(--ui-text);
  --auth-muted: var(--ui-text-soft);
  --auth-dim: var(--ui-muted);
  --auth-sage: var(--brand-green-bright);
  --auth-sage-soft: var(--brand-green-auth-soft);
  --auth-sage-glow: var(--brand-green-auth-glow);
  color: var(--ui-text);
}

html[data-theme="light"] body:has(.auth-shell) {
  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, #fbfcfa 0%, var(--ui-bg) 100%);
}

html[data-theme="light"] body:has(.pricing-shell) {
  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, #fbfcfa 0%, var(--ui-bg) 100%);
}

html[data-theme="light"] .legal-shell {
  --legal-green: var(--brand-green-sage);
  --legal-green-bright: var(--brand-green-legal-bright);
  --legal-text: var(--ui-text);
  --legal-muted: var(--ui-text-soft);
}

html[data-theme="light"] .risk-app {
  --risk-bg: var(--ui-bg);
  --risk-panel: var(--ui-surface);
  --risk-panel-soft: var(--ui-surface-2);
  --risk-line: var(--ui-border-strong);
  --risk-line-soft: var(--ui-border);
  --risk-text: var(--ui-text);
  --risk-muted: var(--ui-text-soft);
  --risk-sage: var(--brand-green-risk);
  --risk-sage-strong: var(--brand-green-risk-strong);
  --risk-sage-soft: var(--brand-green-risk-soft);
  --risk-danger: var(--ui-danger);
}

html[data-theme="light"] body:has(.pricing-v2-shell) {
  --pricing-bg: var(--ui-bg);
  --pricing-card: rgba(255, 255, 255, 0.9);
  --pricing-border: var(--ui-border-strong);
  --pricing-sage: var(--brand-green-bright);
  --pricing-sage-soft: var(--brand-green-auth-soft);
  --pricing-muted: var(--ui-text-soft);
  background: var(--ui-bg);
  color: var(--ui-text);
}

html[data-theme] body:has(.checkout-page),
html[data-theme] body:has(.success-page),
html[data-theme] body:has(.billing-confirmation-page) {
  --checkout-bg: var(--ui-bg);
  --checkout-surface: var(--ui-surface);
  --checkout-surface-2: var(--ui-surface-2);
  --checkout-border: var(--ui-border);
  --checkout-border-strong: var(--ui-border-strong);
  --checkout-text: var(--ui-text);
  --checkout-muted: var(--ui-text-soft);
  --checkout-accent: var(--ui-accent-strong);
  --checkout-accent-soft: var(--ui-accent-soft);
}

/* Landing, marketing sections, and public footer. */
html[data-theme="light"] .site-hero-page {
  background:
    linear-gradient(rgba(26, 45, 30, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 45, 30, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
}

html[data-theme="light"] .hero-nav-links a,
html[data-theme="light"] .hero-nav-actions > a:not(.hero-nav-cta),
html[data-theme="light"] .hero-copy p,
html[data-theme="light"] .hero-trust-title {
  color: var(--ui-text);
}

html[data-theme="light"] .hero-wordmark {
  color: var(--ui-text);
}

html[data-theme="light"] .hero-nav {
  border-color: var(--ui-border);
}

html[data-theme="light"] .hero-badge,
html[data-theme="light"] .hero-account-menu summary,
html[data-theme="light"] .hero-account-dropdown,
html[data-theme="light"] .hero-benefits article,
html[data-theme="light"] .hero-account-switch {
  border-color: var(--ui-border-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ui-text);
  box-shadow: 0 12px 32px rgba(38, 60, 41, 0.08);
}

html[data-theme="light"] .hero-badge {
  border-color: rgba(159, 181, 143, 0.28);
  color: var(--brand-green);
}

html[data-theme="light"] .hero-account-menu summary,
html[data-theme="light"] .hero-account-dropdown {
  border-color: rgba(159, 181, 143, 0.24);
}

html[data-theme="light"] .hero-benefits article {
  background:
    radial-gradient(circle at 20% 20%, rgba(159, 181, 143, 0.08), transparent 54%),
    var(--ui-surface);
}

html[data-theme="light"] .hero-account-menu summary:hover,
html[data-theme="light"] .hero-account-menu[open] summary,
html[data-theme="light"] .hero-account-dropdown > a:hover {
  background: var(--ui-surface-hover);
}

html[data-theme="light"] .hero-account-menu summary:hover,
html[data-theme="light"] .hero-account-menu[open] summary {
  border-color: rgba(143, 202, 114, 0.62);
}

html[data-theme="light"] .hero-account-dropdown > a:hover {
  background: rgba(143, 202, 114, 0.11);
}

html[data-theme="light"] .hero-account-name,
html[data-theme="light"] .hero-account-identity strong,
html[data-theme="light"] .hero-account-dropdown > a,
html[data-theme="light"] .hero-subtitle-strong {
  color: var(--ui-text);
}

html[data-theme="light"] .hero-account-identity small {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .hero-account-chevron svg {
  stroke: var(--ui-text-soft);
}

html[data-theme="light"] .hero-mockup {
  border-color: var(--ui-border-strong);
  background:
    radial-gradient(circle at 18% 25%, rgba(159, 181, 143, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 237, 0.98));
  box-shadow: 0 28px 70px rgba(38, 60, 41, 0.14), inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .hero-demo-app,
html[data-theme="light"] .hero-demo-sidebar,
html[data-theme="light"] .hero-demo-toolbar,
html[data-theme="light"] .hero-demo-panel,
html[data-theme="light"] .hero-demo-side-preview article {
  border-color: var(--ui-border);
  background: var(--ui-surface);
  box-shadow: 0 16px 38px rgba(38, 60, 41, 0.08);
}

html[data-theme="light"] .hero-demo-sidebar span,
html[data-theme="light"] .hero-demo-sidebar small,
html[data-theme="light"] .hero-demo-toolbar p,
html[data-theme="light"] .hero-demo-toolbar nav span,
html[data-theme="light"] .hero-demo-side-preview span {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .hero-demo-sidebar span.active,
html[data-theme="light"] .hero-demo-toolbar nav span.active {
  color: var(--brand-green);
  background: rgba(134, 207, 97, 0.13);
}

html[data-theme="light"] .hero-demo-side-preview i {
  background: linear-gradient(90deg, rgba(30, 55, 34, 0.12), rgba(30, 55, 34, 0.045));
}

html[data-theme="light"] .hero-demo-progress,
html[data-theme="light"] .st-status-loader {
  background: rgba(30, 55, 34, 0.1);
}

html[data-theme="light"] .hero-demo-lock {
  background: linear-gradient(180deg, rgba(255, 241, 240, 0.98), rgba(252, 228, 226, 0.98));
  box-shadow: 0 22px 58px rgba(197, 62, 55, 0.18);
}

html[data-theme="light"] .hero-demo-lock .hero-demo-lock-message,
html[data-theme="light"] .hero-demo-lock .hero-demo-reactivation {
  color: #5f3431;
}

html[data-theme="light"] .hero-trust img {
  filter: none;
  opacity: 1;
}

html[data-theme="light"] .site-steps-section,
html[data-theme="light"] .site-discipline-section,
html[data-theme="light"] .public-site-footer-landing {
  background-color: var(--ui-bg);
  background-image:
    linear-gradient(rgba(26, 45, 30, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 45, 30, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  color: var(--ui-text);
  border-color: var(--ui-border);
}

html[data-theme="light"] .site-steps-section {
  overflow: visible;
}

html[data-theme="light"] .steps-pill,
html[data-theme="light"] .discipline-pill,
html[data-theme="light"] .step-card {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
}

html[data-theme="light"] .steps-pill {
  border-color: rgba(159, 181, 143, 0.2);
  background: linear-gradient(180deg, rgba(159, 181, 143, 0.085), rgba(159, 181, 143, 0.025));
  color: var(--hero-sage-hover);
  box-shadow: 0 18px 80px rgba(159, 181, 143, 0.08);
}

html[data-theme="light"] .step-card {
  background:
    radial-gradient(circle at 50% 18%, rgba(159, 181, 143, 0.15), transparent 34%),
    var(--ui-surface);
}

html[data-theme="light"] .step-number,
html[data-theme="light"] .step-icon-chip,
html[data-theme="light"] .step-active-badge {
  color: var(--hero-sage-hover);
}

html[data-theme="light"] .step-number {
  border-color: rgba(159, 181, 143, 0.64);
  background:
    radial-gradient(circle, rgba(159, 181, 143, 0.15), var(--ui-surface) 72%),
    var(--ui-surface);
  box-shadow: 0 0 42px rgba(159, 181, 143, 0.16);
}

html[data-theme="light"] .step-icon-chip {
  border-color: rgba(159, 181, 143, 0.34);
  background: rgba(159, 181, 143, 0.08);
}

html[data-theme="light"] .step-active-badge {
  border-color: rgba(159, 181, 143, 0.32);
  background: rgba(159, 181, 143, 0.06);
}

html[data-theme="light"] .step-account-panel,
html[data-theme="light"] .step-limits-panel {
  border-color: var(--ui-border);
  background: var(--ui-surface-2);
}

html[data-theme="light"] .step-account-row,
html[data-theme="light"] .step-limit-row {
  border-color: var(--ui-border);
  background: rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .steps-heading h2,
html[data-theme="light"] .step-card h3,
html[data-theme="light"] .discipline-heading h2 {
  color: var(--ui-text);
}

html[data-theme="light"] .steps-heading p,
html[data-theme="light"] .step-card p,
html[data-theme="light"] .public-site-footer,
html[data-theme="light"] .public-site-footer a {
  color: var(--ui-text);
}

html[data-theme="light"] .steps-heading p strong,
html[data-theme="light"] .step-card p strong,
html[data-theme="light"] .step-account-row span,
html[data-theme="light"] .step-limits-title,
html[data-theme="light"] .step-limit-row span,
html[data-theme="light"] .step-limit-row strong,
html[data-theme="light"] .steps-bottom-statement p,
html[data-theme="light"] .discipline-pill {
  color: var(--ui-text);
}

html[data-theme="light"] .step-card:not(:last-child)::after {
  border-color: rgba(159, 181, 143, 0.28);
}

html[data-theme="light"] .step-shield-ring::before,
html[data-theme="light"] .step-shield-ring::after {
  border-color: rgba(159, 181, 143, 0.14);
}

html[data-theme="light"] .discipline-pill svg {
  color: var(--ui-text);
}

/* These three risk-story cards intentionally keep the validated dark artwork
   in both themes. They are excluded from the light contrast remapping. */
html[data-theme="light"] .discipline-card {
  border-color: rgba(255, 255, 255, 0.13);
  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));
  background-color: #050607;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 84px rgba(0, 0, 0, 0.38);
}

html[data-theme="light"] .discipline-card h3 {
  color: #ffffff;
}

html[data-theme="light"] .discipline-card p {
  color: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .discipline-card .discipline-warning {
  color: #e0635e;
}

/* Authentication and legacy public pricing. */
html[data-theme="light"] .auth-shell,
html[data-theme="light"] .pricing-shell {
  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(247, 250, 246, 0.96), rgba(238, 244, 236, 0.82));
}

html[data-theme="light"] .auth-panel {
  border-color: var(--ui-border-strong);
  background:
    radial-gradient(circle at 82% 10%, rgba(143, 202, 114, 0.08), transparent 30%),
    var(--ui-surface);
  box-shadow: 0 26px 70px rgba(38, 60, 41, 0.13);
}

html[data-theme="light"] .auth-field > span,
html[data-theme="light"] .auth-socials button,
html[data-theme="light"] .auth-socials a,
html[data-theme="light"] .settings-readonly {
  border-color: var(--ui-border-strong);
  background: var(--ui-input);
  color: var(--ui-text-soft);
}

html[data-theme="light"] .auth-field input,
html[data-theme="light"] .auth-eye,
html[data-theme="light"] .auth-socials button,
html[data-theme="light"] .auth-socials a,
html[data-theme="light"] .auth-signup,
html[data-theme="light"] .auth-terms {
  color: var(--ui-text);
}

html[data-theme="light"] .auth-field input::placeholder {
  color: var(--ui-muted);
}

html[data-theme="light"] .auth-field input:-webkit-autofill,
html[data-theme="light"] .auth-field input:-webkit-autofill:hover,
html[data-theme="light"] .auth-field input:-webkit-autofill:focus,
html[data-theme="light"] .auth-field input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ui-text);
  caret-color: var(--ui-text);
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset;
  box-shadow: 0 0 0 1000px var(--ui-input) inset;
}

html[data-theme="light"] .auth-footer,
html[data-theme="light"] .auth-footer a {
  border-color: var(--ui-border);
  color: var(--ui-text-soft);
}

html[data-theme="light"] .auth-mobile-menu,
html[data-theme="light"] .auth-mobile-menu-panel {
  background: var(--ui-bg);
  color: var(--ui-text);
}

html[data-theme="light"] .auth-mobile-menu-header,
html[data-theme="light"] .auth-mobile-menu-links a,
html[data-theme="light"] .auth-mobile-menu-footer {
  border-color: var(--ui-border);
  background: var(--ui-surface);
  color: var(--ui-text);
}

html[data-theme="light"] .auth-mobile-menu-brand,
html[data-theme="light"] .auth-mobile-menu-close,
html[data-theme="light"] .auth-mobile-menu-toggle {
  color: var(--ui-text);
}

/* The landing navigation uses its own mobile drawer. */
html[data-theme="light"] .site-hero-page .hero-mobile-menu,
html[data-theme="light"] .site-hero-page .hero-mobile-menu-panel {
  background: var(--ui-bg);
  color: var(--ui-text);
}

html[data-theme="light"] .site-hero-page .hero-mobile-menu-header,
html[data-theme="light"] .site-hero-page .hero-mobile-menu-links a,
html[data-theme="light"] .site-hero-page .hero-mobile-menu-footer {
  border-color: var(--ui-border);
  background: var(--ui-surface);
  color: var(--ui-text);
}

html[data-theme="light"] .site-hero-page .hero-mobile-menu-brand,
html[data-theme="light"] .site-hero-page .hero-mobile-menu-close,
html[data-theme="light"] .site-hero-page .hero-mobile-menu-toggle {
  color: var(--ui-text);
}

/* Legal pages. */
html[data-theme="light"] body:has(.legal-shell) {
  background: var(--ui-bg);
  color: var(--ui-text);
}

html[data-theme="light"] .legal-shell {
  background:
    radial-gradient(circle at 82% 0%, rgba(125, 174, 101, 0.13), transparent 28%),
    var(--ui-bg);
  color: var(--ui-text);
}

html[data-theme="light"] .legal-site-header,
html[data-theme="light"] .legal-footer {
  border-color: var(--ui-border);
  color: var(--ui-text-soft);
}

html[data-theme="light"] .legal-hero small,
html[data-theme="light"] .footer-legal-links span,
html[data-theme="light"] .auth-footer .footer-legal-links span,
html[data-theme="light"] .public-site-footer .footer-legal-links span,
html[data-theme="light"] .public-site-footer span {
  color: var(--ui-text);
}

html[data-theme="light"] .legal-wordmark,
html[data-theme="light"] .legal-back-link,
html[data-theme="light"] .legal-card strong,
html[data-theme="light"] .legal-details dt,
html[data-theme="light"] .legal-table th {
  color: var(--ui-text);
}

html[data-theme="light"] .legal-tabs,
html[data-theme="light"] .legal-card,
html[data-theme="light"] .legal-highlight-card {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow);
}

html[data-theme="light"] .legal-tabs a {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .legal-tabs a:hover,
html[data-theme="light"] .legal-tabs a.active {
  background: rgba(159, 190, 139, 0.12);
  color: var(--legal-green-bright);
}

html[data-theme="light"] .legal-table th {
  background: rgba(159, 190, 139, 0.08);
  color: var(--ui-text);
}

html[data-theme="light"] .legal-details,
html[data-theme="light"] .legal-details > div,
html[data-theme="light"] .legal-table th,
html[data-theme="light"] .legal-table td {
  border-color: var(--ui-border);
}

/* Dashboard, accounts, settings, FAQ, contact, menus, notices, and modals. */
html[data-theme] {
  --st-text: var(--ui-text);
  --st-secondary: var(--ui-text-soft);
  --st-muted: var(--ui-muted);
  --st-sage: var(--ui-accent);
  --st-sage-hover: var(--ui-accent-hover);
  --st-surface: var(--ui-surface);
  --st-surface-2: var(--ui-surface-2);
  --st-border: var(--ui-border);
  --st-border-strong: var(--ui-border-strong);
}

html[data-theme="light"] .sentinel-dashboard {
  background:
    linear-gradient(90deg, #eef3ec 0 var(--st-sidebar-width), transparent var(--st-sidebar-width)),
    var(--ui-bg);
}

html[data-theme="light"] .st-sidebar {
  border-color: var(--ui-border);
  background: rgba(248, 250, 247, 0.97);
}

html[data-theme="light"] .st-nav-item.active {
  background: linear-gradient(90deg, rgba(159, 190, 139, 0.18), rgba(237, 243, 233, 0.96));
}

html[data-theme="light"] .st-nav-item:hover {
  background: var(--ui-surface-hover);
}

html[data-theme="light"] .st-select-card,
html[data-theme="light"] .st-bell,
html[data-theme="light"] .st-account-menu-list,
html[data-theme="light"] .st-panel,
html[data-theme="light"] .st-status-panel,
html[data-theme="light"] .st-settings-panel,
html[data-theme="light"] .account-risk-panel,
html[data-theme="light"] .st-confirm-modal,
html[data-theme="light"] .st-toast {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
}

html[data-theme="light"] .st-account-menu-list a:hover,
html[data-theme="light"] .st-select-card:hover,
html[data-theme="light"] .st-bell:hover {
  background: var(--ui-surface-hover);
}

html[data-theme="light"] .st-balance-strip,
html[data-theme="light"] .st-stepper,
html[data-theme="light"] .st-time-inputs,
html[data-theme="light"] .st-time-control select,
html[data-theme="light"] .st-day.inactive,
html[data-theme="light"] .risk-sl-group,
html[data-theme="light"] .risk-strict-row,
html[data-theme="light"] .risk-trading-box,
html[data-theme="light"] .risk-reset-slot,
html[data-theme="light"] .risk-stepper,
html[data-theme="light"] .risk-time-range,
html[data-theme="light"] .risk-reset-control {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface-2);
  color: var(--ui-text);
}

html[data-theme="light"] .st-time-inputs input,
html[data-theme="light"] .st-time-control select,
html[data-theme="light"] .risk-stepper input,
html[data-theme="light"] .risk-time-range input,
html[data-theme="light"] .risk-reset-control input,
html[data-theme="light"] .settings-fields input,
html[data-theme="light"] .settings-fields select {
  border-color: var(--ui-border-strong);
  background-color: var(--ui-input);
  color: var(--ui-text);
  color-scheme: light;
}

html[data-theme="light"] .risk-days-line,
html[data-theme="light"] .risk-hours-line {
  border-color: var(--ui-border);
  background: var(--ui-surface-2);
  color: var(--ui-text);
}

html[data-theme="light"] .risk-hours-switch span {
  background: #e9ede7;
  box-shadow: inset 0 0 0 1px #c3cac2;
}

html[data-theme="light"] .risk-hours-switch span::after {
  box-sizing: border-box;
  border: 1px solid #c7cec6;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(50, 66, 52, 0.14);
}

html[data-theme="light"] .risk-hours-switch input:checked + span {
  background: var(--st-sage);
  box-shadow: inset 0 0 0 1px var(--st-sage-border);
}

html[data-theme="light"] .st-hours-toggle input:checked + span {
  border-color: var(--st-sage-border);
  background: var(--st-sage);
}

html[data-theme="light"] .risk-hours-switch input:disabled + span {
  background: #eef1ec;
  box-shadow: inset 0 0 0 1px #cbd1ca;
}

html[data-theme="light"] .risk-day-chip {
  color: var(--ui-text);
}

html[data-theme="light"] .risk-trading-group.is-disabled .risk-day-chip,
html[data-theme="light"] .risk-day-chip:disabled {
  color: var(--ui-text);
  opacity: 1;
  cursor: not-allowed;
}

html[data-theme="dark"] .st-time-inputs input,
html[data-theme="dark"] .st-time-control select {
  color-scheme: dark;
}

html[data-theme="light"] .risk-day-chip.active,
html[data-theme="light"] .risk-day-chip:has(input:checked) {
  border-color: var(--st-sage);
  background: var(--st-sage);
  color: var(--ui-text);
}

html[data-theme="light"] .risk-trading-group:not(.is-disabled) .risk-day-chip.active:not(:disabled):hover {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface-2);
  color: var(--ui-text);
  box-shadow: none;
}

html[data-theme="light"] .risk-trading-group.is-disabled .risk-day-chip.active,
html[data-theme="light"] .risk-trading-group.is-disabled .risk-day-chip:has(input:checked) {
  border-color: #b7c8af;
  background: #dce7d7;
  color: var(--ui-text);
  opacity: 1;
}

html[data-theme="light"] .st-save {
  color: #ffffff;
}

html[data-theme="light"] .settings-primary,
html[data-theme="light"] .acct-primary-button {
  color: #ffffff;
}

html[data-theme="light"] .settings-toggles label > span {
  background: #e9ede7;
  box-shadow: inset 0 0 0 1px #c3cac2;
}

html[data-theme="light"] .settings-toggles label > span::after {
  box-sizing: border-box;
  border: 1px solid #c7cec6;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(50, 66, 52, 0.14);
}

html[data-theme="light"] .settings-toggles input:checked + span {
  background: var(--st-sage);
  box-shadow: inset 0 0 0 1px var(--st-sage-border);
}

html[data-theme="light"] .settings-toggles input:disabled + span {
  background: #eef1ec;
  box-shadow: inset 0 0 0 1px #cbd1ca;
}

html[data-theme="light"] .st-restore,
html[data-theme="light"] .st-modal-cancel,
html[data-theme="light"] .settings-secondary,
html[data-theme="light"] .acct-secondary-button {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface-2);
  color: var(--ui-text);
}

html[data-theme="light"] .settings-billing-actions .settings-view-plans {
  color: #ffffff;
}

html[data-theme="light"] .st-modal-backdrop,
html[data-theme="light"] .billing-cancel-dialog::backdrop {
  background: rgba(31, 46, 34, 0.34);
}

html[data-theme="light"] .st-logout-button {
  background: rgba(189, 63, 56, 0.06);
  color: #a4342f;
  box-shadow: none;
}

html[data-theme="light"] .locked-access-shell {
  background-color: var(--ui-bg);
  color: var(--ui-text);
}

/* Keep the real light dashboard visible behind the locked-access dialog.
   The previous opaque light background completely covered the preview. */
html[data-theme="light"] .locked-access-dim {
  background: rgba(31, 46, 34, 0.34);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

html[data-theme="light"] .locked-access-modal {
  border-color: var(--ui-border-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 190, 139, 0.12), transparent 40%),
    var(--ui-surface);
  color: var(--ui-text);
  box-shadow: 0 32px 92px rgba(18, 28, 20, 0.28);
}

html[data-theme="light"] .locked-access-plan {
  border-color: var(--ui-border-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 190, 139, 0.07), transparent 38%),
    var(--ui-surface-2);
  color: var(--ui-text);
  box-shadow: 0 12px 30px rgba(38, 60, 41, 0.08);
}

html[data-theme="light"] .locked-access-head h1,
html[data-theme="light"] .locked-access-plan h3,
html[data-theme="light"] .locked-access-plan li,
html[data-theme="light"] .locked-access-price span,
html[data-theme="light"] .locked-access-old,
html[data-theme="light"] .locked-access-note {
  color: var(--ui-text);
}

html[data-theme="light"] .locked-access-modal p,
html[data-theme="light"] .locked-access-plan p,
html[data-theme="light"] .locked-access-billing-action p {
  color: var(--ui-text);
}

html[data-theme="light"] .locked-access-line {
  background: var(--ui-border);
}

html[data-theme="light"] .locked-access-top-badge {
  background: var(--ui-surface);
}

html[data-theme="light"] .locked-access-cta {
  border: 1px solid var(--st-sage-border);
  background: var(--st-sage);
  color: #080b0a;
  box-shadow: 0 12px 28px rgba(159, 190, 139, 0.2);
}

html[data-theme="light"] .locked-access-cta:hover {
  border-color: var(--st-sage-hover);
  background: var(--st-sage-hover);
  color: #080b0a;
}

html[data-theme="light"] .locked-access-logout {
  border-color: rgba(189, 63, 56, 0.58);
  background: rgba(189, 63, 56, 0.1);
  color: #9f2f2a;
  box-shadow: 0 8px 24px rgba(91, 28, 24, 0.09);
}

html[data-theme="light"] .locked-access-logout:hover {
  border-color: #bd3f38;
  background: rgba(189, 63, 56, 0.17);
  color: #84241f;
}

html[data-theme="light"] .account-center-summary article,
html[data-theme="light"] .account-center .account-card,
html[data-theme="light"] .account-center .account-add-tile,
html[data-theme="light"] .account-center .account-empty-card,
html[data-theme="light"] .account-center .add-account,
html[data-theme="light"] .account-center .onboarding-card,
html[data-theme="light"] .account-center .platform-step,
html[data-theme="light"] .account-center .connect-step,
html[data-theme="light"] .settings-card,
html[data-theme="light"] .settings-plan,
html[data-theme="light"] .settings-toggles label,
html[data-theme="light"] .client-faq-intro,
html[data-theme="light"] .client-faq-list,
html[data-theme="light"] .client-faq-support,
html[data-theme="light"] .client-contact-card {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
}

html[data-theme="light"] .account-empty-icon,
html[data-theme="light"] .account-empty-icon span::before,
html[data-theme="light"] .account-empty-icon span::after {
  border-color: var(--ui-text);
}

html[data-theme="light"] .account-add-tile > span b {
  background: var(--ui-surface);
}

html[data-theme="light"] .account-center .risk-form input,
html[data-theme="light"] .account-center .risk-form select,
html[data-theme="light"] .account-center .readonly-value,
html[data-theme="light"] .account-center .setting-band,
html[data-theme="light"] .account-center .platform-choice,
html[data-theme="light"] .account-center .selected-platform-line,
html[data-theme="light"] .settings-readonly {
  border-color: var(--ui-border-strong);
  background: var(--ui-input);
  color: var(--ui-text);
}

html[data-theme="light"] .account-connect-form .broker-server-warning {
  color: #9f2019;
}

html[data-theme="light"] .account-connect-form .account-password-warning {
  color: #a85a00;
}

html[data-theme="light"] .account-center .risk-form input:-webkit-autofill,
html[data-theme="light"] .account-center .risk-form input:-webkit-autofill:hover,
html[data-theme="light"] .account-center .risk-form input:-webkit-autofill:focus,
html[data-theme="light"] .account-center .risk-form input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ui-text);
  caret-color: var(--ui-text);
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset;
  box-shadow: 0 0 0 1000px var(--ui-input) inset;
}

html[data-theme="light"] .account-center .platform-choice:hover,
html[data-theme="light"] .account-center .platform-choice:has(input:checked),
html[data-theme="light"] .client-faq-item summary:hover,
html[data-theme="light"] .client-faq-item[open] summary {
  background: var(--ui-surface-hover);
}

html[data-theme="light"] .client-faq-item,
html[data-theme="light"] .client-faq-item summary,
html[data-theme="light"] .account-center-header {
  border-color: var(--ui-border);
  color: var(--ui-text);
}

html[data-theme="light"] .client-faq-hero p,
html[data-theme="light"] .client-faq-intro p,
html[data-theme="light"] .client-faq-item p,
html[data-theme="light"] .client-contact-card p,
html[data-theme="light"] .account-center-title p,
html[data-theme="light"] .account-meta,
html[data-theme="light"] .settings-card-head p,
html[data-theme="light"] .settings-small {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .billing-cancel-dialog,
html[data-theme="light"] .billing-cancel-reasons label,
html[data-theme="light"] .billing-cancel-dialog textarea {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  color: var(--ui-text);
}

/* Compact navigation above the add-account panel after removing the
   duplicated exterior title block. */
.account-center-add-nav {
  width: min(100%, 1040px);
  display: flex;
  justify-content: flex-start;
  margin: 0 auto 14px;
}

@media (max-width: 767px) {
  .account-center-add-nav {
    width: 100%;
    margin-bottom: 12px;
  }
}

/* Destructive actions must look actionable in the light theme while keeping
   the already-approved dark rendering untouched. */
html[data-theme="light"] :is(
  .st-logout-button,
  .locked-access-logout,
  .settings-danger,
  .st-danger-button,
  .st-modal-delete,
  .danger-button,
  .danger-outline,
  .hero-account-dropdown > a.hero-account-logout
) {
  border: 1px solid #b42318;
  background: #fde8e7;
  color: #9f2019;
  opacity: 1;
  box-shadow: none;
}

html[data-theme="light"] .hero-account-dropdown > a.hero-account-logout svg {
  color: #9f2019;
  stroke: #9f2019;
}

html[data-theme="light"] :is(
  .st-logout-button,
  .locked-access-logout,
  .settings-danger,
  .st-danger-button,
  .st-modal-delete,
  .danger-button,
  .danger-outline,
  .hero-account-dropdown > a.hero-account-logout
):hover {
  border-color: #8f1711;
  background: #f7cbc8;
  color: #78130e;
}

html[data-theme="light"] :is(
  .st-logout-button,
  .locked-access-logout,
  .settings-danger,
  .st-danger-button,
  .st-modal-delete,
  .danger-button,
  .danger-outline,
  .hero-account-dropdown > a.hero-account-logout
):active {
  border-color: #78130e;
  background: #efaaa5;
  color: #68100c;
}

html[data-theme="light"] :is(
  .st-logout-button,
  .locked-access-logout,
  .settings-danger,
  .st-danger-button,
  .st-modal-delete,
  .danger-button,
  .danger-outline,
  .hero-account-dropdown > a.hero-account-logout
):focus-visible {
  outline: 3px solid rgba(180, 35, 24, 0.34);
  outline-offset: 3px;
}

html[data-theme="light"] :is(
  .st-logout-button,
  .locked-access-logout,
  .settings-danger,
  .st-danger-button,
  .st-modal-delete,
  .danger-button,
  .danger-outline,
  .hero-account-dropdown > a.hero-account-logout
):disabled,
html[data-theme="light"] :is(
  .st-logout-button,
  .locked-access-logout,
  .settings-danger,
  .st-danger-button,
  .st-modal-delete,
  .danger-button,
  .danger-outline,
  .hero-account-dropdown > a.hero-account-logout
)[aria-disabled="true"] {
  cursor: not-allowed;
  border-color: #c9938f;
  background: #f3dfdd;
  color: #8a5d59;
  opacity: 0.58;
}

html[data-theme="light"] .st-delete-help-lock {
  color: #9f2019;
}

/* Browser autofill must never reintroduce a dark field into the light theme.
   This common rule covers authentication, checkout, settings and broker forms. */
html[data-theme="light"] input:-webkit-autofill,
html[data-theme="light"] input:-webkit-autofill:hover,
html[data-theme="light"] input:-webkit-autofill:focus,
html[data-theme="light"] input:-webkit-autofill:active,
html[data-theme="light"] textarea:-webkit-autofill,
html[data-theme="light"] textarea:-webkit-autofill:hover,
html[data-theme="light"] textarea:-webkit-autofill:focus,
html[data-theme="light"] textarea:-webkit-autofill:active,
html[data-theme="light"] select:-webkit-autofill,
html[data-theme="light"] select:-webkit-autofill:hover,
html[data-theme="light"] select:-webkit-autofill:focus,
html[data-theme="light"] select:-webkit-autofill:active {
  border-color: var(--ui-border-strong) !important;
  background-color: var(--ui-input) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-text) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  color-scheme: light;
}

html[data-theme="light"] :is(input, textarea, select):autofill {
  border-color: var(--ui-border-strong) !important;
  background-color: var(--ui-input) !important;
  color: var(--ui-text) !important;
  caret-color: var(--ui-text) !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  color-scheme: light;
}

/* The English line is longer than the French source; center the complete
   heading and let its two translated lines share the same responsive width. */
html[lang="en"] .discipline-heading {
  width: 100%;
  text-align: center;
}

html[lang="en"] .discipline-heading h2 {
  width: min(100%, 1260px);
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

/* Generic administration, infrastructure, and fallback pages. */
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  border-color: var(--ui-border-strong);
  background-color: var(--ui-input);
  color: var(--ui-text);
}

html[data-theme="dark"] .panel,
html[data-theme="dark"] table,
html[data-theme="dark"] .notice {
  border-color: var(--ui-border);
  background-color: var(--ui-surface);
  color: var(--ui-text);
}

/* Current pricing page. */
html[data-theme="light"] .pricing-v2-shell {
  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%),
    var(--ui-bg);
  color: var(--ui-text);
}

html[data-theme="light"] .pricing-v2-bg {
  background: linear-gradient(180deg, #fafcf9, var(--ui-bg));
}

html[data-theme="light"] .pricing-v2-header {
  border-color: var(--ui-border);
  background: rgba(248, 250, 247, 0.9);
}

html[data-theme="light"] .pricing-v2-logo,
html[data-theme="light"] .pricing-v2-title h1,
html[data-theme="light"] .pricing-v2-card h2,
html[data-theme="light"] .pricing-v2-price,
html[data-theme="light"] .pricing-v2-faq-title h2,
html[data-theme="light"] .pricing-v2-faq-list h3 {
  color: var(--ui-text);
}

html[data-theme="light"] .pricing-v2-menu a,
html[data-theme="light"] .pricing-v2-title p,
html[data-theme="light"] .pricing-v2-description,
html[data-theme="light"] .pricing-v2-features li,
html[data-theme="light"] .pricing-v2-actions p,
html[data-theme="light"] .pricing-v2-faq-list p {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .pricing-v2-menu a.active {
  color: var(--pricing-sage);
}

html[data-theme="light"] .pricing-v2-toggle,
html[data-theme="light"] .pricing-v2-card,
html[data-theme="light"] .pricing-v2-faq-list article {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
}

html[data-theme="light"] .pricing-v2-toggle button {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .pricing-v2-toggle button.active {
  background: rgba(8, 18, 14, 0.48);
  color: var(--pricing-sage);
}

html[data-theme="light"] .pricing-v2-card-pro {
  border-color: var(--pricing-sage);
  background: var(--ui-surface);
  box-shadow:
    0 0 55px rgba(143, 202, 114, 0.16),
    var(--ui-shadow);
}

html[data-theme="light"] .pricing-v2-cta:not(.featured) {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface-2);
  color: var(--ui-text);
}

/* Checkout, success, and billing confirmation. */
html[data-theme="light"] body:has(.checkout-page),
html[data-theme="light"] body:has(.checkout-page) main,
html[data-theme="light"] .checkout-page,
html[data-theme="light"] body:has(.success-page),
html[data-theme="light"] body:has(.success-page) > main,
html[data-theme="light"] .success-page,
html[data-theme="light"] body:has(.billing-confirmation-page),
html[data-theme="light"] .billing-confirmation-page {
  background: var(--checkout-bg);
  color: var(--checkout-text);
}

html[data-theme="light"] .checkout-bg {
  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.4), transparent 40%);
}

html[data-theme="light"] .success-bg {
  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%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 40%);
}

html[data-theme="light"] .checkout-header,
html[data-theme="light"] .checkout-footer,
html[data-theme="light"] .success-header,
html[data-theme="light"] .success-footer {
  border-color: var(--checkout-border);
  color: var(--checkout-muted);
}

html[data-theme="light"] .checkout-logo,
html[data-theme="light"] .checkout-title h1,
html[data-theme="light"] .checkout-step-title h2,
html[data-theme="light"] .checkout-summary h2,
html[data-theme="light"] .checkout-security-card h2,
html[data-theme="light"] .success-logo,
html[data-theme="light"] .success-title,
html[data-theme="light"] .billing-confirmation-card,
html[data-theme="light"] .billing-confirmation-card h1,
html[data-theme="light"] .billing-confirmation-card strong {
  color: var(--checkout-text);
}

html[data-theme="light"] .checkout-nav a,
html[data-theme="light"] .checkout-footer a,
html[data-theme="light"] .checkout-title p,
html[data-theme="light"] .checkout-field,
html[data-theme="light"] .checkout-summary dt,
html[data-theme="light"] .checkout-security-card p,
html[data-theme="light"] .success-subtitle,
html[data-theme="light"] .success-footer a,
html[data-theme="light"] .billing-confirmation-card p {
  color: var(--checkout-muted);
}

html[data-theme="light"] .checkout-trust-strip,
html[data-theme="light"] .checkout-card,
html[data-theme="light"] .checkout-security-card,
html[data-theme="light"] .checkout-summary-card,
html[data-theme="light"] .checkout-included-card,
html[data-theme="light"] .checkout-trial-card,
html[data-theme="light"] .success-info-row article,
html[data-theme="light"] .billing-confirmation-card {
  border-color: var(--checkout-border-strong);
  background: var(--checkout-surface);
  color: var(--checkout-text);
  box-shadow: var(--ui-shadow);
}

html[data-theme="light"] .checkout-field input,
html[data-theme="light"] .checkout-two-fields input,
html[data-theme="light"] .checkout-card-input {
  border-color: var(--checkout-border-strong);
  background: var(--ui-input);
  color: var(--checkout-text);
}

html[data-theme="light"] .checkout-field input::placeholder,
html[data-theme="light"] .checkout-two-fields input::placeholder,
html[data-theme="light"] .checkout-card-input input::placeholder {
  color: var(--ui-muted);
}

html[data-theme="light"] .checkout-summary-line,
html[data-theme="light"] .checkout-summary dl div,
html[data-theme="light"] .checkout-total {
  border-color: var(--checkout-border);
}

html[data-theme="light"] .checkout-no-charge {
  background: rgba(7, 16, 8, 0.6);
}

html[data-theme="light"] .billing-secondary-action {
  border-color: var(--checkout-border-strong);
  color: var(--checkout-text);
}

/* Retained legacy risk interface. */
html[data-theme="light"] body:has(.risk-app) {
  background:
    radial-gradient(circle at 72% 18%, rgba(143, 168, 123, 0.08), transparent 28%),
    var(--ui-bg);
}

html[data-theme="light"] .risk-sidebar,
html[data-theme="light"] .risk-panel {
  border-color: var(--ui-border-strong);
  background: var(--ui-surface);
  color: var(--ui-text);
  box-shadow: var(--ui-shadow);
}

/* A 100vw shell includes the vertical scrollbar gutter and creates a small
   horizontal overflow. Follow the layout viewport on the full-page shells. */
.auth-shell,
.pricing-shell,
.pricing-v2-shell {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

html[data-theme="light"] .pricing-v2-price span,
html[data-theme="light"] .pricing-v2-old,
html[data-theme="light"] .pricing-v2-saving {
  color: var(--ui-text-soft);
}

html[data-theme="light"] .pricing-v2-saving svg {
  color: var(--pricing-sage);
}

/* Full-screen navigation and confirmation layers must remain modal: the
   global preferences control stays beneath them while they are open. */
.site-hero-page .hero-mobile-menu,
.auth-shell .auth-mobile-menu {
  z-index: 1500;
}

.st-modal-backdrop {
  z-index: 1600;
}

/* Consistent hover feedback for regular buttons and button-like links.
   Weekday chips keep their dedicated activate/deactivate interaction, while
   destructive actions retain their existing red hover states. */
:where(
  button,
  a.button,
  a.acct-primary-button,
  a.auth-submit,
  a.auth-mobile-menu-cta,
  a.billing-secondary-action,
  a.discipline-cta,
  a.hero-main-cta,
  a.hero-mobile-menu-cta,
  a.hero-nav-cta,
  a.hero-nav-login,
  a.landing-day-comparison-cta,
  a.locked-access-cta,
  a.pricing-cta,
  a.pricing-nav-cta,
  a.pricing-v2-cta,
  a.settings-primary,
  a.settings-secondary,
  a.success-header-cta,
  a.success-primary-cta
):not(.risk-day-chip):not(.st-day):not(.risk-info-trigger):not(.danger-button):not(.st-danger-button):not(.st-modal-delete):not(.settings-danger):not(.risk-reset-remove):not(:disabled):not([aria-disabled="true"]):hover {
  filter: brightness(1.08) drop-shadow(0 0 6px rgba(159, 190, 139, 0.36));
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle {
    transition: none;
  }
}

/* Landing social proof: cards keep their supplied dark appearance while the
   section inherits the landing background. It moves below the mockup on phone. */
.landing-testimonials {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: clamp(66px, 6vw, 94px) 0 clamp(58px, 5vw, 78px);
  background: transparent;
  color: var(--hero-text, #f7f8f6);
  isolation: isolate;
}

.landing-testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), 1240px);
  height: 1px;
  background: var(--hero-line, rgba(255, 255, 255, 0.08));
  opacity: 0.72;
  transform: translateX(-50%);
  pointer-events: none;
}

.landing-testimonials-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.landing-testimonials-heading {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto clamp(42px, 4vw, 58px);
  padding: 0 28px;
  text-align: center;
}

.landing-testimonials-heading h2 {
  width: 100%;
  margin: 0;
  color: var(--hero-text, #f6f7f5);
  font-size: clamp(36px, 3.3vw, 50px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.landing-testimonials-heading h2 .landing-testimonials-title-accent {
  color: var(--brand-green);
}

.landing-testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  gap: 14px;
  margin-top: clamp(38px, 3.5vw, 52px);
  color: var(--hero-text, rgba(255, 255, 255, 0.9));
  font-size: 17px;
  line-height: 1;
}

.landing-testimonials-rating > strong {
  font-size: 19px;
  font-weight: 700;
}

.landing-testimonials-rating-stars {
  display: inline-flex;
  gap: 4px;
}

.landing-testimonials-rating-stars i {
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00a878;
  color: #ffffff;
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}

.landing-testimonials-carousel {
  width: 100%;
}

.landing-testimonials-control {
  display: none;
}

.landing-testimonials-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 20px;
  scroll-behavior: auto;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.landing-testimonials-viewport::-webkit-scrollbar {
  display: none;
}

.landing-testimonials-viewport:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: -2px;
}

.landing-testimonials-track {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.landing-testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px 25px 22px;
  overflow: hidden;
  border: 1px solid rgba(119, 158, 91, 0.58);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 130, 62, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(9, 14, 11, 0.98), rgba(4, 7, 6, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 18px 45px rgba(0, 0, 0, 0.18);
  color: #f7f8f6;
}

.landing-testimonial-quote {
  height: 34px;
  display: block;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 53px;
  font-weight: 800;
  line-height: 0.88;
}

.landing-testimonial-card blockquote {
  flex: 1 1 auto;
  margin: 7px 0 23px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(14px, 1.02vw, 16px);
  font-style: normal;
  font-weight: 430;
  line-height: 1.48;
}

.landing-testimonial-card blockquote span {
  color: inherit;
  font-weight: 560;
}

.landing-testimonial-author {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.landing-testimonial-author > img {
  width: 46px;
  height: 46px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  object-fit: cover;
  background: #111512;
  user-select: none;
  -webkit-user-drag: none;
}

.landing-testimonial-card:nth-child(5n + 2) .landing-testimonial-author > img {
  object-position: center 64%;
}

.landing-testimonial-card:nth-child(5n + 4) .landing-testimonial-author > img {
  object-position: center 58%;
}

.landing-testimonial-card:nth-child(5n + 5) .landing-testimonial-author > img {
  object-position: 66% 70%;
}

.landing-testimonial-person {
  min-width: 0;
}

.landing-testimonial-person strong,
.landing-testimonial-person span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-testimonial-person strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 760;
}

.landing-testimonial-person span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 470;
}

.landing-testimonial-stars {
  color: #ffc400;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.landing-testimonials-source {
  margin: clamp(42px, 4vw, 58px) 20px 0;
  color: var(--hero-muted, rgba(255, 255, 255, 0.58));
  font-size: 15px;
  text-align: center;
}

.landing-account-control {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(26px, 3.2vw, 46px) 20px;
  overflow: hidden;
  background: #ffffff;
  color: #f7f8f6;
  color-scheme: light;
}

html[data-theme="light"] .landing-account-control {
  background: #ffffff;
}

.landing-account-control ~ .site-steps-section,
.landing-mobile-protection-section ~ .site-steps-section {
  margin-top: 0;
}

.landing-account-control::before,
.landing-account-control::after {
  display: none;
}

.landing-account-control::before {
  top: 0;
}

.landing-account-control::after {
  bottom: 0;
}

.landing-account-control-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(50px, 5vw, 72px) clamp(24px, 4vw, 54px) clamp(54px, 5.5vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(169, 196, 160, 0.28);
  border-radius: clamp(24px, 2.8vw, 36px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    #050607;
  background-size: 54px 54px;
  color: #f7f8f6;
  box-shadow: 0 22px 58px rgba(5, 6, 7, 0.16);
}

.landing-account-control h2 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.24em;
  color: inherit;
  font-size: clamp(34px, 3.25vw, 46px);
  font-weight: 470;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-align: center;
}

.landing-account-control h2 span {
  color: inherit;
}

.landing-account-control ul {
  width: max-content;
  max-width: 100%;
  display: grid;
  gap: 20px;
  margin: clamp(42px, 4.3vw, 58px) auto 0;
  padding: 0;
  list-style: none;
}

.landing-account-control li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  color: inherit;
  font-size: clamp(17px, 1.42vw, 20px);
  font-weight: 430;
  line-height: 1.25;
}

.landing-account-control-check {
  width: 12px;
  height: 22px;
  display: block;
  justify-self: center;
  border: solid var(--hero-sage, var(--brand-green));
  border-width: 0 3px 3px 0;
  color: var(--hero-sage, var(--brand-green));
  transform: rotate(45deg);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .landing-testimonials-inner {
    width: min(100%, 820px);
  }

  .landing-testimonials-track {
    gap: 20px;
  }

  .landing-testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (min-width: 768px) {
  .landing-testimonials-inner,
  .landing-account-control-inner {
    margin-inline: auto;
  }

  .landing-testimonials-heading {
    width: min(100%, 960px);
  }

  .landing-testimonials-heading h2 {
    width: 100%;
    text-align: center;
  }

  .landing-testimonials-rating {
    width: max-content;
    display: flex;
    margin-right: auto;
    margin-left: auto;
  }

  .landing-testimonials-rating > strong {
    justify-self: auto;
  }

  .landing-testimonials-rating-stars {
    justify-self: auto;
  }

  .landing-testimonials-rating > span:last-child {
    justify-self: auto;
  }

  .landing-account-control,
  .landing-account-control-inner {
    text-align: center;
  }

  .landing-account-control-inner {
    width: 100%;
    display: grid;
    justify-items: center;
  }

  .landing-account-control h2 {
    width: 100%;
    justify-content: center;
  }

  .landing-account-control ul {
    margin-inline: auto;
    text-align: left;
  }

  .landing-testimonials ~ .site-steps-section {
    margin-top: 0;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .landing-testimonials-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 12px;
  }

  .landing-testimonials-control {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    justify-self: center;
    padding: 0;
    border: 1px solid rgba(119, 158, 91, 0.58);
    border-radius: 50%;
    background: rgba(7, 11, 9, 0.94);
    color: var(--brand-green);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .landing-testimonials-control:hover {
    border-color: var(--brand-green);
    background: rgba(21, 31, 24, 0.98);
    color: var(--brand-green);
    transform: translateY(-1px);
  }

  .landing-testimonials-control:active {
    transform: translateY(0);
  }

  .landing-testimonials-control:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 3px;
  }

  .landing-testimonials-control > span {
    width: 11px;
    height: 11px;
    display: block;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
  }

  .landing-testimonials-control-prev > span {
    margin-left: 4px;
    transform: rotate(45deg);
  }

  .landing-testimonials-control-next > span {
    margin-right: 4px;
    transform: rotate(225deg);
  }

  .landing-testimonials-viewport {
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
    scroll-padding-inline: 0;
  }
}

@media (max-width: 767px) {
  .site-hero-page .landing-testimonials {
    grid-column: 1 / -1;
    width: calc(100% + 28px);
    margin: 0 -14px;
    padding: 52px 0 44px;
  }

  .landing-testimonials-heading {
    margin-bottom: 34px;
    padding-inline: 6px;
  }

  .landing-testimonials-heading h2 {
    font-size: clamp(19px, 5.9vw, 25px);
    letter-spacing: -0.04em;
    line-height: 1.16;
    white-space: nowrap;
  }

  .landing-testimonials-rating {
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
  }

  .landing-testimonials-rating > strong {
    font-size: 15px;
  }

  .landing-testimonials-rating-stars {
    gap: 3px;
  }

  .landing-testimonials-rating-stars i {
    width: 27px;
    height: 27px;
    font-size: 19px;
  }

  .landing-testimonials-viewport {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .landing-testimonials-track {
    gap: 14px;
  }

  .landing-testimonial-card {
    flex-basis: clamp(286px, 82vw, 326px);
    min-height: 300px;
    padding: 19px 18px 18px;
  }

  .landing-testimonial-quote {
    height: 30px;
    font-size: 48px;
  }

  .landing-testimonial-card blockquote {
    margin: 5px 0 18px;
    font-size: 13px;
    line-height: 1.42;
  }

  .landing-testimonial-author {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .landing-testimonial-author > img {
    width: 40px;
    height: 40px;
  }

  .landing-testimonial-stars {
    font-size: 16px;
    letter-spacing: 0;
  }

  .landing-testimonials-source {
    margin-top: 34px;
    font-size: 13px;
  }

  .landing-account-control {
    padding: 24px 10px 30px;
  }

  .landing-account-control-inner {
    padding: 28px 10px 34px;
    border-radius: 24px;
  }

  .landing-account-control h2 {
    width: calc(100% + 8px);
    margin-inline: -4px;
    flex-direction: row;
    gap: 0.24em;
    font-size: clamp(15.5px, 4.9vw, 21px);
    font-weight: 560;
    line-height: 1.1;
    white-space: nowrap;
  }

  .landing-account-control ul {
    gap: 14px;
    margin-top: 36px;
  }

  .landing-account-control li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 9px;
    font-size: clamp(10px, 3.2vw, 14px);
    line-height: 1.2;
    white-space: nowrap;
  }

  .landing-account-control-check {
    width: 9px;
    height: 16px;
    border-width: 0 2px 2px 0;
  }

  .landing-mobile-protection-section {
    display: block;
    width: 100%;
    padding: 30px 10px 36px;
    background: #ffffff;
    color-scheme: light;
  }

  .landing-mobile-protection-frame {
    width: 100%;
    display: block;
    padding: 28px 14px 14px;
    overflow: hidden;
    border: 1px solid rgba(169, 196, 160, 0.3);
    border-radius: 24px;
    background: #050607;
    box-shadow: 0 18px 48px rgba(5, 6, 7, 0.16);
  }

  .landing-mobile-protection-frame .hero-benefits-mobile-shell[data-mobile-after-reviews] {
    width: 100%;
    padding: 0;
    background: transparent;
  }

  .landing-mobile-protection-frame .hero-benefits-mobile-shell[data-mobile-after-reviews] .hero-benefits-mobile {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .landing-mobile-protection-frame .landing-account-control,
  html[data-theme="light"] .landing-mobile-protection-frame .landing-account-control {
    margin-top: 20px;
    padding: 28px 0 14px;
    border-top: 1px solid rgba(169, 196, 160, 0.22);
    background: transparent;
    color: #f7f8f6;
  }

  .landing-mobile-protection-frame .landing-account-control-inner {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 390px) {
  .landing-testimonial-stars {
    font-size: 14px;
  }

  .landing-testimonial-person strong {
    font-size: 14px;
  }

  .landing-testimonial-person span {
    font-size: 12px;
  }
}

/* Unified sage palette and landing CTA treatment. */
body:has(.site-hero-page) {
  --hero-header-bg: #030404;
}

.site-hero-page .hero-nav {
  position: relative;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--hero-header-bg);
}

.site-hero-page .hero-nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -40px;
  bottom: -1px;
  left: 50%;
  width: 100vw;
  background: var(--hero-header-bg);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-hero-page .hero-nav > * {
  position: relative;
  z-index: 1;
}

.site-hero-page .hero-wordmark strong,
.site-hero-page .hero-mockup-brand strong,
.site-hero-page .hero-inline-brand strong {
  color: var(--brand-green);
}

.site-hero-page .hero-copy > p .hero-inline-brand strong {
  color: inherit;
}

.site-hero-page .hero-nav-cta,
.site-hero-page .hero-mobile-menu-cta,
.site-hero-page .hero-main-cta,
.site-discipline-section .discipline-cta {
  border-radius: 999px;
  background: var(--brand-green);
  color: #071007;
  box-shadow: none;
}

.landing-cta-group {
  width: min(500px, 100%);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
}

.hero-main-cta-group {
  margin-top: 34px;
}

.site-hero-page .hero-main-cta-group .hero-main-cta {
  width: 100%;
  margin-top: 0;
}

.discipline-cta-group {
  margin: 48px auto 0;
}

.site-discipline-section .discipline-cta-group .discipline-cta {
  width: 100%;
  margin-top: 0;
}

.landing-cta-reassurance {
  max-width: 100%;
  margin: 16px 0 0;
  color: var(--hero-muted);
  font-size: clamp(9.5px, 2.8vw, 14px);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.site-hero-page .hero-copy .landing-cta-reassurance,
.site-discipline-section .landing-cta-reassurance {
  width: 100%;
  min-width: 0;
  margin-top: 16px;
  color: var(--hero-muted);
  font-size: clamp(9.5px, 2.8vw, 14px);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

html[data-theme="light"] .site-hero-page .hero-nav,
html[data-theme="light"] .site-hero-page .hero-nav::before {
  background: var(--hero-header-bg);
}

html[data-theme="light"] .site-hero-page .hero-nav-links a,
html[data-theme="light"] .site-hero-page .hero-nav-actions > a:not(.hero-nav-cta),
html[data-theme="light"] .site-hero-page .hero-nav > .hero-wordmark,
html[data-theme="light"] .site-hero-page .hero-nav .hero-mobile-menu-toggle {
  color: #ffffff;
}

html[data-theme="light"] .site-hero-page .hero-nav {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .site-hero-page .hero-nav-cta {
  color: #071007;
}

@media (min-width: 768px) {
  .site-hero-page .hero-main-cta-group {
    margin-top: clamp(24px, 2.4vw, 34px);
  }
}

@media (max-width: 900px) {
  .discipline-cta-group {
    margin-top: 34px;
  }
}

@media (max-width: 767px) {
  .steps-bottom-statement p {
    max-width: 350px;
    margin-inline: auto;
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    white-space: normal;
    text-wrap: balance;
  }

  .site-hero-page .hero-copy > p {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    font-size: 17px;
    text-align: left;
  }

  .site-hero-page .hero-main-cta-group .hero-main-cta {
    min-width: 0;
    padding-inline: 12px;
    font-size: clamp(14px, 4.1vw, 17px);
    white-space: nowrap;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .discipline-card h3,
  .discipline-card p {
    font-family: Inter, Arial, Helvetica, sans-serif;
  }

  .discipline-card p {
    font-size: clamp(11.5px, 3.55vw, 14px);
    line-height: 1.45;
    letter-spacing: -0.015em;
  }

  .discipline-card p br {
    display: none;
  }

  .discipline-copy-line {
    display: block;
    white-space: nowrap;
  }

  .discipline-card .discipline-warning {
    font-weight: 400;
  }

  .site-hero-page .hero-main-cta-group .hero-main-cta,
  .site-discipline-section .discipline-cta-group .discipline-cta {
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 4.1vw, 17px);
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal;
    white-space: nowrap;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

}

/* Keep the embedded pricing cards identical to their original dark treatment. */
html[data-theme="light"] .landing-pricing-section .landing-pricing-card {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 70% 0%, rgba(15, 45, 64, 0.11), transparent 36%),
    var(--pricing-card);
  color: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] .landing-pricing-section .landing-pricing-card.pricing-v2-card-pro {
  border-color: var(--pricing-sage);
  background:
    radial-gradient(circle at 70% 0%, rgba(15, 45, 64, 0.11), transparent 36%),
    var(--pricing-card);
  box-shadow:
    0 0 55px rgba(169, 196, 160, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] .landing-pricing-section .pricing-v2-card h2,
html[data-theme="light"] .landing-pricing-section .pricing-v2-price span {
  color: #ffffff;
}

html[data-theme="light"] .landing-pricing-section .pricing-v2-old,
html[data-theme="light"] .landing-pricing-section .pricing-v2-actions p {
  color: rgba(255, 255, 255, 0.66);
}

html[data-theme="light"] .landing-pricing-section .pricing-v2-description {
  color: rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .landing-pricing-section .pricing-v2-features li {
  color: rgba(255, 255, 255, 0.9);
}

/* Three approved explanatory lines, outside the unchanged hero. */
.landing-video-presentation-heading { display: block; }
.landing-video-presentation .landing-seo-note,
.landing-cold-limits .landing-seo-note,
.landing-account-control .landing-seo-note {
  margin: 14px auto 0;
  max-width: 640px;
  color: #586052;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}
.landing-cold-limits .landing-seo-note { text-align: left; }
.landing-account-control .landing-seo-note-control { color: #c0c9ba; margin-top: 22px; }
.public-site-footer-landing .landing-guides-link { color: inherit; font-size: 14px; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .landing-video-presentation .landing-seo-note { padding-inline: 16px; }
  .landing-cold-limits .landing-seo-note { text-align: center; }
  .landing-account-control .landing-seo-note-control { padding-inline: 12px; }
}

/* Tighten only the white space between the landing prices and their FAQ. */
.landing-pricing-responsive .landing-pricing-section {
  padding-bottom: clamp(44px, 5vw, 68px);
}

.landing-pricing-responsive .st-pricing-section {
  padding-bottom: 48px;
}

/* Landing-only FAQ: native disclosure controls, no carousel or viewport sizing. */
.landing-pricing-faq {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 32px 24px 72px;
  background: #ffffff;
  color: #111513;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.landing-pricing-faq-inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.landing-pricing-faq h2 {
  margin: 0 0 28px;
  color: #111513;
  font-family: inherit;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: none;
}

.landing-pricing-faq-list {
  display: grid;
  gap: 10px;
}

.landing-pricing-faq-item {
  margin: 0;
  border: 1px solid #e3e8e1;
  border-radius: 14px;
  background: #fbfcfa;
}

.landing-pricing-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  box-sizing: border-box;
  padding: 18px 22px;
  border-radius: 14px;
  color: #111513;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.landing-pricing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-pricing-faq-item summary::marker {
  content: "";
}

.landing-pricing-faq-item summary:focus-visible,
.landing-pricing-faq-link:focus-visible {
  outline: 2px solid #62795b;
  outline-offset: 3px;
}

.landing-pricing-faq-toggle {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.landing-pricing-faq-toggle::before,
.landing-pricing-faq-toggle::after {
  content: "";
  position: absolute;
  inset: 9px 3px;
  height: 2px;
  border-radius: 2px;
  background: #62795b;
}

.landing-pricing-faq-toggle::after {
  transform: rotate(90deg);
}

.landing-pricing-faq-item[open] .landing-pricing-faq-toggle::after {
  transform: rotate(0);
}

.landing-pricing-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: #535b52;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

.landing-pricing-faq .landing-pricing-faq-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 6px 0;
  color: #535b52;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .landing-pricing-faq {
    padding: 24px 16px 48px;
  }

  .landing-pricing-faq h2 {
    margin-bottom: 22px;
    font-size: 26px;
  }

  .landing-pricing-faq-item summary {
    gap: 12px;
    padding: 16px;
    font-size: 14px;
  }

  .landing-pricing-faq-item p {
    padding: 0 16px 18px;
    font-size: 14px;
  }
}
