:root {
  --ink: #17303a;
  --muted: #55696f;
  --paper: #fbfaf6;
  --tint: #f0f3f0;
  --line: #d9e0dd;
  --accent: #0f5c63;
  --accent-dark: #0b444a;
  --warm: #c9772f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.3rem; margin-top: 2rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 500 1.2rem var(--serif);
  white-space: nowrap;
}
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--accent); }

.hero {
  padding: 120px 0 128px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 31, 38, .9) 0%, rgba(7, 31, 38, .68) 45%, rgba(7, 31, 38, .12) 100%),
    url("images/hero.jpg") center / cover no-repeat #0b2a31;
}
.eyebrow {
  margin: 0 0 12px;
  color: #a9d3cf;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); }
.lede { max-width: 30em; margin: 20px 0 32px; color: #e4eeec; font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); }
.hero .button { border-color: #fff; background: #fff; color: var(--accent-dark); }
.hero .button:hover { background: #e4eeec; }
.hero .button.secondary { background: transparent; color: #fff; }
.hero .button.secondary:hover { background: rgba(255, 255, 255, .14); }

.about {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.about h2 { margin-bottom: 1.25rem; }
.portrait { margin: 0; border-radius: 6px; background: var(--tint); overflow: hidden; }
.portrait img { display: block; width: 100%; height: auto; }

.section { padding: 72px 0; border-top: 1px solid var(--line); }
.tint { background: var(--tint); }
.two-col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}
.prose { max-width: 40em; }
.prose p:first-child, .two-col p:first-child { margin-top: 0; }

.conditions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.conditions strong { display: block; font: 500 1.15rem var(--serif); }
.conditions span { color: var(--muted); font-size: .95rem; }

.quals { font-weight: 600; }
.gmc { display: block; color: var(--muted); font-weight: 400; font-size: .95rem; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { padding: 12px 0; border-top: 1px solid var(--line); }
.timeline strong { display: block; font: 500 1.08rem var(--serif); }
.timeline.flush li:first-child { padding-top: 0; border-top: 0; }
.papers { margin: 0 0 20px; padding-left: 1.3rem; }
.papers li { margin-bottom: 12px; }

dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 24px 0; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.fee-list {
  grid-template-columns: 1fr auto;
  max-width: 24em;
  margin: 20px 0 0;
}
.fee-list dt { color: var(--ink); }
.fee-list dd { font: 500 1.15rem var(--serif); text-align: right; }
.insurers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}
.insurers li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-size: .95rem;
}
.urgent {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--warm);
  background: var(--tint);
}

.site-footer { padding: 36px 0; background: var(--ink); color: #d7e0e0; font-size: .92rem; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #fff; }

.video-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
.video-thumb { position: relative; display: block; overflow: hidden; border-radius: 6px; }
.video-thumb img { display: block; width: 100%; height: auto; }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(7, 31, 38, .72);
}
.play::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 22px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-text strong { display: block; margin-bottom: 6px; font: 500 1.25rem var(--serif); }
.video-text span { color: var(--muted); }
.video-card:hover .video-text strong { color: var(--accent); }
.video-card:hover .play { background: var(--accent); }

.tint .urgent { background: var(--paper); }

.conditions strong a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
.conditions strong a:hover { color: var(--accent); }

.page-hero { padding: 48px 0 44px; background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-hero .lede { color: var(--muted); margin-bottom: 0; }
nav.breadcrumb { display: block; margin-bottom: 14px; color: var(--muted); font-size: .9rem; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.article { max-width: 40em; }
.article h2 { margin-top: 2.2rem; margin-bottom: .5rem; font-size: 1.5rem; }
.article > h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.4rem; font-size: 1.15rem; }
.article h3 + p { margin-top: .35rem; }
.article li { margin-bottom: 4px; }
.article .urgent { margin-top: 2rem; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.side h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.side-card .button { display: block; text-align: center; }
.side-note { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.side-links { margin-top: 28px; }
.side-links ul { margin: 0 0 24px; padding: 0; list-style: none; }
.side-links li { margin-bottom: 6px; font-size: .96rem; }

/* Marks missing content. */
.todo { background: #fff0b8; color: #5c4300; padding: 1px 4px; }

.legal { max-width: 720px; padding-top: 56px; padding-bottom: 72px; }
.legal h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: .5rem; }

@media (max-width: 820px) {
  nav { display: none; }
  .hero {
    padding: 72px 0 80px;
    background:
      linear-gradient(rgba(7, 31, 38, .72), rgba(7, 31, 38, .72)),
      url("images/hero.jpg") 70% center / cover no-repeat #0b2a31;
  }
  .two-col, .about, .article-layout { grid-template-columns: 1fr; }
  .article-layout { gap: 36px; padding-top: 36px; padding-bottom: 52px; }
  .two-col { gap: 20px; }
  .about { gap: 28px; }
  .portrait { max-width: 340px; }
  .section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .article-layout { padding-top: 36px; padding-bottom: 52px; }
  .legal { padding-top: 40px; padding-bottom: 52px; }
  .video-card { grid-template-columns: 1fr; gap: 14px; }
  .conditions { grid-template-columns: 1fr; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 12px; }
  .fee-list { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .fee-list dd { margin-bottom: 0; }
  .button { width: 100%; text-align: center; }
}
