/* ============================================================================
   PT Tarik Data Digital — sistem desain
   Lihat DESIGN-PLAN.md untuk alasan setiap keputusan.

   Urutan file:
     1. Token
     2. Reset & dasar
     3. Tipografi
     4. Layout & utilitas
     5. Header / navigasi
     6. Komponen
     7. Rel modul (elemen signature)
     8. Form
     9. Footer
    10. Aksesibilitas & motion
   ========================================================================= */

/* ---------- 1. TOKEN ---------------------------------------------------- */

:root {
  /* Warna inti */
  --ink: #0B2E26;
  --ink-soft: #0E3A30;
  --paper: #F6F7F5;
  --surface: #FFFFFF;
  --muted: #4A5A55;
  --line: #DDE2DF;

  /* Aksen suite. --accent di-set ulang per halaman lewat [data-suite]. */
  --health: #0F6B5C;
  --health-tint: #E6F0ED;
  --edu: #1B5E8C;
  --edu-tint: #E7EEF4;
  --biz: #8A5A18;
  --biz-tint: #F2EBDD;

  --accent: var(--ink);
  --accent-tint: #E9EDEB;

  /* Fokus — sengaja beda hue dari ketiga aksen suite supaya selalu terlihat */
  --focus: #B8791A;

  /* Status */
  --status-live: #0F6B5C;
  --status-dev: #1B5E8C;
  --status-plan: #6B7A75;

  /* Tipografi */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --fs-hero: clamp(2.125rem, 1.5rem + 3.1vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 1.4vw, 2.125rem);
  --fs-h3: clamp(1.1875rem, 1.15rem + 0.19vw, 1.3125rem);
  --fs-lead: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Spasi — skala 4px */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 24px;  --s6: 32px;  --s7: 48px;  --s8: 64px;
  --s9: 96px;  --s10: 128px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Elevation — berbasis hijau-tinta, bukan hitam netral */
  --e1: 0 1px 2px rgba(11, 46, 38, .06), 0 1px 1px rgba(11, 46, 38, .04);
  --e2: 0 4px 16px rgba(11, 46, 38, .08);

  --wrap: 1200px;
  --gutter: var(--s5);
  --t: 160ms;
}

@media (min-width: 768px) {
  :root { --gutter: var(--s6); }
}

[data-suite="health"] { --accent: var(--health); --accent-tint: var(--health-tint); }
[data-suite="edu"]    { --accent: var(--edu);    --accent-tint: var(--edu-tint); }
[data-suite="biz"]    { --accent: var(--biz);    --accent-tint: var(--biz-tint); }

/* ---------- 2. RESET & DASAR -------------------------------------------- */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- 3. TIPOGRAFI ------------------------------------------------ */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
  font-size: var(--fs-h3);
}

p { text-wrap: pretty; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
}

.prose { max-width: 65ch; }

.prose p + p { margin-top: var(--s4); }

.prose h2 { margin: var(--s7) 0 var(--s4); }
.prose h3 { margin: var(--s6) 0 var(--s3); }
.prose ul { margin: var(--s4) 0; }

.prose li {
  position: relative;
  padding-left: var(--s5);
  margin-bottom: var(--s2);
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: var(--fs-sm); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

/* ---------- 4. LAYOUT & UTILITAS ---------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Padding antar-seksi HANYA lewat class ini. Jangan pernah lewat selector
   tipe (section > div) — itu penyebab specificity yang saling membatalkan. */
.section { padding-block: var(--s9); }

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

.section--tight { padding-block: var(--s7); }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }

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

.section--ink .lead,
.section--ink .muted { color: rgba(246, 247, 245, .72); }

.section--ink .eyebrow { color: rgba(246, 247, 245, .62); }

.section-head { margin-bottom: var(--s7); max-width: 62ch; }
.section-head p { margin-top: var(--s3); }

.grid { display: grid; gap: var(--s5); }

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

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

.stack > * + * { margin-top: var(--s4); }
.flow > * + * { margin-top: var(--s5); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
}

/* ---------- 5. HEADER / NAVIGASI ---------------------------------------- */


.skip {
  position: absolute;
  left: var(--s4); top: -100px;
  z-index: 200;
  padding: var(--s3) var(--s4);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  transition: top var(--t) ease-out;
}

.skip:focus { top: var(--s4); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand__mark { flex-shrink: 0; }

.brand__name { font-size: var(--fs-sm); line-height: 1.2; }
.brand__name b { display: block; font-size: var(--fs-body); font-weight: 600; }
.brand__name span { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); }

.nav { display: none; }

@media (min-width: 1000px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--s1);
  }
}

.nav__item { position: relative; }

.nav__link,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 0;
  background: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--t) ease-out;
}

.nav__toggle::-webkit-details-marker { display: none; }

.nav__link:hover,
.nav__toggle:hover { background: var(--accent-tint); }

.nav__toggle svg { transition: transform var(--t) ease-out; }
.nav__item[open] .nav__toggle svg { transform: rotate(180deg); }

.nav__panel {
  min-width: 320px;
  padding: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--e2);
}

@media (min-width: 1000px) {
  .nav__panel {
    position: absolute;
    top: calc(100% + var(--s2));
    left: 0;
  }
}

/* Tanpa JS, <details> tetap membuka daftar tautan secara semantik.
   Saat enhancement aktif, panel hanya ditampilkan ketika details terbuka. */
.js .nav__item:not([open]) .nav__panel { display: none; }

.nav__panel a {
  display: block;
  padding: var(--s3);
  border-radius: var(--r-sm);
  transition: background-color var(--t) ease-out;
}

.nav__panel a:hover { background: var(--paper); }

.nav__panel b { display: block; font-size: var(--fs-sm); font-weight: 600; }
.nav__panel span { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }

/* Menu mobile */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
}

@media (min-width: 1000px) { .menu-btn { display: none; } }

.mobile-nav {
  display: none;
  padding: var(--s4) 0 var(--s6);
  border-top: 1px solid var(--line);
}

.mobile-nav[data-open="true"] { display: block; }

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

.mobile-nav h2 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: var(--s5) 0 var(--s2);
}

.mobile-nav a {
  display: block;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}

/* ---------- 6. KOMPONEN ------------------------------------------------- */

/* Tombol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s5);
  min-height: 46px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: center;
  transition: background-color var(--t) ease-out, border-color var(--t) ease-out,
              color var(--t) ease-out;
}

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

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

.btn--secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--secondary:hover { background: var(--accent-tint); }

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

.btn--onink:hover { background: #fff; }

.btn--ghost-onink {
  background: transparent;
  border-color: rgba(246, 247, 245, .38);
  color: var(--paper);
}

.btn--ghost-onink:hover { border-color: var(--paper); }

.btn--block { width: 100%; }

/* Kartu */
.card {
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--e1);
}

.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--muted); font-size: var(--fs-sm); }

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-bottom: var(--s4);
  color: var(--accent);
}

/* Kartu sektor — elemen navigasi utama beranda, bukan daftar fitur */
.sector {
  display: flex;
  flex-direction: column;
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  box-shadow: var(--e1);
  transition: box-shadow var(--t) ease-out, transform var(--t) ease-out;
}

.sector:hover {
  box-shadow: var(--e2);
  transform: translateY(-2px);
}

.sector__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s4);
}

.sector h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sector__sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s1);
}

.sector__list {
  margin: var(--s4) 0 var(--s5);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.sector__list li {
  position: relative;
  padding-left: var(--s4);
  margin-bottom: var(--s2);
}

.sector__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.sector__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

.sector:hover .sector__cta svg { transform: translateX(3px); }
.sector__cta svg { transition: transform var(--t) ease-out; }

/* Lencana status — inti kebijakan klaim, lihat DESIGN-PLAN §11.1 */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 3px var(--s3) 3px var(--s2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--live { color: var(--status-live); border-color: #B6D4CC; background: #ECF5F2; }
.status--dev  { color: var(--status-dev);  border-color: #BDD3E2; background: #EDF3F8; }
.status--plan { color: var(--status-plan); border-color: var(--line); background: var(--paper); }

/* Baris fakta — dipakai blok kredibilitas & legalitas */
.facts {
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}

.fact dt { font-size: var(--fs-sm); color: var(--muted); }
.fact dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

.section--ink .facts,
.section--ink .fact { border-color: rgba(246, 247, 245, .16); }

.section--ink .fact dt { color: rgba(246, 247, 245, .72); }

/* Langkah bernomor — "cara kami bekerja" */
.steps { counter-reset: step; }

.step {
  position: relative;
  counter-increment: step;
  padding-left: var(--s8);
  padding-bottom: var(--s6);
}

.step:last-child { padding-bottom: 0; }

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent);
  background: var(--paper);
  padding-bottom: var(--s2);
}

.step::after {
  content: '';
  position: absolute;
  left: 13px; top: 26px; bottom: 0;
  width: 1px;
  background: var(--line);
}

.step:last-child::after { display: none; }

.section--surface .step::before { background: var(--surface); }

.step h3 { margin-bottom: var(--s2); }
.step p { color: var(--muted); font-size: var(--fs-sm); max-width: 60ch; }

/* Placeholder data yang belum ada — sengaja terlihat, lihat TODO-DATA.md */
.token {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 1px var(--s2);
  background: #FDF3E0;
  border: 1px dashed #C9A15C;
  border-radius: var(--r-sm);
  color: #6E4712;
  white-space: nowrap;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  margin-top: 6px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--t) ease-out;
}

.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }

.faq p { padding-bottom: var(--s5); color: var(--muted); max-width: 68ch; }
.faq p + p { padding-bottom: var(--s5); margin-top: calc(var(--s4) * -1 + var(--s2)); }

/* Tabel */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

th, td {
  padding: var(--s3) var(--s4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

td .num, td.num { font-variant-numeric: tabular-nums; }

/* Notice / catatan */
.notice {
  padding: var(--s5);
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.notice h3 { margin-bottom: var(--s2); }
.notice p { font-size: var(--fs-sm); }

/* Ilustrasi UI — representasi antarmuka, BUKAN screenshot produk */
.ui-shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--e2);
  overflow: hidden;
}

.ui-shot__bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.ui-shot__body { padding: var(--s5); }

.ui-shot__caption {
  padding: var(--s3) var(--s4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
  background: var(--paper);
}

/* ---------- 7. REL MODUL (elemen signature) ----------------------------- */

.rail { margin-top: var(--s7); }

.rail__svg { width: 100%; height: auto; }
.rail__mobile { display: none; }

.rail__box { fill: var(--surface); stroke: var(--line); }

.rail__label { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: var(--ink); }
.rail__sub { font-family: var(--font-body); font-size: 12px; fill: var(--muted); }

.rail__drop { stroke: var(--line); stroke-width: 1; }

@media (max-width: 699px) {
  .rail__svg { display: none; }
  .rail__mobile { display: grid; gap: var(--s4); }
  .rail__mobile-suites { display: grid; gap: var(--s3); }

  .rail__mobile-suite {
    padding: var(--s4);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--r-sm);
    background: var(--surface);
  }

  .rail__mobile-suite h3 { font-size: var(--fs-body); }
  .rail__mobile-suite p { margin: var(--s1) 0 var(--s3); color: var(--muted); font-size: var(--fs-sm); }

  .rail__mobile-core {
    padding: var(--s5);
    border-radius: var(--r-md);
    color: var(--paper);
    background: var(--ink);
  }

  .rail__mobile-core > p {
    margin-bottom: var(--s3);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(246, 247, 245, .65);
  }

  .rail__mobile-core ul { display: grid; gap: var(--s2); }
  .rail__mobile-core li {
    padding: var(--s3);
    border: 1px solid rgba(246, 247, 245, .22);
    border-radius: var(--r-sm);
    background: rgba(246, 247, 245, .07);
    font-size: var(--fs-sm);
  }
}

.rail__core {
  fill: var(--ink);
  transition: fill var(--t) ease-out;
}

.rail__seg {
  fill: rgba(246, 247, 245, .07);
  stroke: rgba(246, 247, 245, .22);
  transition: fill var(--t) ease-out;
}

.rail__seg-label { font-family: var(--font-body); font-size: 13px; font-weight: 500; fill: var(--paper); }
.rail__core-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; fill: rgba(246, 247, 245, .55);
}

/* Versi mini di puncak halaman sektor */
.rail-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
}

.rail-mini__label {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: var(--s2);
}

.rail-mini__seg {
  padding: 3px var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--muted);
}

.rail-mini__seg[data-on="true"] {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* ---------- 8. FORM ----------------------------------------------------- */

.field { margin-bottom: var(--s5); }

.field > label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--s2);
}

.field .hint {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s3) var(--s4);
  min-height: 46px;
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: var(--r-sm);
  transition: border-color var(--t) ease-out, box-shadow var(--t) ease-out;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #9B2C2C; }

/* Pesan error menjelaskan CARA MEMPERBAIKI, bukan sekadar "invalid" */
.field .error {
  display: none;
  align-items: flex-start;
  gap: var(--s2);
  margin-top: var(--s2);
  font-size: var(--fs-sm);
  color: #9B2C2C;
}

.field .error[data-show="true"] { display: flex; }

fieldset { border: 0; padding: 0; }

legend {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--s3);
  padding: 0;
}

.choices { display: grid; gap: var(--s2); }

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

.choice {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color var(--t) ease-out, background-color var(--t) ease-out;
}

.choice:hover { border-color: var(--accent); }

.choice input { width: auto; min-height: 0; margin-top: 3px; accent-color: var(--accent); }

.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.form-note {
  padding: var(--s4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- 9. FOOTER --------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--s8) var(--s6);
}

.footer a { color: rgba(246, 247, 245, .78); }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

.footer__grid {
  display: grid;
  gap: var(--s6);
  margin-bottom: var(--s7);
}

@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer h2 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 247, 245, .55);
  margin-bottom: var(--s4);
}

.footer li { margin-bottom: var(--s3); font-size: var(--fs-sm); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4) var(--s5);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s5);
  border-top: 1px solid rgba(246, 247, 245, .16);
  font-size: var(--fs-xs);
  color: rgba(246, 247, 245, .62);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s5); }

/* ---------- 10. AKSESIBILITAS & MOTION ---------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.section--ink :where(a, button):focus-visible { outline-color: #E8B563; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sector:hover { transform: none; }
}

@media print {
  .header, .footer, .menu-btn, .mobile-nav { display: none; }
  body { background: #fff; }
  .section { padding-block: var(--s5); }
}

/* Form kontak dan validasi */
.contact-form {
  display: grid;
  gap: var(--s7);
  max-width: 920px;
  margin-inline: auto;
}

@media (min-width: 820px) {
  .contact-form { grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); }
}

.form-grid { display: grid; gap: var(--s4); }

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

.field { margin-bottom: var(--s5); }
.field > label { display: block; margin-bottom: var(--s2); font-size: var(--fs-sm); font-weight: 600; }

.field .hint {
  display: block;
  margin-top: var(--s1);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: var(--r-sm);
  transition: border-color var(--t) ease-out, box-shadow var(--t) ease-out;
}

.field textarea { min-height: 140px; resize: vertical; }
.field select:disabled { color: var(--muted); background: var(--paper); cursor: not-allowed; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #9B2C2C; }

.error {
  display: none;
  margin-top: var(--s2);
  color: #9B2C2C;
  font-size: var(--fs-sm);
}

.error[data-show="true"] { display: block; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin: var(--s5) 0 var(--s3);
}

.form-status {
  display: none;
  margin-top: var(--s4);
  padding: var(--s4);
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}

.form-status[data-show="true"] { display: block; }
