/* =========================================================
   iLoveConvertify — Production Light UI 2.4
   Premium light-only visual system.
   ========================================================= */

:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --paper: #f6f8fc;
  --surface: #ffffff;
  --sunken: #eff3f8;
  --line: #e4e7ec;
  --line-strong: #cfd7e4;
  --brand: #1d4ed8;
  --brand-ink: #173fae;
  --brand-deep: #172554;
  --brand-tint: #edf3ff;
  --ok: #047857;
  --ok-tint: #ecfdf5;
  --err: #b42318;
  --err-tint: #fef3f2;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-xs: 0 1px 2px rgba(16,24,40,.04);
  --shadow: 0 10px 32px rgba(16,24,40,.06);
  --shadow-lg: 0 22px 72px rgba(16,24,40,.10);
  --wrap: 1280px;
  --gut: clamp(22px, 4vw, 52px);
  color-scheme: light;
}

html { background: #fff; }
body {
  background: linear-gradient(180deg, #fbfcff 0%, #f6f8fc 22%, #f6f8fc 100%);
  color: var(--ink);
  font-size: 16.5px;
  letter-spacing: -.005em;
}

/* ---------- Generic content helpers ---------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid #dbe4f4;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-kicker--light {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}
.section-head {
  margin-bottom: 28px;
}
.section-head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.section-title {
  margin: 0;
  color: #101828;
  font-size: clamp(32px, 3vw, 46px);
  letter-spacing: -.04em;
}
.section-title--sm { font-size: clamp(28px, 2.4vw, 36px); }
.section-lede {
  max-width: 46rem;
  margin: 12px 0 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.7;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  color: #344054;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}
.link-more:hover {
  border-color: #c7d4ea;
  color: var(--brand);
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 1px 0 rgba(16,24,40,.02);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}
.site-header__inner { min-height: 82px; gap: 28px; }
.brand { min-width: 210px; }
.brand__img,
.brand__img--original {
  display: block;
  width: 198px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}
.site-nav { margin-left: 2px; margin-right: auto; }
.site-nav__list,
.site-nav ul { gap: 2px; }
.site-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #475467;
  font-size: 15px;
  font-weight: 550;
}
.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--brand);
  background: #f4f7ff;
}
.search-trigger {
  min-width: 220px;
  height: 46px;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow: var(--shadow-xs);
}
.search-trigger:hover {
  border-color: #b9c5d7;
  background: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 12px;
  font-weight: 650;
  box-shadow: none;
}
.btn--primary {
  background: linear-gradient(180deg, #2857df, #1d4ed8);
  border-color: #1d4ed8;
  box-shadow: 0 10px 22px rgba(29,78,216,.20);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #204cca, #183fae);
  border-color: #183fae;
  transform: translateY(-1px);
}
.btn--ghost {
  background: #fff;
  border-color: #d7dee9;
}
.btn--ghost:hover {
  background: #f8fafc;
  border-color: #bcc7d6;
}
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--brand-deep);
}
.icon-btn:hover { background: #f2f4f7; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(54px, 6vw, 88px) 0 clamp(76px, 6vw, 96px);
  background:
    radial-gradient(circle at 14% 0%, rgba(29,78,216,.08), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(29,78,216,.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-bottom: 1px solid #e6ebf2;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
}
.hero__copy { max-width: 760px; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  margin-bottom: 22px;
  font-size: clamp(50px, 5vw, 78px);
  line-height: .95;
  letter-spacing: -.055em;
  color: #101828;
}
.hero__text {
  max-width: 40em;
  margin-bottom: 30px;
  color: #475467;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.72;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e6ebf2;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #475467;
  font-size: 14px;
  font-weight: 500;
}
.hero__proof svg { color: var(--ok); }
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.hero__pills a:hover {
  border-color: #bfceeb;
  color: var(--brand);
  background: #fff;
}

/* ---------- File router ---------- */
.router { filter: drop-shadow(0 28px 60px rgba(16,24,40,.11)); }
.router__drop,
.router__result {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 32px 32px 30px;
  border: 1px solid #d9e2f0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,255,.97));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 18px 48px rgba(16,24,40,.08);
}
.router__drop::before,
.router__result::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(29,78,216,.08), transparent 30%);
  pointer-events: none;
}
.router__drop {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  border-style: dashed;
  cursor: default;
}
.router__drop:hover,
.router.is-over .router__drop {
  border-color: #7b98e9;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(242,247,255,.98));
}
.router__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-bottom: 4px;
}
.router__badge,
.router__mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.router__badge {
  border: 1px solid #d5eadf;
  background: #f2fbf7;
  color: var(--ok);
}
.router__mini {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475467;
}
.router__stack { margin: 4px 0 6px; }
.router__stack .ext {
  box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(16,24,40,.10);
}
.router__title {
  color: #101828;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -.03em;
}
.router__hint {
  max-width: 30em;
  color: #667085;
  line-height: 1.6;
  text-align: center;
}
.router__drop .btn { margin-top: 4px; }
.router__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.router__points li {
  padding: 11px 12px;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: #475467;
  font-size: 13px;
  text-align: center;
}
.router__result {
  min-height: 440px;
  border-color: #dfe6f0;
}
.router__file { border-bottom-color: #e8ecf2; }
.router__list a {
  border: 1px solid transparent;
  border-radius: 12px;
}
.router__list a:hover,
.router__list a:focus-visible {
  background: #f6f9ff;
  border-color: #dce6fb;
}

/* ---------- Facts ---------- */
.facts {
  padding: 0 0 24px;
  background: transparent;
  border: 0;
}
.facts__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  min-height: 0;
  transform: translateY(-36px);
}
.facts__row p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 138px;
  margin: 0;
  padding: 22px 22px 20px;
  color: #667085;
  border: 1px solid #e4e9f1;
  border-left: 1px solid #e4e9f1;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.facts__row p:first-child { padding-left: 22px; }
.facts__row strong {
  color: #101828;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}
.facts__row span {
  display: block;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Popular / cards ---------- */
.popular { padding: 34px 0 40px; }
.popular__grid { gap: 16px; }
.tool-card {
  border-color: #e5e9f0;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: #c9d5ef;
  box-shadow: 0 18px 36px rgba(16,24,40,.08);
}
.tool-card__name { color: #1d2939; }
.tool-card__desc { color: #667085; }
.tool-card--lead,
.tool-card--lead:hover {
  color: #fff;
  border-color: #1d4ed8;
  background: linear-gradient(145deg, #1d4ed8 0%, #1d45b8 100%);
  box-shadow: 0 26px 52px rgba(29,78,216,.20);
}
.tool-card--lead .tool-card__name { color: #fff; }
.tool-card--lead .tool-card__desc { color: rgba(255,255,255,.82); }
.tool-card--lead .tool-glyph .ext { box-shadow: 0 8px 18px rgba(3,7,18,.16); }

/* ---------- Directory ---------- */
.directory { padding: 70px 0 92px; }
.directory__grid {
  display: grid;
  grid-template-columns: 318px minmax(0,1fr);
  gap: 34px;
  align-items: start;
}
.directory__rail {
  position: sticky;
  top: 102px;
}
.directory__rail-card {
  padding: 24px;
  border: 1px solid #e3e8ef;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.directory__title {
  margin: 0 0 10px;
  font-size: clamp(32px, 2.6vw, 38px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.directory__lede { color: #667085; }
.directory__search {
  height: 50px;
  border-color: #dbe1ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.directory__search:focus-within {
  border-color: #94acf0;
  box-shadow: 0 0 0 4px rgba(29,78,216,.10);
}
.directory__filters {
  gap: 10px;
}
.directory__filters button,
.directory__filters a {
  border-radius: 12px;
  box-shadow: none;
}
.directory__assist {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fafcff, #f5f8fd);
}
.directory__assist h3 {
  margin: 0 0 12px;
  color: #101828;
  font-size: 15px;
}
.directory__assist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.directory__assist li {
  position: relative;
  padding-left: 18px;
  color: #475467;
  font-size: 14px;
}
.directory__assist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.directory__lists { display: grid; gap: 22px; }
.dir-group {
  padding: 22px;
  border: 1px solid #e4e9f1;
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-xs);
}
.dir-group__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.dir-group__head h3 {
  margin: 0 0 6px;
  color: #101828;
  font-size: 24px;
}
.dir-group__head p {
  margin: 0;
  color: #667085;
}
.dir-group__count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #dbe4f4;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Privacy ---------- */
.privacy {
  padding: 108px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.privacy__copy p { color: #475467; }
.privacy__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.privacy__list li {
  position: relative;
  padding-left: 28px;
  color: #344054;
}
.privacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3b82f6, #1d4ed8 68%);
  box-shadow: 0 0 0 4px rgba(29,78,216,.10);
}
.flow {
  padding: 30px;
  border: 1px solid #e5e9f0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfcfe, #f6f9fd);
  box-shadow: var(--shadow);
}
.flow__row { background: rgba(255,255,255,.98); }
.flow__row--us { background: #f2fbf7; }
.flow__row--us .flow__label,
.flow__done { color: var(--ok); }

/* ---------- Steps ---------- */
.steps { padding: 106px 0 80px; }
.steps__list { gap: 18px; border-top: 0; }
.steps__list li,
.steps__list li + li {
  min-height: 240px;
  padding: 30px;
  border: 1px solid #e5e9f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.steps__list li + li { border-left: 1px solid #e5e9f0; }
.steps__list li::before {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #edf4ff, #dce9ff);
  color: var(--brand);
  font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.steps__list h3 {
  margin-bottom: 12px;
  color: #1d2939;
  font-size: 24px;
}
.steps__list p { color: #667085; }

/* ---------- FAQ / editorial ---------- */
.home-faq,
.page-pad { background: var(--paper); }
.home-faq__grid { gap: 46px; }
.home-faq .faq,
.tool-info__faq .faq { display: grid; gap: 14px; }
.home-faq details,
.faq details,
.entry-content table,
.comment-respond,
.comments-area {
  border-color: #e5e9f0;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-xs);
}
.latest__head { margin-bottom: 24px; }
.post-grid .post-card,
.post-grid article {
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
}

/* ---------- Tool page header ---------- */
.tool-page {
  background: linear-gradient(180deg, #f8fbff 0%, #f6f8fc 35%, #f6f8fc 100%);
}
.tool-head {
  padding: 42px 0 34px;
  background:
    radial-gradient(circle at 10% 0, rgba(29,78,216,.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid #e7ebf1;
}
.crumbs { color: #667085; }
.crumbs a { color: #475467; }
.crumbs a:hover { color: var(--brand); }
.tool-head__row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 26px;
  align-items: start;
}
.tool-head__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #dce5f3;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tool-head__title {
  margin-top: 14px;
  color: #101828;
  font-size: clamp(40px, 4.3vw, 60px);
  letter-spacing: -.05em;
}
.tool-head__lede { color: #475467; }
.tool-head__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tool-head__chips span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid #dce4f0;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}
.tool-head__side {
  display: grid;
  gap: 14px;
}
.tool-head__private {
  margin: 0;
  border: 1px solid #ccebdc;
  border-radius: 16px;
  background: #effaf5;
  color: var(--ok);
}
.tool-head__assist {
  padding: 16px 18px;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-xs);
}
.tool-head__assist strong {
  display: block;
  margin-bottom: 6px;
  color: #101828;
}
.tool-head__assist p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Converter workspace: actual engine classes ---------- */
.tool-shell { padding-top: 30px; }
.ws {
  border: 1px solid #e1e7ef;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 4px 10px rgba(16,24,40,.03), 0 30px 70px rgba(16,24,40,.08);
  padding: clamp(18px, 2.3vw, 30px);
}
.drop {
  min-height: 320px;
  padding: 40px 28px;
  border: 1.5px dashed #b8c6da;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfdff, #f7faff);
}
.drop:hover,
.drop.is-over {
  border-color: #7695ea;
  background: linear-gradient(180deg, #f8fbff, #f1f6ff);
}
.drop__title { color: #101828; }
.drop__hint { color: #667085; }
.drop--compact {
  min-height: 58px;
  padding: 13px 16px;
  border-style: solid;
  background: #fff;
}
.ws__layout { grid-template-columns: minmax(0, 1fr) 334px; gap: 24px; }
.ws__side { top: 106px; gap: 14px; }
.panel {
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  padding: 18px;
  background: #fbfcfe;
  box-shadow: var(--shadow-xs);
}
.panel__title {
  color: #344054;
  font-weight: 700;
  letter-spacing: -.01em;
}
.files { gap: 9px; }
.file {
  padding: 11px 12px;
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.02);
}
.file:hover { border-color: #ccd6e3; }
.file__thumb { border-radius: 8px; background: #f2f4f7; }
.file__name { color: #1d2939; font-weight: 600; }
.file__size,
.file__status { color: #667085; }
.file__status.is-ok { color: var(--ok); }
.field { gap: 7px; margin-bottom: 15px; }
.field > span,
.field__label { color: #344054; font-weight: 600; }
.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field input:not([type]),
.field select,
.field textarea {
  min-height: 44px;
  border-color: #d7dee8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.02);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #8ba8ee;
  box-shadow: 0 0 0 4px rgba(29,78,216,.10);
}
.check { color: #475467; }
.seg {
  gap: 3px;
  padding: 4px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #f2f4f7;
}
.seg span { border-radius: 8px; color: #475467; }
.seg input:checked + span {
  background: #fff;
  color: #101828;
  box-shadow: 0 1px 3px rgba(16,24,40,.12);
}
.ws__actions { gap: 10px; }
.progress__bar { height: 8px; background: #e9edf3; }
.progress__fill { background: var(--brand); }
.progress__text { color: #667085; }
.result {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #b9e2d1;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4fcf7, #eefaf3);
}
.result__head h3 { color: #134e3a; }
.result__head .icon--check { background: var(--ok); color: #fff; }
.result__item {
  border-color: #dce7e2;
  border-radius: 12px;
  background: #fff;
}
.result__saving { color: var(--ok); }
.result__next a {
  border-color: #dce4e0;
  border-radius: 10px;
  background: #fff;
}
.notice { border: 1px solid transparent; }
.notice--err { border-color: #fecdca; }
.notice--ok { border-color: #abe0ca; }
.notice--info { border-color: #cddcf8; }

/* ---------- Tool content ---------- */
.tool-info { padding: 84px 0 58px; }
.tool-info__grid { gap: 72px; }
.tool-info h2 { color: #101828; }
.tool-info__intro { color: #475467; }
.howto li {
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-xs);
}
.related { padding-bottom: 104px; }
.related__list { gap: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 74px 0 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  color: #667085;
  border-top: 1px solid #e6eaf0;
}
.site-footer .brand { color: #101828; margin-bottom: 20px; }
.site-footer .brand__img,
.site-footer .brand__img--original { width: 205px; max-height: 42px; }
.site-footer__grid { gap: 38px; }
.site-footer__about p { color: #667085; }
.site-footer__proof {
  color: var(--ok);
  padding: 10px 13px;
  border: 1px solid #d1ecdf;
  border-radius: 12px;
  background: #f1fbf7;
}
.site-footer h2 { color: #344054; font-weight: 650; }
.site-footer a { color: #667085; }
.site-footer a:hover { color: var(--brand); text-decoration: none; }
.site-footer__base { border-top-color: #e6eaf0; color: #98a2b3; }

/* ---------- Search palette ---------- */
.palette__backdrop {
  background: rgba(15,23,42,.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.palette__box {
  border-color: #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(15,23,42,.18);
}
.palette__field,
.palette__list { background: #fff; }
.palette__list a[aria-selected="true"],
.palette__list a:hover { background: #f1f5ff; }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .hero__grid { grid-template-columns: minmax(0,1fr) 420px; gap: 40px; }
  .directory__grid { grid-template-columns: 290px minmax(0,1fr); }
  .tool-head__row { grid-template-columns: minmax(0,1fr) 290px; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 780px; }
  .router { max-width: 760px; width: 100%; }
  .router__points { grid-template-columns: 1fr; }
  .facts__row { grid-template-columns: repeat(2, minmax(0,1fr)); transform: translateY(-24px); }
  .directory__grid { grid-template-columns: 1fr; gap: 30px; }
  .directory__rail { position: static; }
  .directory__filters { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .privacy__grid { grid-template-columns: 1fr; }
  .privacy__copy p { max-width: 48em; }
  .ws__layout { grid-template-columns: 1fr; }
  .ws__side { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ws__side > .panel:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tool-head__row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header__inner { min-height: 72px; }
  .site-nav { inset: 72px 0 auto 0; background: rgba(255,255,255,.99); }
  .section-head--split { flex-direction: column; align-items: start; }
  .popular__grid { grid-template-columns: repeat(2,1fr); }
  .steps__list { grid-template-columns: 1fr; gap: 14px; }
  .steps__list li,
  .steps__list li + li { min-height: 0; border-left: 1px solid #e5e9f0; }
  .home-faq__grid,
  .tool-info__grid { grid-template-columns: 1fr; gap: 34px; }
  .related__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --gut: 18px; }
  .brand__img,
  .brand__img--original { width: 158px; }
  .hero { padding: 42px 0 58px; }
  .hero__title { font-size: clamp(42px, 12vw, 58px); }
  .hero__proof { display: grid; gap: 10px; }
  .hero__proof li,
  .hero__pills a { width: 100%; justify-content: center; }
  .router__drop,
  .router__result { min-height: 0; padding: 22px 18px 20px; }
  .router__topline { flex-direction: column; align-items: stretch; }
  .router__stack .ext:nth-child(5) { display: none; }
  .facts { padding-bottom: 8px; }
  .facts__row { grid-template-columns: 1fr; transform: translateY(-20px); }
  .facts__row p { min-height: 0; }
  .popular__grid { grid-template-columns: 1fr; }
  .directory__rail-card,
  .dir-group,
  .flow,
  .ws { border-radius: 18px; }
  .directory__filters { grid-template-columns: 1fr 1fr; }
  .flow { padding: 18px; }
  .flow__track { flex-wrap: wrap; }
  .flow__line { min-width: 42px; }
  .drop { min-height: 260px; padding: 28px 18px; }
  .ws__side { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .related__list { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 440px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .directory__filters { grid-template-columns: 1fr; }
}
