/* ===== Auth screen ===== */
.auth-screen {
  position: relative; z-index: 1;
  min-height: 100%;
  display: grid; place-items: center;
  padding: 40px 20px;
  overflow: auto;
}
/* Two-column stage: brand showcase + form card (desktop) */
.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: stretch;
  gap: 0;
  width: min(940px, 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 60px 120px -20px oklch(0 0 0 / 0.6), 0 0 0 1px var(--accent-line);
}
.auth-aside {
  position: relative;
  padding: 40px 38px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 80% at 0% 0%, oklch(0.82 0.13 78 / 0.12), transparent 60%),
    linear-gradient(165deg, oklch(0.2 0.02 80), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-right: 0;
}
.auth-aside-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--ink);
}
.auth-aside-brand .mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: conic-gradient(from 210deg, var(--accent) 0%, oklch(0.55 0.13 60) 35%, oklch(0.32 0.08 260) 70%, var(--accent) 100%);
  box-shadow: inset 0 0 0 1px oklch(0.95 0 0 / 0.2), 0 0 18px var(--accent-soft);
}
.auth-aside-head {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1.15; letter-spacing: -0.025em;
  color: var(--ink); margin: 28px 0 12px;
}
.auth-aside-sub {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-3);
  margin: 0 0 22px; max-width: 38ch;
}
.auth-aside-list {
  list-style: none; padding: 0; margin: 0 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.auth-aside-list li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  align-items: start;
  font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.auth-aside-list .auth-ck {
  width: 18px; height: 18px; border-radius: 50%;
  margin-top: 1px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-aside-foot {
  display: flex; gap: 26px; margin-top: 30px;
  padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.auth-aside-stat { display: flex; flex-direction: column; gap: 2px; }
.auth-aside-stat strong {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--accent); letter-spacing: -0.02em;
}
.auth-aside-stat span {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4);
}
.auth-card {
  width: 100%;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 36px 36px 28px;
  position: relative;
  min-width: 0;
}
.auth-trust .ck-lock { flex-wrap: wrap; }
@media (max-width: 860px) {
  .auth-stage {
    grid-template-columns: 1fr;
    width: min(440px, 100%);
    border-radius: 20px;
  }
  .auth-aside { display: none; }
  .auth-card { width: 100%; border-radius: 20px; }
}
.auth-back {
  appearance: none; border: 0; background: transparent;
  color: var(--ink-3); font-size: 12px;
  margin-bottom: 18px; cursor: pointer;
  padding: 0; white-space: nowrap;
}
.auth-back:hover { color: var(--ink); }
/* Forgot-password link in the password label row: never wrap, stay tidy */
.auth-field .auth-link { white-space: nowrap; font-size: 11px; }
.auth-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.auth-brand .mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: conic-gradient(from 210deg, var(--accent) 0%, oklch(0.55 0.13 60) 35%, oklch(0.32 0.08 260) 70%, var(--accent) 100%);
  box-shadow: inset 0 0 0 1px oklch(0.95 0 0 / 0.2), 0 0 18px var(--accent-soft);
}
.auth-head h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; letter-spacing: -0.025em;
  margin: 14px 0 6px;
}
.auth-head p {
  color: var(--ink-3); font-size: 13px; line-height: 1.5;
  margin: 0;
}
.auth-oauth {
  display: grid; gap: 8px; margin-top: 22px;
}
.oauth-btn {
  appearance: none; border: 1px solid var(--line-soft);
  background: var(--bg-1); color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.oauth-btn:hover { background: var(--bg-2); border-color: var(--line); transform: translateY(-1px); }
.auth-divider {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px;
  margin: 18px 0 14px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.auth-divider span:first-child, .auth-divider span:last-child {
  height: 1px; background: var(--line-soft);
}
.auth-form {
  display: flex; flex-direction: column; gap: 12px;
}
.auth-field {
  display: flex; flex-direction: column; gap: 5px;
}
.auth-field label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.auth-field input {
  appearance: none;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.auth-pw-strength {
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; color: var(--ink-3); margin-top: 4px;
}
.auth-pw-strength .bar {
  flex: 1; height: 3px; border-radius: 99px;
  background: var(--bg-3); overflow: hidden;
}
.auth-pw-strength .bar > div {
  height: 100%; border-radius: 99px;
  transition: width .25s ease, background .25s ease;
}
.auth-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--ink-3); line-height: 1.5;
  cursor: pointer;
}
.auth-check input {
  margin-top: 2px;
  accent-color: var(--accent);
}
.auth-check a {
  color: var(--accent); text-decoration: none; cursor: pointer;
}
.auth-error {
  background: oklch(0.7 0.19 27 / 0.12);
  border: 1px solid oklch(0.7 0.19 27 / 0.4);
  color: oklch(0.85 0.1 27);
  padding: 10px 12px; border-radius: 8px;
  font-size: 12px;
}
.auth-submit {
  margin-top: 6px;
  padding: 12px 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.auth-foot {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px dashed var(--line-soft);
  text-align: center; color: var(--ink-3); font-size: 13px;
}
.auth-link {
  appearance: none; border: 0; background: transparent;
  color: var(--accent); font-size: inherit; cursor: pointer;
  padding: 0; text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }
.auth-trust {
  margin-top: 16px; text-align: center;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase;
}
.auth-owner-skip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-line);
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--accent);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.auth-owner-skip:hover {
  background: oklch(0.82 0.13 78 / 0.22);
  border-style: solid;
}

/* ===== Settings ===== */
.settings-page {
  max-width: 1240px; margin: 0 auto;
  padding: 28px 28px 60px;
}
.settings-head {
  display: flex; gap: 22px; align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 24px;
}
.settings-head h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.025em; margin: 0;
}
.settings-body {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px;
  align-items: start;
}
.settings-nav {
  display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 78px;
}
.settings-nav-item {
  appearance: none; border: 0; background: transparent;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: var(--ink-3);
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.settings-nav-item:hover { background: var(--bg-2); color: var(--ink); }
.settings-nav-item[data-active="true"] {
  background: var(--bg-2); color: var(--ink);
  box-shadow: inset 2px 0 0 0 var(--accent);
}
.settings-nav-sep {
  height: 1px; background: var(--line-soft); margin: 10px 0;
}
.settings-content {
  display: flex; flex-direction: column; gap: 20px;
}
.settings-section {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--bg-1);
  overflow: hidden;
}
.settings-section-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.settings-section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; letter-spacing: -0.01em;
  margin: 0;
}
.settings-section-head p {
  color: var(--ink-3); font-size: 12px; margin: 4px 0 0;
}
.settings-section-body {
  padding: 18px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.settings-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 18px; align-items: start;
}
.settings-row-label {
  font-size: 13px; color: var(--ink); padding-top: 8px;
}
.settings-row-label .hint {
  font-size: 11px; color: var(--ink-3); margin-top: 4px; font-weight: 400;
}
.settings-input {
  appearance: none; width: 100%;
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 9px 12px;
  color: var(--ink); font-family: var(--font-body); font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.settings-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.settings-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.42 0.12 280));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: oklch(0.18 0.02 80);
  box-shadow: 0 0 0 3px var(--bg-1), 0 0 0 4px var(--line-soft);
}
.settings-toggle {
  appearance: none; border: 1px solid var(--line);
  background: var(--bg); border-radius: 999px;
  padding: 4px 12px 4px 4px;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; color: var(--ink-3);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.settings-toggle span:first-child {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink-3);
  transition: background .2s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.settings-toggle.on {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.settings-toggle.on span:first-child {
  background: var(--accent); transform: translateX(2px);
  box-shadow: 0 0 10px var(--accent);
}

.plan-card {
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-soft), transparent);
  padding: 22px;
}
.plan-card-row {
  display: flex; justify-content: space-between; align-items: start;
}
.plan-card-tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--accent);
}
.plan-card-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em;
  margin-top: 4px;
}
.plan-card-meta {
  color: var(--ink-3); font-size: 12px; margin-top: 6px;
}
.plan-card-price {
  font-family: var(--font-display);
  display: inline-flex; align-items: baseline; gap: 2px;
}
.plan-card-price .cur { font-size: 16px; color: var(--ink-3); }
.plan-card-price .amt { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; }
.plan-card-price .per { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.plan-card-actions {
  display: flex; gap: 10px; margin-top: 18px;
}

.pm-card {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg);
}
.pm-brand {
  font-family: var(--font-display); font-weight: 800;
  font-size: 14px; letter-spacing: 0.06em;
  padding: 6px 10px; border-radius: 6px;
  background: linear-gradient(135deg, oklch(0.32 0.04 260), oklch(0.18 0.02 260));
  color: var(--ink);
}
.pm-num {
  font-family: var(--font-mono); font-size: 14px;
}
.pm-exp {
  color: var(--ink-3); font-size: 11px; margin-top: 3px;
}

.invoice-table {
  width: 100%; border-collapse: collapse;
}
.invoice-table th {
  text-align: left;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.invoice-table td {
  padding: 12px;
  font-size: 13px; color: var(--ink-2);
  border-bottom: 1px dashed var(--line-soft);
}
.invoice-table tr:last-child td { border-bottom: 0; }
.invoice-status {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 4px;
}
.invoice-status.paid {
  color: var(--up); background: oklch(0.78 0.16 152 / 0.12);
  border: 1px solid oklch(0.78 0.16 152 / 0.3);
}
.invoice-status.trial {
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.api-stat {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px;
  background: var(--bg);
}
.api-stat-l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.api-stat-v { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin-top: 6px; }
.api-stat-d { color: var(--ink-3); font-size: 11px; margin-top: 2px; }
.role-pill {
  font-family: var(--font-mono); font-size: 10px;
  padding: 3px 7px; border-radius: 4px;
  background: var(--bg-2); border: 1px solid var(--line-soft);
}

/* ===== Legal modal ===== */
.legal-overlay {
  position: fixed; inset: 0; z-index: 96;
  background: oklch(0.08 0.005 260 / 0.7);
  backdrop-filter: blur(14px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadein 0.25s ease;
}
.legal-card {
  width: min(1080px, 100%); height: min(720px, calc(100vh - 48px));
  display: grid; grid-template-columns: 240px 1fr;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 120px -20px oklch(0 0 0 / 0.7), 0 0 0 1px var(--accent-line);
  animation: onb-pop .35s cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.legal-nav {
  background: var(--bg);
  border-right: 1px solid var(--line-soft);
  padding: 24px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.legal-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  margin-bottom: 18px;
}
.legal-brand .mark {
  width: 18px; height: 18px; border-radius: 5px;
  background: conic-gradient(from 210deg, var(--accent) 0%, oklch(0.55 0.13 60) 35%, oklch(0.32 0.08 260) 70%, var(--accent) 100%);
}
.legal-nav-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 10px 10px;
}
.legal-nav-item {
  appearance: none; border: 0; background: transparent;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: var(--ink-3);
  cursor: pointer; text-align: left;
  transition: background .15s ease, color .15s ease;
}
.legal-nav-item:hover { background: var(--bg-2); color: var(--ink); }
.legal-nav-item[data-active="true"] {
  background: var(--bg-2); color: var(--ink);
  box-shadow: inset 2px 0 0 0 var(--accent);
}
.legal-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 4px;
  color: var(--ink-3); font-size: 10px; letter-spacing: 0.08em;
}
.legal-body {
  padding: 36px 44px;
  overflow-y: auto;
}
.legal-eyebrow {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--accent); text-transform: uppercase;
}
.legal-body h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.025em;
  margin: 6px 0 22px;
}
.legal-body section { margin-bottom: 22px; }
.legal-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.legal-body p {
  color: var(--ink-2); font-size: 13px; line-height: 1.65;
  margin: 0;
}
.legal-bottom {
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-3);
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 920px; margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.7);
  z-index: 80;
  animation: cookie-in .4s cubic-bezier(.2,.7,.2,1);
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-text {
  flex: 1;
  font-size: 13px; line-height: 1.5;
  color: var(--ink-2);
}
.cookie-text strong { color: var(--ink); }
.cookie-actions {
  display: flex; gap: 8px;
  flex-shrink: 0;
}

/* ===== 404 ===== */
.nf-page {
  max-width: 720px; margin: 60px auto;
  padding: 60px 40px;
  text-align: center; position: relative;
}
.nf-code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(120px, 18vw, 200px);
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(120deg, var(--accent) 30%, oklch(0.92 0.08 80) 60%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}
.nf-page h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 36px; letter-spacing: -0.025em; margin: 0 0 12px;
}
.nf-page p {
  color: var(--ink-3); font-size: 14px; line-height: 1.6;
  max-width: 460px; margin: 0 auto;
}
.nf-art {
  position: relative; height: 200px; margin: 40px auto 0;
  width: 200px;
}

/* ===== Email waitlist ===== */
.waitlist {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 4px 4px 4px 16px;
  max-width: 460px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.waitlist:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.waitlist input {
  flex: 1;
  appearance: none; border: 0; background: transparent;
  font-family: var(--font-body); font-size: 14px;
  color: var(--ink);
  outline: 0;
  padding: 10px 0;
}
.waitlist input::placeholder { color: var(--ink-3); }
.waitlist button {
  padding: 10px 16px; border-radius: 8px;
  font-size: 13px;
}

/* ===== Language picker ===== */
.lang-picker { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px !important;
}
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 190px; z-index: 2000;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 50px oklch(0 0 0 / 0.55), 0 0 0 1px oklch(0 0 0 / 0.25);
  padding: 4px;
  animation: fadein .15s ease;
  overflow: hidden;
  isolation: isolate;
}
/* Aquí había seis declaraciones SUELTAS, sin selector delante, cerradas por su
   propia llave: un resto de una regla que se borró a medias. El navegador las
   descarta y sigue, así que no daba error visible — pero la recuperación puede
   arrastrarse la regla siguiente. `.lang-menu` de arriba ya tiene el fondo, el
   borde y la sombra equivalentes, así que no se pierde nada. */
.lang-menu-item {
  appearance: none; border: 0; background: transparent;
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 7px;
  font-size: 13px; color: var(--ink-2);
  cursor: pointer;
}
.lang-menu-item:hover { background: var(--bg-2); color: var(--ink); }
.lang-menu-item[data-active="true"] {
  background: var(--accent-soft); color: var(--ink);
}
.lang-menu-item[data-active="true"] .mono { color: var(--accent); }
/* ===== Avatar menu (account dropdown) ===== */
.avatar-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 260px; z-index: 2000;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 60px -10px oklch(0 0 0 / 0.7), 0 0 0 1px oklch(0 0 0 / 0.4);
  padding: 6px;
  animation: fadein .2s ease;
  overflow: hidden;
  isolation: isolate;
}
.avatar-menu-head {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 6px;
}
.avatar-menu-item {
  appearance: none; border: 0; background: transparent;
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2);
  cursor: pointer;
}
.avatar-menu-item:hover {
  background: var(--bg-2); color: var(--ink);
}
.avatar-menu-sep {
  height: 1px; background: var(--line-soft); margin: 6px 4px;
}
@media (max-width: 880px) {
  .settings-body { grid-template-columns: 1fr; }
  .settings-nav {
    flex-direction: row; flex-wrap: wrap;
    overflow-x: auto; position: static;
    padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
  }
  .settings-nav-item { flex-shrink: 0; }
  .settings-row { grid-template-columns: 1fr; }
  .legal-card { grid-template-columns: 1fr; height: calc(100vh - 48px); }
  .legal-nav { display: none; }
}

@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column; align-items: stretch;
  }
  .cookie-actions { justify-content: space-between; }
}


/* ══════════════════════════════════════════════════════════════════
   LANDING PAGE DESIGN UPGRADE — June 2026
   ══════════════════════════════════════════════════════════════════ */

/* Hero: more cinematic gradient mesh */
.hero {
  background:
    radial-gradient(ellipse 140% 100% at 50% -20%, oklch(0.22 0.05 265 / 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 120%, oklch(0.20 0.08 65 / 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 10% 80%, oklch(0.18 0.06 200 / 0.08) 0%, transparent 45%) !important;
}

/* Pricing cards: more premium */
.pricing-card {
  background: linear-gradient(145deg, oklch(0.115 0.009 258), oklch(0.085 0.007 258)) !important;
  border: 1px solid oklch(0.20 0.012 258) !important;
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.5), 0 1px 0 oklch(0.28 0.018 258 / 0.4) inset !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.pricing-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 32px 80px oklch(0 0 0 / 0.6), 0 1px 0 oklch(0.80 0.155 70 / 0.15) inset !important;
}
.pricing-card.featured {
  border-color: oklch(0.80 0.155 70 / 0.35) !important;
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.5), 0 0 40px oklch(0.80 0.155 70 / 0.08), 0 1px 0 oklch(0.80 0.155 70 / 0.25) inset !important;
}

/* Testimonial cards: glass effect */
.quote-card {
  background: linear-gradient(135deg, oklch(0.14 0.010 258 / 0.8), oklch(0.10 0.008 258 / 0.6)) !important;
  border: 1px solid oklch(0.22 0.012 258) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.35) !important;
}

/* Section dividers: architectural lines */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.28 0.015 258), transparent);
  margin: 0;
}

/* How-it-works steps: numbered with precision */
.how-step {
  border-left: 2px solid oklch(0.22 0.012 258);
  padding-left: 24px;
}
.how-step:hover {
  border-left-color: var(--accent);
}

/* Feature cards: hover glow */
.feature-card {
  background: linear-gradient(145deg, oklch(0.12 0.009 258), oklch(0.09 0.007 258)) !important;
  border: 1px solid oklch(0.18 0.010 258) !important;
  transition: all 0.25s ease !important;
}
.feature-card:hover {
  border-color: oklch(0.80 0.155 70 / 0.25) !important;
  box-shadow: 0 16px 48px oklch(0 0 0 / 0.45), 0 0 0 1px oklch(0.80 0.155 70 / 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Comparison table: cleaner */
.compare-table td, .compare-table th {
  border-bottom-color: oklch(0.16 0.010 258) !important;
}
.compare-table tr:hover td {
  background: oklch(0.80 0.155 70 / 0.03) !important;
}

/* CTA button: more premium */
.cta-primary {
  background: linear-gradient(135deg, oklch(0.80 0.155 70), oklch(0.74 0.145 62)) !important;
  box-shadow: 0 8px 32px oklch(0.80 0.155 70 / 0.3), 0 1px 0 oklch(0.95 0.08 80 / 0.5) inset !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
}
.cta-primary:hover {
  box-shadow: 0 12px 48px oklch(0.80 0.155 70 / 0.4), 0 1px 0 oklch(0.95 0.08 80 / 0.6) inset !important;
  transform: translateY(-2px) !important;
}

/* Stats section: bigger numbers */
.stats-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer: cleaner bottom */
.footer-base {
  background: oklch(0.065 0.007 258) !important;
  border-top: 1px solid oklch(0.16 0.010 258) !important;
}
