:root {
  --ink: #14191f;
  --muted: #5d6874;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --surface-2: #eceff1;
  --line: #d6dbe0;
  --dark: #101820;
  --steel: #25465d;
  --brass: #b47b2b;
  --green: #2f6654;
  --rust: #8b3f2c;
  --shadow: 0 18px 44px rgba(16, 24, 32, 0.12);
}

* {
  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", sans-serif;
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 25, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 25, 31, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.actions,
.inline-links,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.inline-links a:hover,
.footer a:hover {
  color: var(--steel);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--steel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 72px) 42px;
}

.hero-copy {
  max-width: 890px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 8.2vw, 6.9rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.lead {
  max-width: 770px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.68;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}

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

.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.secondary-light {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-visual {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #eaf0f3;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(37, 70, 93, 0.96)),
    var(--dark);
  box-shadow: var(--shadow);
}

.visual-topline,
.visual-row,
.visual-metrics {
  border-radius: 8px;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #bfcbd3;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-row {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
}

.visual-row span {
  color: #e6b56d;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-row strong {
  color: #fff;
  font-size: 1.04rem;
}

.visual-row small {
  color: #cbd4da;
  line-height: 1.5;
}

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

.visual-metrics div {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
}

.visual-metrics strong,
.visual-metrics span {
  display: block;
}

.visual-metrics strong {
  margin-bottom: 5px;
  color: #e6b56d;
  font-size: 1.35rem;
}

.visual-metrics span {
  color: #d7e0e5;
  font-size: 0.82rem;
  line-height: 1.35;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px) 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip span {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 850;
  line-height: 1.35;
}

.section {
  margin: 24px clamp(18px, 5vw, 72px);
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.section-heading {
  max-width: 860px;
}

.section-heading p,
.copy-block p,
.category-card p,
.content-panel p,
.step-grid p,
.check-list span,
.form-note,
.form-status,
.field-error,
.copy-status,
.page-lead,
.content-list li,
.footer {
  color: var(--muted);
  line-height: 1.65;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

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

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

.category-card {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  border-color: rgba(37, 70, 93, 0.42);
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.1);
  transform: translateY(-2px);
}

.card-action {
  display: inline-flex;
  margin-top: auto;
  color: var(--steel);
  font-weight: 900;
}

.section-dark {
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  background: var(--dark);
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow,
.section-dark strong {
  color: #fff;
}

.section-dark .eyebrow,
.step-grid span {
  color: #e6b56d;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.six-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.step-grid li {
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.step-grid span,
.step-grid strong {
  display: block;
}

.step-grid span {
  margin-bottom: 34px;
  font-weight: 900;
}

.step-grid strong {
  margin-bottom: 10px;
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 54px);
}

.sticky-heading {
  align-self: start;
  position: sticky;
  top: 92px;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.check-list strong {
  color: var(--ink);
}

.compact-list div {
  min-height: 74px;
  align-content: center;
}

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

.copy-block {
  max-width: 720px;
}

.inline-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.inline-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

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

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full,
.form-actions.full,
.mailto-preview.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #c7ced4;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus,
a:focus {
  outline: 3px solid rgba(180, 123, 43, 0.28);
  outline-offset: 2px;
}

.is-invalid {
  border-color: #a33324;
}

.field-error {
  margin: 0;
  color: #a33324;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-status {
  flex-basis: 100%;
  min-height: 1.2em;
  color: var(--green);
  font-weight: 800;
}

.mailto-preview {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf8;
}

.mailto-preview[hidden] {
  display: none;
}

.preview-label {
  font-size: 0.95rem;
}

.mailto-preview textarea {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.copy-status {
  margin: 0;
  font-size: 0.9rem;
}

.supplier-section {
  border-color: rgba(16, 24, 32, 0.24);
  color: #fff;
  background: var(--steel);
}

.supplier-section h2,
.supplier-section h3,
.supplier-section .eyebrow,
.supplier-section label {
  color: #fff;
}

.supplier-section .section-heading p,
.supplier-section .form-note,
.supplier-section .form-status {
  color: #dbe5ea;
}

.compact-form input,
.compact-form textarea {
  border-color: rgba(255, 255, 255, 0.24);
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 0.8fr) minmax(280px, 1.3fr);
  gap: 22px;
  align-items: start;
  padding: 34px clamp(18px, 5vw, 72px) 46px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer strong,
.footer span,
.footer a {
  display: block;
}

.footer strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer a {
  text-decoration: none;
}

.footer-page-links {
  columns: 2;
  display: block;
}

.footer-page-links a {
  break-inside: avoid;
  margin-bottom: 7px;
}

.footer-disclaimer,
.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
}

.footer-disclaimer {
  max-width: 1100px;
  padding-top: 4px;
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--muted);
}

.page-hero {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 72px) 24px;
}

.page-hero-inner {
  max-width: 980px;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--rust);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-lead {
  max-width: 820px;
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

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

.content-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.content-panel h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.1;
}

.content-list {
  padding-left: 20px;
  margin: 0;
}

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

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  background: var(--dark);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: #d6dde2;
}

@media (max-width: 1120px) {
  .category-grid,
  .step-grid,
  .six-steps,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-grid li {
    min-height: auto;
  }

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

@media (max-width: 860px) {
  .site-header,
  .nav,
  .hero,
  .two-column-section,
  .split,
  .lead-form,
  .content-grid,
  .exchange-grid,
  .protection-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .nav a {
    padding: 8px 0;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .trust-strip,
  .category-grid,
  .step-grid,
  .six-steps,
  .visual-metrics,
  .footer {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .section {
    padding: 26px 18px;
  }
}

@media (max-width: 520px) {
  .hero,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .trust-strip {
    margin-left: 16px;
    margin-right: 16px;
  }

  .button,
  .form-actions .button,
  .preview-actions .button {
    width: 100%;
  }

  .visual-topline {
    flex-direction: column;
  }
}
