:root {
  --navy: #0f172a;
  --teal: #0f766e;
  --green: #16a34a;
  --bg: #f8fafc;
  --border: #e2e8f0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.static-home {
  background: var(--bg);
}

.hero {
  background: var(--navy);
  color: white;
  padding: 24px max(24px, calc((100vw - 1120px) / 2)) 72px;
}

.nav,
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nav {
  margin-bottom: 56px;
}

.nav a,
footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.72;
  font-size: 14px;
}

.brand {
  opacity: 1 !important;
  font-size: 20px !important;
  font-weight: 800;
  margin-right: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.eyebrow {
  color: #5eead4;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0 0 22px;
}

.subheading {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.entry-grid a,
.reply a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--green);
  color: white;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
}

.preview,
.entry-grid article,
.steps li,
.matrix,
.categories,
.guides,
.difference,
.supplier,
.reply,
.methodology,
.finder,
.static-section {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.preview {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 26px;
}

.preview h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.76);
}

.preview dl {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px 16px;
  font-size: 14px;
}

.preview dt {
  color: rgba(255, 255, 255, 0.42);
}

.preview dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 650;
}

.entry-grid,
.steps,
.matrix,
.categories,
.guides,
.difference,
.supplier,
.reply,
.methodology,
.finder,
.static-section {
  margin: 0 auto;
  max-width: 1120px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 64px 24px 0;
}

.entry-grid article,
.matrix,
.categories,
.guides,
.difference,
.supplier,
.reply,
.methodology,
.finder,
.static-section {
  padding: 28px;
}

.finder {
  margin-top: 28px;
}

.finder form,
.inline-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
}

input,
select,
textarea {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
}

textarea {
  padding-top: 12px;
}

.static-section {
  margin-top: 48px;
}

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

.static-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: #f8fafc;
}

.note {
  color: #64748b;
  font-size: 14px;
}

.cta-band {
  margin-top: 56px;
  background: var(--navy);
  color: white;
  padding: 44px max(24px, calc((100vw - 1120px) / 2));
}

.entry-grid a,
.reply a {
  background: var(--teal);
  color: white;
}

.steps {
  padding: 64px 24px 0;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
}

.steps span {
  display: block;
  margin-top: 8px;
  color: #64748b;
}

.consent {
  text-align: center;
}

.matrix,
.categories,
.guides,
.difference,
.supplier,
.reply,
.methodology {
  margin-top: 48px;
}

.matrix ul,
.categories ul,
.guides ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.matrix li,
.categories li,
.guides li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}

.languages {
  color: #475569;
  font-weight: 700;
}

footer {
  margin-top: 56px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  background: var(--navy);
  color: white;
}

.price-guide {
  background: var(--bg);
}

.price-hero {
  background: var(--navy);
  color: white;
  padding: 24px max(24px, calc((100vw - 1120px) / 2)) 72px;
}

.price-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.price-preview,
.price-section,
.price-card,
.quote-option,
.question-card,
.faq-grid article,
.related-card,
.brief-form {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.price-preview {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.price-preview h2 {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.price-preview ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.price-preview li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.price-preview p {
  color: rgba(255, 255, 255, 0.58);
}

.price-section {
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 28px;
}

.price-section > h2 {
  margin-top: 0;
  font-size: 30px;
}

.price-section > p,
.price-card p,
.quote-option p,
.question-card p,
.faq-grid p {
  color: #64748b;
  line-height: 1.7;
}

.price-card-grid,
.quote-band-grid,
.quote-option-grid,
.question-grid,
.faq-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card,
.quote-band-card,
.quote-option,
.question-card,
.faq-grid article,
.related-card {
  padding: 20px;
}

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

.quote-band-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: #64748b;
  line-height: 1.65;
}

.quote-range {
  display: inline-flex;
  margin: 8px 0 0;
  border-radius: 12px;
  background: #f0fdfa;
  padding: 8px 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.strong-note {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
  padding: 14px;
  color: var(--navy) !important;
  font-weight: 800;
}

.quote-option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.quote-option em,
.related-card em,
.question-card span {
  display: inline-flex;
  color: var(--teal);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.affiliate-note {
  margin-top: 20px;
  border: 1px solid #fde68a;
  border-radius: 16px;
  background: #fffbeb;
  padding: 16px;
  color: #78350f !important;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  min-width: 800px;
}

.price-table th,
.price-table td {
  vertical-align: top;
  line-height: 1.6;
}

.price-table td:first-child {
  color: var(--navy);
  font-weight: 800;
}

.table-cell-text {
  display: block;
  max-width: 260px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.included-grid span {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
  font-weight: 700;
}

.red-flag {
  color: #991b1b !important;
}

.brief-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.brief-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

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

.brief-form-fields .field-full {
  grid-column: 1 / -1;
}

.brief-form-checks {
  display: grid;
  gap: 12px;
}

.brief-form label,
.brief-form-fields label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.brief-form .check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
  font-weight: 600;
}

.brief-form .check-row input {
  min-height: auto;
  margin-top: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.related-card {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.related-card.muted {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 800px) {
  .hero-grid,
  .price-hero-grid,
  .entry-grid,
  .steps ol,
  .matrix ul,
  .categories ul,
  .guides ul,
  .finder form,
  .inline-form,
  .static-grid,
  .price-card-grid,
  .quote-band-grid,
  .quote-option-grid,
  .question-grid,
  .faq-grid,
  .related-grid,
  .included-grid,
  .brief-grid,
  .brief-form-fields {
    grid-template-columns: 1fr;
  }

  .preview dl {
    grid-template-columns: 1fr;
  }
}
