:root {
  --navy-950: #04132f;
  --navy-900: #071a3d;
  --navy-800: #0c2855;
  --navy-700: #163b70;
  --orange-600: #f4550b;
  --orange-500: #ff681d;
  --orange-100: #fff0e8;
  --ink: #0d1b36;
  --muted: #5f6c83;
  --line: #dfe4ec;
  --surface: #f5f7fa;
  --white: #ffffff;
  --success: #14804a;
  --shadow-sm: 0 8px 26px rgba(7, 26, 61, 0.08);
  --shadow-lg: 0 28px 80px rgba(7, 26, 61, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

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

svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

:focus-visible {
  outline: 3px solid rgba(255, 104, 29, 0.45);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.announcement {
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy-950);
  font-size: 13px;
  font-weight: 600;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 10px;
}

.announcement__dot {
  width: 7px;
  height: 7px;
  background: var(--orange-500);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255, 104, 29, 0.12);
}

.announcement__separator {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 228, 236, 0.75);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-symbol {
  width: 35px;
  height: 39px;
  flex: 0 0 auto;
  background-image: url("/assets/bebbil-logo-reference.png");
  background-repeat: no-repeat;
  background-size: 112px 112px;
  background-position: -36px -10px;
}

.brand-word {
  color: var(--navy-900);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  color: #344159;
  font-size: 14px;
  font-weight: 650;
  transition: color var(--transition);
}

.desktop-nav a:hover {
  color: var(--orange-600);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  gap: 9px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.button--primary {
  color: var(--white);
  background: var(--orange-600);
  box-shadow: 0 8px 22px rgba(244, 85, 11, 0.24);
}

.button--primary:hover {
  background: #dd4504;
  box-shadow: 0 10px 28px rgba(244, 85, 11, 0.3);
}

.button--ghost {
  color: var(--navy-800);
  background: transparent;
}

.button--ghost:hover {
  background: var(--surface);
}

.button--outline {
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
}

.button--outline:hover {
  border-color: #b6c0cf;
  box-shadow: var(--shadow-sm);
}

.button--light {
  color: var(--navy-900);
  background: var(--white);
}

.button--large {
  min-height: 54px;
  padding-inline: 24px;
}

.menu-button,
.icon-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy-900);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  padding: 10px 20px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 12px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  min-height: 650px;
  gap: 62px;
  padding-block: 68px 72px;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  top: 10%;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 104, 29, 0.12), transparent 70%);
}

.hero__glow--two {
  bottom: -240px;
  left: 20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(22, 59, 112, 0.1), transparent 70%);
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 12px;
  background: var(--orange-100);
  border: 1px solid rgba(244, 85, 11, 0.12);
  border-radius: 999px;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  max-width: 720px;
  margin: 24px 0 18px;
  color: var(--navy-950);
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--orange-600);
}

.hero__lead {
  max-width: 670px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 1px 165px auto;
  align-items: center;
  width: min(100%, 700px);
  min-height: 70px;
  padding: 8px;
  background: var(--white);
  border: 1px solid rgba(13, 27, 54, 0.1);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(7, 26, 61, 0.12);
}

.search-field {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding-inline: 13px;
  color: #647089;
}

.search-field input,
.search-field select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-field input::placeholder {
  color: #8a94a7;
}

.search-field select {
  appearance: none;
  cursor: pointer;
}

.search-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.hero-search__button {
  min-height: 52px;
  padding-inline: 22px;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 10;
  width: min(420px, 100%);
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.search-suggestions button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  gap: 10px;
  text-align: left;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.search-suggestions button:hover,
.search-suggestions button.is-active {
  background: var(--surface);
}

.search-suggestions button svg {
  color: var(--orange-600);
}

.popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.popular-searches button {
  padding: 5px 9px;
  color: #48556d;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.popular-searches button:hover {
  color: var(--orange-600);
  border-color: rgba(244, 85, 11, 0.35);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  color: #526079;
  font-size: 13px;
  list-style: none;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__proof svg {
  width: 17px;
  height: 17px;
  color: var(--success);
}

.hero__visual {
  min-height: 520px;
}

.visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(12, 40, 85, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.visual-ring--outer {
  width: 470px;
  height: 470px;
}

.visual-ring--inner {
  width: 310px;
  height: 310px;
  border-style: dashed;
}

.visual-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  background: var(--white);
  border: 1px solid rgba(7, 26, 61, 0.08);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
}

.brand-symbol--large {
  width: 67px;
  height: 76px;
  background-size: 215px 215px;
  background-position: -69px -19px;
}

.visual-center strong {
  margin-top: 4px;
  color: var(--navy-900);
  font-size: 20px;
  letter-spacing: 0.13em;
}

.visual-center small {
  color: var(--muted);
  font-size: 11px;
}

.orbit-card {
  position: absolute;
  display: flex;
  align-items: center;
  min-width: 190px;
  padding: 13px 15px;
  gap: 11px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(7, 26, 61, 0.08);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.orbit-card > span {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 11px;
  place-items: center;
}

.orbit-card small,
.orbit-card strong {
  display: block;
}

.orbit-card small {
  color: var(--muted);
  font-size: 11px;
}

.orbit-card strong {
  color: var(--navy-900);
  font-size: 14px;
}

.orbit-card--one {
  top: 72px;
  left: -12px;
}

.orbit-card--two {
  top: 210px;
  right: -24px;
}

.orbit-card--three {
  bottom: 58px;
  left: 25px;
}

.visual-accent {
  position: absolute;
  right: 74px;
  bottom: 78px;
  width: 18px;
  height: 18px;
  background: var(--orange-500);
  border-radius: 5px;
  transform: rotate(18deg);
  box-shadow: 0 0 0 10px rgba(255, 104, 29, 0.08);
}

.category-section,
.how-section,
.trust-section {
  padding-block: 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
  gap: 40px;
}

.section-heading h2,
.provider-card h2,
.trust-copy h2,
.final-cta h2 {
  margin: 9px 0 0;
  color: var(--navy-950);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.section-heading--centered {
  justify-content: center;
  text-align: center;
}

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

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 192px;
  padding: 22px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.category-card:nth-child(n + 13) {
  display: none;
}

.category-grid.is-expanded .category-card {
  display: flex;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 90px;
  height: 90px;
  background: var(--orange-100);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card:hover,
.category-card.is-selected {
  border-color: rgba(244, 85, 11, 0.38);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.category-card:hover::after,
.category-card.is-selected::after {
  opacity: 1;
}

.category-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 13px;
  place-items: center;
}

.category-card h3 {
  position: relative;
  z-index: 1;
  max-width: 230px;
  margin: auto 0 2px;
  color: var(--navy-900);
  font-size: 16px;
  line-height: 1.35;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.category-card__arrow {
  position: absolute;
  top: 22px;
  right: 20px;
  color: #9aa4b5;
}

.category-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.category-grid.is-expanded + .category-actions svg {
  transform: rotate(180deg);
}

.category-detail {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.category-detail[hidden] {
  display: none;
}

.category-detail__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  cursor: pointer;
}

.category-detail__icon {
  display: grid;
  width: 64px;
  height: 64px;
  color: var(--orange-600);
  background: var(--white);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
  place-items: center;
}

.category-detail__icon svg {
  width: 28px;
  height: 28px;
}

.category-detail h3 {
  margin: 3px 0 2px;
  color: var(--navy-900);
  font-size: 23px;
}

.category-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.subcategory-list span {
  padding: 5px 9px;
  color: #4d5b72;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.step {
  position: relative;
  min-height: 290px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.step:first-child {
  border-radius: 22px 0 0 22px;
}

.step:last-child {
  border-radius: 0 22px 22px 0;
}

.step + .step {
  border-left: 0;
}

.step__number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: #d9dee7;
  font-size: 26px;
  font-weight: 800;
}

.step__icon {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 15px;
  place-items: center;
}

.step h3 {
  margin: 58px 0 8px;
  color: var(--navy-900);
  font-size: 20px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.provider-section {
  padding-block: 100px;
}

.provider-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 500px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.provider-card__visual {
  position: relative;
  min-height: 470px;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 58%);
}

.provider-card__visual::before,
.provider-card__visual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.provider-card__visual::before {
  width: 320px;
  height: 320px;
}

.provider-card__visual::after {
  width: 210px;
  height: 210px;
  border-style: dashed;
}

.provider-center,
.provider-avatar {
  position: absolute;
  z-index: 1;
  display: grid;
  color: var(--navy-900);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  place-items: center;
}

.provider-center {
  top: 50%;
  left: 50%;
  width: 98px;
  height: 98px;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.provider-center svg {
  width: 35px;
  height: 35px;
}

.provider-avatar {
  width: 64px;
  height: 64px;
}

.provider-avatar svg {
  color: var(--orange-600);
}

.provider-avatar--one { top: 76px; left: 45%; }
.provider-avatar--two { top: 43%; right: 42px; }
.provider-avatar--three { bottom: 58px; left: 48%; }
.provider-avatar--four { top: 42%; left: 43px; }

.provider-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 70px 62px 34px;
}

.section-kicker--light {
  color: #ff9b69;
}

.provider-card h2 {
  color: var(--white);
}

.provider-card__content > p {
  max-width: 570px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.72);
}

.provider-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.provider-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.provider-card li svg {
  width: 17px;
  height: 17px;
  color: #ff9b69;
}

.provider-card .button {
  align-self: flex-start;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.trust-copy p {
  margin: 22px 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-600);
  font-weight: 750;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list article {
  display: flex;
  align-items: flex-start;
  padding: 22px;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.trust-list article > span {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 13px;
  place-items: center;
}

.trust-list h3 {
  margin: 0 0 3px;
  color: var(--navy-900);
  font-size: 16px;
}

.trust-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.final-cta {
  padding-block: 0 100px;
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 46px 52px;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.final-cta h2 {
  max-width: 640px;
  font-size: clamp(30px, 4vw, 43px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-950);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding-block: 62px 42px;
  gap: 70px;
}

.brand--footer .brand-word {
  color: var(--white);
}

.footer__brand p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer__links div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__links strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 14px;
}

.footer__links a,
.footer__links button {
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.footer__links a:hover,
.footer__links button:hover {
  color: #ff9b69;
}

.brand-expansion {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-block: 23px;
  gap: 15px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.brand-expansion b {
  color: var(--orange-500);
  font-size: 17px;
}

.brand-expansion i {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.request-dialog {
  width: min(92vw, 650px);
  max-height: min(90vh, 760px);
  padding: 0;
  background: var(--white);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 35px 120px rgba(4, 19, 47, 0.35);
}

.request-dialog::backdrop {
  background: rgba(4, 19, 47, 0.66);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  padding: 30px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-kicker {
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-header h2 {
  margin: 5px 0 0;
  color: var(--navy-950);
  font-size: 26px;
  line-height: 1.2;
}

.dialog-header .icon-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.progress-track {
  height: 5px;
  margin: 24px 0 18px;
  overflow: hidden;
  background: #e8ebf0;
  border-radius: 99px;
}

.progress-track__bar {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--orange-600);
  border-radius: inherit;
  transition: width 240ms ease;
}

.preview-notice {
  display: flex;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 11px 13px;
  gap: 9px;
  color: #50617b;
  background: #f0f4fa;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.preview-notice svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--navy-700);
}

.form-step {
  min-height: 280px;
}

.form-step label {
  display: block;
  margin: 17px 0 7px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 750;
}

.form-step select,
.form-step textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid #cfd6e2;
  border-radius: 11px;
  outline: 0;
}

.form-step select:focus,
.form-step textarea:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255, 104, 29, 0.12);
}

.form-step textarea {
  resize: vertical;
}

.quick-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.quick-category-list button {
  display: flex;
  align-items: center;
  padding: 11px;
  gap: 9px;
  color: #44526a;
  text-align: left;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
}

.quick-category-list button:hover,
.quick-category-list button.is-selected {
  color: var(--navy-900);
  border-color: rgba(244, 85, 11, 0.35);
  background: var(--orange-100);
}

.quick-category-list svg {
  width: 16px;
  height: 16px;
  color: var(--orange-600);
}

.character-count {
  margin-top: 5px;
  color: var(--muted);
  text-align: right;
  font-size: 11px;
}

.form-step--summary {
  padding-top: 16px;
  text-align: center;
}

.summary-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  color: var(--success);
  background: #e9f7ef;
  border-radius: 50%;
  place-items: center;
}

.summary-icon svg {
  width: 28px;
  height: 28px;
}

.form-step--summary h3 {
  margin: 10px 0 14px;
  color: var(--navy-900);
}

.form-step--summary dl {
  margin: 0;
  padding: 5px 15px;
  text-align: left;
  background: var(--surface);
  border-radius: 12px;
}

.form-step--summary dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.form-step--summary dl div:last-child {
  border-bottom: 0;
}

.form-step--summary dt {
  color: var(--muted);
  font-size: 12px;
}

.form-step--summary dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 650;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  max-width: min(420px, calc(100vw - 44px));
  padding: 14px 16px;
  gap: 10px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 13px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
}

.toast[hidden] {
  display: none;
}

.toast svg {
  color: #77d5a3;
}

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

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
  }

  .hero__visual {
    transform: scale(0.87);
  }

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

  .provider-card__content {
    padding-right: 45px;
  }

  .trust-grid {
    gap: 50px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .desktop-action {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero__grid {
    display: block;
    min-height: auto;
    padding-block: 56px 65px;
  }

  .hero__content {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero__visual {
    display: none;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 64px);
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-heading--centered {
    align-items: center;
  }

  .category-detail {
    grid-template-columns: auto 1fr;
  }

  .category-detail__cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .step {
    min-height: 235px;
  }

  .step:first-child {
    border-radius: 22px 22px 0 0;
  }

  .step:last-child {
    border-radius: 0 0 22px 22px;
  }

  .step + .step {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .step h3 {
    margin-top: 36px;
  }

  .provider-card,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .provider-card__visual {
    min-height: 340px;
  }

  .provider-card__content {
    padding: 10px 42px 52px;
  }

  .trust-grid {
    gap: 38px;
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 580px) {
  .announcement__separator,
  .announcement__inner span:last-child {
    display: none;
  }

  .header__inner {
    min-height: 66px;
  }

  .brand-symbol {
    width: 31px;
    height: 35px;
    background-size: 100px 100px;
    background-position: -32px -9px;
  }

  .brand-word {
    font-size: 20px;
  }

  .header__actions > .button--primary {
    display: none;
  }

  .hero__grid {
    padding-block: 42px 55px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: 41px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border-radius: 16px;
  }

  .search-field {
    min-height: 50px;
  }

  .search-divider {
    width: calc(100% - 26px);
    height: 1px;
    margin-inline: 13px;
  }

  .hero-search__button {
    margin-top: 6px;
  }

  .popular-searches {
    align-items: flex-start;
  }

  .hero__proof {
    display: grid;
    gap: 9px;
  }

  .category-section,
  .how-section,
  .provider-section,
  .trust-section {
    padding-block: 72px;
  }

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

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

  .category-card {
    min-height: 145px;
  }

  .category-detail {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .category-detail__close {
    display: grid;
    place-items: center;
  }

  .category-detail__cta {
    width: 100%;
  }

  .provider-card {
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .provider-card__visual {
    min-height: 300px;
    transform: scale(0.9);
  }

  .provider-card__content {
    padding: 0 28px 38px;
  }

  .trust-list article {
    padding: 17px;
  }

  .final-cta {
    padding-bottom: 72px;
  }

  .final-cta__inner {
    padding: 30px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 4px;
  }

  .dialog-shell {
    padding: 22px;
  }

  .dialog-header h2 {
    font-size: 22px;
  }

  .form-step {
    min-height: 300px;
  }

  .quick-category-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
