/* eFile-CDM marketing site. No web fonts, scripts or third-party requests: the privacy policy
   says the site sends nothing to anyone, so keep it that way. */

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

:root {
  --navy-900: #0b1f33;
  --navy-800: #102b46;
  --navy-700: #163a5c;
  --blue-600: #1d5a8e;
  --blue-500: #2470ab;
  --blue-200: #c9dcef;
  --blue-100: #e6eff8;
  --blue-50: #f3f7fb;
  --brand-400: #77a6d9; /* the logo's blues */
  --brand-500: #5888b1;
  --brand-700: #3b6894;
  --teal-600: #23706c;
  --teal-100: #ddf0ee;
  --amber-700: #8a5a00;
  --amber-100: #fbf0d9;
  --ink: #172033;
  --ink-soft: #46546a;
  --line: #d5dee8;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(16 43 70 / 6%), 0 8px 24px rgb(16 43 70 / 8%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-600);
}

a:hover {
  color: var(--navy-700);
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy-800);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  color: var(--white);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--navy-800);
}

.brand-logo {
  height: 60px;
  width: auto;
  flex: none;
}

.site-footer .brand-logo {
  height: 52px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--navy-800);
}

.nav .btn {
  color: var(--white);
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-700);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--navy-800);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* ── Hero ───────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: 80px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* The illustrative case card */
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  font-size: 0.9rem;
}

.case-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.case-number {
  font-weight: 700;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.case-title {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-open {
  background: var(--teal-100);
  color: var(--teal-600);
}

.pill-due {
  background: var(--amber-100);
  color: var(--amber-700);
}

.pill-doc {
  background: var(--blue-100);
  color: var(--blue-600);
}

.case-fields {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin-bottom: 16px;
}

.case-fields dt {
  color: var(--ink-soft);
}

.case-fields dd {
  font-weight: 550;
}

.case-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.case-items {
  list-style: none;
  display: grid;
  gap: 8px;
}

.case-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: var(--blue-50);
  border-radius: 8px;
}

.case-items span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Sections ───────────────────────────── */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--blue-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

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

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.08rem;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Two-column explainer */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.split h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.split > div > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b6894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.checklist strong {
  color: var(--navy-800);
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel h3 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 16px;
}

/* Numbered steps */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  color: var(--navy-800);
}

.steps span {
  color: var(--ink-soft);
}

/* ── Call to action ─────────────────────── */
.cta {
  background: var(--navy-800);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta p {
  color: var(--blue-200);
  font-size: 1.08rem;
  max-width: 36em;
  margin: 0 auto 30px;
}

.cta .hero-buttons {
  justify-content: center;
}

.cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / 40%);
}

.cta .btn-secondary:hover {
  border-color: var(--white);
}

.cta .btn-primary {
  background: var(--white);
  color: var(--navy-800);
}

.cta .btn-primary:hover {
  background: var(--blue-100);
}

/* ── Footer ─────────────────────────────── */
.site-footer {
  background: var(--navy-900);
  color: var(--blue-200);
  padding: 48px 0 32px;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  margin-bottom: 20px;
}

.site-footer .brand,
.site-footer .brand:hover {
  color: var(--white);
}

.footer-tag {
  margin-top: 10px;
  max-width: 26em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-links h2 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.site-footer a {
  color: var(--blue-200);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

/* ── Legal pages ────────────────────────── */
.legal {
  padding: 56px 0 88px;
}

.legal .container {
  max-width: 820px;
}

.legal-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.legal-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-summary {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
}

.legal-summary h2 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 10px;
}

.legal-summary ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.toc {
  margin-bottom: 40px;
}

.toc h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.toc ol {
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.legal-body h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 40px 0 12px;
  scroll-margin-top: 88px;
}

.legal-body h3 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin: 24px 0 8px;
}

.legal-body p,
.legal-body li {
  color: var(--ink);
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin-bottom: 14px;
  display: grid;
  gap: 6px;
}

.legal-body .caps {
  text-transform: uppercase;
  font-size: 0.93rem;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.legal-body th,
.legal-body td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.legal-body th {
  background: var(--blue-50);
  color: var(--navy-800);
  font-weight: 650;
}

.legal-body tr:last-child td {
  border-bottom: 0;
}

address {
  font-style: normal;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 960px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .toc ol {
    columns: 1;
  }
}

/* ── Draft markers (remove before publishing) ── */
.draft-banner {
  background: var(--amber-100);
  border-bottom: 1px solid #e6cf9a;
  color: var(--amber-700);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 0;
  text-align: center;
}

mark.confirm {
  background: var(--amber-100);
  color: var(--amber-700);
  font-weight: 600;
  padding: 0 4px;
  border-radius: 4px;
}
