:root {
  --navy: #061226;
  --deep: #020913;
  --panel: rgba(4, 17, 34, 0.72);
  --panel-strong: rgba(2, 10, 24, 0.88);
  --accent-warm: #ff6b35;
  --accent-cool: #25f2f5;
  --purple: #b857ff;
  --white: #f8fbff;
  --muted: #b9cae1;
  --line: rgba(37, 242, 245, 0.35);
  --max: 1348px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.38), rgba(2, 8, 18, 0.95)),
    url("assets/marie-hero-bg.jpg") center top / cover fixed,
    var(--deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 6% 45%, rgba(255, 47, 99, 0.22), transparent 18%),
    radial-gradient(circle at 74% 16%, rgba(37, 242, 245, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(2, 8, 18, 0.1), rgba(2, 8, 18, 0.72));
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 14px;
  z-index: 80;
  transform: translateY(-160%);
  border-radius: 999px;
  padding: 10px 14px;
  color: #061226;
  background: var(--accent-cool);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 8, 18, 0.56);
  border-bottom: 1px solid rgba(37, 242, 245, 0.12);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  color: #fff;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 14px rgba(255, 89, 238, 0.62));
}

.brand b {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent-warm), transparent);
}

.brand strong {
  color: #ff904d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-style: italic;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand em {
  border: 1px solid rgba(37, 242, 245, 0.5);
  border-radius: 999px;
  padding: 5px 10px;
  color: #d7fbff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.brand small {
  border: 1px solid rgba(255, 107, 53, 0.55);
  border-radius: 999px;
  padding: 6px 13px;
  color: #ffb27c;
  font-size: 0.84rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 54px;
  align-items: center;
  color: #f7fbff;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(var(--max), calc(100% - 48px));
  min-height: 548px;
  margin: 0 auto;
  padding: 34px 0 24px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 56%;
  top: 92px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(220, 232, 255, 0.8);
  box-shadow: 0 0 26px rgba(210, 232, 255, 0.48);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--accent-cool);
  border-radius: 999px;
  padding: 0 16px;
  color: #50ffff;
  background: rgba(2, 24, 39, 0.62);
  font-size: 0.88rem;
  font-weight: 800;
}

.agent-name {
  margin: 18px 0 0;
  color: #ffb27c;
  font-size: 1.02rem;
  font-weight: 900;
}

.agency-id {
  display: inline-flex;
  margin: 10px 0 0;
  border: 1px solid rgba(37, 242, 245, 0.46);
  border-radius: 999px;
  padding: 6px 12px;
  color: #dffcff;
  background: rgba(4, 21, 40, 0.72);
  font-size: 0.88rem;
  font-weight: 900;
}

h1 {
  max-width: 700px;
  margin: 8px 0 22px;
  color: var(--white);
  font-size: clamp(4.1rem, 6.1vw, 5.85rem);
  line-height: 0.99;
  letter-spacing: 0;
}

h1 span {
  color: var(--accent-warm);
  text-shadow: 0 0 24px rgba(255, 107, 53, 0.42);
}

.hero-subtitle {
  max-width: 570px;
  margin-bottom: 24px;
  border-left: 1px solid rgba(255, 107, 53, 0.54);
  padding-left: 18px;
  color: #e8eef7;
  font-size: 1.4rem;
}

.hero-actions,
.final-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 288px;
  min-height: 68px;
  border: 1px solid transparent;
  border-radius: 17px;
  padding: 0 24px;
  font-size: 1.18rem;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7b2d 0%, #ff2f63 100%);
  border-color: rgba(255, 196, 168, 0.72);
}

.btn-secondary {
  color: var(--white);
  background: rgba(2, 12, 29, 0.78);
  border-color: var(--accent-cool);
}

.btn b {
  color: inherit;
  font-size: 1.35rem;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 22px;
}

.hero-notes span,
.feature-card,
.support-card,
.faq-section,
.final-cta {
  border: 1px solid rgba(58, 145, 224, 0.34);
  border-radius: 14px;
  background: rgba(2, 14, 32, 0.64);
  box-shadow: inset 0 0 32px rgba(37, 242, 245, 0.04), 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-notes span {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: #e9f5ff;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(520px, 100%);
}

.agency-photo {
  width: 100%;
  border: 2px solid rgba(37, 242, 245, 0.78);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 107, 53, 0.46),
    0 0 34px rgba(37, 242, 245, 0.32),
    0 26px 70px rgba(0, 0, 0, 0.46);
}

.community-badge {
  position: relative;
  z-index: 2;
  width: min(360px, 82%);
  margin: -54px auto 0;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
}

.path-grid,
.support-section,
.faq-final-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 14px;
}

.feature-card {
  min-height: 166px;
  padding: 22px;
}

.feature-card:nth-child(1) {
  border-color: rgba(184, 87, 255, 0.55);
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  border-color: rgba(37, 242, 245, 0.48);
}

.feature-card:nth-child(4) {
  border-color: rgba(255, 107, 53, 0.52);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #61ffff;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-card h2,
.support-copy h2,
.faq-section h2,
.final-cta h2 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1.08;
}

.feature-card p,
.support-copy p,
.faq-list p,
.final-cta p {
  color: var(--muted);
}

.feature-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-cool);
  font-weight: 900;
}

.readiness-card a {
  color: #ff934d;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: 18px;
  padding: 0 0 14px;
}

.support-copy,
.support-card {
  min-height: 210px;
  border-radius: 18px;
}

.support-copy {
  padding: 28px;
  background: rgba(2, 14, 32, 0.46);
}

.support-copy h2 {
  max-width: 640px;
  font-size: 2.2rem;
}

.support-card {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 28px;
}

.avatar-strip {
  display: flex;
}

.avatar-strip span {
  width: 64px;
  height: 64px;
  margin-left: -10px;
  border: 2px solid rgba(184, 87, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 32%, rgba(255,255,255,0.72), transparent 11%),
    linear-gradient(135deg, rgba(255, 107, 53, 0.92), rgba(37, 242, 245, 0.72));
}

.avatar-strip span:first-child {
  margin-left: 0;
}

.support-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #f2f7ff;
  list-style: none;
}

.support-card li {
  border: 1px solid rgba(184, 87, 255, 0.36);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(4, 20, 42, 0.72);
}

.faq-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 18px;
  padding-bottom: 34px;
}

.faq-section,
.final-cta {
  min-height: 228px;
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(57, 108, 173, 0.52);
  border-radius: 12px;
  background: rgba(4, 17, 36, 0.76);
  overflow: hidden;
}

.faq-list summary {
  min-height: 48px;
  padding: 14px 16px;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 15px;
  font-size: 0.96rem;
}

.final-cta {
  border-color: rgba(255, 107, 53, 0.45);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 47, 99, 0.26), transparent 34%),
    rgba(2, 14, 32, 0.7);
}

.final-cta h2 {
  font-size: 1.9rem;
  text-align: center;
}

.final-cta .section-kicker {
  display: flex;
  width: max-content;
  margin: 0 auto;
}

.final-actions {
  justify-content: center;
  margin-top: 18px;
}

.final-actions .btn {
  min-width: min(360px, 100%);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    justify-self: center;
  }

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

  .support-section,
  .faq-final-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
  }

  .nav-shell {
    width: min(100% - 40px, 430px);
    min-height: 66px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span,
  .brand b,
  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1.1rem;
    font-style: normal;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(2, 14, 32, 0.76);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--accent-cool);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    z-index: 70;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: rgba(2, 10, 24, 0.97);
  }

  body.menu-open .nav-menu {
    display: grid;
  }

  .hero,
  .path-grid,
  .support-section,
  .faq-final-grid {
    width: min(100% - 28px, 430px);
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0 12px;
  }

  .hero::after {
    width: 42px;
    height: 42px;
    left: auto;
    right: 48px;
    top: 26px;
  }

  .eyebrow {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .agent-name {
    margin-top: 10px;
    font-size: 0.86rem;
  }

  .agency-id {
    margin-top: 7px;
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 360px;
    margin: 6px 0 8px;
    font-size: 2.16rem;
    line-height: 1.02;
  }

  .hero-subtitle {
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 0.94rem;
    line-height: 1.34;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 0.96rem;
  }

  .hero-notes {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 8px;
  }

  .hero-notes span {
    min-height: 44px;
    padding: 0 6px;
    font-size: 0.68rem;
    text-align: center;
  }

  .hero-card {
    width: min(342px, 100%);
  }

  .agency-photo {
    border-radius: 20px;
  }

  .community-badge {
    width: min(250px, 82%);
    margin-top: -38px;
  }

  .path-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 4px;
  }

  .feature-card {
    min-height: 94px;
    border-radius: 10px;
    padding: 11px 8px;
    text-align: center;
  }

  .card-icon {
    min-width: 28px;
    min-height: 28px;
    font-size: 0.52rem;
  }

  .feature-card h2 {
    margin: 6px 0 4px;
    font-size: 0.68rem;
  }

  .feature-card p {
    margin-bottom: 0;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .feature-card a {
    display: none;
  }

  .support-section {
    display: none;
  }

  .faq-final-grid {
    padding-bottom: 18px;
  }

  .faq-section,
  .final-cta {
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
  }

  .section-kicker {
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .faq-section h2,
  .final-cta h2 {
    margin: 8px 0;
    font-size: 1.05rem;
  }

  .faq-list summary {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .faq-list p {
    padding: 0 12px 11px;
    font-size: 0.66rem;
  }

  .final-cta {
    display: none;
  }
}

@media (max-width: 390px) {
  .brand em {
    display: none;
  }

  .hero-card {
    width: 330px;
  }

  h1 {
    font-size: 2.12rem;
  }
}
