:root {
  color-scheme: light dark;
  --page-bg: #f7f8fa;
  --page-fg: #1c2430;
  --page-muted: #5b6572;
  --page-line: #d9dee7;
  --page-link: #0a66c2;
  --page-panel: #ffffff;
  --plan-link-hover: rgba(27, 172, 172, 0.14);
  --plan-link-active: rgba(27, 172, 172, 0.26);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #12161d;
    --page-fg: #edf1f7;
    --page-muted: #aeb8c5;
    --page-line: #2e3745;
    --page-link: #8cc8ff;
    --page-panel: #191f29;
    --plan-link-hover: rgba(27, 172, 172, 0.22);
    --plan-link-active: rgba(27, 172, 172, 0.36);
  }
}

body {
  background: var(--page-bg);
  color: var(--page-fg);
}

a {
  width: 190px;
}

.static-page-main {
  min-height: calc(100vh - 80px);
  padding: 56px 22px 72px;
  background: var(--page-bg);
  color: var(--page-fg);
}

.static-page-main a {
  color: var(--page-link);
}

.static-page-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--page-line);
  border-radius: var(--radius);
  background: var(--page-panel);
  box-shadow: var(--shadow-1);
}

.static-page-card h1,
.static-page-card h2 {
  color: var(--primary);
}

.static-page-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.static-page-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.static-page-card p,
.static-page-card li {
  color: var(--page-muted);
}

.static-page-card li + li {
  margin-top: 8px;
}

.static-page-actions {
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.static-page-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(27, 172, 172, 0.25);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.static-page-actions a:hover,
.static-page-actions a:focus-visible {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #ffffff;
  outline: none;
}

.return-login {
  display: none;
}

.return-login[data-visible="true"] {
  display: inline-block;
}

.plans-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.plans-intro p:last-child {
  color: var(--page-muted);
}

.plans-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  padding: 28px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius);
  background: var(--page-panel);
  box-shadow: var(--shadow-1);
}

.plan-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 3rem;
  color: var(--primary);
  text-align: center;
}

.plan-icon {
  width: 0.72em;
  height: 0.72em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.plan-card p {
  margin-bottom: 8px;
  font-size: 2rem;
  text-align: center;
}

.plan-price {
  color: var(--secondary);
  font-size: 2.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-price span {
  padding-left: 2px;
  color: var(--page-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.plan-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--page-muted);
}

.plan-card li + li {
  margin-top: 4px;
}

.plan-card p.plan-price {
  color: var(--secondary);
}

.plan-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  font-size: 1.1rem;
  text-align: center;
}

.plan-actions h3 {
  margin-bottom: 0;
  color: var(--primary);
}

.plan-actions a {
  width: 216px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 6px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.plan-actions a:hover {
  border-color: var(--primary);
  background: var(--plan-link-hover);
  box-shadow: 0 2px 8px rgba(6, 24, 44, 0.16);
}

.plan-actions a:focus-visible {
  border-color: var(--primary);
  background: var(--plan-link-hover);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.plan-actions a:active {
  border-color: var(--primary-dark);
  background: var(--plan-link-active);
  box-shadow: inset 0 2px 4px rgba(6, 24, 44, 0.22);
}

.plan-action-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

hr.primary {
  border-color: var(--muted);
  border-top: 1px;
}

p.list {
  text-align: center; 
  font-size: 0.9rem; 
  color: var(--muted);
}

span.hi {
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--ink);
}



