:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #edf2ff;
  --text: #1a1f2b;
  --muted: #5a6475;
  --border: #d5ddeb;
  --dark: #111827;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ring: rgba(37, 99, 235, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 2px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.topbar {
  background: linear-gradient(90deg, #0f172a, #1e40af);
  color: #e2e8f0;
  font-size: 13px;
}

.topbar-wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.topbar a {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.95;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-social a {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.topbar-social a:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.topbar-social svg {
  width: 13px;
  height: 13px;
}

.topbar a:hover {
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: #2b3340;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary-dark);
  background-color: #eff6ff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  padding: 9px 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #202737;
  margin: 5px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.hero {
  background: radial-gradient(circle at top left, #dbeafe 0%, #f3f6fb 45%, #f3f6fb 100%);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.hero-copy {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 62ch;
}

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

.btn {
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.btn-dark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-light {
  background: #fff;
  color: #1f2937;
  border-color: var(--border);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.site-nav a:focus-visible,
input:focus-visible,
textarea:focus-visible,
.menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.hero-card,
.content-card,
.callback-form,
.disclaimer-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.03), 0 16px 40px rgba(15, 23, 42, 0.06);
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
}

.hero-card h2 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.card-icon--hero {
  margin-bottom: 14px;
}

.hero-card p {
  margin: 12px 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.hero-card a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.hero-card a:hover {
  text-decoration: underline;
}

.content-card {
  font-size: 1rem;
  line-height: 1.75;
}

.content-card p + p {
  margin-top: 1em;
}

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

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  max-width: 28ch;
  margin-bottom: 0;
}

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px 30px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02), 0 12px 32px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b8ccf5;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.06), 0 24px 48px rgba(15, 23, 42, 0.08);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid #bfdbfe;
}

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

.card h3 {
  margin-bottom: 0;
  color: var(--text);
}

.card p {
  margin-bottom: 0;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ccd5e2;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

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

.form-note {
  margin-top: 10px;
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  border-bottom: 1px solid #e3e8ef;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #f8fafd;
}

tbody tr:hover {
  background: #f8fbff;
}

.disclaimer-block {
  margin-top: 14px;
}

.site-footer {
  background: linear-gradient(135deg, #0f172a, #111827 60%, #172554);
  color: #e5e7eb;
  padding-top: 46px;
}

.site-footer h3,
.site-footer h4 {
  letter-spacing: -0.01em;
}

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

.site-footer p {
  color: #c6cedd;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid #334055;
  margin-top: 22px;
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .topbar-wrap {
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 14px 4%;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .footer-grid,
  .cards,
  .input-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }
}
