/*
 * Global base styles.
 */

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fafafa;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Turbo progress bar */
.turbo-progress-bar {
  height: 3px;
  background: #60a5fa;
}

/* ── Admin Header ───────────────────────────────────────────────────────────── */
.admin-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 54px;
  gap: 1.5rem;
}
.admin-logo {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  line-height: 1;
}
.admin-logo span { color: #60a5fa; }
.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.admin-nav-link {
  color: #94a3b8;
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.admin-nav-link:hover { color: white; background: rgba(255,255,255,0.07); }
.admin-nav-link--active { color: white; background: rgba(255,255,255,0.1); }
.admin-nav-group {
  position: relative;
  color: #94a3b8;
  font-size: 0.84rem;
}
.admin-nav-group summary {
  list-style: none;
  cursor: pointer;
  padding: 0.35rem 0.68rem;
  border-radius: 5px;
  white-space: nowrap;
  user-select: none;
}
.admin-nav-group summary::-webkit-details-marker { display: none; }
.admin-nav-group summary::after {
  content: "⌄";
  display: inline-block;
  margin-left: 0.4rem;
  color: #64748b;
  font-size: 0.72rem;
  transform: translateY(-0.05rem);
}
.admin-nav-group[open] summary,
.admin-nav-group summary:hover,
.admin-nav-group--active summary {
  color: white;
  background: rgba(255,255,255,0.08);
}
.admin-nav-group[open] summary::after {
  transform: rotate(180deg) translateY(0.05rem);
}
.admin-nav-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 190px;
  padding: 0.35rem;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}
.admin-nav-menu-link {
  display: block;
  padding: 0.48rem 0.58rem;
  border-radius: 5px;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
}
.admin-nav-menu-link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}
.admin-header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #475569;
  flex-shrink: 0;
}
.admin-header-user form { display: inline; margin: 0; }
.admin-header-user button[type=submit] {
  background: none;
  border: 1px solid #2d3f57;
  color: #64748b;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}
.admin-header-user button[type=submit]:hover { border-color: #475569; color: #94a3b8; }

@media (max-width: 980px) {
  .admin-header-inner {
    height: auto;
    min-height: 54px;
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .admin-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-nav-menu {
    position: static;
    margin-top: 0.3rem;
    box-shadow: none;
  }

  .admin-header-user {
    margin-left: auto;
  }
}

/* ── Newsroom Header ─────────────────────────────────────────────────────────── */
.newsroom-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.newsroom-header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 54px;
  gap: 1.5rem;
}
.newsroom-logo {
  color: #111827;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  line-height: 1;
}
.newsroom-logo span { color: #2563eb; }
.newsroom-nav {
  display: flex;
  gap: 0.125rem;
  flex: 1;
}
.newsroom-nav-link {
  color: #6b7280;
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.newsroom-nav-link:hover { color: #111827; background: #f3f4f6; }
.newsroom-nav-link--active { color: #111827; font-weight: 500; background: #f3f4f6; }
.newsroom-subbar {
  background: #fcfcfd;
  border-bottom: 1px solid #eef2f7;
}
.newsroom-subbar-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0.35rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.newsroom-header-usage {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex: 1 1 480px;
}
.newsroom-header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.newsroom-account-link {
  color: #64748b;
  text-decoration: none;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.newsroom-account-link:hover {
  color: #111827;
  background: #f8fafc;
  border-color: #e2e8f0;
}
.newsroom-account-link--active {
  color: #0f172a;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.newsroom-header-user form { display: inline; margin: 0; }
.newsroom-header-user button[type=submit] {
  background: none;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  padding: 0.18rem 0.48rem;
  border-radius: 4px;
  font-size: 0.74rem;
  cursor: pointer;
  font-family: inherit;
}
.newsroom-header-user button[type=submit]:hover { border-color: #cbd5e1; color: #64748b; }

@media (max-width: 980px) {
  .newsroom-header-inner {
    gap: 1rem;
    height: auto;
    min-height: 54px;
    padding: 0.6rem 2rem;
    flex-wrap: wrap;
  }

  .newsroom-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .newsroom-subbar-inner {
    align-items: flex-start;
  }

  .newsroom-header-user {
    width: 100%;
    justify-content: space-between;
  }
}

/* ── Page chrome ─────────────────────────────────────────────────────────────── */
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  color: #0f172a;
}
tr:hover td { background: #f8fafc !important; }

.brand-period {
  color: #e60000;
}

/* ── Pricing page ────────────────────────────────────────────────────────────── */
.pricing-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}
.pricing-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}
.pricing-logo {
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.pricing-logo span { color: #2563eb; margin: 0 0.1rem; }
.pricing-nav { display: flex; gap: 1.5rem; flex: 1; }
.pricing-nav a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
}
.pricing-nav a:hover { color: #0f172a; }
.pricing-header-actions { display: flex; gap: 0.5rem; }

.pricing-btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.pricing-btn--primary {
  background: #2563eb;
  color: white;
}
.pricing-btn--primary:hover { background: #1d4ed8; }
.pricing-btn--secondary {
  background: white;
  color: #0f172a;
  border-color: #d1d5db;
}
.pricing-btn--secondary:hover { border-color: #9ca3af; }
.pricing-btn--ghost {
  background: transparent;
  color: #374151;
}
.pricing-btn--ghost:hover { background: #f3f4f6; }
.pricing-btn--block {
  display: block;
  width: 100%;
  padding: 0.7rem 1.1rem;
}

.pricing-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #0f172a;
}
.pricing-hero p {
  font-size: 1.15rem;
  color: #475569;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.pricing-hero-note {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  margin-top: 1.25rem !important;
}

.pricing-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: #2563eb;
  border-width: 2px;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.25);
  transform: translateY(-8px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.pricing-card-sub {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: #64748b;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}
.pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-currency {
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}
.pricing-period {
  font-size: 0.95rem;
  color: #94a3b8;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.92rem;
  color: #334155;
  padding-left: 1.4rem;
  position: relative;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 600;
}
.pricing-features li strong {
  color: #0f172a;
  font-weight: 600;
}
.pricing-feature--muted {
  color: #cbd5e1 !important;
}
.pricing-feature--muted::before {
  content: "—" !important;
  color: #cbd5e1 !important;
}

.pricing-overage {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
}

.pricing-features-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid #e5e7eb;
}
.pricing-features-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}
.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-features-grid h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.pricing-features-grid p {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}

.pricing-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.pricing-faq h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}
.pricing-faq details {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.1rem 0;
}
.pricing-faq summary {
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after {
  content: "+";
  color: #94a3b8;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
}
.pricing-faq details[open] summary::after { content: "−"; }
.pricing-faq details p {
  margin: 0.75rem 0 0;
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
}

.pricing-footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
  border-top: 1px solid #e5e7eb;
}
.pricing-footer a { color: #2563eb; text-decoration: none; }
.pricing-footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-features-grid { grid-template-columns: 1fr; }
  .pricing-hero h1 { font-size: 2rem; }
  .pricing-nav { display: none; }
}

/* ── Marketing site ─────────────────────────────────────────────────────────── */
.marketing-body {
  background:
    radial-gradient(circle at top left, rgba(222, 255, 242, 0.9), transparent 34%),
    radial-gradient(circle at right 12%, rgba(255, 214, 186, 0.78), transparent 28%),
    linear-gradient(180deg, #f7f2e8 0%, #fbfaf6 42%, #f3efe4 100%);
  color: #1c1917;
  font-family: Georgia, "Times New Roman", serif;
}

.marketing-body .turbo-progress-bar {
  background: #e36414;
}

.marketing-body p,
.marketing-body li,
.marketing-body input,
.marketing-body button,
.marketing-body label,
.marketing-body summary,
.marketing-body a,
.marketing-body span {
  font-family: "Segoe UI", Arial, sans-serif;
}

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(16px);
  background: rgba(251, 250, 246, 0.82);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.marketing-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.marketing-logo,
.marketing-footer-logo {
  text-decoration: none;
  color: #13110f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.marketing-nav {
  display: flex;
  flex: 1;
  gap: 0.5rem;
  justify-content: center;
}

.marketing-nav-link {
  text-decoration: none;
  color: #57534e;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.marketing-nav-link:hover,
.marketing-nav-link--active {
  background: rgba(28, 25, 23, 0.08);
  color: #13110f;
}

.marketing-header-actions,
.marketing-hero-actions,
.marketing-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.marketing-button:hover {
  transform: translateY(-1px);
}

.marketing-button--primary {
  background: #13110f;
  color: #fffdf8;
  box-shadow: 0 14px 30px -18px rgba(19, 17, 15, 0.85);
}

.marketing-button--primary:hover {
  background: #27221d;
}

.marketing-button--secondary {
  background: #fff9ee;
  color: #13110f;
  border-color: rgba(19, 17, 15, 0.12);
}

.marketing-button--secondary:hover {
  border-color: rgba(19, 17, 15, 0.28);
}

.marketing-button--ghost {
  background: transparent;
  color: #2c2824;
  border-color: rgba(19, 17, 15, 0.12);
}

.marketing-button--ghost:hover {
  background: rgba(255, 255, 255, 0.58);
}

.marketing-button--block {
  width: 100%;
}

.marketing-body--simple {
  min-height: 100vh;
  background: #f7f8fa;
  color: #171717;
}

.marketing-body--simple .marketing-header {
  position: relative;
  background: rgba(247, 248, 250, 0.94);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.minimal-home-shell {
  min-height: calc(100vh - 79px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 6.5rem 2rem 4rem;
  display: flex;
  align-items: center;
}

.minimal-home {
  max-width: 680px;
}

.minimal-home-kicker {
  margin: 0 0 1rem;
  color: #4f46e5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.minimal-home h1 {
  margin: 0 0 1.35rem;
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: 0;
}

.minimal-home p {
  max-width: 38rem;
  margin: 0 0 0.85rem;
  color: #374151;
  font-size: 1.12rem;
  line-height: 1.75;
}

.minimal-home-actions {
  margin-top: 1.8rem;
}

.marketing-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.marketing-hero {
  padding: 4.5rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.marketing-hero--compact {
  padding-bottom: 1.5rem;
}

.marketing-eyebrow {
  margin: 0 0 0.9rem;
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.marketing-hero h1,
.marketing-section-heading h2,
.marketing-cta h2,
.auth-panel--editorial h1 {
  margin: 0;
  color: #13110f;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.marketing-hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  max-width: 9ch;
}

.marketing-lead,
.marketing-section-heading p,
.marketing-hero-panel p,
.marketing-feature-card p,
.marketing-editorial-card p,
.marketing-steps p,
.marketing-footer p,
.auth-panel--editorial p {
  color: #57534e;
  font-size: 1.06rem;
  line-height: 1.7;
}

.marketing-lead {
  max-width: 42rem;
  margin: 1.4rem 0 0;
}

.marketing-proof-strip {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.marketing-proof-strip li,
.marketing-chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid rgba(19, 17, 15, 0.08);
  color: #2c2824;
  font-size: 0.85rem;
  font-weight: 600;
}

.marketing-hero-visual,
.marketing-hero-panel {
  position: relative;
}

.marketing-editorial-card,
.marketing-hero-panel,
.marketing-feature-card,
.pricing-card,
.auth-card {
  border-radius: 28px;
  border: 1px solid rgba(19, 17, 15, 0.08);
  background: rgba(255, 252, 246, 0.82);
  box-shadow: 0 24px 60px -42px rgba(24, 22, 20, 0.6);
}

.marketing-editorial-card {
  padding: 1.5rem;
}

.marketing-editorial-card--large {
  min-height: 360px;
  background:
    linear-gradient(160deg, rgba(19, 17, 15, 0.95), rgba(56, 48, 42, 0.86)),
    rgba(19, 17, 15, 0.95);
  color: #fff8ee;
}

.marketing-editorial-card--large h2 {
  margin: 1.3rem 0 0.85rem;
  font-size: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.marketing-editorial-card--large p,
.marketing-editorial-card--large span,
.marketing-editorial-card--large li {
  color: rgba(255, 248, 238, 0.82);
}

.marketing-editorial-card--accent {
  margin-top: 1rem;
  margin-left: 4rem;
  background: linear-gradient(180deg, #f8dfcf 0%, #f6ede1 100%);
}

.marketing-editorial-card--accent ul,
.marketing-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: #3f3a35;
}

.marketing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.marketing-stats div {
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.marketing-stats strong {
  display: block;
  font-size: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
}

.marketing-stats span {
  font-size: 0.82rem;
}

.marketing-card-label,
.pricing-tier,
.auth-kicker {
  margin: 0;
  color: #9a3412;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.marketing-hero-panel,
.marketing-section,
.marketing-cta {
  margin-top: 1.3rem;
}

.marketing-hero-panel {
  padding: 1.6rem;
}

.marketing-hero-panel--quote {
  background: linear-gradient(180deg, #f6ddc2 0%, #fffaf3 100%);
}

.marketing-hero-panel--quote span {
  display: inline-block;
  margin-top: 1rem;
  color: #78716c;
  font-size: 0.9rem;
}

.marketing-section {
  padding: 2rem 0;
}

.marketing-section--narrow {
  max-width: 840px;
  margin: 0 auto;
}

.marketing-section-heading {
  max-width: 840px;
  margin-bottom: 1.8rem;
}

.marketing-section-heading h2,
.marketing-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.marketing-bento-grid,
.marketing-feature-grid {
  display: grid;
  gap: 1rem;
}

.marketing-bento-grid {
  grid-template-columns: repeat(12, 1fr);
}

.marketing-bento-grid > *:nth-child(1) { grid-column: span 7; }
.marketing-bento-grid > *:nth-child(2) { grid-column: span 5; }
.marketing-bento-grid > *:nth-child(3) { grid-column: span 4; }
.marketing-bento-grid > *:nth-child(4) { grid-column: span 4; }
.marketing-bento-grid > *:nth-child(5) { grid-column: span 4; }

.marketing-feature-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-feature-card {
  padding: 1.45rem;
}

.marketing-feature-card h3,
.pricing-card-header h2,
.auth-card h2 {
  margin: 0.45rem 0 0.6rem;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #13110f;
  font-family: Georgia, "Times New Roman", serif;
}

.marketing-feature-card--wide {
  min-height: 260px;
}

.marketing-feature-card--dark {
  background: linear-gradient(180deg, #161311 0%, #2e2620 100%);
}

.marketing-feature-card--dark h3,
.marketing-feature-card--dark p,
.marketing-feature-card--dark .marketing-card-label {
  color: #fff8ee;
}

.marketing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.marketing-steps article {
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(19, 17, 15, 0.14);
}

.marketing-steps span {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: #9a3412;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.marketing-steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  color: #13110f;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.marketing-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, #13110f 0%, #2f2722 54%, #8c2f0f 100%);
  color: #fffaf3;
}

.marketing-cta .marketing-eyebrow,
.marketing-cta h2,
.marketing-cta p {
  color: #fffaf3;
}

.marketing-faq-list details {
  border-bottom: 1px solid rgba(19, 17, 15, 0.12);
  padding: 1.2rem 0;
}

.marketing-faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #13110f;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marketing-faq-list summary::-webkit-details-marker {
  display: none;
}

.marketing-faq-list summary::after {
  content: "+";
  color: #a8a29e;
  font-size: 1.5rem;
  font-weight: 300;
}

.marketing-faq-list details[open] summary::after {
  content: "−";
}

.marketing-faq-list p {
  margin: 0.7rem 0 0;
  color: #57534e;
  line-height: 1.7;
}

.marketing-footer {
  border-top: 1px solid rgba(19, 17, 15, 0.1);
  background: rgba(255, 251, 245, 0.55);
}

.marketing-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
}

.marketing-footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: #13110f;
  font-family: "Segoe UI", Arial, sans-serif;
}

.marketing-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.marketing-footer li + li {
  margin-top: 0.55rem;
}

.marketing-footer a {
  color: #57534e;
  text-decoration: none;
}

.marketing-footer a:hover {
  color: #13110f;
}

.pricing-grid--marketing {
  align-items: stretch;
}

.pricing-grid--marketing .pricing-card {
  padding: 1.8rem;
}

.pricing-grid--marketing .pricing-card--featured {
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
  border-color: #e36414;
  box-shadow: 0 24px 50px -34px rgba(227, 100, 20, 0.45);
}

.pricing-badge {
  background: #e36414;
}

.pricing-card-sub {
  color: #57534e;
}

.pricing-features {
  margin-bottom: 0;
}

.pricing-features li {
  color: #3f3a35;
}

.auth-body .marketing-header {
  position: relative;
}

.auth-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.4rem;
  align-items: stretch;
}

.auth-panel {
  border-radius: 32px;
}

.auth-panel--editorial {
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(19, 17, 15, 0.96), rgba(57, 47, 39, 0.88));
  color: #fff8ee;
  min-height: 620px;
}

.auth-panel--editorial h1,
.auth-panel--editorial p,
.auth-panel--editorial .marketing-eyebrow {
  color: #fff8ee;
}

.auth-benefits {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.auth-benefits article {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.auth-benefits strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.auth-benefits span {
  color: rgba(255, 248, 238, 0.76);
}

.auth-panel--form {
  display: flex;
}

.auth-card {
  width: 100%;
  padding: 2rem;
  background: rgba(255, 252, 246, 0.92);
}

.auth-form {
  margin-top: 1.5rem;
}

.auth-field {
  margin-bottom: 1rem;
}

.auth-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #292524;
}

.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 17, 15, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #13110f;
}

.auth-field input:focus {
  outline: 2px solid rgba(227, 100, 20, 0.22);
  border-color: rgba(227, 100, 20, 0.55);
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.8rem 0 1.3rem;
  color: #57534e;
  font-size: 0.92rem;
}

.auth-checkbox input {
  width: 16px;
  height: 16px;
}

.auth-submit {
  margin-top: 0.25rem;
}

.auth-links {
  margin-top: 1rem;
  color: #57534e;
  font-size: 0.95rem;
}

.auth-links a {
  color: #9a3412;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .marketing-hero,
  .auth-shell,
  .marketing-footer-inner,
  .marketing-feature-grid--three,
  .marketing-steps {
    grid-template-columns: 1fr;
  }

  .marketing-bento-grid {
    grid-template-columns: 1fr;
  }

  .marketing-bento-grid > * {
    grid-column: auto !important;
  }

  .marketing-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .marketing-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .marketing-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .marketing-shell,
  .auth-shell,
  .minimal-home-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .minimal-home-shell {
    padding-top: 4rem;
    align-items: flex-start;
  }

  .marketing-hero {
    padding-top: 3rem;
  }

  .marketing-hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .marketing-editorial-card--accent {
    margin-left: 0;
  }

  .marketing-stats {
    grid-template-columns: 1fr;
  }

  .auth-panel--editorial,
  .auth-card {
    padding: 1.5rem;
  }
}
