/* Supplion LLC — supplion.net */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;
  --blue: #2563EB;
  --blue-deep: #1D4ED8;
  --gray: #F3F5F8;
  --ink: #111827;
  --white: #FFFFFF;
  --ink-soft: #4B5563;
  --line: #DDE2EA;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C9D4E5;
  --navy-line: #24395A;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 116px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, figure, address { margin: 0; }
address { font-style: normal; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .9375rem; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid var(--navy-line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  margin-right: auto;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.site-nav ul a:hover { background: var(--navy-line); }
.site-nav .nav-cta { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--white);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-line);
    padding: 8px var(--gutter) 22px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--navy-line); border-radius: 0; font-size: 1.0625rem; }
  .site-nav .nav-cta { display: flex; margin-top: 18px; }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(64px, 10vw, 132px);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  transform: skewX(-18deg);
}
.hero::before { right: 9%; width: 132px; background: var(--blue); }
.hero::after { right: calc(9% + 168px); width: 34px; background: var(--navy-line); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 26px;
  max-width: 50ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--on-navy-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

@media (max-width: 1100px) {
  .hero::before, .hero::after { display: none; }
}

/* Sections */

.section { padding-block: var(--section); }
.section-gray { background: var(--gray); }
[id] { scroll-margin-top: 88px; }

.section h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.section h2.h2-long { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}
.prose { max-width: 62ch; }
.prose p { font-size: 1.125rem; }
.prose p + p { margin-top: 1.1em; }

.rule { border-top: 4px solid var(--blue); padding-top: 22px; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
}

/* Products */

.products-head p { margin-top: 16px; font-size: 1.125rem; color: var(--ink-soft); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.product-photo {
  aspect-ratio: 4 / 3;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 2.6vw, 28px);
}
.product h3 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.15; letter-spacing: -0.01em; }
.product-note { margin-top: 8px; font-size: .9375rem; font-weight: 700; color: var(--blue-deep); }
.product .btn { margin-top: auto; align-self: flex-start; }
.product-body > :nth-last-child(2) { margin-bottom: 22px; }

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

/* Company */

.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 1.0625rem;
}
.facts tr:first-child th, .facts tr:first-child td { border-top: 1px solid var(--line); }
.facts th { width: 38%; padding-right: 16px; font-weight: 500; color: var(--ink-soft); }
.facts td { font-weight: 700; }

@media (max-width: 520px) {
  .facts th, .facts td { display: block; width: 100%; }
  .facts th { padding: 13px 0 0; border-bottom: 0; font-size: .9375rem; }
  .facts td { padding: 2px 0 13px; }
  .facts tr:first-child td { border-top: 0; }
}

/* Contact */

.contact-text { font-size: 1.125rem; max-width: 62ch; }
.contact-list { margin: 30px 0 0; padding: 0; display: grid; gap: 24px; }
.contact-list dt { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }
.contact-list dd { margin: 4px 0 0; }
.contact-email {
  font-size: clamp(1.375rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: none;
  overflow-wrap: anywhere;
}
.contact-email:hover { text-decoration-color: var(--ink); }
.contact-address { font-size: 1.125rem; font-weight: 600; line-height: 1.5; }

/* Footer */

.site-footer { background: var(--navy); color: var(--on-navy-soft); padding-block: 44px 52px; font-size: .9375rem; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--navy-line);
}
.footer-top p { color: var(--white); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--white); font-weight: 600; text-underline-offset: 4px; }
.footer-legal { margin-top: 22px; max-width: 92ch; }

/* Legal pages */

.legal { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.legal-body { max-width: 68ch; }
.legal h1 { font-size: clamp(2.125rem, 4.6vw, 3.25rem); }
.legal h2 { margin-top: 2em; font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1.25; }
.legal p { margin-top: .8em; }
.legal a:not(.btn) { color: var(--blue-deep); text-underline-offset: 4px; }
.legal-meta { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--ink-soft); }

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