:root {
  --navy: #12324f;
  --navy-deep: #082b49;
  --blue: #276da8;
  --blue-bright: #1f74d4;
  --sky: #eaf5fb;
  --cream: #fff8ef;
  --cta: #c8473a;
  --cta-hot: #e13d25;
  --gold: #f7b733;
  --green: #3f8f74;
  --ink: #1f2933;
  --muted: #64748b;
  --border: #dbe5ee;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(18, 50, 79, .13);
  --soft-shadow: 0 10px 30px rgba(18, 50, 79, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fbff 0, #fff 470px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 116, 212, .36);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 48px, 1220px);
  margin-inline: auto;
}

.section-pad {
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-bright);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 4.4rem, 4.35rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 3.25rem, 3.25rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.14;
}

.lead,
.section-head p {
  color: var(--muted);
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: .96rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--cta-hot), var(--cta));
  box-shadow: 0 14px 26px rgba(200, 71, 58, .28);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(18, 50, 79, .05);
}

.btn-dark-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .36);
}

.notice-bar {
  color: var(--white);
  background: var(--navy-deep);
  font-size: .78rem;
  font-weight: 750;
}

.notice-inner,
.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.notice-inner {
  min-height: 30px;
}

.notice-inner p {
  margin: 0;
  opacity: .96;
}

.notice-inner a {
  white-space: nowrap;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(219, 229, 238, .8);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 336px;
}

.brand-logo {
  width: 312px;
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

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

.nav-links a,
.footer-links a {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 850;
  white-space: nowrap;
}

.phone-pill {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
}

.hero {
  padding-top: 76px;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 18% 12%, rgba(39, 109, 168, .12), transparent 32%),
    radial-gradient(circle at 82% 0%, rgba(63, 143, 116, .12), transparent 30%),
    linear-gradient(100deg, #fff 0%, #f4fbff 55%, #edf8ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .88fr);
  gap: 34px;
  align-items: center;
}

.hero-card {
  position: relative;
  padding: 22px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(219, 229, 238, .9);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-image-placeholder,
.hero-office-image {
  display: block;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

.hero-image-placeholder {
  display: grid;
  place-items: center;
  padding: 36px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 50, 79, .92), rgba(39, 109, 168, .76)),
    radial-gradient(circle at 25% 22%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(135deg, #d6ecfa, #fff8ef);
}

.hero-image-inner {
  width: min(100%, 420px);
  padding: 28px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(8, 43, 73, .24);
  backdrop-filter: blur(8px);
}

.hero-image-inner span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.hero-image-inner h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.9rem;
}

.hero-image-inner p {
  margin-bottom: 0;
  color: rgba(255,255,255,.82);
}

.support-card {
  position: absolute;
  left: -38px;
  bottom: -34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  width: min(330px, 76%);
  padding: 20px;
  color: var(--white);
  background: linear-gradient(145deg, #103c63, #082b49);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(8, 43, 73, .28);
}

.support-card strong {
  display: block;
  margin-bottom: 5px;
}

.support-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  line-height: 1.35;
}

.license-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font-weight: 900;
}

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

.trust-card,
.image-card,
.agent-card,
.review-form,
.process-card {
  background: var(--white);
  border: 1px solid rgba(219, 229, 238, .9);
  box-shadow: var(--soft-shadow);
}

.trust-card {
  min-height: 145px;
  padding: 24px 20px;
  border-radius: 18px;
}

.trust-card h2 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.icon {
  display: block;
  min-height: 33px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 850;
  line-height: 1;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .88fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 34px;
}

.split-head p:last-child {
  margin-bottom: 0;
}

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

.image-card {
  overflow: hidden;
  border-radius: 18px;
}

.image-card-visual {
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: #f7fbff;
}

.image-card > div:last-child {
  padding: 24px;
}

.image-card p {
  color: var(--muted);
  font-size: .94rem;
}

.image-card a {
  color: var(--blue-bright);
  font-size: .92rem;
  font-weight: 850;
}

.process {
  background: linear-gradient(180deg, rgba(255, 248, 239, .95), rgba(255, 255, 255, .98));
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.process-card {
  padding: 30px;
  border-radius: 22px;
}

.process-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.process-row:first-child {
  padding-top: 0;
}

.process-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.process-row span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue-bright);
  background: #eef7ff;
  border: 3px solid #b8ddfb;
  border-radius: 999px;
  font-weight: 900;
}

.process-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

.agents {
  background:
    radial-gradient(circle at 88% 18%, rgba(39, 109, 168, .12), transparent 28%),
    linear-gradient(180deg, #f7fbff, #fff);
}

.agents-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .62fr);
  gap: 44px;
  align-items: center;
}

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

.agent-card {
  padding: 16px;
  border-radius: 18px;
  text-align: center;
}

.roster-card {
  padding: 22px;
}

.agent-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  object-fit: cover;
  object-position: center top;
  background: #eaf5fb;
  border-radius: 14px;
}

.agent-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.agent-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .86rem;
}

.agent-email {
  display: block;
  margin-top: 8px;
  color: var(--blue-bright);
  font-size: .86rem;
  font-weight: 750;
}

.team-panel {
  padding: 38px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(18, 50, 79, .95), rgba(39, 109, 168, .92));
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.team-panel h2,
.team-panel .eyebrow {
  color: var(--white);
}

.team-panel p {
  color: rgba(255,255,255,.78);
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(39, 109, 168, .35), transparent 42%),
    linear-gradient(110deg, #07304f, #0b426c 58%, #082b49);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.contact h2,
.contact h3,
.contact .eyebrow {
  color: var(--white);
}

.contact-copy > p {
  max-width: 520px;
  color: rgba(255, 255, 255, .82);
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 10px 0 18px;
  margin: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  color: var(--white);
  font-weight: 750;
}

.review-form {
  padding: 28px;
  color: var(--ink);
  border-radius: 20px;
}

.review-form h2 {
  color: var(--navy);
  font-size: 1.7rem;
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  color: #215c4d;
  background: #e8f5ee;
  border: 1px solid #b8dfd0;
  border-radius: 12px;
  font-weight: 750;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.wide {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: .78rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.form-button {
  width: 100%;
  margin-top: 18px;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 8%, rgba(247, 183, 51, .18), transparent 28%),
    linear-gradient(100deg, #fff 0%, #f4fbff 55%, #edf8ff 100%);
}

.page-hero-inner {
  max-width: 820px;
}

.site-footer {
  padding: 30px 0;
  color: var(--white);
  background: var(--navy-deep);
}

.site-footer strong {
  display: block;
  margin-bottom: 3px;
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.footer-links a {
  color: rgba(255,255,255,.82);
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 16px;
  }

  .brand {
    min-width: 292px;
  }

  .brand-logo {
    width: 276px;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .process-grid,
  .agents-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .plan-grid,
  .roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-card {
    left: 22px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 1220px);
  }

  .section-pad {
    padding: 56px 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .notice-inner {
    justify-content: center;
    text-align: center;
  }

  .notice-inner a {
    display: none;
  }

  .nav-actions .phone-pill {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 232px;
    max-height: 62px;
  }

  .nav-inner {
    min-height: 76px;
  }

  .split-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-grid,
  .trust-grid,
  .agent-preview-grid,
  .roster-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-image-placeholder,
  .hero-office-image {
    min-height: 280px;
  }

  .support-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

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

@media (max-width: 520px) {
  .nav-inner {
    gap: 12px;
  }

  .brand-logo {
    width: min(50vw, 210px);
  }

  .nav-actions .btn {
    padding: 0 16px;
    font-size: .88rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .btn {
    width: 100%;
  }
}
