:root {
  --ink: #213f4b;
  --ink-strong: #1b3540;
  --muted: #66747b;
  --line: #d9e3e7;
  --soft: #edf8fb;
  --soft-blue: #dff3f8;
  --blue: #67bdd6;
  --blue-dark: #347fa8;
  --button: #df654d;
  --button-dark: #c8513c;
  --green: #57bd8f;
  --gold: #f4ad55;
  --paper: #ffffff;
  --shadow: 0 14px 38px rgba(28, 49, 58, .14);
  --radius: 8px;
  --heading: "Montserrat", Arial, sans-serif;
  --body: "Source Sans 3", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.48;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-strong);
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-bubble {
  display: inline-grid;
  width: 46px;
  height: 38px;
  place-items: center;
  border-radius: 8px 8px 8px 2px;
  color: #fff;
  background: var(--blue);
  font-size: 19px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.brand-word {
  letter-spacing: -1px;
}

.brand-invert {
  color: #fff;
}

.brand-large {
  font-size: 42px;
}

.brand-large .brand-bubble {
  width: 54px;
  height: 46px;
  font-size: 22px;
}

.brand-tail {
  margin-left: 6px;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
  font-style: italic;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  letter-spacing: 0;
  line-height: 1.12;
}

p {
  margin: 0;
}

.home-hero {
  position: relative;
  min-height: 870px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 14, 18, .86) 0%, rgba(9, 28, 36, .58) 40%, rgba(2, 14, 18, .08) 74%),
    url("../img/home-hero.png") center / cover no-repeat;
}

.top-promo {
  min-height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #55a7e9, #275f91);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.promo-button,
.nav-login {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0 0;
}

.home-hero .hero-nav {
  justify-content: flex-end;
}

.home-hero .hero-nav > .brand {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, .94);
  font-size: 18px;
  font-weight: 600;
}

.nav-links a:not(.nav-login):hover {
  color: #fff;
}

.hero-content {
  min-height: 710px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(860px, 100%);
  padding: 70px 0 115px;
}

.hero-copy h1 {
  max-width: 730px;
  margin-top: 34px;
  color: #fff;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
}

.hero-copy p {
  max-width: 780px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .92);
  font-size: 28px;
  font-weight: 700;
}

.hero-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-prompts button,
.category-pills a {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(20, 24, 28, .72);
  color: #fff;
  padding: 0 18px;
  font-weight: 600;
}

.hero-prompts button:hover {
  background: rgba(20, 24, 28, .92);
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  width: min(1040px, 100%);
  margin-top: 22px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .25);
}

.hero-search input {
  min-height: 56px;
  border: 0;
  outline: 0;
  padding: 0 8px;
  color: #263f48;
  font-size: 20px;
}

.hero-search button,
.contact-form button,
.price-card a,
.chat-input button,
.paywall-panel button,
.payment-form button[type="submit"] {
  min-height: 56px;
  border: 0;
  border-radius: 5px;
  background: var(--button);
  color: #fff;
  padding: 0 24px;
  font-weight: 800;
}

.hero-search button:hover,
.contact-form button:hover,
.price-card a:hover,
.chat-input button:hover,
.paywall-panel button:hover,
.payment-form button[type="submit"]:hover {
  background: var(--button-dark);
}

.hero-disclaimer {
  margin-top: 14px !important;
  color: rgba(255, 255, 255, .62) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.hero-disclaimer a {
  color: #9bd9ef;
  text-decoration: underline;
}

.category-strip {
  background: linear-gradient(180deg, #eaf8fc, #f7fcfd);
  border-bottom: 1px solid #e5f1f4;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 22px 0 28px;
}

.category-pills a {
  border-color: #aeb8be;
  background: #fff;
  color: #484f53;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.section {
  padding: 72px 0;
}

.popular {
  padding-top: 48px;
  background: linear-gradient(180deg, #f7fcfd 0%, #fff 100%);
}

.section h2 {
  color: var(--ink-strong);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 800;
}

.popular h2 {
  margin-bottom: 30px;
  color: #858585;
  text-align: center;
  font-size: 31px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.question-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px 30px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .34) 45%, rgba(255, 255, 255, .05)),
    url("../img/category-collage.png");
  background-size: 100% 100%, 200% 200%;
  box-shadow: 0 2px 14px rgba(36, 54, 62, .1);
}

.question-card span {
  color: var(--ink-strong);
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 800;
}

.question-card strong {
  max-width: 250px;
  margin-top: 10px;
  color: #3e3e3e;
  font-size: 17px;
  line-height: 1.2;
}

.question-card.medical {
  background-position: center, left top;
}

.question-card.vet {
  background-position: center, right top;
}

.question-card.auto {
  background-position: center, left bottom;
}

.question-card.legal {
  background-position: center, right bottom;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr);
  gap: 80px;
  align-items: center;
}

.steps {
  margin-top: 52px;
}

.steps article {
  max-width: 680px;
  padding: 26px 34px;
  border-radius: 8px;
}

.steps article + article {
  margin-top: 22px;
}

.steps h3 {
  color: var(--ink);
  font-size: 30px;
}

.steps p {
  margin-top: 10px;
  color: #69767c;
  font-size: 21px;
}

.highlight-step {
  background: #e6f6fb;
}

.match-visual {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-card {
  position: relative;
  width: 310px;
  min-height: 470px;
  border: 8px solid rgba(34, 62, 74, .08);
  border-radius: 44px;
  padding: 60px 40px;
  background: rgba(255, 255, 255, .74);
  box-shadow: inset 0 0 0 1px rgba(34, 62, 74, .06);
}

.mini-avatar,
.avatar {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background-image: url("../img/expert-avatars.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.avatar {
  width: 66px;
  height: 66px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .5);
}

.mini-avatar {
  width: 42px;
  height: 42px;
  vertical-align: middle;
}

.assistant-avatar {
  background-position: left top;
}

.lawyer-avatar {
  background-position: 50% top;
}

.doctor-avatar {
  background-position: right top;
}

.vet-avatar {
  background-position: left bottom;
}

.mechanic-avatar {
  background-position: 50% bottom;
}

.tax-avatar {
  background-position: right bottom;
}

.line {
  display: inline-block;
  height: 14px;
  margin: 0 0 16px 16px;
  border-radius: 999px;
  background: #cad0d3;
  vertical-align: middle;
}

.line.long {
  width: 126px;
}

.line.medium {
  width: 92px;
}

.line.short {
  width: 70px;
}

.expert-pop {
  position: absolute;
  right: -52px;
  top: 190px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 14px;
  min-width: 230px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.expert-pop .mini-avatar {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
}

.expert-pop strong {
  align-self: end;
}

.expert-pop span:last-child {
  color: var(--gold);
}

.experts {
  overflow: hidden;
}

.expert-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: center;
}

.expert-intro p {
  margin: 34px 0 26px;
  color: #606b70;
  font-size: 22px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 800;
  color: #3d3f41;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

.expert-cards {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  gap: 28px;
}

.expert-card {
  min-height: 340px;
  padding: 28px;
  border: 1px solid #e5e9eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.expert-card h3 {
  display: inline-block;
  margin-left: 18px;
  color: #3e4144;
  font-size: 20px;
  vertical-align: top;
  padding-top: 10px;
}

.stars {
  color: var(--gold);
  font-weight: 800;
}

.expert-card .stars {
  margin: 12px 0 18px;
  font-size: 22px;
}

.expert-card strong {
  display: block;
  color: #3e4144;
  font-size: 18px;
}

.expert-card p:not(.stars) {
  margin: 12px 0 24px;
  color: #657178;
}

.expert-card em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.love {
  padding-bottom: 100px;
}

.love-panel {
  padding: 76px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 36px rgba(34, 62, 74, .08);
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 58px;
}

.benefit-grid article span {
  display: inline-grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 18px;
  color: var(--blue-dark);
  background: var(--soft-blue);
  font-family: var(--heading);
  font-weight: 800;
}

.benefit-grid h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: 22px;
}

.benefit-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.floating-widget {
  position: fixed;
  right: 36px;
  bottom: 28px;
  z-index: 20;
}

.widget-bubble {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
}

.widget-bubble > span:first-child {
  display: none;
  min-height: 66px;
  align-items: center;
  padding: 0 24px;
  border-radius: 3px;
  background: #506ee4;
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 34, 58, .28);
  font-size: 20px;
}

.show-widget-label .widget-bubble > span:first-child {
  display: inline-flex;
}

.widget-bubble .avatar {
  position: relative;
  width: 78px;
  height: 78px;
}

.widget-bubble i {
  position: absolute;
  right: -4px;
  top: -4px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  font-size: 13px;
  font-style: normal;
}

.widget-panel {
  position: absolute;
  right: 98px;
  bottom: 84px;
  width: 300px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.widget-head {
  margin: -20px -20px 16px;
  padding: 14px 18px;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
  color: #fff;
  font-family: var(--heading);
  font-weight: 800;
}

.widget-panel p {
  color: var(--muted);
}

.widget-panel a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--button);
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid #e4ecef;
  background: #f7fbfc;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #5c696f;
  font-weight: 700;
}

.legal-page {
  background: #fff;
}

.legal-main {
  min-height: 100vh;
}

.legal-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31, 12, 6, .72), rgba(37, 18, 9, .4) 42%, rgba(31, 12, 6, .08)),
    url("../img/legal-hero.png") center / cover no-repeat;
}

.legal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .48));
}

.legal-copy {
  position: relative;
  z-index: 1;
  width: min(560px, calc(44vw - 52px));
  margin-left: clamp(38px, 6vw, 126px);
  padding-bottom: 128px;
  color: #fff;
}

.legal-copy .brand-large {
  align-items: baseline;
  font-size: 30px;
}

.legal-copy .brand-tail {
  font-size: .72em;
  white-space: nowrap;
}

.legal-copy h1 {
  max-width: 560px;
  margin: 28px 0 18px;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 800;
}

.legal-copy ul {
  margin: 0;
  padding-left: 24px;
  color: rgba(255, 255, 255, .95);
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 700;
}

.legal-copy li + li {
  margin-top: 8px;
}

.press-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(42px, 9vw, 140px);
  padding: 18px;
  background: rgba(0, 0, 0, .38);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 800;
}

.legal-chat-shell {
  position: fixed;
  top: 80px;
  right: clamp(24px, 6vw, 92px);
  z-index: 10;
  width: min(660px, 39.5vw);
}

.chat-card {
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .32);
}

.chat-profile {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  background: #6abbd5;
  color: #fff;
}

.chat-profile .avatar {
  width: 92px;
  height: 92px;
}

.chat-profile h2 {
  color: #fff;
  font-size: 28px;
}

.chat-profile strong,
.chat-profile p {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.chat-profile .stars {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
}

.flag {
  align-self: start;
  border-radius: 2px;
  background: rgba(255, 255, 255, .9);
  color: var(--blue-dark);
  padding: 2px 6px;
  font-weight: 800;
  font-size: 12px;
}

.chat-body {
  height: min(54vh, 620px);
  overflow-y: auto;
  padding: 28px 26px 22px;
}

.message-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.message-row.user {
  justify-content: flex-end;
}

.message-row .avatar {
  width: 42px;
  height: 42px;
  margin-top: 24px;
}

.message-row small {
  display: block;
  margin: 0 0 5px;
  color: #9b9b9b;
  font-size: 18px;
  font-weight: 800;
}

.message-row p {
  position: relative;
  max-width: 470px;
  padding: 12px 16px;
  border: 1px solid #b4e0eb;
  border-radius: 4px;
  background: #d8f0f6;
  color: #334249;
  font-size: 20px;
  line-height: 1.32;
}

.message-row.typing p {
  min-width: 82px;
  padding: 13px 18px;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
}

.typing-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8a9ca4;
  opacity: .45;
  animation: typingDotPulse 1.15s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: .18s;
}

.typing-dots span:nth-child(3) {
  animation-delay: .36s;
}

@keyframes typingDotPulse {
  0%,
  70%,
  100% {
    opacity: .35;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.message-row.user p {
  border-color: #d7d7d7;
  background: #f7f7f7;
}

.message-row.user small {
  text-align: right;
}

.payment-message-link {
  display: inline;
  border: 0;
  border-bottom: 2px solid rgba(52, 127, 168, .36);
  padding: 0 1px 1px;
  color: var(--blue-dark);
  background: transparent;
  font-weight: 800;
}

.payment-message-link:hover,
.payment-message-link:focus {
  color: var(--ink-strong);
  border-bottom-color: var(--blue-dark);
}

.chat-notice {
  margin: -8px 0 18px 56px;
  color: #7a858a;
  font-size: 14px;
  line-height: 1.25;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e0e0e0;
  background: #fff;
}

.chat-input input {
  min-height: 52px;
  border: 1px solid #cdd8dc;
  border-radius: 5px;
  padding: 0 14px;
  outline-color: var(--blue);
}

.chat-input button {
  min-height: 52px;
  padding: 0 14px;
}

.paywall-panel {
  margin: 16px 0 4px 56px;
  padding: 22px;
  border: 1px solid #e4e7e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(34, 62, 74, .1);
}

.paywall-panel h3 {
  color: #303030;
  font-size: 24px;
}

.paywall-panel p {
  margin: 8px 0 16px;
  color: #5f6b70;
}

.paywall-panel label,
.contact-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #515d62;
  font-weight: 700;
}

.paywall-panel input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bdc9ce;
  border-radius: 5px;
  padding: 13px 14px;
  color: #263f48;
}

.paywall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.paywall-panel button {
  width: 100%;
  margin-top: 6px;
}

.paywall-panel small {
  display: block;
  margin-top: 10px;
  color: #879196;
  text-align: center;
}

.paywall-form button:disabled {
  opacity: .72;
  cursor: wait;
}

.paywall-status {
  min-height: 20px;
  margin-top: 12px !important;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.paywall-form.is-submitted input {
  background: #f5f8f9;
}

.payment-modal-open {
  overflow: hidden;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.payment-modal.is-open {
  display: flex;
}

.payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 34, .64);
  backdrop-filter: blur(5px);
}

.payment-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.payment-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  background: rgba(33, 63, 75, .22);
  font-size: 24px;
  line-height: 1;
}

.payment-expert {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 28px 12px;
  background: #62bdd5;
  color: #fff;
}

.payment-expert .avatar {
  width: 76px;
  height: 76px;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .16);
  cursor: pointer;
}

.payment-kicker {
  display: block;
  margin-bottom: 2px;
  font-weight: 800;
  font-size: 14px;
  opacity: .96;
}

.payment-expert h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.04;
}

.payment-expert p {
  margin: 4px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.18;
}

.payment-stars {
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.payment-topic {
  margin: 12px 28px 0;
  padding: 10px 14px;
  border: 1px solid #cfe8ef;
  border-radius: 8px;
  background: #f2fbfd;
  color: #4d626b;
  font-size: 16px;
}

.payment-topic span {
  color: var(--muted);
  font-weight: 800;
}

.payment-topic strong {
  color: var(--ink-strong);
}

.payment-form {
  padding: 12px 28px 16px;
}

.payment-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
  color: #515d62;
  font-weight: 800;
}

.payment-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bdc9ce;
  border-radius: 5px;
  padding: 10px 14px;
  color: #263f48;
  font-variant-numeric: tabular-nums;
  outline-color: var(--blue);
}

.payment-terms {
  margin: 3px 0 10px;
  padding: 10px 13px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #5d686d;
  font-size: 14px;
  line-height: 1.35;
}

.payment-form button[type="submit"] {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.payment-trust-footer {
  border-top: 1px solid #e0e0e0;
  padding: 12px 28px 16px;
  background: #fff;
}

.payment-trust-label {
  display: block;
  margin-bottom: 8px;
  color: #79858a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.payment-trust-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: stretch;
}

.trust-logo {
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe8ec;
  border-radius: 8px;
  background: #fff;
  color: #314a55;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
}

.trust-logo strong {
  display: block;
  font-size: 17px;
}

.trust-logo small {
  display: block;
  margin-top: 4px;
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-bbb {
  color: #006a8e;
}

.trust-google {
  color: #4285f4;
}

.trust-google small {
  color: #f57c00;
  font-size: 13px;
}

.trust-trustpilot {
  color: #00a96e;
}

.trust-trustpilot small {
  font-size: 13px;
}

.trust-legit {
  color: #173a5e;
}

.trust-secure {
  color: #1674ad;
}

.legal-content {
  padding: 84px clamp(34px, 7vw, 120px);
}

.content-wrap {
  max-width: 980px;
}

.legal-content h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.legal-content p,
.number-list {
  margin-top: 20px;
  color: #617078;
  font-size: 22px;
}

.legal-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.legal-topic-grid article {
  padding: 24px;
  border: 1px solid #e2eaed;
  border-radius: 8px;
  background: #fff;
}

.legal-topic-grid h3 {
  color: var(--ink);
  font-size: 22px;
}

.legal-topic-grid p {
  margin-top: 8px;
  font-size: 18px;
}

.muted-band {
  background: #f4fbfd;
}

.number-list {
  padding-left: 24px;
}

.number-list li + li {
  margin-top: 10px;
}

.plain-header {
  border-bottom: 1px solid #e1eaee;
  background: #fff;
}

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

.plain-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #4c5b62;
  font-weight: 800;
}

.plain-page {
  min-height: calc(100vh - 170px);
  padding: 70px 0 90px;
}

.plain-page h1 {
  color: var(--ink-strong);
  font-size: clamp(42px, 4vw, 64px);
}

.plain-page > p {
  max-width: 780px;
  margin-top: 18px;
  color: #5f6b70;
  font-size: 22px;
}

.plain-cards,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.plain-cards article,
.price-card {
  padding: 28px;
  border: 1px solid #e1e9ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 62, 74, .08);
}

.plain-cards h2,
.price-card h2,
.legal-text h2 {
  color: var(--ink);
  font-size: 24px;
}

.plain-cards p,
.price-card p,
.legal-text p {
  margin-top: 12px;
  color: #617078;
}

.price-card strong {
  display: block;
  margin: 18px 0;
  color: var(--ink-strong);
  font-family: var(--heading);
  font-size: 42px;
}

.price-card a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 22px;
}

.price-card.featured {
  border-color: #bce4ee;
  background: #f1fbfd;
  transform: translateY(-10px);
}

.contact-form {
  max-width: 680px;
  margin-top: 34px;
}

.contact-form button {
  min-width: 190px;
}

.legal-text h2 {
  margin-top: 34px;
}

@media (max-width: 1180px) {
  .question-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expert-row,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .expert-cards {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }

  .legal-main {
    padding-right: 0;
  }

  .legal-chat-shell {
    position: relative;
    top: auto;
    right: auto;
    width: min(760px, calc(100% - 40px));
    margin: -120px auto 50px;
  }

  .chat-body {
    height: 560px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 28px, 720px);
  }

  .top-promo,
  .footer-grid,
  .plain-nav {
    flex-direction: column;
  }

  .top-promo {
    gap: 10px;
    min-height: 72px;
    padding: 12px 18px;
    font-size: 15px;
    line-height: 1.25;
  }

  .promo-button {
    min-height: 40px;
    padding: 0 18px;
  }

  .hero-nav {
    padding-top: 18px;
  }

  .home-hero .nav-links {
    display: none;
  }

  .nav-links {
    gap: 16px;
    font-size: 16px;
  }

  .plain-nav nav {
    gap: 16px;
    font-size: 16px;
  }

  .home-hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(2, 14, 18, .9) 0%, rgba(9, 28, 36, .64) 52%, rgba(2, 14, 18, .16) 100%),
      url("../img/home-hero.png") 58% top / cover no-repeat;
  }

  .hero-content {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-copy {
    padding: 34px 0 42px;
  }

  .brand-large {
    font-size: 32px;
  }

  .brand-large .brand-bubble {
    width: 48px;
    height: 40px;
    font-size: 19px;
  }

  .brand-tail {
    display: block;
    margin-left: 0;
    font-size: 24px;
  }

  .legal-copy .brand-large {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .legal-copy .brand-tail {
    width: 100%;
    white-space: normal;
    font-size: 22px;
  }

  .hero-copy h1,
  .legal-copy h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-copy p,
  .legal-copy ul {
    font-size: 19px;
    line-height: 1.38;
  }

  .hero-copy p {
    margin-top: 16px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 10px;
  }

  .hero-search input {
    min-height: 50px;
    font-size: 18px;
  }

  .hero-search button {
    min-height: 52px;
    width: 100%;
  }

  .hero-prompts {
    margin-top: 22px;
  }

  .hero-prompts button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 15px;
  }

  .question-grid,
  .benefit-grid,
  .legal-topic-grid,
  .plain-cards,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .question-card {
    min-height: 280px;
  }

  .section {
    padding: 54px 0;
  }

  .popular h2 {
    font-size: 28px;
  }

  .steps article {
    padding: 22px 0;
  }

  .highlight-step {
    padding: 22px !important;
  }

  .match-visual {
    min-height: 430px;
  }

  .phone-card {
    width: 270px;
  }

  .expert-pop {
    right: -20px;
    min-width: 210px;
  }

  .expert-cards {
    grid-template-columns: 1fr;
  }

  .love-panel {
    padding: 34px 20px;
  }

  .floating-widget {
    display: none;
  }

  .widget-panel {
    right: 0;
    width: min(300px, calc(100vw - 32px));
  }

  .legal-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 34px 0 42px;
    background:
      linear-gradient(90deg, rgba(31, 12, 6, .78), rgba(37, 18, 9, .5) 58%, rgba(31, 12, 6, .2)),
      url("../img/legal-hero.png") 47% top / cover no-repeat;
  }

  .legal-copy {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-bottom: 0;
  }

  .press-strip {
    display: none;
  }

  .legal-chat-shell {
    width: calc(100% - 24px);
    margin: 22px auto 44px;
  }

  .chat-profile {
    grid-template-columns: 70px 1fr auto;
    padding: 18px;
  }

  .chat-profile .avatar {
    width: 70px;
    height: 70px;
  }

  .chat-profile h2 {
    font-size: 22px;
  }

  .chat-body {
    height: min(450px, 58vh);
    padding: 20px 14px;
  }

  .message-row p {
    max-width: calc(100vw - 112px);
    font-size: 18px;
  }

  .chat-input {
    grid-template-columns: 1fr;
  }

  .paywall-panel {
    margin-left: 0;
  }

  .payment-modal {
    align-items: stretch;
    padding: 12px;
  }

  .payment-dialog {
    max-height: calc(100vh - 24px);
    align-self: center;
  }

  .payment-expert {
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 12px 18px 10px;
  }

  .payment-expert .avatar {
    width: 58px;
    height: 58px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .16);
  }

  .payment-expert h3 {
    font-size: 19px;
  }

  .payment-kicker,
  .payment-stars {
    font-size: 12px;
  }

  .payment-expert p,
  .payment-topic {
    font-size: 14px;
  }

  .payment-topic {
    margin-right: 18px;
    margin-left: 18px;
  }

  .payment-trust-footer {
    padding: 10px 18px 14px;
  }

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

  .trust-logo:last-child {
    grid-column: 1 / -1;
  }

  .payment-form {
    padding: 16px 18px 18px;
  }

  .legal-content {
    padding: 56px 18px;
  }

  .plain-nav {
    align-items: flex-start;
    padding: 18px 0;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .home-hero .top-promo {
    display: none;
  }

  .hero-copy {
    padding-top: 28px;
  }

  .hero-copy h1,
  .legal-copy h1 {
    font-size: 32px;
  }

  .hero-copy p {
    font-size: 18px;
  }

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

  .hero-prompts button {
    width: 100%;
    min-height: 36px;
    font-size: 14px;
  }

  .question-card {
    padding: 22px;
  }

  .question-card span {
    font-size: 25px;
  }

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