:root {
  --bg: #eef3fb;
  --bg-2: #f8fbff;
  --bg-3: #eaf1ff;
  --panel: rgba(255, 255, 255, 0.58);
  --panel-strong: rgba(255, 255, 255, 0.74);
  --panel-soft: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.7);
  --line: rgba(74, 109, 161, 0.16);
  --text: #162033;
  --muted: #60708c;
  --muted-strong: #43516a;
  --brand: #0071e3;
  --brand-strong: #0058b9;
  --brand-soft: rgba(0, 113, 227, 0.12);
  --shadow-lg: 0 30px 80px rgba(92, 122, 167, 0.18);
  --shadow-md: 0 16px 42px rgba(82, 112, 156, 0.14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(164, 201, 255, 0.9), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.92), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(184, 213, 255, 0.52), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #edf3fb 48%, #e8f0fc 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
}

.ambient-one {
  top: 92px;
  right: 12%;
  width: 280px;
  height: 280px;
  background: rgba(153, 215, 255, 0.32);
}

.ambient-two {
  top: 420px;
  left: 7%;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.68);
}

.ambient-three {
  bottom: 120px;
  right: 10%;
  width: 320px;
  height: 320px;
  background: rgba(182, 204, 255, 0.34);
}

.site-header,
.hero,
.trust-strip,
.showcase,
.spotlight-band,
.quote-section,
.services-section,
.workflow-section,
.carrier-strip,
.guides-section,
.faq-section,
.cta-section,
.site-footer,
.guide-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.glass,
.glass-panel,
.glass-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.46)),
    rgba(255, 255, 255, 0.34);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 999px;
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(221, 234, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 22px rgba(77, 116, 172, 0.14);
}

.brand-mark span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #70b7ff, #0071e3);
  box-shadow: 0 0 0 6px rgba(112, 183, 255, 0.14);
}

.brand-wording {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-wording strong,
.section-heading h2,
.hero h1,
.feature-card h3,
.service-card h3,
.workflow-grid h3,
.guide-card h3,
.faq-list h3,
.cta-card h2,
.guide-article h1,
.guide-article h2,
.site-footer strong,
.hero-stats strong,
.device-card strong,
.floating-note strong {
  font-family: "Manrope", sans-serif;
}

.brand-wording strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-wording span {
  color: var(--muted);
  font-size: 0.84rem;
}

.primary-nav,
.header-cta,
.header-actions,
.hero-actions,
.cta-actions,
.footer-actions,
.quote-meta,
.mode-switch,
.device-topline {
  display: flex;
  align-items: center;
}

.primary-nav {
  justify-content: center;
  gap: 28px;
  color: var(--muted-strong);
  font-weight: 600;
  width: 100%;
  padding-top: 4px;
}

.primary-nav a,
.footer-actions a,
.guide-back {
  transition: color 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.primary-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0), rgba(0, 113, 227, 0.88), rgba(0, 113, 227, 0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.primary-nav a:hover,
.footer-actions a:hover {
  color: var(--brand-strong);
  transform: translateY(-1px);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions,
.hero-actions,
.cta-actions,
.footer-actions {
  gap: 12px;
}

.header-cta {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.solid {
  color: #fff;
  background: linear-gradient(180deg, #2993ff, var(--brand));
  box-shadow: 0 14px 30px rgba(0, 113, 227, 0.22);
}

.button.solid:hover {
  box-shadow: 0 18px 34px rgba(0, 113, 227, 0.3);
  background: linear-gradient(180deg, #42a2ff, #0069d4);
}

.button.ghost,
.button.subtle {
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--text);
  background: rgba(255, 255, 255, 0.46);
}

.button.ghost:hover,
.button.subtle:hover {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 28px rgba(113, 140, 181, 0.16);
}

.button.large {
  min-height: 56px;
  padding: 0 24px;
}

.top-rate-button {
  min-width: 172px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  padding: 70px 0 26px;
}

.hero-copy,
.hero-device,
.floating-note,
.trust-strip article,
.feature-card,
.quote-shell,
.service-card,
.workflow-grid article,
.carrier-card,
.guide-card,
.faq-list article,
.cta-card,
.guide-article {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 42px;
}

.eyebrow,
.feature-kicker,
.guide-label,
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-pill {
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-lead,
.section-heading p:last-child,
.service-card p,
.workflow-grid p,
.guide-card p,
.faq-list p,
.guide-article p,
.site-footer p,
.carrier-card p,
.device-card span,
.device-card li,
.floating-note span {
  color: var(--muted);
}

.hero-lead {
  margin: 18px 0 30px;
  max-width: 720px;
  font-size: 1.16rem;
  line-height: 1.55;
}

.hero-stats,
.trust-strip,
.showcase-grid,
.service-grid,
.workflow-grid,
.guide-grid,
.faq-list,
.quote-prep,
.carrier-list,
.device-body {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.hero-stats article {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-stats article:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(82, 112, 156, 0.18);
  background: rgba(255, 255, 255, 0.52);
}

.hero-visual {
  position: relative;
  padding-top: 24px;
}

.hero-device {
  padding: 22px;
}

.device-topline {
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted-strong);
  font-weight: 600;
}

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

.device-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.device-card p {
  margin: 0 0 6px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.device-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.device-card.soft ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

.device-card.soft li + li {
  margin-top: 8px;
}

.floating-note {
  position: absolute;
  right: 18px;
  bottom: -18px;
  width: min(320px, calc(100% - 32px));
  padding: 18px 20px;
}

.floating-note strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
}

.trust-strip,
.showcase,
.spotlight-band,
.quote-section,
.services-section,
.workflow-section,
.carrier-strip,
.guides-section,
.faq-section,
.cta-section {
  margin-top: 28px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-strip article,
.feature-card,
.service-card,
.workflow-grid article,
.guide-card,
.faq-list article {
  padding: 24px;
}

.trust-strip strong,
.feature-card h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.showcase {
  padding: 36px 0 2px;
}

.spotlight-band {
  padding: 18px 0 2px;
}

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

.section-heading.center {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading h2,
.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4.3vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading p:last-child,
.guide-article p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.showcase-grid,
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.spotlight-copy {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.spotlight-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.spotlight-card {
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.spotlight-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spotlight-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.18rem;
  line-height: 1.35;
}

.spotlight-card:hover,
.feature-card:hover,
.service-card:hover,
.workflow-grid article:hover,
.faq-list article:hover,
.carrier-list span:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(80, 113, 160, 0.2);
}

.feature-card {
  min-height: 220px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.feature-kicker,
.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: normal;
}

.quote-section {
  padding: 38px;
  border-radius: 44px;
}

.quote-shell {
  overflow: hidden;
  color: var(--text);
}

.mode-switch {
  gap: 10px;
  padding: 18px 18px 10px;
}

.mode-button {
  cursor: pointer;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(122, 153, 196, 0.2);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mode-button.is-active {
  color: #fff;
  background: linear-gradient(180deg, #2993ff, var(--brand));
  border-color: transparent;
}

.mode-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(101, 132, 176, 0.14);
}

.quote-meta {
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px 16px;
  color: var(--muted-strong);
  font-size: 0.96rem;
  font-weight: 600;
}

.quote-frame {
  min-height: 740px;
  padding: 0 12px 12px;
}

.quote-frame iframe {
  width: 100%;
  height: 740px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(214, 225, 244, 0.8);
}

.quote-prep {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 12px 12px;
}

.quote-prep article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.quote-prep strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.quote-prep p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.quote-prep article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(82, 112, 156, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.service-card h3,
.workflow-grid article h3,
.guide-card h3,
.faq-list h3,
.guide-article h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

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

.workflow-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--brand-strong);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.carrier-card {
  padding: 24px;
}

.carrier-card p {
  margin: 0 0 18px;
  color: var(--muted-strong);
  font-weight: 700;
}

.carrier-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.carrier-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.guide-grid,
.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(80, 113, 160, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.44);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.cta-card p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 52px;
}

.site-footer p {
  margin: 6px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.guide-page {
  min-height: 100vh;
}

.guide-shell {
  padding: 48px 0 72px;
}

.guide-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.guide-article {
  max-width: 920px;
  padding: 38px;
}

.guide-article h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.guide-article h2 {
  margin-top: 28px;
}

@media (max-width: 1160px) {
  .site-header,
  .hero,
  .showcase-grid,
  .spotlight-grid,
  .service-grid,
  .workflow-grid,
  .guide-grid,
  .faq-list,
  .cta-card,
  .quote-prep {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 30px;
  }

  .header-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .primary-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-actions,
  .footer-actions,
  .cta-actions {
    flex-wrap: wrap;
  }

  .hero-stats,
  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .carrier-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero-copy,
  .hero-device,
  .quote-section,
  .carrier-card,
  .service-card,
  .workflow-grid article,
  .guide-card,
  .faq-list article,
  .cta-card,
  .trust-strip article,
  .guide-article,
  .feature-card,
  .floating-note {
    border-radius: 24px;
  }

  .site-header,
  .hero-copy,
  .hero-device,
  .quote-section,
  .carrier-card,
  .guide-article,
  .cta-card {
    padding: 18px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-stats,
  .spotlight-grid,
  .quote-prep,
  .service-grid,
  .workflow-grid,
  .carrier-list,
  .guide-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .primary-nav,
  .brand-wording span {
    display: none;
  }

  .hero-actions,
  .site-footer,
  .footer-actions,
  .quote-meta,
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .mode-button {
    width: 100%;
  }

  .quote-frame,
  .quote-frame iframe {
    min-height: 880px;
    height: 880px;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }
}
