/* =========================================================
   Oreedo — assets/css/style.css
   Satu stylesheet untuk seluruh halaman.
   Mendukung light/dark mode adaptif, aksesibilitas, dan dialog native.
   ========================================================= */

/* ---------- 1. Token & tema ---------- */
:root {
  color-scheme: light dark;

  /* Palet Light */
  --green-l: #16a34a;
  --green-dark-l: #14532d;
  --green-deep-l: #15803d;
  --green-light-l: #dcfce7;
  --bg-l: #f0fdf4;
  --surface-l: #ffffff;
  --surface-subtle-l: #f6fef9;
  --text-l: #1f2d24;
  --text-muted-l: #45594d;
  --cream-l: #fffbeb;
  --cream-border-l: #fde68a;
  --border-l: #cce2d2;
  --border-strong-l: #84b795;
  --danger-l: #b91c1c;
  --danger-bg-l: #fef2f2;
  --warn-bg-l: #fff7ed;
  --warn-border-l: #fed7aa;
  --warn-text-l: #7c2d12;
  --header-bg-l: rgba(255, 255, 255, .92);
  --placeholder-l: #6e8578;
  --scroll-track-l: #e4f3e8;
  --scroll-thumb-l: #567761;
  --link-l: var(--green-deep-l);

  /* Palet Dark */
  --green-d: #4ade80;
  --green-dark-d: #bbf7d0;
  --green-deep-d: #15803d;
  --green-light-d: #173824;
  --bg-d: #0c1610;
  --surface-d: #132219;
  --surface-subtle-d: #182b20;
  --text-d: #ebf5ee;
  --text-muted-d: #a6c0b0;
  --cream-d: #252012;
  --cream-border-d: #5c4b1c;
  --border-d: #284232;
  --border-strong-d: #467056;
  --danger-d: #fca5a5;
  --danger-bg-d: #3a1717;
  --warn-bg-d: #2b1d12;
  --warn-border-d: #71431f;
  --warn-text-d: #fed7aa;
  --header-bg-d: rgba(15, 28, 20, .92);
  --placeholder-d: #88a493;
  --scroll-track-d: #122118;
  --scroll-thumb-d: #628870;
  --link-d: var(--green-d);

  /* Default (Light) sebelum @supports/@media */
  --green: var(--green-l);
  --green-dark: var(--green-dark-l);
  --green-deep: var(--green-deep-l);
  --green-light: var(--green-light-l);
  --bg: var(--bg-l);
  --white: var(--surface-l);
  --surface-subtle: var(--surface-subtle-l);
  --text: var(--text-l);
  --text-muted: var(--text-muted-l);
  --cream: var(--cream-l);
  --cream-border: var(--cream-border-l);
  --border: var(--border-l);
  --border-strong: var(--border-strong-l);
  --danger: var(--danger-l);
  --danger-bg: var(--danger-bg-l);
  --warn-bg: var(--warn-bg-l);
  --warn-border: var(--warn-border-l);
  --warn-text: var(--warn-text-l);
  --header-bg: var(--header-bg-l);
  --placeholder: var(--placeholder-l);
  --scroll-track: var(--scroll-track-l);
  --scroll-thumb: var(--scroll-thumb-l);
  --link: var(--link-l);

  /* Bayangan */
  --shadow-sm: 0 1px 2px rgba(20, 83, 45, .06), 0 2px 8px rgba(20, 83, 45, .06);
  --shadow-md: 0 4px 10px rgba(20, 83, 45, .08), 0 10px 26px rgba(20, 83, 45, .10);
  --shadow-lg: 0 10px 24px rgba(20, 83, 45, .12), 0 26px 48px rgba(20, 83, 45, .12);

  /* Sudut & gerak */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --ease: 200ms ease;

  /* Tata letak */
  --max: 1120px;
  --header-h: 64px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* Sinkronkan override <meta name="color-scheme"> ke CSS color-scheme */
:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  color-scheme: dark;
}
:root:has(> head > meta[name="color-scheme"][content="light"]) {
  color-scheme: light;
}

/* Fallback untuk browser yang belum mendukung light-dark() */
@supports not (color: light-dark(white, black)) {
  @media (prefers-color-scheme: dark) {
    :root {
      --green: var(--green-d);
      --green-dark: var(--green-dark-d);
      --green-deep: var(--green-deep-d);
      --green-light: var(--green-light-d);
      --bg: var(--bg-d);
      --white: var(--surface-d);
      --surface-subtle: var(--surface-subtle-d);
      --text: var(--text-d);
      --text-muted: var(--text-muted-d);
      --cream: var(--cream-d);
      --cream-border: var(--cream-border-d);
      --border: var(--border-d);
      --border-strong: var(--border-strong-d);
      --danger: var(--danger-d);
      --danger-bg: var(--danger-bg-d);
      --warn-bg: var(--warn-bg-d);
      --warn-border: var(--warn-border-d);
      --warn-text: var(--warn-text-d);
      --header-bg: var(--header-bg-d);
      --placeholder: var(--placeholder-d);
      --scroll-track: var(--scroll-track-d);
      --scroll-thumb: var(--scroll-thumb-d);
      --link: var(--link-d);
    }
  }

  :root:has(> head > meta[name="color-scheme"][content="dark"]) {
    --green: var(--green-d);
    --green-dark: var(--green-dark-d);
    --green-deep: var(--green-deep-d);
    --green-light: var(--green-light-d);
    --bg: var(--bg-d);
    --white: var(--surface-d);
    --surface-subtle: var(--surface-subtle-d);
    --text: var(--text-d);
    --text-muted: var(--text-muted-d);
    --cream: var(--cream-d);
    --cream-border: var(--cream-border-d);
    --border: var(--border-d);
    --border-strong: var(--border-strong-d);
    --danger: var(--danger-d);
    --danger-bg: var(--danger-bg-d);
    --warn-bg: var(--warn-bg-d);
    --warn-border: var(--warn-border-d);
    --warn-text: var(--warn-text-d);
    --header-bg: var(--header-bg-d);
    --placeholder: var(--placeholder-d);
    --scroll-track: var(--scroll-track-d);
    --scroll-thumb: var(--scroll-thumb-d);
    --link: var(--link-d);
  }

  :root:has(> head > meta[name="color-scheme"][content="light"]) {
    --green: var(--green-l);
    --green-dark: var(--green-dark-l);
    --green-deep: var(--green-deep-l);
    --green-light: var(--green-light-l);
    --bg: var(--bg-l);
    --white: var(--surface-l);
    --surface-subtle: var(--surface-subtle-l);
    --text: var(--text-l);
    --text-muted: var(--text-muted-l);
    --cream: var(--cream-l);
    --cream-border: var(--cream-border-l);
    --border: var(--border-l);
    --border-strong: var(--border-strong-l);
    --danger: var(--danger-l);
    --danger-bg: var(--danger-bg-l);
    --warn-bg: var(--warn-bg-l);
    --warn-border: var(--warn-border-l);
    --warn-text: var(--warn-text-l);
    --header-bg: var(--header-bg-l);
    --placeholder: var(--placeholder-l);
    --scroll-track: var(--scroll-track-l);
    --scroll-thumb: var(--scroll-thumb-l);
    --link: var(--link-l);
  }
}

/* Mode adaptif modern dengan light-dark() */
@supports (color: light-dark(white, black)) {
  :root {
    --green: light-dark(var(--green-l), var(--green-d));
    --green-dark: light-dark(var(--green-dark-l), var(--green-dark-d));
    --green-deep: light-dark(var(--green-deep-l), var(--green-deep-d));
    --green-light: light-dark(var(--green-light-l), var(--green-light-d));
    --bg: light-dark(var(--bg-l), var(--bg-d));
    --white: light-dark(var(--surface-l), var(--surface-d));
    --surface-subtle: light-dark(var(--surface-subtle-l), var(--surface-subtle-d));
    --text: light-dark(var(--text-l), var(--text-d));
    --text-muted: light-dark(var(--text-muted-l), var(--text-muted-d));
    --cream: light-dark(var(--cream-l), var(--cream-d));
    --cream-border: light-dark(var(--cream-border-l), var(--cream-border-d));
    --border: light-dark(var(--border-l), var(--border-d));
    --border-strong: light-dark(var(--border-strong-l), var(--border-strong-d));
    --danger: light-dark(var(--danger-l), var(--danger-d));
    --danger-bg: light-dark(var(--danger-bg-l), var(--danger-bg-d));
    --warn-bg: light-dark(var(--warn-bg-l), var(--warn-bg-d));
    --warn-border: light-dark(var(--warn-border-l), var(--warn-border-d));
    --warn-text: light-dark(var(--warn-text-l), var(--warn-text-d));
    --header-bg: light-dark(var(--header-bg-l), var(--header-bg-d));
    --placeholder: light-dark(var(--placeholder-l), var(--placeholder-d));
    --scroll-track: light-dark(var(--scroll-track-l), var(--scroll-track-d));
    --scroll-thumb: light-dark(var(--scroll-thumb-l), var(--scroll-thumb-d));
    --link: light-dark(var(--link-l), var(--link-d));
    --shadow-sm: light-dark(
      0 1px 2px rgba(20, 83, 45, .06), 0 2px 8px rgba(20, 83, 45, .06),
      0 1px 2px rgba(0, 0, 0, .35), 0 2px 10px rgba(0, 0, 0, .28)
    );
    --shadow-md: light-dark(
      0 4px 10px rgba(20, 83, 45, .08), 0 10px 26px rgba(20, 83, 45, .10),
      0 4px 12px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35)
    );
    --shadow-lg: light-dark(
      0 10px 24px rgba(20, 83, 45, .12), 0 26px 48px rgba(20, 83, 45, .12),
      0 12px 28px rgba(0, 0, 0, .5), 0 24px 48px rgba(0, 0, 0, .45)
    );
  }
}

/* ---------- 2. Reset & dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  accent-color: var(--green);
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 1.15rem + 2.8vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead, .step-desc, .card p, .prose p, .prose li {
  text-wrap: pretty;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  transition: color var(--ease), text-decoration-color var(--ease);
}
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

code {
  font-family: var(--mono);
  font-size: .88em;
  padding: .12rem .35rem;
  border-radius: 6px;
  background: var(--green-light);
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ---------- 3. Utilitas ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 420px) {
  .container { padding: 0 16px; }
}

.sr-only,
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  padding: .7rem 1.1rem;
  background: var(--green-deep);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.lead {
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  color: var(--text-muted);
  max-width: 62ch;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.stack > * + * { margin-top: 1rem; }
.hidden,
[hidden]:not([hidden="until-found"]) { display: none !important; }

/* ---------- 4. Header & navigasi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--green-dark);
  text-decoration: none;
  padding: .25rem 0;
  transition: transform var(--ease);
}
.brand:hover { transform: translateY(-1px); }

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--green);
}
.brand-name { line-height: 1; }
.brand-dot { color: var(--green); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: block;
  padding: .5rem .85rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}
.site-nav a:hover {
  background: var(--green-light);
  color: var(--green-dark);
  transform: translateY(-1px);
}
.site-nav a[aria-current="page"] {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto .85rem .2rem;
  border-block-end: 2px solid currentColor;
}

.nav-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: 0 .65rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease);
}
.nav-toggle { display: none; }
.nav-toggle:hover,
.theme-toggle:hover {
  background: var(--green-light);
  border-color: var(--green);
}
.nav-toggle:active,
.theme-toggle:active { transform: scale(.95); }

/* Toggle mode gelap mengikuti CSS color-scheme tanpa bergantung JS */
.theme-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-opt-light { display: none; }
.theme-opt-dark { display: inline-flex; }

@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .theme-opt-light { display: inline-flex; }
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .theme-opt-dark { display: none; }
}
:root:has(> head > meta[name="color-scheme"][content="dark"]) .theme-opt-light { display: inline-flex; }
:root:has(> head > meta[name="color-scheme"][content="dark"]) .theme-opt-dark { display: none; }
:root:has(> head > meta[name="color-scheme"][content="light"]) .theme-opt-light { display: none; }
:root:has(> head > meta[name="color-scheme"][content="light"]) .theme-opt-dark { display: inline-flex; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: .6rem 16px 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a { padding: .75rem .9rem; border-radius: 12px; font-size: 1rem; }
  .site-nav a[aria-current="page"]::after { display: none; }
}

/* ---------- 5. Tombol ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding: .75rem 1.3rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--green-deep);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(20, 83, 45, .12);
  transition: transform var(--ease), box-shadow var(--ease),
              background-color var(--ease), border-color var(--ease),
              color var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0) scale(.97);
  box-shadow: var(--shadow-sm);
}
.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--ease);
}
.btn-primary:hover .btn-arrow,
.btn-primary:focus-visible .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background-color: var(--white);
  background-image: linear-gradient(var(--green-light), var(--green-light));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  color: var(--green-dark);
  border-color: var(--green);
  box-shadow: none;
  transition: transform var(--ease), box-shadow var(--ease),
              background-size 300ms ease, color var(--ease);
}
.btn-secondary:hover {
  background-size: 100% 100%;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: transparent;
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--green-light);
  box-shadow: none;
}
.btn-ghost.is-active {
  background: var(--green-light);
  border-color: var(--border-strong);
}

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

.btn-sm {
  min-block-size: 36px;
  padding: .48rem .88rem;
  font-size: .875rem;
  border-radius: 11px;
  gap: .35rem;
}

.btn-xs {
  min-inline-size: 28px;
  min-block-size: 28px;
  padding: .25rem .6rem;
  font-size: .78rem;
  border-radius: 8px;
}

.btn-block { width: 100%; }

.btn-group,
.hero-actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.toolbar-spacer {
  flex: 1 1 auto;
}

/* ---------- 6. Kartu ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: .9rem;
  border-radius: var(--radius);
  background: var(--green-light);
  color: var(--green-dark);
  transition: transform var(--ease);
}

@keyframes oreedo-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-8deg); }
  75%      { transform: rotate(8deg); }
}

.choice-card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.choice-card h3 { margin: 0; }
.choice-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}
.choice-card .choice-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: .5rem;
  border-radius: 17px;
  background: var(--green-light);
  color: var(--green-dark);
  transform-origin: 50% 60%;
}
.choice-card .choice-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--link);
}
.choice-card .choice-cta svg { transition: transform var(--ease); }

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}
.choice-card:hover .choice-icon,
.choice-card:focus-visible .choice-icon {
  animation: oreedo-wiggle 600ms ease-in-out;
}
.choice-card:hover .choice-cta svg,
.choice-card:focus-visible .choice-cta svg {
  transform: translateX(4px);
}

/* ---------- 7. Grid ---------- */
.grid { display: grid; gap: 1rem; }
.grid-2, .grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 8. Seksi & hero ---------- */
.section { padding: clamp(2.4rem, 6vw, 4rem) 0; }
.section-tight { padding: clamp(1.6rem, 4vw, 2.4rem) 0; }

.section-head {
  max-width: 660px;
  margin-bottom: 1.9rem;
}
.section-head p { color: var(--text-muted); margin-bottom: 0; }

.hero { padding: clamp(2.2rem, 6.5vw, 4.2rem) 0 clamp(2rem, 5vw, 3rem); }

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
}

.hero h1 { margin-bottom: .6rem; }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 54ch;
}
.hero-actions { margin-top: 1.7rem; }
.hero-actions .btn { flex: 1 1 200px; }

.hero-art {
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(20, 83, 45, .12));
}
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 899px) {
  .hero-art { max-width: 260px; }
}

.eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  border-radius: var(--radius-pill);
}

/* ---------- 9. Langkah ---------- */
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.step {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.step:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: .8rem;
  font-weight: 800;
  color: #fff;
  background: var(--green-deep);
  border-radius: 12px;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ---------- 10. Form ---------- */
.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-note {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0 0 .5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .38rem;
}

.field > label,
.field-label {
  font-weight: 700;
  font-size: .97rem;
  color: var(--green-dark);
}

.req { color: var(--danger); font-weight: 800; }

.hint {
  font-size: .855rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: .72rem .85rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}
.input::placeholder,
.textarea::placeholder { color: var(--placeholder); }

.input:hover,
.textarea:hover,
.select:hover { border-color: var(--green); }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
}

.textarea {
  height: auto;
  min-block-size: 7rem;
  max-block-size: 22rem;
  field-sizing: content;
  resize: vertical;
}
.textarea-tall {
  min-block-size: 10rem;
  max-block-size: 28rem;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 18px 18px;
}

.select-sm {
  width: auto;
  min-block-size: 36px;
  padding: .38rem 2.1rem .38rem .75rem;
  font-size: .875rem;
  border-radius: 10px;
}

/* Validasi pasca-interaksi (:user-invalid) */
.validated-form :is(input, textarea, select):is(:user-invalid, .user-invalid-fallback),
.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: var(--danger);
  background-color: var(--danger-bg);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, .12);
}
.validated-form :is(input, textarea, select):required:is(:user-valid, .user-valid-fallback) {
  border-color: var(--green);
}

.field-error {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--danger);
  margin: 0;
}
.validated-form .field .field-error {
  display: none;
}
.validated-form .field:has(:is(:user-invalid, .user-invalid-fallback)) .field-error,
.validated-form :is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) + .field-error,
.validated-form .field.has-error .field-error {
  display: flex;
}

/* Chip pilihan */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
@media (min-width: 640px) {
  .chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.chip-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .chip-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.chip { position: relative; display: block; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip .chip-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 100%;
  min-block-size: 44px;
  padding: .75rem .55rem;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--ease), border-color var(--ease),
              background-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.chip:hover .chip-face {
  transform: translateY(-2px);
  border-color: var(--green);
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
}
.chip input:checked + .chip-face {
  color: var(--green-dark);
  background: var(--green-light);
  border-color: var(--green);
  border-width: 2px;
  box-shadow: var(--shadow-sm);
}
.chip input:focus-visible + .chip-face {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* Segmented toggle (ID/EN, dll) */
.segmented {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 11px;
  gap: 2px;
}
.segmented-btn {
  min-block-size: 30px;
  padding: .25rem .65rem;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}
.segmented-btn:hover { color: var(--green-dark); }
.segmented-btn[aria-pressed="true"] {
  background: var(--green-deep);
  color: #fff;
}

/* ---------- 11. Wizard & Stepper ---------- */
.wizard-shell {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 980px) {
  .wizard-shell.is-preview-open {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }
}

.wizard { display: grid; gap: 1.25rem; min-width: 0; }

.wizard-progress {
  display: grid;
  gap: .55rem;
}

/* Native <progress> bar */
.wizard-progress-bar {
  display: block;
  width: 100%;
  height: 9px;
  appearance: none;
  border: 0 solid;
  border-radius: var(--radius-pill);
  background: var(--green-light);
  overflow: clip;
}
.wizard-progress-bar::-webkit-progress-bar {
  background: transparent;
}
.wizard-progress-bar::-webkit-progress-value {
  background: linear-gradient(90deg, #22c55e, var(--green-deep));
  border-radius: var(--radius-pill);
  transition: inline-size 320ms ease;
}
.wizard-progress-bar::-moz-progress-bar {
  background: linear-gradient(90deg, #22c55e, var(--green-deep));
  border-radius: var(--radius-pill);
  transition: inline-size 320ms ease;
}

.progress-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Stepper pills interaktif */
.wizard-steps {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  overflow-x: auto;
  padding: .2rem 0 .45rem;
  scrollbar-gutter: stable;
}
.step-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: none;
  min-block-size: 36px;
  padding: .35rem .72rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.step-pill:hover {
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-1px);
}
.step-pill-num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: .72rem;
  font-weight: 800;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
}
.step-pill[aria-current="step"] {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
  font-weight: 700;
}
.step-pill[aria-current="step"] .step-pill-num {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
.step-pill.is-done:not([aria-current="step"]) {
  border-color: var(--border-strong);
  color: var(--green-dark);
}
.step-pill.is-done:not([aria-current="step"]) .step-pill-num {
  background: var(--green);
  color: #fff;
}
.step-pill.has-missing:not([aria-current="step"]) {
  border-style: dashed;
}

@keyframes oreedo-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.step-panel { display: none; }
.step-panel.is-active {
  display: block;
  animation: oreedo-fade-in 260ms ease both;
}

.step-panel .step-title {
  margin-bottom: .2rem;
  font-size: 1.25rem;
}
.step-panel .step-title:focus { outline: none; }
.step-panel .step-desc {
  margin-bottom: 1.3rem;
  color: var(--text-muted);
  font-size: .95rem;
}

.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.wizard-nav .spacer { flex: 1 1 auto; }

/* Live preview panel */
.live-preview {
  min-width: 0;
}
@media (min-width: 980px) {
  .live-preview {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

/* ---------- 12. Tab ---------- */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: .4rem;
  margin-bottom: 1rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
}

.wizard-steps,
.tabs {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
@supports not (scrollbar-color: auto) {
  .wizard-steps,
  .tabs {
    scrollbar-width: auto;
  }
  .wizard-steps::-webkit-scrollbar,
  .tabs::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  .wizard-steps::-webkit-scrollbar-thumb,
  .tabs::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: var(--radius-pill);
  }
  .wizard-steps::-webkit-scrollbar-track,
  .tabs::-webkit-scrollbar-track {
    background: var(--scroll-track);
  }
}
.tab {
  position: relative;
  flex: none;
  min-block-size: 40px;
  padding: .5rem 1.05rem;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}
.tab:hover {
  color: var(--green-dark);
  background: var(--green-light);
  transform: translateY(-1px);
}
.tab[aria-selected="true"] {
  color: #fff;
  background: var(--green-deep);
  border-color: var(--green-deep);
}
/* Indikator bentuk (garis bawah) sesuai WCAG 1.4.1 & forced-colors */
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto .95rem .18rem;
  border-block-end: 3px solid #bbf7d0;
  border-radius: 2px;
}

.tab-panels {
  display: grid;
}
.tab-panel {
  grid-area: 1 / 1;
  min-width: 0;
  animation: oreedo-fade-in 220ms ease both;
}
.tab-panel-inner {
  display: grid;
  gap: 1rem;
}

/* ---------- 13. Output & Editor ---------- */
.output {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.output-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .9rem;
  background: var(--green-light);
  border-bottom: 1px solid var(--border);
}
.output-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.output-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0;
}
.output pre {
  margin: 0;
  padding: 1rem;
  max-block-size: 62dvh;
  overflow: auto;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  tab-size: 2;
}
.output-editor {
  display: block;
  width: 100%;
  min-block-size: 260px;
  max-block-size: 62dvh;
  padding: 1rem;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface-subtle);
  border: 0;
  resize: vertical;
}
.output-editor:focus {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.output-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .9rem;
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
  font-size: .8rem;
  color: var(--text-muted);
}

.output-empty {
  padding: 1.5rem 1rem;
  font-size: .92rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- 14. Notices, badge, checker ---------- */
.notice {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.notice-icon { flex: none; line-height: 1.4; }
.notice p { margin: 0; }

.notice-info { background: var(--cream); border-color: var(--cream-border); }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }
.notice-ok   { background: var(--green-light); border-color: var(--border-strong); color: var(--green-dark); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.badge-warn { color: var(--warn-text); background: var(--warn-bg); border-color: var(--warn-border); }
.badge-ok   { color: #fff; background: var(--green-deep); border-color: var(--green-deep); }

.check-list {
  display: grid;
  gap: .55rem;
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: .89rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.check-item-text {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  flex: 1 1 220px;
}
.check-list li.is-bad .check-item-text { color: var(--warn-text); }
.check-list li.is-warn .check-item-text { color: var(--warn-text); }
.check-list li.is-good .check-item-text { color: var(--green-dark); font-weight: 600; }

/* ---------- 15. Dialog Native & Toast ---------- */
dialog.oreedo-dialog {
  width: min(92dvw, 560px);
  max-block-size: 86dvh;
  margin: auto;
  padding: 0;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 220ms;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

@media (prefers-reduced-motion: no-preference) {
  dialog.oreedo-dialog {
    transform: translateY(8px) scale(.97);
  }
}

dialog.oreedo-dialog[open]:where(:not([data-closing])) {
  opacity: 1;
  transform: none;
}

@starting-style {
  dialog.oreedo-dialog[open]:where(:not([data-closing])) {
    opacity: 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    dialog.oreedo-dialog[open]:where(:not([data-closing])) {
      transform: translateY(8px) scale(.97);
    }
  }
}

dialog.oreedo-dialog:modal {
  overscroll-behavior: contain;
}

dialog.oreedo-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(12, 22, 16, 0);
  backdrop-filter: blur(3px);
  transition-property: background-color, display, overlay;
  transition-duration: 220ms;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog.oreedo-dialog[open]:where(:not([data-closing]))::backdrop {
  background: rgba(12, 22, 16, .52);
}

@starting-style {
  dialog.oreedo-dialog[open]:where(:not([data-closing]))::backdrop {
    background: rgba(12, 22, 16, 0);
  }
}

.dialog-inner {
  display: flex;
  flex-direction: column;
  max-block-size: 86dvh;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.dialog-head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.dialog-body {
  padding: 1.15rem 1.25rem;
  overflow-y: auto;
  display: grid;
  gap: .9rem;
}
.dialog-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
}

.dialog-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dialog-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .9rem 1rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.dialog-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .75rem;
}
.dialog-item-title {
  margin: 0;
  font-size: .98rem;
  font-weight: 800;
  color: var(--green-dark);
}
.dialog-item-meta {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  max-width: min(calc(100dvw - 32px), 440px);
  padding: .75rem 1.2rem;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: #14532d;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity var(--ease), transform var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 16. Footer ---------- */
.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 2.2rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  color: var(--green-dark);
}
.footer-brand .brand-mark { width: 22px; height: 22px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--link); text-decoration: underline; }

.footer-meta {
  width: 100%;
  margin-top: .4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}

/* ---------- 17. Halaman info (lisensi, kontak, bug, 404) ---------- */
.page-head {
  padding: clamp(1.8rem, 5vw, 3rem) 0 1.2rem;
}
.page-head p { color: var(--text-muted); max-width: 62ch; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul li { margin-bottom: .35rem; }

.pre-block {
  padding: 1.1rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  white-space: pre-wrap;
  word-break: break-word;
}

.link-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.25rem;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.link-card .card-icon { margin: 0; flex: none; }
.link-card strong { display: block; color: var(--green-dark); }
.link-card small { color: var(--text-muted); word-break: break-all; }

.error-wrap {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  text-align: center;
  justify-items: center;
}
.error-code {
  font-size: clamp(4rem, 18vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--green-light);
  letter-spacing: -.04em;
}

/* ---------- 18. Forced Colors Mode ---------- */
@media (forced-colors: active) {
  .btn,
  .card,
  .choice-card,
  .link-card,
  .step,
  .step-pill,
  .tab,
  .chip .chip-face,
  .notice,
  .badge,
  .output,
  dialog.oreedo-dialog {
    border: 1px solid ButtonText;
  }

  .chip input:checked + .chip-face,
  .step-pill[aria-current="step"],
  .segmented-btn[aria-pressed="true"] {
    border: 2px solid Highlight;
    outline: 1px solid Highlight;
  }

  .tab[aria-selected="true"]::after,
  .site-nav a[aria-current="page"]::after {
    border-block-end-color: Highlight;
  }

  .wizard-progress-bar::-webkit-progress-value {
    background: Highlight;
  }
  .wizard-progress-bar::-moz-progress-bar {
    background: Highlight;
  }
}

/* ---------- 19. Hormati prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  dialog.oreedo-dialog,
  dialog.oreedo-dialog::backdrop {
    transition-duration: 100ms !important;
  }

  .btn:hover,
  .btn:active,
  .choice-card:hover,
  .choice-card:focus-visible,
  .chip:hover .chip-face,
  .link-card:hover,
  .link-card:focus-visible,
  .step:hover,
  .step-pill:hover,
  .brand:hover {
    transform: none;
  }

  .btn-primary:hover .btn-arrow,
  .btn-primary:focus-visible .btn-arrow,
  .choice-card:hover .choice-cta svg,
  .choice-card:focus-visible .choice-cta svg {
    transform: none;
  }

  .choice-card:hover .choice-icon,
  .choice-card:focus-visible .choice-icon {
    animation: none;
  }
}