:root {
  --ink: #17212b;
  --muted: #536271;
  --line: #d8e0e8;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --navy: #17324d;
  --teal: #0f766e;
  --green: #2f7d59;
  --gold: #b7791f;
  --sky: #dbeafe;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #edf7f5 55%, #f7f3e8 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  color: var(--navy);
  max-width: 740px;
}

h2 {
  font-size: 1.8rem;
  color: var(--navy);
}

h3 {
  font-size: 1.05rem;
  color: var(--ink);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
}

.button.secondary {
  background: #ffffff;
  color: var(--navy);
}

.quick-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(23, 50, 77, 0.08);
}

.quick-panel dl {
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.quick-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.quick-panel dt {
  color: var(--muted);
}

.quick-panel dd {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

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

.table th {
  color: var(--navy);
  background: #edf7f5;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.notice {
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  background: #fffaf0;
  color: #5c4214;
  border-radius: 0 8px 8px 0;
}

.assistant-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 50, 77, 0.2);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.assistant-panel {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 20;
  width: min(380px, calc(100vw - 32px));
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(23, 50, 77, 0.18);
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-panel h2 {
  font-size: 1.25rem;
}

.assistant-panel p,
.assistant-panel li {
  color: var(--muted);
}

.assistant-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.assistant-actions a {
  display: block;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.assistant-disclaimer {
  margin: 16px 0 0;
  font-size: 0.82rem;
}

@media (max-width: 780px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

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

  h1 {
    font-size: 2.6rem;
  }

  .assistant-launcher {
    right: 16px;
    bottom: 16px;
  }

  .assistant-panel {
    right: 16px;
    bottom: 76px;
  }
}
