:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --success-bg: #dcfce7;
  --success-text: #166534;
  --error-bg: #fee2e2;
  --error-text: #991b1b;
  --border: #dbe3f2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 200px);
  color: var(--text);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid #dbe7f5;
}

.nav-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-link:hover { background: #eef2ff; color: #1e3a8a; }
.nav-link-badge { display: inline-flex; align-items: center; gap: 7px; }
.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-shell {
  margin-top: 10px;
  margin-bottom: 10px;
  /* background: #ffffff; */
  /* border: 1px solid #dbe7f5; */
  border-radius: 14px;
  /* box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07); */
}

.user-pill {
  font-size: 0.9rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 11px;
}

.main {
  max-width: 1140px;
  margin: 28px auto 48px;
  padding: 0 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 18px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 2.1rem;
  line-height: 1.1;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  background: var(--surface-2);
  border: 1px solid #d8e4ff;
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stat strong { display: block; font-size: 1.2rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }

.section-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.section-sub {
  margin: 0 0 16px;
  color: var(--muted);
}

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

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

.muted { color: var(--muted); }

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"] {
  width: 100%;
  border: 1px solid #cdd8ea;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 0.96rem;
  margin-bottom: 12px;
  background: #fff;
}

.input:focus,
textarea:focus,
select:focus,
input:focus {
  outline: 2px solid #bfdbfe;
  border-color: #60a5fa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-ghost { background: #e5edff; color: #1e40af; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-ghost-dark { background: #0f172a; color: #fff; }
.btn-ghost-dark:hover { background: #1e293b; }

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge-verified { background: #dcfce7; color: #166534; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dbeafe; color: #1e3a8a; }
.badge-completed { background: #e2e8f0; color: #334155; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

.officer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

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

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.kpi span { display: block; color: var(--muted); font-size: 0.86rem; }
.kpi strong { font-size: 1.2rem; }

.alert {
  border-radius: 10px;
  padding: 11px 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.success { background: var(--success-bg); color: var(--success-text); }
.error { background: var(--error-bg); color: var(--error-text); }

.auth-wrap {
  max-width: 520px;
  margin: 22px auto;
}

.footer {
  margin-top: 32px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
  padding-bottom: 24px;
}

@media (max-width: 900px) {
  .hero,
  .grid-3,
  .grid-2,
  .kpis,
  .stats,
  .officer-card {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.profile-media {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #dbeafe;
}

.avatar-lg {
  width: 90px;
  height: 90px;
}

.stars {
  margin: 0 0 8px;
  color: #f59e0b;
  font-weight: 700;
}

.stars span {
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}

.review-list {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin: 14px 0;
  background: #f9fbff;
}

.review-item { border-bottom: 1px dashed #dbe3f2; margin-bottom: 8px; }
.review-item:last-child { border-bottom: none; margin-bottom: 0; }

.chart-grid {
  display: grid;
  gap: 10px;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 999px;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.table th,
.table td {
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 8px;
}

.table th {
  color: #334155;
  background: #f8fafc;
}

.hero-premium {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 28px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: radial-gradient(circle at 10% 0%, #a78bfa 0%, #6366f1 35%, #2563eb 65%, #0f172a 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
}

.hero-premium h1 {
  margin: 0 0 12px;
  font-size: 2.25rem;
  line-height: 1.08;
}

.hero-premium p {
  margin: 0 0 16px;
  color: #dbeafe;
}

.hero-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-premium__panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(4px);
}

.hero-premium__panel h3 { margin-top: 0; }
.hero-premium__panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

.hero-premium__panel li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}

.hero-premium__panel li span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px;
}

.hero-metrics strong { display: block; font-size: 1.08rem; }
.hero-metrics span { color: #dbeafe; font-size: 0.85rem; }

.btn-rainbow {
  background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6);
  color: #fff;
}

.btn-soft {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.premium-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.premium-card h3 { margin: 0 0 8px; }
.premium-card p { margin: 0; color: #64748b; }

.premium-highlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  background: #0f172a;
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
}

.premium-highlight h2 { margin-top: 0; }
.premium-highlight p { color: #cbd5e1; }

.premium-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.premium-tags span {
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
  border: 1px solid rgba(191, 219, 254, 0.25);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-premium,
  .premium-grid,
  .premium-highlight,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-premium h1 { font-size: 1.75rem; }
}

.btn-outline {
  background: #fff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.home-modern-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 22px;
}

.home-modern-copy {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.09);
}

.home-kicker {
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0284c7;
  font-weight: 700;
}

.home-modern-copy h1 {
  margin: 0 0 14px;
  font-size: 2.25rem;
  line-height: 1.1;
  color: #0f172a;
}

.home-lead {
  color: #475569;
  line-height: 1.7;
  margin: 0 0 16px;
}

.home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: #64748b;
  font-size: 0.92rem;
}

.home-proof strong { color: #0f172a; }

.home-modern-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.25);
}

.home-modern-card h3 {
  margin: 0 0 12px;
  color: #fff;
}

.home-modern-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.home-modern-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.home-modern-services article {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}

.home-modern-services h3 { margin: 0 0 8px; }
.home-modern-services p { margin: 0; color: #64748b; }

.home-modern-banner {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 45%, #334155 100%);
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 12px;
}

.home-modern-banner h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.home-modern-banner p {
  margin: 0;
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .home-modern-hero,
  .home-modern-services {
    grid-template-columns: 1fr;
  }

  .home-modern-copy h1 { font-size: 1.8rem; }
}

/* Marketing-grade homepage v3 */
.mk-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 20px;
}

.mk-hero__content {
  background: #ffffff;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
}

.mk-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2563eb;
  font-weight: 700;
}

.mk-hero h1 {
  margin: 0 0 12px;
  font-size: 2.35rem;
  line-height: 1.05;
}

.mk-subtext {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.7;
  max-width: 60ch;
}

.mk-inline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: #64748b;
  font-size: 0.92rem;
}

.mk-inline-stats span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 12px;
}

.mk-inline-stats strong { color: #0f172a; }

.mk-hero__card {
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 60%, #1d4ed8 130%);
  color: #dbeafe;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.26);
}

.mk-card-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.mk-hero__card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.mk-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mk-trust-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.mk-trust-item h3 { margin: 0 0 6px; font-size: 1rem; }
.mk-trust-item p { margin: 0; color: #64748b; font-size: 0.92rem; }

.mk-builtfor {
  background: #ffffff;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.mk-builtfor__head h2 { margin: 0 0 8px; }
.mk-builtfor__head p { margin: 0 0 16px; color: #64748b; }

.mk-builtfor__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mk-builtfor__grid article {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.mk-builtfor__grid h3 { margin: 0 0 6px; }
.mk-builtfor__grid p { margin: 0; color: #64748b; }

.mk-cta-band {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 45%, #2563eb 140%);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
}

.mk-cta-band h2 { margin: 0 0 8px; }
.mk-cta-band p { margin: 0 0 12px; color: #cbd5e1; }

@media (max-width: 900px) {
  .mk-hero,
  .mk-trust-row,
  .mk-builtfor__grid {
    grid-template-columns: 1fr;
  }

  .mk-hero h1 { font-size: 1.85rem; }
}

/* Premium tax homepage */
.tax-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
}

.tax-hero__left {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.96) 56%, rgba(235, 250, 247, 0.92) 100%);
  border: 1px solid #cddceb;
  border-radius: 8px;
  padding: 56px 42px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.11);
}

.tax-hero__left::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -76px;
  width: 280px;
  height: 180px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.24), rgba(37, 99, 235, 0.08));
  transform: rotate(-8deg);
  pointer-events: none;
}

.tax-kicker {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tax-hero__left h1 {
  margin: 0 0 12px;
  max-width: 13ch;
  font-size: 4rem;
  line-height: 0.95;
  color: #0b1220;
}

.tax-lead {
  margin: 0 0 16px;
  max-width: 59ch;
  color: #475569;
  font-size: 1.06rem;
  line-height: 1.72;
}

.tax-hero-actions { margin-top: 22px; }

.tax-proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tax-proof-bar span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d7e5f5;
  color: #1f3f48;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 600;
}

.tax-hero__panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(7, 12, 24, 0.98) 0%, rgba(19, 48, 62, 0.98) 56%, rgba(13, 116, 107, 0.98) 100%);
  color: #e2f3f1;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
}

.tax-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 88%);
  pointer-events: none;
}

.tax-panel-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: #a7f3d0;
  z-index: 1;
}

.tax-panel-top strong {
  color: #fff;
  font-size: 1.02rem;
}

.tax-dashboard-card {
  position: relative;
  background: rgba(255, 255, 255, 0.105);
  border: 1px solid rgba(204, 251, 241, 0.2);
  border-radius: 8px;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.tax-dashboard-card span {
  display: block;
  margin-bottom: 8px;
  color: #b6e8e4;
  font-size: 0.82rem;
  font-weight: 600;
}

.tax-dashboard-card strong {
  display: block;
  color: #fff;
  font-size: 1.28rem;
}

.tax-dashboard-card p {
  margin: 0 0 24px;
  color: #d8f4f1;
  line-height: 1.55;
}

.tax-dashboard-main {
  min-height: 142px;
  margin-bottom: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07)),
    linear-gradient(90deg, transparent 0 62%, rgba(45, 212, 191, 0.16) 62% 100%);
}

.tax-dashboard-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  z-index: 1;
}

.tax-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(204, 251, 241, 0.18);
  z-index: 1;
}

.tax-timeline span {
  flex: 1;
  color: #a7b7c6;
  font-size: 0.82rem;
  font-weight: 700;
}

.tax-timeline span::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.tax-timeline .is-done,
.tax-timeline .is-active {
  color: #fff;
}

.tax-timeline .is-done::before,
.tax-timeline .is-active::before {
  background: linear-gradient(90deg, #2dd4bf, #93c5fd);
}

.tax-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #dbe7f5;
}

.tax-feature-strip div {
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 20px;
}

.tax-feature-strip strong {
  display: block;
  margin-bottom: 4px;
  color: #0b1220;
  font-size: 1.35rem;
}

.tax-feature-strip span {
  color: #64748b;
  font-size: 0.9rem;
}

.tax-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.tax-services article {
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.tax-service-mark {
  display: inline-block;
  margin-bottom: 34px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
}

.tax-services h3 { margin: 0 0 8px; font-size: 1.16rem; color: #111827; }
.tax-services p { margin: 0 0 16px; color: #64748b; line-height: 1.55; }
.tax-services a { color: #0f766e; text-decoration: none; font-weight: 700; }
.tax-services a:hover { color: #115e59; }

.tax-experience {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d5e3f2;
  border-radius: 8px;
  padding: 34px;
  margin-bottom: 24px;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.06);
}

.tax-experience h2 {
  margin: 0 0 10px;
  color: #0b1220;
  font-size: 2rem;
  line-height: 1.08;
}

.tax-experience p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.tax-experience-list {
  display: grid;
  gap: 12px;
}

.tax-experience-list div {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
}

.tax-experience-list span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #0f766e, #2563eb);
}

.tax-experience-list strong {
  color: #111827;
}

.tax-experience-list p {
  font-size: 0.92rem;
}

.tax-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  background:
    linear-gradient(105deg, #070c18 0%, #12303e 54%, #0f766e 125%);
  color: #fff;
  border-radius: 8px;
  padding: 36px;
  margin-bottom: 12px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.24);
}

.tax-cta .tax-kicker { color: #99f6e4; }
.tax-cta h2 { margin: 0 0 8px; max-width: 18ch; font-size: 2.05rem; line-height: 1.05; }
.tax-cta p { margin: 0; color: #dbeafe; max-width: 58ch; line-height: 1.55; }

@media (max-width: 900px) {
  .tax-hero,
  .tax-services,
  .tax-feature-strip,
  .tax-experience,
  .tax-dashboard-grid,
  .tax-cta {
    grid-template-columns: 1fr;
  }

  .tax-hero__left,
  .tax-hero__panel,
  .tax-experience,
  .tax-cta {
    padding: 24px;
  }

  .tax-hero__left h1 {
    max-width: none;
    font-size: 2.25rem;
  }

  .tax-feature-strip {
    gap: 1px;
  }

  .tax-cta {
    align-items: start;
  }
}

.tax-section-head {
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.tax-section-head h1 {
  margin: 0 0 8px;
  font-size: 1.85rem;
}

.tax-section-head p { margin: 0; color: #64748b; }

.tax-filter-card,
.tax-pane,
.tax-empty-card,
.tax-officer-card,
.tax-profile-head {
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.tax-empty-card h3 { margin-top: 0; }
.tax-empty-card p { color: #64748b; }

.tax-officer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

@media (max-width: 900px) {
  .tax-officer-card { grid-template-columns: 1fr; }
  .tax-section-head h1 { font-size: 1.45rem; }
}

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

.blog-card {
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 16px;
}

.blog-card__body h3 {
  margin: 8px 0;
}

.blog-card__body p {
  margin: 0 0 10px;
  color: #64748b;
}

.blog-card__body a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
}

.blog-meta {
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-article {
  display: grid;
  gap: 14px;
}

.blog-hero-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #dbe7f5;
}

.blog-paragraph {
  color: #334155;
  line-height: 1.75;
  margin-bottom: 12px;
}

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

  .blog-card img {
    height: 190px;
  }
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.blog-featured img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.blog-featured > div {
  padding: 18px;
}

.blog-featured h2 {
  margin: 8px 0;
}

.blog-featured p {
  color: #64748b;
}

.blog-filter-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured img {
    height: 220px;
  }
}
