/* =====================================================
   SME GmbH — "Freight grid" theme
   Bold grotesk type, strict ruled grid, one red.
   ===================================================== */

/* Fonts (self-hosted, no requests to Google) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("assets/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("assets/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/plex-mono/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("assets/fonts/plex-mono/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --mist: #f2f2ef;
  --accent: #d7261e;
  --accent-dark: #a81b15;
  --muted: #5a5a5a;
  --rule: 1px solid var(--ink);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.fg {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.fg a {
  color: inherit;
}
.fg img {
  max-width: 100%;
  height: auto;
  display: block;
}
.fg h1, .fg h2, .fg h3, .fg h4, .fg p {
  margin: 0;
}
.fg section[id] {
  scroll-margin-top: var(--nav-h);
}
.fg-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fg-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Buttons ---- */
.fg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fg-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
}
.fg-btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.fg-btn-outline {
  background: transparent;
  color: var(--ink);
}
.fg-btn-outline:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ---- Navbar (main.js toggles .sticky on .navbar-area) ---- */
.fg .navbar-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule);
}
.fg .navbar-area.sticky {
  position: fixed;
}
.fg-nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.fg-wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.fg-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.fg-menu > li {
  position: relative;
}
.fg-menu > li > a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.fg-menu > li > a:hover,
.fg-menu > li > a.active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.fg-menu .fg-lang {
  margin-left: 12px;
  border: var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 10px;
}
.fg-menu .fg-lang:hover {
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
}
/* Products dropdown */
.fg-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--paper);
  border: var(--rule);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s;
}
.fg-menu > li:hover .fg-sub,
.fg-menu > li:focus-within .fg-sub {
  opacity: 1;
  visibility: visible;
}
.fg-sub li + li {
  border-top: var(--rule);
}
.fg-sub a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.fg-sub a:hover {
  background: var(--accent);
  color: #ffffff;
}
.fg-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 991px) {
  .fg-toggle {
    display: block;
  }
  .fg-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: var(--rule);
    padding: 8px var(--gutter) 16px;
  }
  .fg-menu.open {
    display: flex;
  }
  .fg-menu > li > a {
    padding: 12px 0;
    border-bottom: 1px solid #e3e3e0;
  }
  .fg-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    border: none;
    min-width: 0;
    padding-left: 16px;
  }
  .fg-sub li + li {
    border-top: none;
  }
  .fg-sub a {
    padding: 10px 0;
  }
  .fg-menu .fg-lang {
    margin: 14px 0 0;
    align-self: flex-start;
  }
}

/* ---- Hero ---- */
.fg-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 110px));
  padding-bottom: clamp(40px, 6vw, 80px);
}
.fg-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
  color: var(--muted);
}
.fg-hero h1 {
  font-size: clamp(40px, 6.6vw, 104px);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 24ch;
}
.fg-hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: var(--rule);
}
.fg-hero-foot p {
  max-width: 62ch;
  font-size: 18px;
  color: var(--muted);
}
.fg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 767px) {
  .fg-hero-foot {
    grid-template-columns: 1fr;
  }
  .fg-hero-foot p {
    font-size: 16px;
  }
}

/* ---- Red band + stats ---- */
.fg-band {
  background: var(--accent);
  color: #ffffff;
}
.fg-band .fg-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--mono);
  font-size: 13px;
}
.fg-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: var(--rule);
}
.fg-stat {
  padding: 28px var(--gutter) 30px;
  border-right: var(--rule);
}
.fg-stat:last-child {
  border-right: none;
}
.fg-stat strong {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  margin-bottom: 8px;
}
.fg-stat span {
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 767px) {
  .fg-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fg-stat:nth-child(2) {
    border-right: none;
  }
  .fg-stat:nth-child(-n+2) {
    border-bottom: var(--rule);
  }
}

/* ---- Section heads ---- */
.fg-section {
  padding: clamp(64px, 9vw, 120px) 0;
  border-bottom: var(--rule);
}
.fg-section.alt {
  background: var(--mist);
}
.fg-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.fg-head .fg-index {
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 10px;
}
.fg-head h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
  font-stretch: 82%;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.fg-head p {
  color: var(--muted);
  font-size: 17px;
  padding-top: 8px;
}
@media (max-width: 991px) {
  .fg-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .fg-head .fg-index {
    padding-top: 0;
  }
}

/* ---- Ruled grid of cells (product range, why SME) ---- */
.fg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
}
.fg-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fg-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fg-cell {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 26px 26px 24px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: var(--paper);
  transition: background 0.15s ease, color 0.15s ease;
}
.fg-cell .fg-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 36px;
}
.fg-cell h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.fg-cell p {
  color: var(--muted);
  font-size: 15.5px;
}
.fg-cell .fg-link {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.fg-cell .fg-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fg-cell.hoverable:hover {
  background: var(--accent);
  color: #ffffff;
}
.fg-cell.hoverable:hover p,
.fg-cell.hoverable:hover .fg-num {
  color: rgba(255,255,255,0.8);
}
@media (max-width: 991px) {
  .fg-grid,
  .fg-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .fg-grid,
  .fg-grid.cols-2,
  .fg-grid.cols-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-cell {
    min-height: 0;
  }
  .fg-cell .fg-num {
    margin-bottom: 18px;
  }
}

/* ---- Featured products ---- */
.fg-featured {
  margin-top: clamp(48px, 6vw, 72px);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.fg-exclusive-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "tag tag"
    "title text";
  gap: 16px 40px;
  align-items: end;
  padding: 28px 0 24px;
  border-top: 6px solid var(--accent);
  border-bottom: var(--rule);
}
.fg-exclusive-tag {
  grid-area: tag;
  justify-self: start;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
}
.fg-exclusive-head h3 {
  grid-area: title;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.fg-exclusive-head p {
  grid-area: text;
  max-width: 40ch;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 767px) {
  .fg-exclusive-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tag" "title" "text";
    gap: 14px;
  }
  .fg-exclusive-head p {
    font-size: 16px;
  }
}
.fg-product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  text-decoration: none;
  border-bottom: var(--rule);
  transition: background 0.15s ease;
}
.fg-product + .fg-product {
  border-left: var(--rule);
}
.fg-product-img {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: var(--rule);
  min-height: 300px;
}
.fg-product-img img {
  max-height: 260px;
  width: auto;
}
.fg-product-body {
  display: flex;
  flex-direction: column;
  padding: 26px;
}
.fg-product-body h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  font-stretch: 85%;
  line-height: 1;
  text-transform: uppercase;
  margin: 12px 0 12px;
}
.fg-product-body p {
  color: var(--muted);
  font-size: 15.5px;
}
.fg-product-body .fg-link {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}
.fg-product:hover .fg-product-body {
  background: var(--accent);
  color: #ffffff;
}
.fg-product:hover .fg-product-body p,
.fg-product:hover .fg-product-body .fg-mono {
  color: rgba(255,255,255,0.8);
}
.fg-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: var(--rule);
  border-right: var(--rule);
  background: var(--paper);
}
@media (max-width: 991px) {
  .fg-products {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-product + .fg-product {
    border-left: none;
  }
}
@media (max-width: 600px) {
  .fg-product {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-product-img {
    border-right: none;
    border-bottom: var(--rule);
    min-height: 240px;
  }
  .fg-product-img img {
    max-height: 210px;
  }
}

/* ---- Process steps ---- */
.fg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--ink);
}
.fg-step {
  padding: 22px 24px 8px 0;
}
.fg-step + .fg-step {
  padding-left: 24px;
  border-left: var(--rule);
}
.fg-step .fg-step-num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  font-stretch: 70%;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
}
.fg-step h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.fg-step p {
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 991px) {
  .fg-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fg-step:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }
  .fg-step:nth-child(n+3) {
    border-top: var(--rule);
    margin-top: 16px;
  }
}
@media (max-width: 600px) {
  .fg-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-step,
  .fg-step + .fg-step {
    padding: 20px 0 12px;
    border-left: none;
  }
  .fg-step + .fg-step {
    border-top: var(--rule);
    margin-top: 0;
  }
}

/* ---- About ---- */
.fg-about {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
}
.fg-about-text {
  max-width: 900px;
}
.fg-about-text p {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fg-about-text p + p {
  margin-top: 20px;
  color: var(--muted);
}
@media (max-width: 991px) {
  .fg-about {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Contact (red) ---- */
.fg-contact {
  background: var(--accent);
  color: #ffffff;
  padding: clamp(64px, 9vw, 120px) 0;
}
.fg-contact .fg-index {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}
.fg-contact h2 {
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.fg-contact .fg-contact-intro {
  max-width: 56ch;
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}
.fg-contact-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,0.6);
}
.fg-contact-lines > div {
  padding: 20px 24px 0 0;
}
.fg-contact-lines > div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.6);
}
.fg-contact-lines .fg-mono {
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 8px;
}
.fg-contact-lines a,
.fg-contact-lines address {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  line-height: 1.3;
}
.fg-contact-lines a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 767px) {
  .fg-contact-lines {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-contact-lines > div,
  .fg-contact-lines > div + div {
    padding: 18px 0;
    border-left: none;
  }
  .fg-contact-lines > div + div {
    border-top: 1px solid rgba(255,255,255,0.6);
  }
}

/* ---- Footer ---- */
.fg-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 48px 0 28px;
}
.fg-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.fg-footer .fg-wordmark {
  font-size: 28px;
}
.fg-footer p,
.fg-footer li {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
}
.fg-footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.fg-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fg-footer li + li {
  margin-top: 8px;
}
.fg-footer a {
  text-decoration: none;
}
.fg-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.fg-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 767px) {
  .fg-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Back to top (main.js toggles display) ---- */
.fg .scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 16px;
  text-decoration: none;
  z-index: 40;
}
.fg .scroll-top:hover {
  background: var(--accent);
}

/* ---- Focus ---- */
.fg a:focus-visible,
.fg button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Long words (German) ---- */
@media (max-width: 600px) {
  .fg h1,
  .fg h2,
  .fg h3 {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* ---- Product pages ---- */
.fg-tag {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
}
.fg-crumb a {
  text-decoration: none;
}
.fg-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fg-phero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: stretch;
}
.fg-phero-text {
  display: flex;
  flex-direction: column;
}
.fg-phero-text .fg-tag {
  align-self: flex-start;
  margin-bottom: 22px;
}
.fg-phero-text h1 {
  max-width: none;
}
.fg-phero-text .fg-lead {
  margin-top: 28px;
  padding-top: 22px;
  border-top: var(--rule);
  font-size: 19px;
  color: var(--muted);
  max-width: 52ch;
}
.fg-phero-text .fg-actions {
  margin-top: 28px;
}
.fg-phero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--rule);
  background: #ffffff;
  padding: 32px;
  min-height: 420px;
}
.fg-phero-img img {
  max-height: 440px;
  width: auto;
}
.fg-hero.product .fg-kicker {
  margin-bottom: 36px;
}
.fg-hero.product h1 {
  font-size: clamp(40px, 6vw, 92px);
}
@media (max-width: 991px) {
  .fg-phero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .fg-phero-img {
    min-height: 300px;
  }
  .fg-phero-img img {
    max-height: 300px;
  }
}
.fg-more-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-bottom: var(--rule);
  border-left: var(--rule);
  text-decoration: none;
  background: var(--paper);
  transition: background 0.15s ease, color 0.15s ease;
}
.fg-more-cell strong {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  font-stretch: 85%;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 12px;
}
.fg-more-cell .fg-link {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}
.fg-more-cell:hover {
  background: var(--ink);
  color: #ffffff;
}
@media (max-width: 991px) {
  .fg-more-cell {
    border-left: none;
  }
}

/* ---- Legal pages ---- */
.fg-hero.legal {
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: var(--rule);
}
.fg-hero.legal h1 {
  font-size: clamp(44px, 7vw, 104px);
}
.fg-hero.legal .fg-legal-sub {
  margin-top: 24px;
  color: var(--muted);
}
.fg-legal {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 110px);
}
.fg-legal-side {
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 6px;
}
.fg-legal-side a {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}
.fg-legal-side a:hover,
.fg-legal-side a.current {
  color: var(--accent);
}
.fg-legal-body {
  max-width: 780px;
}
.fg-legal-body h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  font-stretch: 85%;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  padding-top: 18px;
  border-top: 3px solid var(--ink);
}
.fg-legal-body > h2:first-child {
  margin-top: 0;
}
.fg-legal-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 8px;
}
.fg-legal-body p {
  font-size: 16.5px;
  line-height: 1.7;
  color: #2b2b2b;
  margin-bottom: 14px;
}
.fg-legal-body a {
  color: var(--accent);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.fg-legal-body .caps-notice {
  font-size: 13.5px;
  color: var(--muted);
}
.legal-info-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
  margin: 8px 0 24px;
}
.legal-info-card-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-right: var(--rule);
  border-bottom: var(--rule);
}
.legal-info-card-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.legal-info-card-value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.legal-info-card-value a {
  color: var(--ink);
}
@media (max-width: 767px) {
  .fg-legal {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-legal-side {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 0;
  }
  .legal-info-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Three products side by side (stacked cards) ---- */
.fg-products.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fg-products.cols-3 .fg-product {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}
.fg-products.cols-3 .fg-product-img {
  border-right: none;
  border-bottom: var(--rule);
  min-height: 300px;
}
.fg-products.cols-3 .fg-product-img img {
  max-height: 250px;
}
.fg-products.cols-3 > * + * {
  border-left: var(--rule);
}
@media (max-width: 991px) {
  .fg-products.cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .fg-products.cols-3 > * + * {
    border-left: none;
  }
}
