:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --border-color: #cbd5e1;
  --border-focus: #0284c7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent-cyan: #0284c7;
  --accent-green: #059669;
  --accent-amber: #d97706;
  --accent-red: #dc2626;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Announcement Top Bar */
.top-announcement-bar {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #e2e8f0;
  padding: 0.45rem 0;
}
.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ai-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #34d399;
  text-decoration: none;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  gap: 1rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon svg {
  width: 22px;
  height: 22px;
  color: #0284c7;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #0f172a;
}
.brand-title .tld {
  color: #0284c7;
}
.brand-subtitle {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav-link {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-link:hover {
  color: #0284c7;
  text-decoration: none;
}
.nav-cta-btn {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

/* Hero Section */
.hero-calculator-section {
  padding: 2.25rem 0 2.75rem 0;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}
.hero-header-text {
  max-width: 920px;
  margin-bottom: 1.75rem;
}
.badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.category-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.spec-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.reading-time {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
}
.main-heading {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.hero-lead-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.65;
}

/* Calculator Card */
.calc-workspace-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.08);
}
.calc-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.25rem;
}
@media (max-width: 960px) {
  .calc-grid-layout { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}
.col-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e2e8f0;
}
.input-group {
  margin-bottom: 1.15rem;
}
.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.input-label-row label, .input-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  display: block;
  margin-bottom: 0.3rem;
}
.val-badge {
  background: #eff6ff;
  border: 1px solid #38bdf8;
  color: #0369a1;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
}
.calc-slider {
  width: 100%;
  height: 7px;
  background: #cbd5e1;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: #0284c7;
}
.range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.3rem;
}
.input-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .input-grid-2col { grid-template-columns: 1fr; }
}
.calc-select, .form-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #94a3b8;
  color: #0f172a;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.calc-select:focus, .form-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Outputs & Blueprint */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 550px) {
  .metrics-grid { grid-template-columns: 1fr; }
}
.metric-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.metric-label {
  font-size: 0.72rem;
  color: #475569;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.25rem;
}
.metric-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  display: block;
}
.highlight-cyan { color: #0369a1; }
.highlight-amber { color: #b45309; }
.highlight-red { color: #b91c1c; }
.highlight-green { color: #047857; }
.metric-sub {
  font-size: 0.775rem;
  color: #334155;
  display: block;
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* SVG Blueprint Frame */
.blueprint-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}
.blueprint-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e2e8f0;
}
.svg-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Action Buttons */
.calc-action-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.btn-action-outline {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-action-outline:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}
.btn-action-primary {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
}
.btn-action-primary:hover {
  background: #047857;
}

/* Quote Drawer Section */
.quote-drawer-section {
  padding: 3rem 0;
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
}
.drawer-header-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.75rem auto;
}
.drawer-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.drawer-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
}
.drawer-sub {
  color: #334155;
  font-size: 1rem;
  line-height: 1.6;
}
.drawer-card {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.08);
}
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 650px) {
  .lead-form-grid { grid-template-columns: 1fr; }
}
.full-width {
  grid-column: 1 / -1;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.tcpa-consent-row {
  margin-top: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.checkbox-container input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #059669;
}
.tcpa-text {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.5;
}
.btn-submit-primary {
  width: 100%;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}
.btn-submit-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}
.form-status-msg {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.status-error {
  background: #fef2f2;
  border: 1px solid #f87171;
  color: #991b1b;
}
.status-success {
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #065f46;
}

/* Success Card */
.lead-success-box {
  background: #f8fafc;
  border: 2px solid #059669;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.success-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.success-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.success-sub {
  font-size: 0.9rem;
  color: #334155;
}
.unlocked-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.rate-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.1rem;
}
.rate-badge {
  font-size: 0.75rem;
  color: #0369a1;
  text-transform: uppercase;
  font-weight: 800;
  display: block;
  margin-bottom: 0.25rem;
}
.rate-range {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}
.rate-details {
  font-size: 0.8rem;
  color: #475569;
  display: block;
  margin-top: 0.25rem;
}

/* NAVRE Offerwall */
.navre-offerwall-container {
  border-top: 1px dashed #cbd5e1;
  padding-top: 1.5rem;
}
.offerwall-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.offerwall-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0369a1;
}
.offerwall-sub {
  font-size: 0.775rem;
  color: #475569;
}
.offerwall-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.offer-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.offer-tag {
  font-size: 0.725rem;
  color: #b45309;
  font-family: var(--font-mono);
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.offer-card h5 {
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.offer-card p {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.offer-link {
  font-size: 0.825rem;
  font-weight: 700;
  color: #0284c7;
}

/* Article & Content Layout */
.article-content-section {
  padding: 3.5rem 0;
  background: #ffffff;
}
.article-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
}
@media (max-width: 960px) {
  .article-container { grid-template-columns: 1fr; }
}
.article-block {
  margin-bottom: 2.5rem;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #e2e8f0;
}
.section-text p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Tables */
.table-block, .matrix-block {
  margin: 2.5rem 0;
}
.table-heading, .matrix-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}
.table-responsive {
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.data-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 0.9rem 1rem;
  border-bottom: 2px solid #cbd5e1;
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}
.data-table tr:nth-child(even) {
  background: #f8fafc;
}
.data-table tr:hover {
  background: #f0f9ff;
}

/* FAQ Block */
.faq-block {
  margin: 3rem 0;
}
.faq-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.faq-question {
  cursor: pointer;
  font-size: 0.975rem;
  color: #0f172a;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-answer {
  margin-top: 0.75rem;
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.65;
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.sidebar-widget {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.35rem;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #e2e8f0;
}
.widget-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.widget-links-list a {
  font-size: 0.85rem;
  color: #334155;
  display: block;
  font-weight: 500;
}
.widget-links-list a:hover, .widget-links-list a.active {
  color: #0284c7;
  text-decoration: none;
  font-weight: 700;
}
.contact-card {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border-color: #7dd3fc;
}
.contact-card p {
  font-size: 0.85rem;
  color: #1e293b;
  margin-bottom: 1rem;
}
.btn-sidebar-cta {
  display: block;
  text-align: center;
  background: #059669;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
}

/* Footer */
.site-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 4rem 0 2rem 0;
  font-size: 0.85rem;
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 550px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 0.65rem;
}
.footer-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.ico-seal {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: #cbd5e1;
  font-family: var(--font-mono);
}
.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 0.825rem;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-disclaimer-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.775rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.footer-disclaimer-card p {
  margin-bottom: 0.65rem;
}
.footer-disclaimer-card p:last-child {
  margin-bottom: 0;
}
.footer-bottom-line {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.775rem;
  color: #94a3b8;
}
