/* NiraTrace company profile. Colours, type and graphic elements follow the GSM v1.0
   ("Madu & Kelapa", GSM/_source/BRAND-BRIEF.md): Santan paper, Kelapa identity, one Madu accent. */

/* ---------- fonts (self-hosted, OFL; latin subset is enough for Bahasa Indonesia) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
}

/* ---------- tokens ---------- */
:root {
  --kelapa-50: #eff8f7;
  --kelapa-100: #d6eeec;
  --kelapa-200: #addcd8;
  --kelapa-500: #1a827d;
  --kelapa-600: #0f6b69;
  --kelapa-700: #0c5559;
  --kelapa-800: #0b474b;
  --kelapa-900: #093438;
  --kelapa-950: #062528;
  --madu-50: #fff9eb;
  --madu-300: #fbcb55;
  --madu-400: #f5b12a;
  --madu-500: #e89a0c;
  --madu-600: #c27a06;
  --madu-700: #8f5807;
  --janur-100: #e2f4e7;
  --janur-400: #5cc98a;
  --janur-600: #23834a;
  --janur-700: #1b6b3c;
  --batang-300: #b9c7c6;
  --batang-600: #4a5e60;
  --batang-800: #1f2f31;
  --batang-900: #11272a;
  --santan-50: #fffcf5;
  --santan-100: #f7f1e5;
  --santan-200: #e7dfcf;
  --langit-500: #2b7bc4;
  --kunyit-700: #835300;

  --paper: var(--santan-50);
  --sunken: var(--santan-100);
  --line: var(--santan-200);
  --ink: var(--batang-900);
  --muted: var(--batang-600);
  --brand: var(--kelapa-900);
  --primary: var(--kelapa-700);

  --stage-petani: var(--janur-600);
  --stage-pengepul: var(--kelapa-500);
  --stage-gudang: var(--madu-600);
  --stage-proses: var(--batang-800);

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  /* rem, so the column grows with the larger root size on very wide screens */
  --max: 75rem;
  --hd-h: 64px;
  --radius: 16px;
  --shadow-card: 0 1px 2px rgba(8, 26, 28, 0.08), 0 4px 12px rgba(8, 26, 28, 0.06);
  --shadow-lift: 0 2px 4px rgba(8, 26, 28, 0.08), 0 18px 40px -12px rgba(8, 26, 28, 0.35);
  --janur-dark: url("/assets/img/janur-putih.svg");
  --janur-light: url("/assets/img/janur-kelapa.svg");

  color-scheme: light;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* 2K and wider: everything set in rem grows a step, so the page keeps its proportions instead
   of a narrow column in a wide void */
@media (min-width: 1800px) {
  html {
    font-size: 112.5%;
  }
}
@media (min-width: 2400px) {
  html {
    font-size: 125%;
  }
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hd-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
}
.num {
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 3px solid var(--madu-500);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection {
  background: var(--madu-300);
  color: var(--batang-900);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--madu-400);
  color: var(--batang-900);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- type ---------- */
.eyebrow {
  margin-bottom: 14px;
  color: var(--kelapa-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow--on-dark {
  color: var(--madu-400);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.25rem + 2.4vw, 2.875rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--brand);
  text-wrap: balance;
}
.h2--on-dark {
  color: #fff;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--brand);
  text-wrap: balance;
}
.lead {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  text-wrap: pretty;
}
.lead a {
  color: var(--primary);
  font-weight: 600;
}
.lead--on-dark {
  color: var(--kelapa-200);
}
.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- small parts ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.tag--sample {
  background: var(--madu-50);
  color: var(--madu-700);
  box-shadow: inset 0 0 0 1px #f6dca0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}
.pill {
  white-space: nowrap;
}
.pill .i {
  width: 16px;
  height: 16px;
}
.pill--ok {
  background: var(--janur-100);
  color: var(--janur-700);
}
/* Strip Lapis: three thin bands, santan, madu 300, madu 500 */
.strip {
  height: 9px;
  background: linear-gradient(var(--santan-50) 0 3px, var(--madu-300) 3px 6px, var(--madu-500) 6px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn .i {
  width: 18px;
  height: 18px;
}
.btn--lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1.0625rem;
}
.btn--block {
  width: 100%;
}
.btn--madu {
  background: var(--madu-400);
  color: var(--batang-900);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}
.btn--ghost-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.btn--quiet {
  padding-inline: 12px;
  background: transparent;
  color: inherit;
}
@media (hover: hover) {
  .btn--madu:hover {
    background: var(--madu-300);
  }
  .btn--primary:hover {
    background: var(--kelapa-800);
  }
  .btn--outline:hover {
    background: var(--kelapa-50);
  }
  .btn--ghost-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  }
  .btn--quiet:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .hd.is-scrolled .btn--quiet:hover {
    background: var(--kelapa-50);
  }
  .btn--lg:hover .i {
    transform: translateX(2px);
  }
}
.btn:active {
  transform: translateY(1px);
}

/* ---------- header ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  color: #fff;
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.hd.is-scrolled,
.hd.is-open {
  background: rgba(255, 252, 245, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(8, 26, 28, 0.25);
}
@supports (backdrop-filter: blur(1px)) {
  .hd.is-scrolled {
    background: rgba(255, 252, 245, 0.82);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.hd__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--hd-h);
}
.hd__logo {
  display: flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
}
.hd__logo img {
  width: auto;
  height: 30px;
}
.hd__logo-light,
.hd.is-scrolled .hd__logo-dark,
.hd.is-open .hd__logo-dark {
  display: none;
}
.hd.is-scrolled .hd__logo-light,
.hd.is-open .hd__logo-light {
  display: block;
}
.hd__nav {
  display: none;
  margin-inline: auto;
}
.hd__nav ul {
  display: flex;
  gap: 4px;
}
.hd__nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.15s, background-color 0.15s;
}
.hd__nav a[aria-current="true"] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--madu-400);
  border-radius: 0;
}
@media (hover: hover) {
  .hd__nav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
  }
  .hd.is-scrolled .hd__nav a:hover {
    background: var(--kelapa-50);
  }
}
.hd__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.hd__login,
.hd__cta {
  display: none;
}
.hd.is-scrolled .hd__login {
  color: var(--primary);
}
.hd__burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hd__burger .i {
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
}
.hd__burger .i--close,
.hd__burger[aria-expanded="true"] .i--open {
  display: none;
}
.hd__burger[aria-expanded="true"] .i--close {
  display: block;
}

.menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  max-height: calc(100dvh - var(--hd-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu__list {
  padding-block: 8px;
}
.menu__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--brand);
  text-decoration: none;
}
.menu__actions {
  display: grid;
  gap: 10px;
  padding-block: 16px 24px;
}

@media (min-width: 560px) {
  .hd__cta {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  :root {
    --hd-h: 72px;
  }
  .hd__nav {
    display: block;
  }
  .hd__login {
    display: inline-flex;
  }
  .hd__burger,
  .menu {
    display: none !important;
  }
  .hd__logo img {
    height: 32px;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(32px, 6vw, 88px) clamp(72px, 9vw, 136px);
  overflow: hidden;
  background: var(--brand) var(--janur-dark) repeat;
  background-size: 132px;
  color: #fff;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 1.4rem + 4.2vw, 4.25rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 22px;
  max-width: 58ch;
  color: var(--kelapa-200);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(173, 220, 216, 0.2);
  color: var(--kelapa-100);
  font-size: 0.9375rem;
  font-weight: 600;
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__facts .i {
  color: var(--madu-400);
}
.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}
/* The seal stamps the card's bottom right corner, clear of the trace text */
.hero__seal {
  position: absolute;
  z-index: 2;
  right: -40px;
  bottom: -44px;
  width: 112px;
  height: 112px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}
@media (max-width: 599px) {
  .hero__ctas .btn {
    flex: 1 1 100%;
  }
  .hero__seal {
    right: -8px;
    bottom: auto;
    top: -44px;
    width: 64px;
    height: 64px;
  }
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .hero__visual {
    justify-self: end;
  }
}

/* Garis Lapis: one gentle curve between the dark hero and the page, with a madu line */
.lapis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(28px, 4.5vw, 64px);
}

/* ---------- lot passport ---------- */
.lot {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.lot__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
}
.lot__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lot__code {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand);
  overflow-wrap: anywhere;
}
.lot__product {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.lot__qr {
  flex: none;
  align-self: flex-start;
  padding: 8px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.lot__qr img {
  width: 64px;
  height: 64px;
}
.lot__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 0 22px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}
.lot__stats div:last-child {
  grid-column: 1 / -1;
}
.lot__stats dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.lot__stats dd {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand);
}
.lot__stats dd .pill {
  margin-top: 4px;
  font-family: var(--font-text);
}
@container (min-width: 420px) {
  .lot__stats {
    grid-template-columns: auto auto 1fr;
  }
  .lot__stats div:last-child {
    grid-column: auto;
    justify-self: end;
    text-align: right;
  }
}
.lot__trace {
  padding: 16px 22px 20px;
}
.lot__trace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.lot__trace-title {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lot__replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-right: -8px;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
}
.lot__replay .i {
  width: 16px;
  height: 16px;
}
@media (hover: hover) {
  .lot__replay:hover {
    background: var(--kelapa-50);
  }
}
.lot__end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--janur-100);
  color: var(--janur-700);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: opacity 0.4s, transform 0.4s;
}

/* Trace: four steps on a line; the line fills from the lot down to the farmers */
.trace {
  position: relative;
  display: grid;
  gap: 4px;
  --fill: 1;
}
.trace::before,
.trace::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.trace::after {
  background: linear-gradient(var(--stage-proses), var(--stage-gudang), var(--stage-pengepul), var(--stage-petani));
  transform-origin: top;
  transform: scaleY(var(--fill));
  transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.trace.is-reset::after,
.trace.is-reset .trace__body,
.trace.is-reset .trace__dot {
  transition: none;
}
.trace__step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
}
.trace__dot {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--stage);
  color: #fff;
  box-shadow: 0 0 0 4px #fff;
  transition: background-color 0.35s, color 0.35s, transform 0.35s;
  --ic-accent: var(--madu-300);
}
.trace__dot .i {
  width: 20px;
  height: 20px;
}
.trace__body {
  min-width: 0;
  padding-top: 1px;
  transition: opacity 0.35s;
}
.trace__stage {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  font-weight: 700;
  color: var(--ink);
}
.trace__stage code {
  color: var(--primary);
}
.trace__note {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
/* Before the trace runs (JS on, motion allowed) */
.lot.is-idle .trace {
  --fill: 0;
}
.lot.is-idle .trace__step:not(.is-on) .trace__body {
  opacity: 0.4;
}
.lot.is-idle .trace__step:not(.is-on) .trace__dot {
  background: var(--sunken);
  color: var(--batang-300);
  --ic-accent: var(--santan-200);
}
.lot.is-idle .trace__step.is-on .trace__dot {
  transform: scale(1.06);
}
.lot.is-idle .lot__end {
  opacity: 0;
  transform: translateY(6px);
}

/* ---------- sections ---------- */
.sec {
  padding-block: clamp(64px, 8vw, 120px);
}
.sec--sunken {
  background: var(--sunken);
}
.sec__head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

/* Before / after pairs */
.pairs {
  display: grid;
  gap: 14px;
}
.pairs__head {
  display: none;
}
.pair {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.pair p {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
}
.pair .i {
  margin-top: 2px;
}
.pair__before {
  color: var(--muted);
}
.pair__before .i {
  color: var(--kunyit-700);
}
.pair__after {
  border-top: 1px dashed var(--line);
  background: linear-gradient(90deg, var(--kelapa-50), #fff 70%);
  color: var(--ink);
  font-weight: 600;
}
.pair__after .i {
  color: var(--janur-600);
}
@media (min-width: 768px) {
  .pairs__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-inline: 20px;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .pairs__head span:last-child {
    padding-left: 20px;
    color: var(--kelapa-700);
  }
  .pair {
    grid-template-columns: 1fr 1fr;
  }
  .pair__after {
    border-top: 0;
    border-left: 1px dashed var(--line);
  }
}

/* Chain of four stages */
.chain {
  position: relative;
  display: grid;
  gap: 16px;
}
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--stage);
}
.stage__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stage__no {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--stage);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}
.stage__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sunken);
  color: var(--stage);
}
.stage__icon .i {
  width: 26px;
  height: 26px;
}
.stage__name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand);
}
.stage__text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9875rem;
}
.docs {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}
.docs li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--sunken);
  font-size: 0.9rem;
  font-weight: 600;
}
.docs .i {
  width: 18px;
  height: 18px;
  color: var(--stage);
}
.docs code {
  margin-left: auto;
  color: var(--primary);
}
/* Phones: a vertical line joins the stage numbers */
@media (max-width: 639px) {
  .chain {
    padding-left: 18px;
  }
  .chain::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(var(--stage-petani), var(--stage-pengepul), var(--stage-gudang), var(--stage-proses));
  }
  .stage::after {
    content: "";
    position: absolute;
    left: -24px;
    top: 30px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--stage);
    box-shadow: 0 0 0 4px var(--sunken);
  }
}
@media (min-width: 640px) {
  .chain {
    grid-template-columns: 1fr 1fr;
  }
}
/* Wide: a coloured line runs through the gaps between the four cards */
@media (min-width: 1024px) {
  .chain {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .chain::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 38px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--stage-petani), var(--stage-pengepul), var(--stage-gudang), var(--stage-proses));
  }
}

/* Products */
.products {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.product {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(20px, 4vw, 48px);
  border-radius: 24px;
  background: var(--sunken);
  overflow: hidden;
}
.product__shot--phone {
  justify-self: center;
  width: min(100%, 264px);
  padding: 9px;
  border-radius: 40px;
  background: var(--batang-900);
  box-shadow: var(--shadow-lift);
}
.product__shot--phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  border-radius: 31px;
  object-fit: cover;
  object-position: top;
  background: var(--paper);
}
.product__shot--web {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lift);
}
.product__shot--web img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 900;
  object-fit: cover;
  object-position: top left;
  background: var(--paper);
}
.browser {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--santan-50);
}
.browser span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--santan-200);
}
.browser p {
  flex: 1;
  max-width: 260px;
  margin-inline: auto;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
  transform: translateX(-18px);
}
.product__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product__kicker .i {
  width: 20px;
  height: 20px;
}
.ticks {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--kelapa-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C5559' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (min-width: 860px) {
  .product {
    grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  }
  .product--wide {
    grid-template-columns: 0.75fr 1.25fr;
  }
  .product--wide .product__shot {
    order: 2;
  }
}

/* Bento of features */
.bento {
  display: grid;
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile p {
  color: var(--muted);
  font-size: 0.975rem;
}
.tile__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 12px;
  background: var(--kelapa-50);
  color: var(--primary);
}
.tile__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand);
}
.tile--dark {
  background: var(--brand) var(--janur-dark) repeat;
  background-size: 132px;
  box-shadow: none;
  color: #fff;
}
.tile--dark .tile__title {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  color: #fff;
}
.tile--dark p {
  max-width: 44ch;
  color: var(--kelapa-200);
  font-size: 1.0625rem;
}
.tile--dark .tile__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--madu-400);
}
.sync {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
.sync li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9375rem;
  font-weight: 600;
}
.sync__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sync__dot--wait {
  background: var(--madu-400);
}
.sync__dot--send {
  background: #7fb6e8;
  animation: pulse 1.4s ease-in-out infinite;
}
.sync__dot--ok {
  background: var(--janur-400);
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(127, 182, 232, 0.2);
  }
}
.meter {
  margin-top: auto;
  padding-top: 12px;
}
.meter__bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--santan-200);
}
.meter__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--kelapa-500), var(--janur-600));
}
.meter__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}
.meter__text .num {
  color: var(--ink);
  font-weight: 700;
}
.tile--log > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.log {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.875rem;
}
.log li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--sunken);
}
.log time {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.log code {
  color: var(--primary);
}
@media (min-width: 640px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .tile--wide,
  .tile--span {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .tile--wide {
    grid-row: span 2;
    padding: 32px;
  }
  .tile--log {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    align-items: center;
  }
}

/* Roles: tabs on a card */
.roles {
  border-radius: 24px;
  background: var(--sunken);
  padding: 8px;
}
.roles__tabs {
  display: none;
}
.js .roles__tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
}
.roles__tabs::-webkit-scrollbar {
  display: none;
}
.roles__tabs button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
  --ic-accent: transparent;
}
.roles__tabs .i {
  width: 18px;
  height: 18px;
}
.roles__tabs [aria-selected="true"] {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-card);
  --ic-accent: var(--madu-400);
}
@media (hover: hover) {
  .roles__tabs [aria-selected="false"]:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.6);
  }
}
.role {
  display: grid;
  gap: 20px;
  margin: 4px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 18px;
  background: #fff;
}
.role + .role {
  margin-top: 12px;
}
.js .role + .role {
  margin-top: 4px;
}
.role[hidden] {
  display: none;
}
.role__copy > p {
  margin-top: 8px;
  max-width: 60ch;
  color: var(--muted);
}
.role__uses {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--kelapa-50);
  color: var(--brand);
  font-weight: 700;
}
.role__uses span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 860px) {
  .role {
    grid-template-columns: 1fr auto;
    gap: 40px;
  }
  .role__uses {
    min-width: 220px;
  }
}

/* Dark band: data and security */
.band {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--brand) var(--janur-dark) repeat;
  background-size: 132px;
  color: #fff;
}
.band__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.safe {
  display: grid;
  gap: 12px;
}
.safe li {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(173, 220, 216, 0.14);
}
.safe .i {
  width: 24px;
  height: 24px;
  color: var(--madu-400);
}
.safe h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}
.safe p {
  margin-top: 4px;
  color: var(--kelapa-200);
  font-size: 0.9375rem;
}
@media (min-width: 640px) {
  .safe {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .band__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 8px 64px;
}
.faq__list {
  border-top: 1px solid var(--santan-200);
}
.qa {
  border-bottom: 1px solid var(--santan-200);
}
.qa summary {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C5559' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.2s;
}
.qa[open] summary::after {
  transform: rotate(180deg);
}
.qa p a {
  color: var(--primary);
  font-weight: 600;
}
.qa p {
  max-width: 64ch;
  padding: 0 44px 22px 0;
  color: var(--muted);
}
@media (min-width: 960px) {
  .faq {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
  .faq__head {
    position: sticky;
    top: calc(var(--hd-h) + 32px);
  }
}

/* Contact */
.cta {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--brand) var(--janur-dark) repeat;
  background-size: 132px;
  color: #fff;
}
.cta__grid {
  display: grid;
  gap: 32px 64px;
  align-items: center;
}
.cta__seal {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
}
.cta__box {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sunken);
  text-decoration: none;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.contact__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}
.contact__icon .i {
  width: 22px;
  height: 22px;
}
.contact__label {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}
.contact__value {
  display: block;
  font-weight: 700;
  color: var(--brand);
  overflow-wrap: anywhere;
}
.contact__go {
  margin-left: auto;
  color: var(--primary);
  transition: transform 0.15s;
}
@media (hover: hover) {
  .contact:hover {
    background: var(--kelapa-50);
    box-shadow: inset 0 0 0 1.5px var(--kelapa-200);
  }
  .contact:hover .contact__go {
    transform: translateX(3px);
  }
}
.cta__addr {
  display: flex;
  gap: 10px;
  padding: 4px 4px 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.cta__addr .i {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--primary);
}
.cta__more {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 8px 4px 0;
}
.cta__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
}
.cta__more .i {
  width: 18px;
  height: 18px;
}
@media (hover: hover) {
  .cta__more a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (min-width: 960px) {
  .cta__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Footer */
.ft {
  background: var(--kelapa-950);
  color: var(--kelapa-200);
  font-size: 0.9375rem;
}
.ft__grid {
  display: grid;
  gap: 32px 64px;
  padding-block: 56px 32px;
}
.ft__brand img {
  width: auto;
  height: 34px;
}
.ft__brand p {
  max-width: 36ch;
  margin-top: 14px;
}
.ft__brand address {
  margin-top: 10px;
  font-style: normal;
}
.ft__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 24px;
}
.ft__nav h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ft__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--kelapa-100);
  text-decoration: none;
}
@media (hover: hover) {
  .ft__nav a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.ft__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(173, 220, 216, 0.15);
  font-size: 0.875rem;
}
@media (min-width: 860px) {
  .ft__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ---------- reveal on scroll (only with JS and motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .hd,
  .lapis,
  .hero__seal,
  .lot__replay,
  .roles__tabs {
    display: none !important;
  }
  .hero,
  .band,
  .cta {
    background: #fff !important;
    color: #000 !important;
  }
  .role[hidden] {
    display: grid !important;
  }
}

/* ---------- 404 ---------- */
.lost__main {
  display: grid;
  min-height: 100dvh;
  align-items: center;
  padding-block: 48px;
}
.lost__box img {
  width: auto;
  height: 34px;
  margin-bottom: 48px;
}
.lost__box > a {
  display: inline-block;
}

/* ---------- moved notice (the web app left this address) ---------- */
.moved {
  background: var(--madu-400);
  color: var(--batang-900);
  font-size: 0.9375rem;
}
.moved[hidden] {
  display: none;
}
.moved__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 48px;
  padding-block: 6px;
}
.moved__bar > .i {
  width: 20px;
  height: 20px;
}
.moved__bar p {
  flex: 1 1 14rem;
}
.moved__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-weight: 700;
  text-underline-offset: 3px;
}
.moved__go .i {
  width: 18px;
  height: 18px;
}
.moved__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
@media (hover: hover) {
  .moved__close:hover {
    background: rgba(17, 39, 42, 0.08);
  }
}
.moved__close {
  margin-left: auto;
}

/* ---------- legal pages (privasi.html, ketentuan.html) ---------- */
.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 600;
}
.legal__nav a {
  padding-block: 6px;
  color: var(--kelapa-100);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.legal__nav a:hover,
.legal__nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--madu-400);
}
.doc {
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
}
.doc__wrap {
  display: grid;
  gap: 32px 64px;
}
.doc__head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
.doc__meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.doc__toc {
  align-self: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.doc__toc h2 {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kelapa-700);
}
.doc__toc ol {
  display: grid;
  gap: 2px;
  padding-left: 1.4em;
  list-style: decimal;
  font-size: 0.9375rem;
}
.doc__toc a {
  color: var(--ink);
  text-decoration: none;
}
.doc__toc a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.doc__body {
  min-width: 0;
  max-width: 76ch;
}
.doc__body section + section {
  margin-top: 40px;
}
.doc__body h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand);
}
.doc__body p + p,
.doc__body ul + p,
.doc__body p + ul,
.doc__body .doc__table + p {
  margin-top: 12px;
}
.doc__body ul {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
  list-style: disc;
}
.doc__body ul li::marker {
  color: var(--madu-600);
}
.doc__body a {
  color: var(--primary);
  text-underline-offset: 2px;
}
.doc__table {
  margin-block: 4px 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.doc__table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.doc__table th,
.doc__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.doc__table tbody tr:last-child > * {
  border-bottom: 0;
}
.doc__table thead th {
  background: var(--sunken);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc__table tbody th {
  width: 22%;
  font-weight: 700;
}
.legal .ft__base a {
  color: inherit;
}
@media (min-width: 1000px) {
  .doc__wrap {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .doc__head {
    grid-column: 1 / -1;
  }
  .doc__toc {
    position: sticky;
    top: 24px;
  }
}
/* Phones: each table row becomes a small card instead of a table that scrolls sideways */
@media (max-width: 640px) {
  .doc__table table {
    min-width: 0;
  }
  .doc__table thead {
    display: none;
  }
  .doc__table tr {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .doc__table tbody tr:last-child {
    border-bottom: 0;
  }
  .doc__table th,
  .doc__table td,
  .doc__table tbody th {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }
  .doc__table tbody th {
    margin-bottom: 4px;
  }
  .doc__table td + td {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.875rem;
  }
  .doc__table td + td::before {
    content: "Asal: ";
    font-weight: 700;
  }
}
@media (max-width: 560px) {
  .legal__nav {
    gap: 2px 12px;
    font-size: 0.8125rem;
  }
  .legal .hd__logo img {
    height: 26px;
    width: auto;
  }
}
@media print {
  .hd,
  .doc__toc,
  .ft {
    display: none;
  }
}
