/* ==========================================================================
   PAS Dagang — landing page
   Design tokens taken from Figma (EXTERNAL-FILES, node 28:2)
   ========================================================================== */

:root {
  --green: #00502e;
  --green-08: rgba(0, 107, 63, 0.08);
  --green-10: rgba(0, 80, 46, 0.1);
  --green-20: rgba(0, 80, 46, 0.2);
  --gold: #c29649;
  --gold-deep: rgb(176, 134, 60);
  --gold-ink: #7d570b;
  --gold-10: rgba(125, 87, 11, 0.1);
  --gold-20: rgba(125, 87, 11, 0.2);

  --ink: #1a1c1a;
  --body: #3f4941;

  --page: #fefefe;
  --header-bg: rgba(250, 249, 246, 0.8);
  --surface-trust: #fdfcfb;
  --surface-buyer: #f0f7f4;
  --surface-supplier: #fdf8f0;
  --surface-muted: #f4f3f1;

  --shadow-card: 0 4px 20px rgba(13, 30, 22, 0.04);
  --shadow-soft: 0 4px 10px rgba(13, 30, 22, 0.04);

  --gutter: 80px;
  --container: 1391px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-xs: 6px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.text-gold {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-xs) 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

/* ------------------------------------------------------------------ shared */

.eyebrow {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.eyebrow--green {
  color: var(--green);
}

.eyebrow--gold {
  color: var(--gold-ink);
}

.eyebrow--lg {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.4px;
}

.eyebrow--xl {
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.4px;
}

.badge {
  align-self: flex-start;
  background: #fff;
  border-radius: 9999px;
  padding: 8px 17px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge--green {
  color: var(--green);
  border: 1px solid var(--green-20);
}

.badge--gold {
  color: var(--gold-ink);
  border: 1px solid var(--gold-20);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-xs);
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 19.6px;
  letter-spacing: 0.7px;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn--sm {
  padding: 9px 24px;
}

.btn--lg {
  padding: 11px 24px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: normal;
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: #00693d;
}

/* The success page picks its role from the URL, so its buttons opt into the
   gold components here rather than by swapping classes in markup. */
.btn--gold,
html[data-role="pembekal"] .thanks .btn--green {
  background: var(--gold-deep);
  color: #fff;
}

.btn--gold:hover,
html[data-role="pembekal"] .thanks .btn--green:hover {
  background: #96712f;
}

.btn--outline-gold,
html[data-role="pembekal"] .thanks .btn--outline-green {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.btn--outline-gold:hover,
html[data-role="pembekal"] .thanks .btn--outline-green:hover {
  background: rgba(176, 134, 60, 0.08);
}

.btn--outline-green {
  border-color: var(--green);
  color: var(--green);
}

.btn--outline-green:hover {
  background: rgba(0, 80, 46, 0.06);
}

.btn--lg.btn--outline-green,
.btn--lg.btn--outline-gold {
  border-width: 2px;
  padding: 10px 24px;
}

.btn__icon {
  width: 13px;
  height: 13px;
  flex: none;
}

.btn__icon--sm {
  width: 11px;
  height: 11px;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-10);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 8px var(--gutter);
}

/*
 * The menu is a CSS-only disclosure: a visually hidden checkbox holds the
 * open state so the page ships no JavaScript. The checkbox stays focusable
 * (not `display: none`) so the menu is reachable by keyboard.
 */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
}

.site-header__logo img {
  width: 90px;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
}

.site-nav__link {
  font-size: 14px;
  font-weight: 600;
  line-height: 19.6px;
  letter-spacing: 0.7px;
  color: var(--body);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav__link:hover {
  color: var(--green);
}

.site-nav__link.is-current {
  color: var(--green);
  font-weight: 700;
  border-bottom-color: var(--green);
}

/* -------------------------------------------------------------------- hero */

.hero {
  padding: 96px var(--gutter);
}

.hero__inner {
  display: flex;
  /* The eyebrow lines up with the top edge of the hero image. */
  align-items: flex-start;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-size: 48px;
  font-weight: 700;
  line-height: 52.8px;
  letter-spacing: -0.96px;
  color: var(--green);
}

.hero__body {
  max-width: 512px;
  font-size: 18px;
  line-height: 28.8px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 17px;
}

.hero__note {
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
}

.hero__media {
  flex: 1 1 0;
  min-width: 0;
}


.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--green-10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ------------------------------------------------------------- trust strip */

.trust {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: -64px auto 0;
  padding: 0 var(--gutter);
}

.trust__inner {
  display: flex;
  gap: 32px;
  background: var(--surface-trust);
  border: 1px solid var(--green-10);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 4px 13px 12px rgba(0, 0, 0, 0.06);
}

.trust__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.trust__icon--green {
  background: var(--green-10);
}

.trust__icon--gold {
  background: var(--gold-10);
}

.trust__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  color: var(--ink);
  margin-bottom: 4px;
}

.trust__body {
  font-size: 14px;
  line-height: 20px;
}

/* ----------------------------------------------------------------- purpose */

/* Section head follows the .how__title / .deep-dive__title scale; the pull
   quote reuses the trust-strip card treatment. */

.purpose {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 96px auto 0;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.purpose__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 900px;
}

.purpose__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 43.2px;
  letter-spacing: -0.36px;
  color: var(--green);
}

.purpose__lead {
  font-size: 18px;
  line-height: 28.8px;
}

.purpose__statement {
  max-width: 900px;
  padding: 32px;
  background: var(--surface-trust);
  border: 1px solid var(--green-10);
  border-radius: var(--radius-lg);
  box-shadow: 4px 13px 12px rgba(0, 0, 0, 0.06);
  font-size: 18px;
  line-height: 28px;
}

.purpose__statement strong {
  font-weight: 700;
  color: var(--green);
}

/* ------------------------------------------------------------ vision cards */

/* Same two-up card shell as the audience cards, so the buyer-green and
   supplier-gold surfaces carry through. */

.vision-grid {
  display: flex;
  gap: 32px;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 64px auto 0;
  padding: 0 var(--gutter);
}

.vision-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 49px;
  border: 1px solid var(--green-08);
  border-radius: var(--radius-md);
}

.vision-card--green {
  background: var(--surface-buyer);
}

.vision-card--gold {
  background: var(--surface-supplier);
}

.vision-card h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--green);
}

.vision-card--gold h2 {
  color: var(--gold-ink);
}

.vision-card p {
  font-size: 16px;
  line-height: 28px;
}

.vision-card__mantra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--green-10);
}

.vision-card__mantra span {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--green);
}

.principles-list {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

/* Mirrors .feature-card--gold: tinted panel, gold hairline, soft shadow. */
.principles-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--gold-20);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.principles-list strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gold-ink);
}

.principles-list span {
  font-size: 16px;
  line-height: 24px;
}

/* ------------------------------------------------------------------ impact */

/* Cards reuse the .feature-card surfaces and alternate green/gold like the
   trust strip; the step numbers are the .step__num badge. */

.impact {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 96px auto 0;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.impact__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.impact__head h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 43.2px;
  letter-spacing: -0.36px;
  color: var(--green);
}

.impact__head p {
  font-size: 18px;
  line-height: 28.8px;
}

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

.impact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px;
  background: var(--green-08);
  border: 1px solid var(--green-08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.impact-card:nth-child(even) {
  background: var(--surface-supplier);
  border-color: var(--gold-20);
  box-shadow: var(--shadow-soft);
}

.impact-card__num {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-10);
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.impact-card:nth-child(even) .impact-card__num {
  background: var(--gold-10);
  color: var(--gold-ink);
}

.impact-card h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--green);
}

.impact-card:nth-child(even) h3 {
  color: var(--gold-ink);
}

.impact-card strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  color: var(--ink);
}

.impact-card p {
  font-size: 16px;
  line-height: 24px;
}

/* --------------------------------------------------------- audience cards */

.audience {
  display: flex;
  gap: 32px;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 96px auto 0;
  padding: 0 var(--gutter);
}

.audience-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 21px;
  min-height: 500px;
  padding: 49px;
  border: 1px solid var(--green-08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.audience-card--buyer {
  background: var(--surface-buyer);
}

.audience-card--supplier {
  background: var(--surface-supplier);
  gap: 32px;
}

.audience-card__copy {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.audience-card--buyer .audience-card__copy {
  flex: 0 0 262px;
}

.audience-card--supplier .audience-card__copy {
  flex: 1 1 0;
  min-width: 0;
}

.audience-card__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--green);
}

.audience-card__body {
  font-size: 16px;
  line-height: 28px;
}

.audience-card__copy .btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: normal;
}

.audience-card__media {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.audience-card__media--buyer {
  flex: 0 0 375px;
  margin-right: -77px;
}

/* ---------------------------------------------------------------- deep dive */

/*
 * Head, cards and footer each sit in a shared row, so the two columns line up
 * even when one heading wraps to a line the other does not. Without that the
 * taller heading would eat into its own card grid and leave the two sides'
 * cards at different heights.
 */
.deep-dive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  justify-content: center;
  max-width: calc(1280px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.deep-dive__col {
  grid-row: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  justify-items: center;
  gap: 48px;
  padding: 64px 70px;
}

.deep-dive__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.deep-dive__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 43.2px;
  letter-spacing: -0.36px;
  color: var(--green);
}

.deep-dive__body {
  font-size: 18px;
  line-height: 28.8px;
  padding-top: 7px;
}

/*
 * Every card in this section carries the same height. `1fr` rows equalise the
 * two rows within one grid, and letting the grid grow inside its flex column
 * carries that across to the other column, since both columns already stretch
 * to the taller of the two.
 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  flex: 1 1 auto;
  gap: 24px;
  width: 100%;
  max-width: 500px;
}

.feature-card {
  min-height: 217px;
  border-radius: var(--radius-sm);
  padding: 37px 21px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 12px;
}

.feature-card--green {
  background: var(--green-08);
  border: 1px solid var(--green-08);
  box-shadow: var(--shadow-card);
}

.feature-card--gold {
  background: var(--surface-supplier);
  border: 1px solid var(--gold-20);
  box-shadow: var(--shadow-soft);
}

.feature-card__icon {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 42px;
}

.feature-card__icon img {
  max-width: 36px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.feature-card__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--green);
}

.feature-card__body {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 16px;
  line-height: 24px;
}

.deep-dive__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.link-cta--green {
  color: var(--green);
}

.link-cta--gold {
  color: var(--gold-ink);
}

.link-cta:hover {
  text-decoration: underline;
}

.link-cta .btn__icon {
  width: 16px;
  height: 16px;
}

.deep-dive__note {
  font-size: 16px;
  line-height: 24px;
}

/* ----------------------------------------------------------------- values */

.values {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--container);
  margin: 0 auto;
  padding: 62px 24px;
  border-radius: var(--radius-lg);
  background-color: var(--green);
  background-image: linear-gradient(
      90deg,
      rgba(0, 80, 46, 0.92) 0%,
      rgba(0, 80, 46, 0.92) 100%
    ),
    var(--values-bg);
  background-size: auto, 400px auto;
  background-position: top left;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.values__title {
  display: flex;
  flex-direction: column;
  max-width: 768px;
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  padding-bottom: 24px;
}

.values__body {
  max-width: 768px;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.8);
  padding-bottom: 64px;
}

.values__pillars {
  display: flex;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 896px;
}

.values__pillar {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.values__pillar img {
  height: 46px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.values__pillar span {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

/* ----------------------------------------------------------- how it works */

.how {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.how__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 43.2px;
  letter-spacing: -0.36px;
  text-align: center;
  color: var(--green);
}

.how__cols {
  display: flex;
  gap: 64px;
}

.how__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step__num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.step__num--green {
  background: var(--green-10);
  color: var(--green);
}

.step__num--gold {
  background: var(--gold-10);
  color: var(--gold-ink);
}

.step__title {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ink);
  margin-bottom: 8px;
}

.step__body {
  font-size: 16px;
  line-height: 24px;
}

/* -------------------------------------------------------------- final cta */

.final-cta {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 64px;
  background: var(--surface-muted);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta__title {
  max-width: 900px;
  font-size: 40px;
  font-weight: 400;
  line-height: 50px;
  color: var(--ink);
  padding-bottom: 24px;
}

.final-cta__body {
  max-width: 672px;
  font-size: 16px;
  line-height: 24px;
  padding-bottom: 40px;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--green);
  color: #fff;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 47px var(--gutter) 48px;
}

.site-footer__brand {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer__brand img {
  width: 90px;
  height: 64px;
  object-fit: contain;
}

.site-footer__brand p {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.7);
}

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

.social a {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  color: rgba(255, 255, 255, 0.8);
}

.social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer__cols {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col--contact {
  width: 280px;
}

.footer-col__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 31.2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  font-weight: 600;
  line-height: 19.6px;
  letter-spacing: 0.7px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact {
  gap: 4px !important;
}

.footer-contact a {
  line-height: 22px;
}

.footer-hours {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.newsletter__field {
  display: flex;
  width: 280px;
  max-width: 100%;
}

.newsletter__field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 43px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 0;
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
}

.newsletter__field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter__field button {
  flex: none;
  padding: 0 14px;
  border: 0;
  cursor: pointer;
  background: var(--gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newsletter__field button:hover {
  background: #b0863c;
}

.newsletter__field button:disabled {
  cursor: default;
  opacity: 0.55;
}

.newsletter__field input[aria-invalid="true"] {
  border-color: rgba(255, 168, 168, 0.75);
}

/*
 * The footer sits on dark green, so the form's feedback cannot reuse the
 * light-background .form-status palette — it gets its own tinted variants.
 */
.newsletter__status {
  width: 280px;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
}

.newsletter__status--error {
  color: #ffc9c9;
}

.newsletter__status--success {
  color: #cfe7c6;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px var(--gutter);
  text-align: center;
}

.site-footer__bottom p {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1240px) {
  :root {
    --gutter: 40px;
  }

  .deep-dive__col {
    padding: 64px 24px;
  }

  .audience-card {
    padding: 40px;
  }

  .vision-card {
    padding: 40px;
  }

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

  .audience-card--buyer .audience-card__copy {
    flex: 1 1 0;
  }

  .audience-card__media--buyer {
    flex: 1 1 0;
    margin-right: -40px;
  }
}

/* Collapse the nav into a burger menu. */
@media (max-width: 1024px) {
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--green-20);
    border-radius: var(--radius-xs);
    cursor: pointer;
  }

  .nav-burger:hover {
    background: rgba(0, 80, 46, 0.06);
  }

  .nav-burger__bars,
  .nav-burger__bars::before,
  .nav-burger__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
  }

  .nav-burger__bars {
    position: relative;
    transition: background-color 0.15s ease;
  }

  .nav-burger__bars::before,
  .nav-burger__bars::after {
    content: "";
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
  }

  .nav-burger__bars::before {
    top: -6px;
  }

  .nav-burger__bars::after {
    top: 6px;
  }

  /* Open: the three bars fold into a close (X) icon. */
  .nav-toggle:checked + .nav-burger .nav-burger__bars {
    background: transparent;
  }

  .nav-toggle:checked + .nav-burger .nav-burger__bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-burger .nav-burger__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle:focus-visible + .nav-burger {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #faf9f6;
    border-bottom: 1px solid var(--green-10);
    box-shadow: 0 12px 24px rgba(13, 30, 22, 0.08);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--green-10);
  }

  .site-nav__link.is-current {
    border-bottom-color: var(--green);
  }

  .site-nav .btn {
    align-self: flex-start;
    margin-top: 16px;
  }
}

@media (max-width: 1000px) {
  .hero__inner,
  .audience,
  .vision-grid,
  .how__cols {
    flex-direction: column;
  }

  /* One column per row now, so the shared rows have nothing left to align. */
  .deep-dive {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .deep-dive__col {
    grid-row: auto;
    grid-template-rows: none;
  }

  /* Stacked flex columns must size to their content, not to a 0 flex-basis. */
  .hero__copy,
  .hero__media,
  .trust__item,
  .audience-card,
  .vision-card,
  .deep-dive__col,
  .how__col {
    flex: 0 0 auto;
    width: 100%;
  }

  .purpose,
  .impact {
    margin-top: 56px;
  }

  .vision-grid {
    margin-top: 32px;
  }

  .hero {
    padding: 56px var(--gutter);
  }

  .trust {
    margin-top: 24px;
  }

  .trust__inner {
    flex-direction: column;
  }

  .audience {
    margin-top: 56px;
  }

  .audience-card,
  .audience-card--supplier {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    min-height: 0;
  }

  .audience-card__copy,
  .audience-card--buyer .audience-card__copy,
  .audience-card--supplier .audience-card__copy {
    flex: 0 0 auto;
    width: 100%;
  }

  .audience-card__media,
  .audience-card__media--buyer {
    flex: 0 0 auto;
    width: 100%;
    margin-right: 0;
    justify-content: flex-start;
  }

  .audience-card__media img {
    max-width: 375px;
  }

  .deep-dive__col {
    padding: 56px 0;
    justify-items: stretch;
  }

  /*
   * Stacked, each column owns the full row, so the 500px cap that matches the
   * two-up desktop layout would just leave whitespace. Let the head and the
   * feature cards grow to whatever width is going spare.
   */
  .deep-dive__head,
  .feature-grid {
    max-width: none;
  }

  /* Stacked, there is no second column to match, so the grid stops growing
     into the column's spare height and the cards size to their content. */
  .feature-grid {
    flex: 0 0 auto;
  }

  .deep-dive__foot {
    align-items: center;
  }

  .how {
    padding: 72px var(--gutter);
  }

  .values {
    padding: 48px 24px;
  }

  .values__pillars {
    flex-wrap: wrap;
    gap: 32px;
  }

  .values__pillar {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .feature-card {
    min-height: 0;
    padding: 24px 21px;
  }

  .values__title {
    font-size: 30px;
    line-height: 40px;
  }

  .values__body {
    padding-bottom: 40px;
  }

  .how__title,
  .deep-dive__title,
  .impact__head h2,
  .purpose__title {
    font-size: 26px;
    line-height: 34px;
  }

  .purpose__statement {
    padding: 24px;
  }

  .vision-card {
    padding: 28px 24px;
  }

  .vision-card h2 {
    font-size: 24px;
    line-height: 32px;
  }

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

  .final-cta {
    padding: 40px 24px;
  }

  .final-cta__title {
    font-size: 30px;
    line-height: 40px;
  }

  .site-footer__top {
    gap: 32px;
  }
}

/* ================================================================== forms ==
   Registration pages (/sertai-pembeli/, /sertai-pembekal/) and the success
   page. Layout follows the two-column fieldset pattern of the reference
   supplier form, restyled with the PAS Dagang tokens above.
   ========================================================================== */

:root {
  --field-line: #dcdfda;
  --field-line-strong: #c3c8c1;
  --field-bg: #fff;
  --field-hint: #6b756d;
  --danger: #a6321f;
  --danger-bg: #fdf3f1;
  --danger-line: rgba(166, 50, 31, 0.25);
  --container-form: 880px;
}

/* The rules below set `display` on elements that are toggled with the `hidden`
   attribute, which would otherwise win over the UA default. */
[hidden] {
  display: none !important;
}

.form-hero {
  padding: 72px var(--gutter) 40px;
  background: var(--surface-trust);
  border-bottom: 1px solid var(--green-10);
}

.form-hero__inner {
  max-width: var(--container-form);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-hero__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.form-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  max-width: 62ch;
}

.form-section {
  padding: 40px var(--gutter) 96px;
}

.form-section__inner {
  max-width: var(--container-form);
  margin: 0 auto;
}

.form-callout {
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
  background: var(--surface-buyer);
  color: var(--ink);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14.5px;
  line-height: 1.6;
}

.form-callout--gold {
  border-left-color: var(--gold);
  background: var(--surface-supplier);
}

.reg-form {
  display: grid;
  gap: 28px;
}

.fset {
  margin: 0;
  padding: 0;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--green-10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.fset__legend {
  margin-left: 20px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.fset__body {
  display: grid;
  gap: 16px;
  padding: 4px clamp(16px, 2vw, 24px) clamp(20px, 2vw, 28px);
}

.fset__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--field-hint);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
}

.grid-2__full {
  grid-column: 1 / -1;
}

/* Starts a fresh row, leaving the cell beside the previous field empty. */
.grid-2__new-row {
  grid-column-start: 1;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.req {
  color: var(--gold-ink);
  font-weight: 700;
}

.reg-form input,
.reg-form select,
.reg-form textarea {
  font: inherit;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--field-bg);
  border: 1.5px solid var(--field-line-strong);
  border-radius: var(--radius-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.reg-form select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f4941' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.reg-form input::placeholder,
.reg-form textarea::placeholder {
  color: #9aa39c;
}

.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-08);
}

.reg-form input[type="file"] {
  padding: 10px 12px;
  background: var(--surface-muted);
  cursor: pointer;
}

.reg-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.field__hint {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--field-hint);
}

.field__error {
  display: flex;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--danger);
}

.field__error::before {
  content: "!";
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: var(--danger);
}

.field--invalid input:focus,
.field--invalid select:focus,
.field--invalid textarea:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(166, 50, 31, 0.12);
}

.input-group {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1.5px solid var(--field-line-strong);
  border-radius: var(--radius-xs);
  background: var(--field-bg);
  overflow: hidden;
}

.input-group:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-08);
}

.field--invalid .input-group {
  border-color: var(--danger);
}

.input-group__addon {
  display: flex;
  align-items: center;
  flex: none;
  padding: 0 12px;
  background: var(--surface-muted);
  color: var(--field-hint);
  font-size: 14px;
  white-space: nowrap;
}

.input-group input,
.input-group select {
  border: 0;
  border-radius: 0;
  min-width: 0;
}

.input-group input:focus,
.input-group select:focus {
  box-shadow: none;
}

/* Leading select — the country code sits in the group like an addon, sized to
   its content and divided from the field beside it. */
.input-group select {
  flex: none;
  width: auto;
  background-color: var(--surface-muted);
  border-right: 1.5px solid var(--field-line-strong);
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 18px;
}

.check__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  cursor: pointer;
}

.check .field__hint,
.check .field__error {
  padding-left: 32px;
}

.text-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  color: var(--gold-ink);
}

.form-summary {
  border: 1px solid var(--danger-line);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-sm);
  background: var(--danger-bg);
  padding: 16px 20px;
  display: grid;
  gap: 8px;
}

/* The header is sticky, so focused controls need room to clear it when the
   browser scrolls an error into view. */
.form-summary,
.reg-form input,
.reg-form select,
.reg-form textarea {
  scroll-margin-top: 100px;
}

.form-summary:focus-visible {
  outline: 3px solid var(--danger);
  outline-offset: 2px;
}

.form-summary__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--danger);
}

.form-summary__lead {
  font-size: 14px;
  line-height: 1.6;
}

.form-summary__list {
  display: grid;
  gap: 6px;
  list-style: disc;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
}

.form-summary__list li {
  list-style: disc;
}

.form-summary__list a {
  color: var(--danger);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
}

.form-status--error {
  border: 1px solid var(--danger-line);
  border-left: 3px solid var(--danger);
  background: var(--danger-bg);
  color: var(--danger);
}

.reg-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.reg-form__note {
  flex: 1 1 320px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--field-hint);
}

.reg-form__submit .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* --------------------------------------------------------- success page */

.thanks {
  padding: 80px var(--gutter) 96px;

  /* Buyer palette by default; the supplier role swaps these in below. Text
     accents use --gold-ink rather than --gold, which is too light to read at
     this size. */
  --thanks-accent: var(--green);
  --thanks-accent-text: var(--green);
  --thanks-accent-soft: var(--green-10);
  --thanks-accent-bg: var(--surface-buyer);
}

html[data-role="pembekal"] .thanks {
  --thanks-accent: var(--gold);
  --thanks-accent-text: var(--gold-ink);
  --thanks-accent-soft: var(--gold-10);
  --thanks-accent-bg: var(--surface-supplier);
}

.thanks__inner {
  max-width: var(--container-form);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.thanks__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--thanks-accent-bg);
  color: var(--thanks-accent);
}

.thanks__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ink);
}

.thanks__body {
  font-size: 17px;
  line-height: 1.65;
  max-width: 62ch;
}

.thanks__blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.thanks-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--thanks-accent-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.thanks-steps {
  display: grid;
  gap: 12px;
  counter-reset: thanks;
  font-size: 14.5px;
  line-height: 1.6;
}

.thanks-steps li {
  position: relative;
  padding-left: 32px;
  counter-increment: thanks;
}

.thanks-steps li::before {
  content: counter(thanks);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--thanks-accent-soft);
  color: var(--thanks-accent-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.thanks-steps strong {
  color: var(--ink);
}

.thanks__help {
  margin-top: 10px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  display: grid;
  gap: 6px;
}

.thanks__help-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.thanks__help-body {
  font-size: 14px;
  line-height: 1.6;
}

.thanks .eyebrow--green,
.thanks .text-link {
  color: var(--thanks-accent-text);
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .form-hero {
    padding: 48px var(--gutter) 32px;
  }

  .form-section {
    padding: 32px var(--gutter) 64px;
  }

  .thanks {
    padding: 56px var(--gutter) 72px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  /* Placeholder examples wrap onto far more lines in a single column, so give
     the box room to show them all instead of clipping one mid-sentence. */
  .reg-form textarea {
    min-height: 250px;
  }

  .reg-form__submit {
    flex-direction: column;
    align-items: stretch;
  }

  .reg-form__submit .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   Legal pages (Notis Privasi, Terma & Syarat Platform, Perjanjian Pembekal)

   These reuse `.form-hero` / `.form-section` for the page frame, so only the
   prose inside needs styling. Clause numbers come from a CSS counter scoped to
   `.legal` so the sequence keeps running across the headings that split it,
   matching the numbering of the source documents.
--------------------------------------------------------------------------- */

.legal {
  counter-reset: legal-clause;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal__lead {
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.legal h2 {
  margin: 40px 0 14px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 26px 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.legal p {
  margin: 0 0 14px;
}

.legal a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Numbered clauses. The marker sits in the left gutter so wrapped lines stay
   aligned under the first word rather than under the number. */
.legal-clauses {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.legal-clauses > li {
  counter-increment: legal-clause;
  position: relative;
  padding-left: 44px;
  min-width: 0;
}

.legal-clauses > li::before {
  content: counter(legal-clause) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--green);
}

/* Lettered and bulleted sub-lists nested inside a clause. */
.legal-sub,
.legal-bullets {
  margin: 10px 0 16px;
  padding-left: 24px;
}

.legal-sub {
  list-style: lower-alpha;
}

.legal-bullets {
  list-style: disc;
}

.legal-sub > li,
.legal-bullets > li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-sub > li::marker,
.legal-bullets > li::marker {
  color: var(--green);
}

/* A clause that ends in a nested list or paragraph should not stack its own
   bottom margin on top of the gap the clause list already provides. */
.legal-clauses > li > :last-child {
  margin-bottom: 0;
}

/* Definition blocks. Two columns on desktop, stacked on narrow screens so a
   long defined term never squeezes its definition into a sliver. */
.legal-defs {
  margin: 0 0 24px;
  display: grid;
  gap: 0;
  border: 1px solid var(--green-10);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.legal-defs > div {
  display: grid;
  grid-template-columns: minmax(180px, 30%) 1fr;
  gap: 20px;
  padding: 16px clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--green-10);
}

.legal-defs > div:first-child {
  border-top: 0;
}

.legal-defs dt {
  font-weight: 700;
  color: var(--ink);
}

.legal-defs dd {
  margin: 0;
}

/* Highlighted preamble / important notice. */
.legal__notice {
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  background: var(--surface-supplier);
  color: var(--ink);
  padding: 16px 20px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
}

.legal__notice p:last-child {
  margin-bottom: 0;
}

/* Sign-off block at the foot of each document. */
.legal__contact {
  margin-top: 40px;
  padding: 20px clamp(16px, 2vw, 24px);
  border-radius: var(--radius-md);
  background: var(--surface-buyer);
  border: 1px solid var(--green-10);
}

.legal__contact h2 {
  margin-top: 0;
  font-size: 18px;
}

.legal__contact p:last-child {
  margin-bottom: 0;
}

.legal__updated {
  margin: 0 0 24px;
  font-size: 13.5px;
  color: var(--field-hint);
}

@media (max-width: 720px) {
  .legal-defs > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-clauses > li {
    padding-left: 32px;
  }

  .legal-clauses > li::before {
    width: 24px;
  }
}
