:root {
  --ink: #15171a;
  --muted: #5f6874;
  --line: #dfe4ea;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --charcoal: #101820;
  --red: #cb1836;
  --red-dark: #941327;
  --blue: #287fce;
  --cyan: #00a7c7;
  --green: #248054;
  --amber: #b36b00;
  --shadow: 0 18px 50px rgba(15, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 24, 32, 0.92);
  color: #fff;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #fff;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.btn svg,
.header-cta svg,
.buyer-grid svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.header-cta {
  background: #fff;
  color: var(--charcoal);
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 32px rgba(203, 24, 54, 0.24);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--red-dark);
}

.btn.secondary {
  color: #111;
  background: #fff;
}

.btn.ghost {
  color: var(--charcoal);
  background: #eef3f7;
}

.hero {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: center;
  padding: clamp(70px, 10vh, 110px) clamp(18px, 6vw, 76px);
  color: #fff;
  background:
    image-set(
      url("https://cdn.shopify.com/s/files/1/0255/7539/1341/files/ResinandFilament1600x1600-main.png?v=1756973808") 1x
    )
    center right 14% / min(820px, 72vw) no-repeat,
    #101820;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.76) 48%, rgba(16, 24, 32, 0.22)),
    linear-gradient(0deg, rgba(16, 24, 32, 0.28), rgba(16, 24, 32, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
}

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

.hero .eyebrow {
  color: #ff6f86;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 740px;
  margin: 38px 0 0;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-metrics dt {
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip div {
  min-height: 112px;
  padding: 24px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 15px;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section,
.band,
.quote-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 6vw, 76px);
}

.section {
  background: var(--paper);
}

.section:nth-of-type(odd) {
  background: var(--wash);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2,
.split h2,
.quote-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.section-head p,
.split p,
.quote-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.material-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 24, 32, 0.08);
}

.material-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(260px, 42%) 1fr;
  grid-template-rows: auto;
}

.material-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  background: #f7f9fb;
}

.material-card div {
  padding: 22px;
}

.material-card h3 {
  margin: 14px 0 8px;
  font-size: 23px;
}

.material-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.material-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #38424d;
  line-height: 1.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.pill.red {
  background: var(--red);
}

.pill.blue {
  background: var(--blue);
}

.pill.green {
  background: var(--green);
}

.pill.dark {
  background: var(--charcoal);
}

.pill.cyan {
  background: var(--cyan);
}

.pill.amber {
  background: var(--amber);
}

.band {
  background: var(--charcoal);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.split p {
  color: rgba(255, 255, 255, 0.72);
}

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

.process-list div {
  display: grid;
  grid-template-columns: 54px 170px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list span {
  color: #ff6f86;
  font-weight: 900;
}

.process-list strong {
  font-size: 17px;
}

.process-list p {
  margin: 0;
  font-size: 14px;
}

.market-section {
  background: #fff;
}

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

.market-card,
.buyer-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.07);
}

.market-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-card h3,
.buyer-grid h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.market-card p,
.buyer-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.market-card strong {
  display: block;
  margin-top: 16px;
  color: var(--charcoal);
  line-height: 1.45;
}

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

.buyer-grid svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  background: #eef3f7;
}

.quote-notes {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.quote-notes div {
  padding-left: 16px;
  border-left: 4px solid var(--blue);
}

.quote-notes strong,
.quote-notes span {
  display: block;
}

.quote-notes span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.quote-form {
  display: grid;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.quote-form label,
.quote-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #2b333c;
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.quote-form input,
.quote-form select {
  min-height: 44px;
  padding: 10px 12px;
}

.quote-form textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 127, 206, 0.14);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

fieldset legend {
  padding: 0 6px;
}

fieldset label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  font-weight: 700;
}

fieldset input {
  width: 18px;
  min-height: 18px;
}

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--charcoal);
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 76px);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  max-width: 680px;
  margin: 6px 0 0;
  line-height: 1.55;
}

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

  .market-card:last-child {
    grid-column: span 2;
  }

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

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-cta {
    align-self: stretch;
    width: auto;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px 38px;
    background:
      linear-gradient(rgba(16, 24, 32, 0.66), rgba(16, 24, 32, 0.86)),
      url("https://cdn.shopify.com/s/files/1/0255/7539/1341/files/ResinandFilament1600x1600-main.png?v=1756973808")
        center top 16px / min(320px, 82vw) no-repeat,
      #101820;
  }

  .hero::before {
    background: rgba(16, 24, 32, 0.52);
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 38px);
    padding-top: min(36vw, 150px);
  }

  h1 {
    max-width: 340px;
    font-size: clamp(34px, 8.7vw, 40px);
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions,
  .hero-metrics {
    max-width: 330px;
  }

  .hero-metrics,
  .trust-strip,
  .split,
  .quote-section,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .material-card.featured,
  .material-card {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
  }

  .process-list div {
    grid-template-columns: 46px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 32px;
    max-width: 315px;
  }

  .hero-copy {
    max-width: 315px;
    font-size: 15px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .hero-actions .btn.secondary {
    display: none;
  }

  .hero-metrics {
    display: none;
  }

  .material-grid,
  .market-grid,
  .buyer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .market-card:last-child {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
