:root {
  --bg: #ffffff;
  --surface: #f4f4f2;
  --ink: #1f2b4d;
  --muted: #4f5567;
  --accent: #f7941d;
  --accent-ink: #1f2b4d;
  --dark: #05070a;
  --dark-ink: #ffffff;
  --warm: #e3e1dc;
  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(0.75rem, 1.4vw, 1.5rem);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(4.5rem, 11vw, 10.5rem);
  --font-display: "Barlow Condensed", "Noto Sans SC", "Arial Narrow", sans-serif;
  --font-text: "Barlow", "Noto Sans SC", "PingFang SC", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-hover: 180ms;
  --t-press: 140ms;
  --t-reveal: 800ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.52;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--accent);
}

button,
input,
select,
textarea {
  border-radius: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
  hyphens: none;
}

h1,
h2 {
  font-size: var(--step-head);
}

h3 {
  font-size: var(--step-lead);
  letter-spacing: -0.015em;
}

p {
  max-width: 65ch;
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -10000px;
  z-index: 100;
  color: var(--dark-ink);
  background: var(--dark);
}

.skip-link:focus {
  padding: 0.6rem 1rem;
  left: var(--margin);
}

.site-head {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--margin);
  background: var(--bg);
}

.site-head--hero {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}

.wordmark {
  display: grid;
  color: var(--ink);
  text-decoration: none;
  line-height: 0.88;
}

.wordmark__name {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark__sub {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1.4rem;
  padding-top: 0.3rem;
  font-size: var(--step-small);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.lang-switch {
  font-weight: 600;
}

.menu-toggle {
  display: none;
  padding: 0.35rem 0;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: var(--bg);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  top: 0;
  height: 38%;
  background: var(--bg);
}

.hero::after {
  bottom: 0;
  height: 62%;
  background: var(--dark);
}

.hero__title {
  position: absolute;
  top: 22svh;
  left: var(--margin);
  z-index: 1;
  width: calc(100% - 2 * var(--margin));
  pointer-events: none;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-display);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-align: center;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__line--top {
  color: var(--ink);
}

.hero__line--bottom {
  color: var(--dark-ink);
}

.hero__scope {
  position: absolute;
  right: var(--margin);
  bottom: 9.5rem;
  left: var(--margin);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin: 0;
  padding: 0;
  color: var(--dark-ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  list-style: none;
}

.hero__support {
  position: absolute;
  bottom: 2.2rem;
  left: var(--margin);
  z-index: 2;
  width: min(40ch, 55vw);
  color: var(--dark-ink);
  font-size: var(--step-lead);
  line-height: 1.32;
}

.hero__cta {
  position: absolute;
  right: var(--margin);
  bottom: 2.2rem;
  z-index: 2;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), filter var(--t-hover) ease;
}

.button--dark {
  color: var(--dark-ink);
  background: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    filter: contrast(1.12);
  }
}

.button:active {
  transform: scale(0.97);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) var(--margin);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: var(--gutter);
}

.section-grid h2 {
  grid-column: 1 / 7;
}

.section-note {
  grid-column: 10 / 13;
  max-width: 30ch;
  color: var(--muted);
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin: 7rem 0 0;
}

.facts-row dt {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.facts-row dd {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: var(--step-small);
}

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

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

.section--dark {
  color: var(--dark-ink);
  background: var(--dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading p {
  max-width: 38ch;
  color: var(--muted);
}

.section--dark .section-heading p,
.section--dark .process-step p {
  color: var(--dark-ink);
  opacity: 0.78;
}

.table-shell {
  width: min(100%, 1080px);
  overflow-x: auto;
}

.table-shell--wide {
  width: 100%;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--bg);
}

th,
td {
  padding: 1.2rem 1rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-size: var(--step-small);
  font-weight: 500;
}

tbody th {
  font-weight: 500;
}

td a {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-link {
  display: inline-block;
  margin-top: 2.2rem;
  font-weight: 600;
}

.process {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.process-copy {
  position: sticky;
  top: 3rem;
  align-self: start;
}

.process-copy h2 {
  max-width: 14ch;
}

.process-copy p {
  max-width: 28ch;
  margin-top: 2rem;
  opacity: 0.78;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  width: min(calc(100% - var(--step) * 5vw), 720px);
  margin-left: calc(var(--step) * 5vw);
  padding-block: 1.6rem 2.5rem;
}

.process-step h3 {
  font-size: clamp(2rem, 4.2vw, 4.8rem);
}

.process-step p {
  max-width: 42ch;
  margin-top: 0.9rem;
}

.process-step:last-child h3 {
  color: var(--accent);
}

.rfq-builder {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
}

.field-label,
.rfq-form label > span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: var(--step-small);
  font-weight: 600;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: var(--bg);
  border: 0;
}

textarea.field {
  resize: vertical;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.checklist legend {
  grid-column: 1 / -1;
  margin-bottom: 0.55rem;
  font-size: var(--step-small);
  font-weight: 600;
}

.check-row {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
}

.check-row input,
.consent-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.rfq-output-wrap {
  grid-column: 2;
}

.rfq-output {
  min-height: 5rem;
  margin: 0.7rem 0 1.1rem;
  padding: 1rem;
  white-space: pre-line;
  background: var(--bg);
}

.faq {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 8vw, 8rem);
}

.faq h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.faq-list {
  columns: 2;
  column-gap: 3rem;
}

.faq-list p {
  margin-bottom: 1.25rem;
  break-inside: avoid;
}

.faq-list strong {
  font-weight: 600;
}

.closing {
  display: grid;
  min-height: 82svh;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  align-content: space-between;
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(5rem, 10vw, 9rem) var(--margin);
  color: var(--dark-ink);
  background: var(--dark);
}

.closing h2 {
  max-width: 9ch;
}

.closing p {
  max-width: 49ch;
  margin-top: 2rem;
  opacity: 0.8;
}

.closing__aside {
  display: grid;
  gap: 2rem;
}

.closing__aside ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.1;
}

.closing__aside .button {
  justify-self: end;
}

.closing--compact {
  min-height: 58svh;
}

.page-hero {
  display: grid;
  min-height: 58svh;
  align-content: end;
  gap: 2rem;
  padding: clamp(8rem, 16vw, 14rem) var(--margin) clamp(4rem, 8vw, 7rem);
  background: var(--surface);
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero > p {
  justify-self: end;
  width: min(100%, 48ch);
  color: var(--muted);
  font-size: var(--step-lead);
}

.page-hero__action {
  justify-self: end;
}

.page-hero--product {
  min-height: 72svh;
  background: var(--bg);
}

.category-line {
  align-self: end;
  color: var(--muted);
  font-size: var(--step-small);
}

.detail-grid h2,
.split-list h2,
.prose h2 {
  margin-bottom: 2.5rem;
}

.large-list {
  display: grid;
  gap: 1rem;
  max-width: 58rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.form-section {
  min-height: 70svh;
}

.rfq-form {
  max-width: 980px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 55ch;
  margin-top: 1.5rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-actions p,
.form-status {
  color: var(--muted);
  font-size: var(--step-small);
}

.form-status {
  margin-top: 1.5rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  align-items: end;
  gap: 3rem;
  padding: 4rem var(--margin) 2rem;
  color: var(--dark-ink);
  background: var(--dark);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.72;
}

.footer-meta {
  display: grid;
  gap: 0.7rem;
  font-size: var(--step-small);
}

.footer-meta p {
  max-width: 45ch;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__line {
    transform: translateY(110%);
    animation: line-up 900ms var(--ease-expo) forwards;
  }

  .js .hero__line--bottom {
    animation-delay: 110ms;
  }

  .js [data-reveal] {
    transform: translateY(24px);
    transition: transform 900ms var(--ease-expo);
  }

  .js [data-reveal].is-in {
    transform: none;
  }

  .js [data-reveal] > * {
    transform: translateY(16px);
    transition: transform 800ms var(--ease-expo);
  }

  .js [data-reveal].is-in > * {
    transform: none;
  }

  .js [data-reveal] .form-grid > *,
  .js [data-reveal] .form-actions,
  .js [data-reveal] .consent-row,
  .js [data-reveal] .rfq-builder > *,
  .js [data-reveal] .check-row {
    transform: translateY(14px);
    transition: transform 720ms var(--ease-expo);
  }

  .js [data-reveal].is-in .form-grid > *,
  .js [data-reveal].is-in .form-actions,
  .js [data-reveal].is-in .consent-row,
  .js [data-reveal].is-in .rfq-builder > *,
  .js [data-reveal].is-in .check-row {
    transform: none;
  }
}

@keyframes line-up {
  to {
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-head {
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 4.5rem;
    right: var(--margin);
    display: none;
    width: min(18rem, calc(100vw - 2 * var(--margin)));
    padding: 1rem;
    background: var(--bg);
  }

  .site-nav.is-open {
    display: grid;
    justify-content: start;
  }

  .hero {
    background: var(--bg);
  }

  .hero::before {
    height: 32%;
  }

  .hero::after {
    height: 68%;
  }

  .hero__title {
    top: 27svh;
    width: 100%;
    left: 0;
    font-size: clamp(4rem, 17vw, 6.3rem);
  }

  .hero::before {
    height: 34%;
  }

  .hero::after {
    height: 66%;
  }

  .hero__scope {
    bottom: 12.5rem;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    font-size: 1.3rem;
  }

  .hero__support {
    right: var(--margin);
    bottom: 6.2rem;
    width: auto;
    font-size: 1.05rem;
  }

  .hero__cta {
    left: var(--margin);
    right: auto;
    bottom: 1.4rem;
  }

  .section {
    padding-block: 5rem;
  }

  .section-grid,
  .section-heading,
  .process,
  .faq,
  .rfq-builder,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-grid h2,
  .section-note {
    grid-column: auto;
  }

  .section-note {
    margin-top: 1.5rem;
  }

  .facts-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4rem;
  }

  .facts-row > :last-child {
    grid-column: 1 / -1;
  }

  .process-copy {
    position: static;
  }

  .process-step {
    width: calc(100% - var(--step) * 6vw);
    margin-left: calc(var(--step) * 6vw);
  }

  .checklist,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .rfq-output-wrap,
  .form-grid__wide {
    grid-column: auto;
  }

  .faq-list {
    columns: 1;
  }

  .closing {
    min-height: 76svh;
    grid-template-columns: 1fr;
    align-content: space-between;
  }

  .closing__aside .button {
    justify-self: start;
  }

  .page-hero {
    min-height: 52svh;
    gap: 1.5rem;
    padding-top: 7rem;
  }

  .page-hero > p {
    justify-self: start;
    font-size: var(--step-body);
  }

  .page-hero__action {
    justify-self: start;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-wordmark {
    font-size: 23vw;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody tr {
    padding: 1rem 0;
    background: var(--bg);
  }

  tbody tr + tr {
    margin-top: 0.75rem;
  }

  th,
  td {
    padding: 0.45rem 1rem;
    border-top: 0;
    overflow-wrap: anywhere;
  }

  th:first-child,
  td:first-child {
    padding-top: 1rem;
  }

  th:last-child,
  td:last-child {
    padding-bottom: 1rem;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero__title {
    top: 27svh;
  }

  .hero::before {
    height: 34%;
  }

  .hero::after {
    height: 66%;
  }

  .closing,
  .closing--compact {
    min-height: auto;
    align-content: start;
  }
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
