/* ClosingLane Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --slate-950: #0a0f1a;
  --slate-900: #111827;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --gold-500: #d4a853;
  --gold-400: #e4be6a;
  --gold-300: #f0d48a;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --red-500: #ef4444;
  --red-400: #f87171;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--slate-950);
  color: var(--slate-300);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
}

a { color: var(--gold-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-300); }

/* Nav */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  backdrop-filter: blur(20px);
  background: rgba(10, 15, 26, 0.9);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.logo span { color: var(--gold-500); }
.logo a { color: inherit; text-decoration: none; }
.logo a:hover { color: inherit; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: color 0.2s;
  font-weight: 500;
}

.nav-links a:hover { color: #fff; }

.nav-links a.nav-cta {
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-links a.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
}

/* Phone number in nav */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-400) !important;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--gold-300) !important; }
.nav-phone .phone-icon { font-size: 0.85rem; }
.nav-phone .phone-avail {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--slate-400);
  margin-left: 0.25rem;
}

/* Footer contact block */
.footer-contact {
  margin-bottom: 1.25rem;
}
.footer-contact a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-contact a:hover { color: var(--gold-300); }
.footer-contact .footer-avail {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500, #64748b);
  margin-top: 0.25rem;
}

/* Mobile nav phone link */
.nav-mobile .nav-mobile-phone {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400) !important;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Inquiry page — phone callout */
.phone-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 10px;
  margin-bottom: 2rem;
}
.phone-callout .phone-callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.phone-callout .phone-callout-text {
  flex: 1;
}
.phone-callout .phone-callout-text a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-400);
  display: block;
  margin-bottom: 0.1rem;
}
.phone-callout .phone-callout-text span {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 1rem;
  color: var(--slate-300);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-mobile a:last-child { border-bottom: none; }

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

/* Page Header */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header .section-label {
  font-size: 0.75rem;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.page-header h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--slate-400);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Content Section */
.content-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(212, 168, 83, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(212, 168, 83, 0.2);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.info-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.info-card .value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}

.info-card .label {
  font-size: 0.85rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tag */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tag.gold {
  color: var(--gold-400);
  background: rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.15);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  color: var(--slate-950);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--gold-400);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
}

.btn-secondary:hover {
  background: rgba(212, 168, 83, 0.15);
  color: var(--gold-300);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-300);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group label .required {
  color: var(--gold-500);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-500);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-600);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' fill='none' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--slate-900);
  color: #fff;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Detail list */
.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}

.detail-list li:last-child { border-bottom: none; }

.detail-list .bullet {
  color: var(--gold-500);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(212, 168, 83, 0.04));
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: 24px;
  padding: 4rem 3rem;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--slate-400);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Calculator */
.calc-container {
  max-width: 900px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.calc-inputs { }

.calc-results {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(212, 168, 83, 0.04));
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}

.calc-results h3 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.dscr-display {
  text-align: center;
  margin-bottom: 2rem;
}

.dscr-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dscr-value.good { color: var(--emerald-400); }
.dscr-value.warning { color: var(--gold-400); }
.dscr-value.bad { color: var(--red-400); }

.dscr-label {
  font-size: 0.85rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dscr-verdict {
  text-align: center;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.dscr-verdict.good {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.dscr-verdict.warning {
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.15);
  color: var(--gold-400);
}

.dscr-verdict.bad {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: var(--red-400);
}

.calc-breakdown {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.calc-breakdown-row .label { color: var(--slate-400); }
.calc-breakdown-row .value { color: #fff; font-weight: 500; font-family: 'Space Grotesk', sans-serif; }
.calc-breakdown-row.total {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

/* Success State */
.success-msg {
  display: none;
  text-align: center;
  padding: 3rem;
}

.success-msg.show { display: block; }

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-msg h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-msg p {
  color: var(--slate-400);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Alert */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: none;
}

.alert.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: var(--red-400);
}

.alert.show { display: block; }

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--slate-600);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--slate-400); }

footer .copyright {
  font-size: 0.8rem;
  color: var(--slate-700);
}

/* ============================================================
   Blog Listing
   ============================================================ */
.blog-listing {
  max-width: 800px;
}

.blog-card {
  display: block;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(212, 168, 83, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
}

.blog-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
  transform: translateY(-2px);
  color: inherit;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.blog-card h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.7;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-read-time {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.blog-arrow {
  color: var(--gold-400);
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.blog-card:hover .blog-arrow {
  transform: translateX(4px);
}

/* ============================================================
   Blog Article
   ============================================================ */
.blog-article {
  padding-top: 80px;
}

.blog-hero {
  padding: 4rem 2rem 3rem;
  position: relative;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.blog-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.blog-back:hover {
  color: var(--gold-400);
}

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.blog-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.blog-hero-sub {
  font-size: 1.15rem;
  color: var(--slate-400);
  line-height: 1.7;
  max-width: 640px;
}

.blog-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  align-items: start;
}

.blog-body {
  max-width: 720px;
}

.blog-body h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.blog-body h2:first-of-type {
  margin-top: 0;
}

.blog-body p {
  color: var(--slate-300);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.blog-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.blog-body ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--slate-300);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-body ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-size: 0.6rem;
  top: 0.75rem;
}

.blog-body ul li strong {
  color: #fff;
}

.blog-body a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-body a:hover {
  color: var(--gold-300);
}

/* Blog formula block */
.blog-formula {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.blog-formula-inner {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.blog-formula-note {
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* Blog example block */
.blog-example {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0 2rem;
}

.blog-example h4 {
  font-size: 1rem;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}

.blog-example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.blog-example-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

.blog-example-label {
  color: var(--slate-400);
}

.blog-example-value {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

.blog-example-total {
  grid-column: 1 / -1;
  background: rgba(17, 24, 39, 0.6);
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-example-result {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--emerald-400);
}

.blog-example-result strong {
  font-size: 1.4rem;
}

/* DSCR ratio scale */
.blog-ratio-scale {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.blog-ratio-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid;
}

.ratio-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  min-width: 120px;
  flex-shrink: 0;
}

.ratio-label {
  font-size: 0.9rem;
}

.ratio-strong {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.15);
}
.ratio-strong .ratio-value { color: var(--emerald-400); }
.ratio-strong .ratio-label { color: var(--slate-300); }

.ratio-ok {
  background: rgba(212, 168, 83, 0.06);
  border-color: rgba(212, 168, 83, 0.12);
}
.ratio-ok .ratio-value { color: var(--gold-400); }
.ratio-ok .ratio-label { color: var(--slate-300); }

.ratio-sub {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.1);
}
.ratio-sub .ratio-value { color: var(--red-400); }
.ratio-sub .ratio-label { color: var(--slate-300); }

/* Credit score tiers */
.blog-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.blog-tier {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.blog-tier-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-400);
  min-width: 100px;
  flex-shrink: 0;
}

.blog-tier-detail {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.6;
}

.blog-tier-detail strong {
  color: #fff;
}

/* Terms table */
.blog-terms-table {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(212, 168, 83, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.blog-terms-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-terms-row:last-child {
  border-bottom: none;
}

.blog-terms-label {
  font-size: 0.9rem;
  color: var(--slate-400);
}

.blog-terms-value {
  font-size: 0.9rem;
  color: var(--slate-300);
  text-align: right;
}

.blog-terms-value strong {
  color: #fff;
}

/* Personas */
.blog-personas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.blog-persona {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.blog-persona-icon {
  color: var(--gold-500);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.blog-persona strong {
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.blog-persona p {
  color: var(--slate-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Next steps cards */
.blog-next-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.blog-next-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-next-step:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-2px);
  color: inherit;
}

.blog-next-step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-400), rgba(212, 168, 83, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.blog-next-step strong {
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
}

.blog-next-step p {
  color: var(--slate-400);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Blog sidebar */
.blog-sidebar {
  position: sticky;
  top: 90px;
}

.blog-sidebar-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-sidebar-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.blog-sidebar-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-sidebar-fact {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
}

.blog-sidebar-fact:last-child {
  border-bottom: none;
}

.blog-sidebar-fact-label {
  color: var(--slate-400);
}

.blog-sidebar-fact-value {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

/* Table of contents */
.blog-toc {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-toc a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: var(--slate-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color 0.2s;
  text-decoration: none;
}

.blog-toc a:last-child {
  border-bottom: none;
}

.blog-toc a:hover {
  color: var(--gold-400);
}

/* Sidebar CTA */
.blog-sidebar-cta {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(212, 168, 83, 0.04));
  border-color: rgba(212, 168, 83, 0.12);
}

.blog-sidebar-cta p {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .form-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }

  .cta-box { padding: 2.5rem 1.5rem; }

  nav { padding: 0.85rem 1.25rem; }

  .page-header { padding: 7rem 1.25rem 3rem; }
  .content-section { padding: 3rem 1.25rem; }

  /* Blog responsive */
  .blog-content { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .blog-sidebar-card:last-child { grid-column: 1 / -1; }
  .blog-next-steps { grid-template-columns: 1fr; }
  .blog-example-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 3rem 1.25rem 2rem; }
  .blog-content { padding: 2rem 1.25rem 3rem; }
  .blog-ratio-item { flex-direction: column; gap: 0.5rem; }
  .ratio-value { min-width: auto; }
  .blog-tier { flex-direction: column; gap: 0.5rem; }
  .blog-tier-score { min-width: auto; }
  .blog-terms-row { flex-direction: column; gap: 0.25rem; align-items: flex-start; }
  .blog-terms-value { text-align: left; }
}

@media (max-width: 480px) {
  .page-header h1 { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .calc-results { position: static; }

  /* Blog 480 */
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-sidebar-card:last-child { grid-column: auto; }
  .blog-card { padding: 1.5rem; }
  .blog-card h2 { font-size: 1.25rem; }
}
