:root {
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #dbe4ef;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-soft: #eef5ff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

/* Production visual polish: Apple-inspired spacing with shadcn-style controls. */
:root {
  --ink: #0b1220;
  --muted: #5f6f86;
  --soft: #f6f8fb;
  --line: #d8e2ee;
  --blue: #0b6ffb;
  --blue-dark: #075bd8;
  --blue-soft: #edf5ff;
  --gold: #f5c542;
  --shadow: 0 18px 46px rgba(15, 23, 42, .07);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, .05);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 46%, #f6f8fb 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.topbar {
  min-height: 76px;
  padding: 10px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid rgba(216, 226, 238, .78);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  backdrop-filter: blur(22px) saturate(180%);
}

.brand {
  gap: 12px;
  color: #071225;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 820;
}

.logo {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 14px;
  background: #0b6ffb;
  box-shadow: 0 12px 30px rgba(11, 111, 251, .24);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-links a,
.language-picker {
  min-height: 40px;
  border-color: rgba(216, 226, 238, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-soft);
}

.top-links a {
  color: #20314a;
  padding: 0 16px;
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.top-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 111, 251, .32);
  color: var(--blue);
}

.hero {
  padding: clamp(74px, 9vw, 126px) 0 46px;
}

.hero h1 {
  max-width: 1080px;
  font-size: clamp(46px, 6.7vw, 86px);
  line-height: .98;
  font-weight: 860;
}

.hero p {
  max-width: 850px;
  color: #53677f;
  font-size: clamp(19px, 2vw, 26px);
}

.primary-action,
.secondary-action,
.file-button,
.submit-button,
.service-buttons button,
.service-grid button,
.plan-button {
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(11, 111, 251, .18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.primary-action,
.submit-button,
.file-button,
.service-buttons button,
.service-grid button {
  background: linear-gradient(180deg, #147cff 0%, #075bd8 100%);
}

.primary-action:hover,
.submit-button:hover,
.file-button:hover,
.service-buttons button:hover,
.service-grid button:hover,
.plan-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 111, 251, .22);
}

.secondary-action {
  color: #0b5fd8;
  border: 1px solid #b9d5ff;
  background: #ffffff;
}

.hero-benefits {
  width: min(980px, calc(100% - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  font-size: clamp(15px, 1.35vw, 18px);
}

.hero-benefits li {
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(216, 226, 238, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
}

.hero-benefits li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, .18);
}

.process-strip,
.checker-card,
.case-section,
.result-card,
.platform-section,
.services-section,
.lead-section,
.pricing,
.provider-value article,
.bulk-card {
  border-color: rgba(216, 226, 238, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.process-strip {
  padding: 12px;
}

.checker-card {
  position: relative;
  margin-top: 42px;
  padding: clamp(28px, 4vw, 52px);
}

.checker-card::before,
.lead-section::before {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 0 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.field label {
  color: #071225;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 760;
}

textarea,
input[type="url"],
input[type="text"] {
  border-color: #d8e2ee;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

textarea:focus,
input[type="url"]:focus,
input[type="text"]:focus {
  border-color: #7db7ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 111, 251, .12);
}

.detail-field,
.summary-block,
.advice-block,
.risk-card,
.hs-card,
.case-card,
.service-grid article,
.plan-card {
  border-radius: 8px;
  border-color: rgba(216, 226, 238, .95);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.file-icon {
  border: 1px solid #cfe2ff;
  border-radius: 8px;
  color: #0b6ffb;
  background: #edf5ff;
}

.form-assurance {
  border-color: #bfe5cf;
  border-radius: 8px;
  background: #f1fbf5;
  color: #17613a;
}

.result-card {
  overflow: hidden;
}

.result-card.is-visible {
  border-color: rgba(11, 111, 251, .18);
}

.result-header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(216, 226, 238, .72);
}

.status {
  border: 1px solid #fde68a;
  border-radius: 999px;
  background: #fff7d6;
  color: #8a5200;
}

.status[data-tier="low"] {
  border-color: #bdebd0;
  background: #eafaf1;
  color: #136b3c;
}

.status[data-tier="medium"] {
  border-color: #fde68a;
  background: #fff7d6;
  color: #8a5200;
}

.status[data-tier="high"] {
  border-color: #fecaca;
  background: #fff1f2;
  color: #a31b2b;
}

.status-block {
  border-color: #ffe19c;
  background: linear-gradient(180deg, #fffaf0 0%, #fff7df 100%);
}

.tabs {
  padding: 6px;
  border: 1px solid rgba(216, 226, 238, .86);
  border-radius: 8px;
  background: #f4f7fb;
}

.tab {
  border-radius: 8px;
}

.tab.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.provider-hero {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 111, 251, .12), rgba(255, 255, 255, .92) 44%, rgba(245, 197, 66, .14));
}

.provider-value article {
  padding: 26px;
}

@media (max-width: 860px) {
  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 50px;
    height: 50px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 64%, #f8fafc 100%);
  letter-spacing: 0;
}

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

button,
select,
.file-button {
  cursor: pointer;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  padding: 13px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.brand,
.top-links,
.language-picker,
.file-row,
.submit-button,
.tabs,
.alternatives {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
  min-width: 0;
  font-size: 25px;
  font-weight: 750;
}

.top-links {
  margin-left: auto;
}

.provider-topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.provider-topbar-actions .top-links {
  margin-left: 0;
}

.top-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #475569;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}

.logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 25px;
  font-weight: 800;
}

.language-picker {
  gap: 10px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}

.globe {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

svg {
  width: 1em;
  height: 1em;
}

.globe svg,
.file-icon svg,
.submit-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-picker select {
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 650;
}

main {
  padding-bottom: 80px;
}

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 44px;
  text-align: center;
}

.hero h1 {
  max-width: 1160px;
  margin: 0 auto 24px;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.05;
  font-weight: 850;
}

.hero p {
  max-width: 920px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.45;
}

.hero .secondary-action,
.platform-section,
.services-section,
.pricing {
  display: none;
}

.hero-benefits {
  width: min(920px, calc(100% - 32px));
  margin: 22px auto 0;
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  color: #172033;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 720;
}

.hero-benefits li::before {
  content: "✓";
  margin-right: 10px;
  color: #16a34a;
  font-weight: 850;
}

.hero-trust {
  max-width: 900px;
  margin: 18px auto 0;
  color: #64748b;
  font-size: 16px;
}

.hero + .hero-benefits,
.hero + .hero-benefits + .process-strip {
  text-align: center;
}

.process-strip {
  width: min(1040px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.process-strip ol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-strip li {
  display: inline-flex;
  align-items: center;
  color: #172033;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 760;
}

.process-strip li + li::before {
  content: "→";
  margin-right: 10px;
  color: var(--blue);
  font-weight: 850;
}

.checker-card,
.case-section,
.result-card,
.platform-section,
.services-section,
.lead-section,
.pricing {
  width: min(1152px, calc(100% - 32px));
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.result-card {
  display: none;
}

.result-card.is-visible {
  display: block;
}

.status[data-tier="low"] {
  background: #dcfce7;
  color: #166534;
}

.status[data-tier="medium"] {
  background: #fef3c7;
  color: #92400e;
}

.status[data-tier="high"] {
  background: #fee2e2;
  color: #991b1b;
}

.checker-card {
  padding: clamp(26px, 4vw, 48px);
}

.form-assurance {
  display: grid;
  gap: 8px;
  margin: -12px 0 26px;
  padding: 14px 16px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-size: 16px;
  font-weight: 700;
}

.form-assurance p {
  margin: 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 750;
}

.primary-action {
  color: #fff;
  background: var(--blue);
}

.secondary-action {
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.field {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.field label {
  color: #020617;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 650;
}

.field-help {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

textarea,
input[type="url"],
input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03), 0 2px 6px rgba(15, 23, 42, .03);
  outline: none;
}

textarea {
  min-height: 176px;
  resize: vertical;
  padding: 13px 18px;
  line-height: 1.45;
  font-size: 22px;
}

input[type="url"],
input[type="text"] {
  min-height: 56px;
  padding: 0 18px;
  font-size: 18px;
}

textarea::placeholder,
input::placeholder {
  color: #98a2b3;
}

textarea:focus,
input[type="url"]:focus,
input[type="text"]:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}

.detail-field {
  padding: 18px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f8fbff;
}

.detail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  list-style: none;
  cursor: pointer;
}

.detail-heading::-webkit-details-marker {
  display: none;
}

.detail-field[open] .detail-heading {
  margin-bottom: 14px;
}

.detail-heading h3 {
  margin: 0;
  font-size: 22px;
  color: #020617;
}

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

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

.detail-grid label {
  display: grid;
  gap: 8px;
  font-size: 16px;
  font-weight: 650;
}

.detail-grid input {
  background: #fff;
}

.file-row {
  flex-wrap: wrap;
  gap: 18px;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 28px;
}

.file-button,
.submit-button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 197px;
  min-height: 54px;
  padding: 0 20px;
  font-size: 21px;
}

.file-button:hover,
.submit-button:hover {
  background: var(--blue-dark);
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-name {
  color: #020617;
  font-size: 20px;
}

.submit-button {
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  margin-top: 10px;
  font-size: 22px;
}

.result-card,
.pricing {
  padding: clamp(24px, 3vw, 34px);
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.shipment-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.summary-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.summary-block h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.status-block {
  border-color: #fde68a;
  background: #fffbeb;
}

.status-block p {
  color: #92400e;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.service-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-buttons button,
.service-grid button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 750;
  cursor: pointer;
}

.kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

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

.result-header h2,
.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.status {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-weight: 800;
}

.db-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.tabs {
  gap: 8px;
  padding: 5px;
  border-radius: 10px;
  background: var(--soft);
}

.tab {
  flex: 1;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 750;
}

.tab.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .07);
}

.tab-panel {
  display: none;
  padding-top: 24px;
}

.tab-panel.is-active {
  display: block;
}

.score-line,
.hs-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.score-line span,
.hs-primary span,
.alternatives span {
  color: var(--muted);
}

.score-line strong {
  color: var(--amber);
  font-size: 30px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.risk-grid div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: var(--soft);
}

.risk-grid span {
  color: var(--muted);
}

.risk-grid strong {
  font-size: 18px;
}

.notes {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.5;
}

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

.advice-block {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.advice-block.warning {
  border-color: #fed7aa;
  background: #fffaf5;
}

.advice-block h3 {
  margin: 0;
  font-size: 20px;
}

.advice-block .notes {
  margin-top: 12px;
}

.candidate-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.candidate {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.fallback-candidate {
  border-color: #fbbf24;
  background: #fffbeb;
}

.candidate strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 20px;
}

.candidate p {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.45;
}

.candidate small {
  display: block;
  margin-top: 8px;
  color: #475569;
  line-height: 1.45;
}

.candidate-details,
.why-judgment {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.candidate-details summary,
.why-judgment summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 780;
}

.candidate-details .candidate {
  border-width: 1px 0 0;
  border-radius: 0;
}

.why-judgment ul {
  display: grid;
  gap: 8px;
  padding: 0 22px 18px 38px;
  color: var(--muted);
  line-height: 1.55;
}

.disclaimer {
  margin: 24px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  color: #475569;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.5;
}

.hs-primary strong {
  font-size: 34px;
}

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

.alternatives {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

code {
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: #1d4ed8;
  font-weight: 750;
}

.pricing {
  box-shadow: none;
}

.services-section,
.platform-section,
.case-section,
.lead-section {
  padding: clamp(24px, 3vw, 34px);
}

.case-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.lead-doc-field {
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #f8fbff;
}

.lead-doc-field label {
  font-size: 18px;
}

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

.platform-grid article {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.platform-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 850;
}

.platform-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.platform-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

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

.service-grid article {
  display: grid;
  gap: 16px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.service-grid h3 {
  font-size: 20px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

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

.lead-grid label,
.lead-note {
  display: grid;
  gap: 8px;
  font-weight: 650;
}

.lead-grid input,
.lead-grid select {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lead-note textarea {
  min-height: 100px;
  font-size: 18px;
}

.lead-status {
  min-height: 24px;
  color: #047857;
  font-weight: 750;
}

.section-title {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-title p:not(.kicker) {
  max-width: 860px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

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

.plans article {
  display: grid;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.plans article.highlight {
  border-color: #93c5fd;
  background: #f8fbff;
}

.plans h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.price {
  margin-bottom: 18px;
  font-size: 36px;
  font-weight: 850;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.plans ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.plan-button {
  align-self: end;
  min-height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 750;
  cursor: pointer;
}

.plan-button:hover {
  background: var(--blue-dark);
}

.plan-button.secondary {
  background: #0f172a;
}

.review-section,
.why-paid {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.review-section h3,
.why-paid h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

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

.review-grid article,
.why-paid {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.review-grid article {
  padding: 18px;
}

.review-grid h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.review-grid p,
.review-grid li,
.why-paid p {
  color: var(--muted);
  line-height: 1.55;
}

.review-grid ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.why-paid {
  padding: 22px;
}

.mini-disclaimer {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 15px;
}

.provider-hero,
.provider-value {
  width: min(1080px, calc(100% - 32px));
  margin: 34px auto 0;
}

.provider-hero {
  padding: clamp(44px, 7vw, 82px) 0 22px;
}

.provider-hero h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1.06;
  font-weight: 850;
}

.provider-hero p:not(.kicker) {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.55;
}

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

.provider-value article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.provider-value h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.provider-value p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .commercial-plans,
  .review-grid,
  .provider-value {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    min-height: 76px;
    padding: 12px 16px;
  }

  .brand {
    font-size: 19px;
  }

  .top-links {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

  .provider-topbar-actions {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    gap: 12px;
  }

  .provider-topbar-actions .top-links {
    order: initial;
    width: auto;
  }

  .top-links a {
    min-height: 36px;
    font-size: 14px;
  }

  .logo {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .hero {
    padding: 56px 0 28px;
  }

  .result-header,
  .hs-primary,
  .score-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .risk-grid,
  .advice-grid,
  .detail-grid,
  .platform-grid,
  .shipment-summary-grid,
  .service-grid,
  .lead-grid,
  .review-grid,
  .provider-value,
  .plans {
    grid-template-columns: 1fr;
  }

  .detail-heading {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-picker {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .checker-card,
  .result-card,
  .pricing {
    width: min(100% - 20px, 1152px);
    border-radius: 12px;
  }

  textarea {
    font-size: 18px;
  }

  .file-row {
    align-items: stretch;
    gap: 12px;
  }

  .file-button {
    min-width: 0;
    flex: 1;
  }

  .file-name {
    width: 100%;
  }

  .tabs {
    flex-direction: column;
  }
}

/* Final cascade guard for production visual refresh. */
body {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #f6f8fb 100%);
  color: #0b1220;
}

.topbar {
  min-height: 76px;
  padding: 10px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid rgba(216, 226, 238, .78);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  backdrop-filter: blur(22px) saturate(180%);
}

.brand {
  gap: 12px;
  color: #071225;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 820;
}

.logo {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 14px;
  background: #0b6ffb;
  box-shadow: 0 12px 30px rgba(11, 111, 251, .24);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-links a,
.language-picker {
  min-height: 40px;
  border-color: rgba(216, 226, 238, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.hero {
  padding: clamp(74px, 9vw, 126px) 0 46px;
}

.hero h1 {
  max-width: 1080px;
  font-size: clamp(46px, 6.7vw, 86px);
  line-height: .98;
  font-weight: 860;
}

.hero p {
  max-width: 850px;
  color: #53677f;
  font-size: clamp(19px, 2vw, 26px);
}

.hero-benefits {
  width: min(980px, calc(100% - 32px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  font-size: clamp(15px, 1.35vw, 18px);
}

.hero-benefits li,
.process-strip,
.checker-card,
.case-section,
.result-card,
.platform-section,
.services-section,
.lead-section,
.pricing,
.provider-value article,
.bulk-card,
.detail-field,
.summary-block,
.advice-block,
.risk-card,
.hs-card,
.case-card,
.service-grid article,
.plan-card {
  border-radius: 8px;
  border-color: rgba(216, 226, 238, .92);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
}

.hero-benefits li {
  min-height: 58px;
  padding: 14px 16px;
}

.hero-benefits li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: #f5c542;
  box-shadow: 0 0 0 4px rgba(245, 197, 66, .18);
}

.primary-action,
.submit-button,
.file-button,
.service-buttons button,
.service-grid button {
  border-radius: 8px;
  background: linear-gradient(180deg, #147cff 0%, #075bd8 100%);
  box-shadow: 0 10px 22px rgba(11, 111, 251, .18);
}

.secondary-action {
  border-radius: 8px;
  color: #0b5fd8;
  border: 1px solid #b9d5ff;
  background: #ffffff;
}

.checker-card {
  margin-top: 42px;
  padding: clamp(28px, 4vw, 52px);
}

textarea,
input[type="url"],
input[type="text"] {
  border-color: #d8e2ee;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.tabs {
  padding: 6px;
  border: 1px solid rgba(216, 226, 238, .86);
  border-radius: 8px;
  background: #f4f7fb;
}

.tab,
.tab.is-active {
  border-radius: 8px;
}

.tab.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

@media (max-width: 860px) {
  .hero-benefits {
    grid-template-columns: 1fr;
  }
}
