:root {
  --bg: #06080c;
  --surface: #141824;
  --ink: #f4f6fb;
  --muted: #a8b0c0;
  --line: rgba(244, 246, 251, 0.12);
  --blue: #4da3ff;
  --blue-dark: #9cc9ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --radius: 22px;
  --max: 1120px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(77, 163, 255, 0.2), transparent 55%),
    radial-gradient(800px 420px at 92% 0%, rgba(108, 92, 231, 0.14), transparent 50%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
}

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

.nav-links a,
.nav-links button.nav-auth {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links button.nav-auth:hover,
.nav-links button.nav-auth:focus-visible {
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.auth-page-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 44px;
  background: rgba(20, 24, 34, 0.94);
  border: 1px solid rgba(244, 246, 251, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.account-page .section {
  padding: 48px 0 72px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(244, 246, 251, 0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

.auth-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-steps li {
  display: flex;
  align-items: center;
  color: rgba(168, 176, 192, 0.72);
  transition: color 0.15s ease;
}

.auth-steps li:not(:last-child)::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 0 10px;
  background: rgba(244, 246, 251, 0.12);
}

.auth-steps li.is-current {
  color: var(--blue);
}

.auth-panel-header {
  margin-bottom: 32px;
}

.auth-panel-title {
  margin: 18px 0 0;
  max-width: none;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: left;
}

.auth-panel-intro {
  margin-top: 14px;
}

.auth-panel-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.auth-panel-offer {
  margin: 6px 0 0;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.auth-form {
  display: grid;
  gap: 20px;
  max-width: none;
  margin: 0;
}

.auth-form--signup {
  gap: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.auth-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  align-items: start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  margin: 2px 0;
}

.auth-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--blue);
  grid-column: 1;
  grid-row: 1;
}

.auth-check span {
  grid-column: 2;
  grid-row: 1;
}

.auth-check a {
  font-weight: 500;
}

.auth-choices label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.auth-choices input {
  min-height: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}

.auth-promo {
  color: var(--muted);
  font-size: 14px;
  margin: -4px 0 0;
}

.auth-promo summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  list-style: none;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.auth-promo summary::-webkit-details-marker {
  display: none;
}

.auth-promo summary:hover,
.auth-promo summary:focus-visible {
  color: var(--ink);
}

.auth-promo-icon {
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
}

.auth-promo .auth-field {
  margin-top: 12px;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-height: 54px;
  border-radius: 13px;
  border: 1px solid rgba(244, 246, 251, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-form input::placeholder {
  color: rgba(168, 176, 192, 0.55);
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):hover {
  border-color: rgba(244, 246, 251, 0.18);
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):focus {
  outline: none;
  border-color: rgba(77, 163, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.auth-form input:not([type="checkbox"]):not([type="radio"]):invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(234, 67, 53, 0.45);
}

.btn-auth,
.auth-form--signup .btn-auth {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}

.btn-auth:hover:not(:disabled) {
  background: #6eb0ff;
}

.btn-auth:active:not(:disabled) {
  transform: scale(0.985);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(244, 246, 251, 0.1);
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(244, 246, 251, 0.14);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(244, 246, 251, 0.22);
}

.btn-google:active {
  transform: scale(0.985);
}

.btn-google-icon {
  flex-shrink: 0;
}

.auth-switch-wrap {
  margin: 0;
  padding-top: 4px;
  text-align: center;
}

.auth-switch-wrap .auth-switch {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  padding: 0;
  text-align: center;
}

.auth-switch-wrap .auth-switch span {
  color: var(--blue);
  font-weight: 600;
}

.auth-switch-wrap .auth-switch:hover span,
.auth-switch-wrap .auth-switch:focus-visible span {
  color: var(--blue-dark);
}

.auth-forgot-wrap {
  margin: -4px 0 8px;
  text-align: right;
}

.auth-password-reset {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.auth-reset-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.auth-reset-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.auth-reset-message {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.auth-error:empty {
  margin: 0;
  padding: 0;
}

.auth-error:not(:empty) {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(234, 67, 53, 0.08);
  border: 1px solid rgba(234, 67, 53, 0.22);
  color: #f5b8b0;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .card.auth-page-card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .auth-panel-title {
    font-size: clamp(36px, 8vw, 44px);
  }

  .auth-panel-header {
    margin-bottom: 28px;
  }

  .auth-name-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .auth-steps {
    font-size: 10px;
  }

  .auth-steps li:not(:last-child)::after {
    width: 14px;
    margin: 0 8px;
  }

  .account-page .section {
    padding: 32px 0 56px;
  }
}

@media (max-width: 520px) {
  .auth-name-row {
    grid-template-columns: 1fr;
  }
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(7, 9, 13, 0.72);
}

.auth-modal.open {
  display: grid !important;
}

.auth-modal .card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  border: 1px solid rgba(77, 163, 255, 0.22);
}

.auth-modal h2 {
  font-size: 28px;
  margin: 0;
}

.auth-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-modal label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.auth-modal input {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0 14px;
  font-size: 16px;
}

.auth-switch {
  background: none;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px 10px;
  color: var(--ink);
}

.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.8);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  margin: 22px auto 18px;
  max-width: 16ch;
  font-size: clamp(40px, 7vw, 76px);
}

.lede {
  margin: 0 auto 32px;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: #071018;
}

.btn-primary:hover {
  background: #7ab8ff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line);
}

.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.section {
  padding: 88px 0;
}

.section h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 14px;
}

.section-intro {
  max-width: 52ch;
  color: var(--muted);
  margin-bottom: 36px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card,
.glass {
  background: rgba(18, 21, 28, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
}

.card.auth-page-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 44px;
  background: rgba(20, 24, 34, 0.94);
  border: 1px solid rgba(244, 246, 251, 0.08);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card ul {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  padding: 22px;
  min-height: 180px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(36, 56, 92, 0.45);
  color: var(--blue-dark);
  margin-bottom: 16px;
  font-size: 18px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p,
.tech p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq p {
  color: var(--muted);
  margin: 10px 0 0;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.legal {
  padding: 48px 0 80px;
}

.page-title,
.account-page h1 {
  max-width: none;
  margin: 18px 0 16px;
  text-align: left;
  font-size: clamp(36px, 6vw, 64px);
}

.legal h1 {
  max-width: none;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
}

.account-hero {
  text-align: left;
  padding: 64px 0 12px;
}

.account-hero .lede {
  margin-left: 0;
  margin-right: 0;
}

.account-actions {
  justify-content: flex-start;
}

.account-preview {
  padding-top: 24px;
}

.account-preview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.nav-auth-strong {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px !important;
}

.status-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.14);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 650;
}

.legal h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  max-width: 72ch;
}

.reveal {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 16px 20px 22px;
    background: rgba(7, 9, 13, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    animation: none;
  }
}

.nav-chip {
  color: var(--ink);
  font-size: 13px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: relative;
}

.nav-account-btn {
  color: var(--ink);
  background: rgba(77, 163, 255, 0.14);
  border: 1px solid rgba(77, 163, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.account-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 50;
}

.account-menu-panel a,
.account-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 960px) {
  .account-grid,
  .account-preview-grid {
    grid-template-columns: 1fr;
  }
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.billing-switch {
  margin: 0 0 28px;
  text-align: center;
}

.billing-switch-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.92);
  gap: 4px;
}

.billing-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.billing-toggle button[aria-pressed="true"] {
  background: rgba(77, 163, 255, 0.18);
  color: var(--ink);
}

.billing-note,
.billing-annual-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.plan-save {
  margin: -6px 0 12px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.plan-card {
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(18, 21, 28, 0.92);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 163, 255, 0.45);
}

.plan-card h2 {
  margin: 0 0 4px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.plan-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.16);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-db-callout {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(77, 163, 255, 0.14);
  border: 1px solid rgba(77, 163, 255, 0.35);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.plan-card-featured {
  border-color: rgba(77, 163, 255, 0.55);
  box-shadow: 0 18px 50px rgba(77, 163, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(77, 163, 255, 0.16), transparent 48%),
    rgba(18, 21, 28, 0.96);
}

.plan-price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 8px 0 14px;
}

.plan-price span {
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-features {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  flex: 1;
}

.plan-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--line);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.plan-features strong {
  color: var(--ink);
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.compare-wrap {
  margin-top: 56px;
}

.compare-wrap h2 {
  margin: 0 0 8px;
}

.compare-scroll {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 21, 28, 0.86);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}

.compare-table td {
  color: var(--muted);
}

.compare-table thead th:nth-child(3),
.compare-table tbody td:nth-child(3) {
  background: rgba(77, 163, 255, 0.08);
  color: var(--ink);
}

.auth-choices {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.auth-choices legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.auth-choices-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.auth-choices label {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.status-banner {
  margin: 16px 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* —— Landing refinements (Plans design system) —— */

.surface-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(18, 21, 28, 0.92);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.surface-card:hover {
  border-color: rgba(77, 163, 255, 0.35);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  padding: 48px 0 40px;
  text-align: left;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}

.hero-copy .kicker {
  margin: 0;
}

.hero-copy h1 {
  margin: 16px 0 14px;
  max-width: 22ch;
  font-size: clamp(36px, 5.2vw, 60px);
  text-align: left;
  line-height: 1.06;
}

.hero-copy .lede {
  margin: 0 0 24px;
  max-width: 40ch;
  text-align: left;
}

.hero-copy .actions {
  justify-content: flex-start;
}

.hero-offer {
  margin: 14px 0 0;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
}

.hero-visual {
  margin: 0;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(244, 246, 251, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

.section {
  padding: 64px 0;
}

.section-intro {
  margin-bottom: 28px;
}

.section-intro-muted {
  margin-bottom: 20px;
  font-size: 15px;
}

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

.audience-card {
  padding: 26px 24px 22px;
}

.audience-card h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

.audience-card .section-intro {
  margin-bottom: 20px;
  font-size: 16px;
}

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.audience-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.showcase-section h2 {
  max-width: 28ch;
}

.product-showcase {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 251, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    rgba(18, 21, 28, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.product-showcase img {
  width: 100%;
  display: block;
  vertical-align: middle;
}

.feature.surface-card {
  padding: 22px 20px;
  min-height: 0;
}

.feature.surface-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 163, 255, 0.4);
}

.grid {
  gap: 18px;
}

.section-tech {
  padding: 48px 0;
}

.section-tech h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 10px;
}

.security-card {
  padding: 28px 26px;
}

.security-card h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.security-links {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.faq details {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%),
    rgba(18, 21, 28, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 10px;
  transition: border-color 0.18s ease;
}

.faq details:hover {
  border-color: rgba(77, 163, 255, 0.3);
}

.faq details[open] {
  border-color: rgba(77, 163, 255, 0.35);
}

.contact-section {
  padding-bottom: 72px;
}

.contact-card {
  padding: 28px 26px;
}

.contact-card h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.contact-card .section-intro {
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  margin: 0;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy .lede {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .actions {
    justify-content: center;
  }

  .hero-copy .kicker {
    justify-content: center;
  }

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

@media (max-width: 720px) {
  .hero {
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .section {
    padding: 48px 0;
  }
}

.pricing-page {
  padding-top: 48px;
}

.pricing-page .page-title {
  margin-top: 16px;
}

.pricing-page .section-intro {
  max-width: 56ch;
}

.account-subline {
  margin-bottom: 28px;
}

.account-entitlement {
  margin: 8px 0 20px;
  display: grid;
  gap: 6px;
}

.account-entitlement-line {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.4;
}

.account-entitlement-line[data-athlete-usage] {
  color: var(--muted);
  font-weight: 500;
}

.account-card {
  padding: 26px 24px;
}

.account-card h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 10px;
}

.account-plan-label {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.account-plan-detail {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.account-plan-usage {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(77, 163, 255, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.account-usage-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-usage-headline {
  margin: 0;
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.account-usage-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.account-usage-bar-track {
  margin-top: 14px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.account-usage-bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4da3ff, #6ee7a8);
  transition: width 0.35s ease;
}

.account-usage-bar-fill[data-usage-level="high"] {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.account-usage-bar-fill[data-usage-level="full"] {
  background: linear-gradient(90deg, #f87171, #ef4444);
}

.account-usage-foot {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.account-cycle {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.account-cycle p {
  margin: 0 0 6px;
}

.account-card-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.account-connect-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.account-connect-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.account-connect-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-connect-list strong {
  color: var(--ink);
}

.account-boot {
  padding-top: 48px;
  padding-bottom: 64px;
}

.account-boot-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.account-card-actions {
  margin-top: 18px;
}

.account-stack {
  display: grid;
  gap: 20px;
}

.account-card-wide {
  grid-column: 1 / -1;
}

.account-card-session {
  max-width: 520px;
}

.account-steps {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.account-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.account-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.14);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.account-steps strong {
  color: var(--ink);
}

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

.account-connect-tile {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.account-connect-tile h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.connect-status {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.connect-status-hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.account-connect-tile[data-connect-state="ready"] {
  border-color: rgba(72, 187, 120, 0.45);
  background: rgba(72, 187, 120, 0.06);
}

.account-connect-tile[data-connect-state="ready"] .connect-status {
  color: #6ee7a8;
}

.account-connect-tile[data-connect-state="pending"] {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.06);
}

.account-connect-tile[data-connect-state="pending"] .connect-status {
  color: #fbbf24;
}

.account-payment-activity {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.account-activity-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.account-payment-summary {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

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

.account-payment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px 16px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}

.account-payment-main {
  min-width: 0;
}

.account-payment-athlete {
  font-weight: 650;
  color: var(--ink);
}

.account-payment-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.account-payment-amount {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.account-payment-status {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.account-payment-status[data-status="paid"] {
  background: rgba(72, 187, 120, 0.16);
  color: #6ee7a8;
}

.account-payment-status[data-status="pending"],
.account-payment-status[data-status="processing"] {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}

.account-payment-status[data-status="overdue"],
.account-payment-status[data-status="failed"] {
  background: rgba(248, 113, 113, 0.16);
  color: #fca5a5;
}

.account-payment-status[data-status="cancelled"],
.account-payment-status[data-status="refunded"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.account-activity-note,
.account-app-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.coach-code-box {
  margin: 4px 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(77, 163, 255, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.coach-code-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.coach-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.coach-code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.coach-code-copy {
  flex-shrink: 0;
}

.coach-code-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.coach-code-field {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

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

.coach-code-input {
  width: 100%;
  max-width: 320px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.coach-code-rules {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.coach-code-error {
  margin: 0 0 10px;
  color: #fca5a5;
  font-size: 14px;
}

.coach-code-form-actions {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .account-connect-grid {
    grid-template-columns: 1fr;
  }

  .account-payment-item {
    grid-template-columns: 1fr auto;
  }

  .account-payment-amount {
    text-align: right;
  }
}

.account-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.72);
}

.account-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.account-subnav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.account-subnav a.is-active {
  color: var(--ink);
  background: rgba(77, 163, 255, 0.18);
}

#cobros,
#plan,
#atletas {
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

.account-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.account-checklist-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.account-checklist-item.is-done {
  border-color: rgba(72, 187, 120, 0.35);
  background: rgba(72, 187, 120, 0.06);
}

.account-checklist-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: transparent;
}

.account-checklist-item.is-done .account-checklist-mark {
  border-color: rgba(72, 187, 120, 0.55);
  background: rgba(72, 187, 120, 0.18);
  color: #6ee7a8;
}

.account-checklist-item.is-done .account-checklist-mark::before {
  content: "✓";
}

.account-checklist-body {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.account-checklist-body strong {
  color: var(--ink);
  font-size: 15px;
}

.account-checklist-action {
  font-size: 13px;
  font-weight: 650;
  color: var(--blue-dark);
  text-decoration: none;
  white-space: nowrap;
}

.account-checklist-action:hover {
  text-decoration: underline;
}

.account-checklist-note {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.account-checklist-done {
  margin: 14px 0 0;
  color: #6ee7a8;
  font-size: 14px;
  font-weight: 650;
}

.account-link-requests {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.account-link-requests-intro {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.account-link-requests-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.account-link-requests-error {
  margin: 10px 0 0;
  color: #fca5a5;
  font-size: 14px;
}

.account-link-requests-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.account-link-request-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}

.account-link-request-name {
  font-weight: 650;
  color: var(--ink);
}

.account-link-request-meta {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
}

.account-link-request-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-link-request-actions .btn {
  padding: 8px 12px;
  font-size: 13px;
}

@media (max-width: 720px) {
  .account-checklist-item {
    grid-template-columns: 28px 1fr;
  }

  .account-checklist-action,
  .account-checklist-note {
    grid-column: 2;
  }

  .account-link-request-item {
    grid-template-columns: 1fr;
  }

  .account-link-request-actions {
    grid-column: 1;
  }
}
