/* ============================================================
   Self-hosted fonts (SIL Open Font License)
   ============================================================ */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/big-shoulders-display.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
}

/* ============================================================
   Nidec GPM do Brasil — Design tokens
   ============================================================ */
:root {
  /* Color — anchored neutral base, one disciplined green accent,
     a deep variant for dark sections, a sparing gold from the
     fluid photography, sampled from the brand assets. */
  --ink: #12181a;
  --green: #009b4b;
  --green-deep: #0b2e1e;
  --paper: #f5f2ea;
  --muted: #565b5e;
  --gold: #b8862e;
  --white: #ffffff;
  --line: #ddd7c8;
  --line-dark: rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-eyebrow: 0.75rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.15rem;
  --fs-h4: 1.35rem;
  --fs-h3: 1.9rem;
  --fs-h2: 2.4rem;
  --fs-h1: 2.9rem;

  --header-h: 76px;
  --edge: 6vw;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

@media (min-width: 768px) {
  :root {
    --fs-h3: 2.2rem;
    --fs-h2: 3rem;
    --fs-h1: 4.2rem;
    --edge: 5vw;
  }
}

@media (min-width: 1200px) {
  :root {
    --fs-h2: 3.5rem;
    --fs-h1: 5.4rem;
    --edge: 7vw;
    --header-h: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur: 0.001s;
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body,
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

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

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

#produtos {
  scroll-margin-top: 4px;
}

@media (min-width: 1024px) {
  #produtos {
    scroll-margin-top: -26px;
  }
}

@media (min-width: 1024px) {
  #fabrica {
    scroll-margin-top: -6px;
  }
}

a {
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.eyebrow--light {
  color: #7fd6ab;
}

.lede {
  font-size: var(--fs-body-lg);
  color: var(--muted);
  max-width: 46ch;
}

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

.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--edge);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 300;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  min-height: 44px;
  transition: transform var(--dur) var(--ease), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--primary {
  background: var(--green);
  color: var(--ink);
}

.btn--primary:hover {
  background: #00b155;
  transform: translateY(-2px);
}

.btn--ghost-dark {
  border-color: rgba(18, 24, 26, 0.35);
  color: var(--ink);
  background: transparent;
}

.btn--ghost-dark:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost-light {
  border-color: rgba(245, 242, 234, 0.45);
  color: var(--paper);
  background: transparent;
}

.btn--ghost-light:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}

.btn--on-green {
  border-color: rgba(18, 24, 26, 0.4);
  color: var(--ink);
}

.btn--on-green:hover {
  border-color: var(--ink);
  background: rgba(18, 24, 26, 0.08);
}

/* ============================================================
   Header — logo fixed top-left always
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 200;
  display: flex;
  align-items: center;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--edge);
  gap: 1rem;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.logo-chip img {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

@media (min-width: 1200px) {
  .logo-chip img {
    height: 77px;
  }
}

.main-nav {
  display: none;
}

@media (min-width: 1280px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .main-nav a {
    text-decoration: none;
    color: var(--ink);
    position: relative;
    padding-block: 0.4rem;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transition: right var(--dur) var(--ease);
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    right: 0;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
}

@media (min-width: 1440px) {
  .header-phone {
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: right;
  }

  .header-phone span:first-child {
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .header-phone strong {
    font-size: 0.9rem;
    color: var(--green);
  }
}

.header-actions .btn {
  display: none;
}

@media (min-width: 1280px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  color: var(--ink);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (min-width: 1280px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--green-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--edge);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  text-transform: uppercase;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--paper);
}

.mobile-nav__meta {
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #9fd9bb;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 1280px) {
  .mobile-nav {
    display: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--paper);
  overflow: hidden;
  padding-top: 1.5rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    min-height: 320px;
    padding-block: 1.5rem;
  }
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-top: 1rem;
  color: var(--white);
}

.hero__lede {
  margin-top: 1.6rem;
  font-size: var(--fs-body-lg);
  color: #cfe9db;
  max-width: 52ch;
}

.hero__lede strong {
  color: var(--white);
  font-weight: 600;
}

.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  min-height: 320px;
}

@media (min-width: 1024px) {
  .hero__visual {
    min-height: 100%;
    height: 100%;
  }
}

.hero__panel {
  position: absolute;
  inset: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero__panel {
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

.hero__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 46, 30, 0.15), rgba(11, 46, 30, 0.55) 85%);
}

.hero__product {
  position: absolute;
  right: 6%;
  bottom: -4%;
  width: 52.7%;
  max-width: 391px;
  z-index: 3;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

@media (min-width: 1024px) {
  .hero__product {
    right: 8%;
    bottom: 6%;
  }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  background: var(--paper);
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .trust {
    padding-block: 4rem;
  }
}

.trust__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.trust__item {
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem;
}

.trust__item svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-bottom: 1rem;
}

.trust__item h4 {
  margin-bottom: 0.7rem;
}

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

/* ============================================================
   Section shell
   ============================================================ */
.section {
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

.section__head {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section__head {
    margin-bottom: 3rem;
  }
}

.section__head-main {
  max-width: 62ch;
}

.section__head-main h2 {
  margin-top: 0.9rem;
}

.section__head-side {
  margin-top: 2rem;
}

.section__head-tag {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--ink);
}

.section__head-links {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.section__head-links .btn {
  justify-content: center;
}

@media (min-width: 1024px) {
  .section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .section__head-side {
    display: block;
    flex: none;
    width: 260px;
  }
}

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

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

/* ============================================================
   Products
   ============================================================ */
.product-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    align-items: start;
    gap: 2rem;
  }
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

.product-card__frame {
  position: relative;
  background: #eeece3;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.4rem;
  transition: transform var(--dur) var(--ease);
}

.product-card:hover .product-card__frame img {
  transform: scale(1.05);
}

.product-card__frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 46%;
  background: var(--green);
  clip-path: polygon(35% 0, 100% 0, 100% 65%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.product-card:hover .product-card__frame::before {
  opacity: 1;
}

.product-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-height: 11.5rem;
}

.product-card__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

.product-card__body h4 {
  text-transform: none;
  letter-spacing: 0;
}

.product-card__body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.products-foot {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.products-foot p {
  color: var(--muted);
  width: 100%;
}

/* ============================================================
   Diagonal quote band
   ============================================================ */
.quote-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin-block: -1px;
}

.quote-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 20, 13, 0.92) 0%, rgba(6, 20, 13, 0.55) 55%, rgba(6, 20, 13, 0.25) 100%);
}

.quote-band__content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.quote-band__certs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
}

.quote-band__cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 84px;
  flex: none;
  text-decoration: none;
}

.quote-band__cert img {
  width: 100%;
  aspect-ratio: 520 / 736;
  object-fit: cover;
  border: 2px solid rgba(245, 242, 234, 0.85);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
  transition: transform var(--dur) var(--ease), border-color 0.25s ease;
}

.quote-band__cert:hover img,
.quote-band__cert:focus-visible img {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.quote-band__cert span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--paper);
}

@media (min-width: 640px) {
  .quote-band__cert {
    width: 144px;
  }

  .quote-band__certs {
    width: auto;
    gap: 1.2rem;
  }
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.08;
  max-width: 16ch;
  margin: 0;
}

.quote-band cite {
  display: block;
  font-style: normal;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fd9bb;
}

/* ============================================================
   Plant / About
   ============================================================ */
.plant {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .plant {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }

  .plant--reverse .plant__media {
    order: 2;
  }
}

.plant__media {
  position: relative;
}

.plant__media img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

.plant__facts {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.plant__facts dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.plant__facts dd {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.plant p + p {
  margin-top: 1.1rem;
}

.plant p {
  color: var(--muted);
  max-width: 52ch;
}

/* ============================================================
   Contact
   ============================================================ */
#contato {
  padding-block: 3rem;
}

@media (min-width: 768px) {
  #contato {
    padding-block: 4rem;
  }
}

.contact-info {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-info {
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: start;
  }
}

.contact-info__intro h2 {
  margin-top: 0.9rem;
}

.contact-info__details {
  margin: 0;
  display: grid;
  gap: 2.4rem;
}

@media (min-width: 640px) {
  .contact-info__details {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.contact-info dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7fd6ab;
}

.contact-info dd {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
}

.contact-info a {
  text-decoration: none;
  display: inline-block;
  padding-block: 0.35rem;
}

.contact-info a:hover {
  color: var(--green);
}

.social-row {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.8rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.social-row a:hover {
  background: var(--green);
  border-color: var(--green);
}

.social-row svg {
  width: 18px;
  height: 18px;
  color: var(--paper);
}

.social-row a.social-row__cta {
  width: auto;
  padding-inline: 1.1rem;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--green-deep);
  color: var(--paper);
  padding-top: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #83a795;
}

.footer-bottom p {
  width: 100%;
}

.footer-bottom a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--paper);
}

.footer-bottom p:last-child {
  margin-top: 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line-dark);
  color: #a9c7b7;
}

/* ============================================================
   Legal page (Termos de Uso / Política de Privacidade)
   ============================================================ */
.legal-hero {
  padding-block: 3rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero .lede {
  margin-top: 1.2rem;
  max-width: 68ch;
}

.legal-updated {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.legal-body {
  max-width: 74ch;
}

.legal-body section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.legal-body h2 {
  font-size: var(--fs-h4);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.legal-body h2 .legal-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-body p + p {
  margin-top: 1rem;
}

.legal-body h2 + p,
.legal-body h2 + ol,
.legal-body h2 + ul {
  margin-top: 1rem;
}

.legal-body ol,
.legal-body ul {
  margin-top: 1rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.6rem;
}

.legal-body ol {
  list-style: lower-alpha;
}

.legal-body ul {
  list-style: disc;
}

.legal-body a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
}

.legal-body strong {
  color: var(--ink);
}

.legal-subhead {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.legal-datagrid {
  margin-top: 1rem;
  display: grid;
  gap: 1.6rem;
  border: 1px solid var(--line);
  padding: 1.4rem;
  background: rgba(0, 0, 0, 0.015);
}

@media (min-width: 720px) {
  .legal-datagrid {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }
}

.legal-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem !important;
}

.legal-datagrid p:not(.legal-label) {
  font-size: 0.92rem;
}

.legal-signoff {
  margin-top: 2rem;
  padding: 1.4rem;
  border-left: 3px solid var(--green);
  background: rgba(0, 0, 0, 0.015);
}

.legal-signoff p {
  margin: 0;
}

.legal-signoff p + p {
  margin-top: 0.4rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border: 1px solid var(--line);
}

.legal-table th {
  text-align: left;
  vertical-align: top;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 0.9rem;
  border-bottom: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.02);
}

.legal-table td {
  vertical-align: top;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table th:first-child,
.legal-table td:first-child {
  width: 52%;
  border-right: 1px solid var(--line);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.legal-back:hover {
  color: var(--ink);
}

.legal-back svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

/* ============================================================
   Reveal-on-scroll (progressive enhancement)
   ============================================================ */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
