/* ==========================================================================
   JMM News — sistem tampilan
   Palet: biru elektrik → ungu, di atas dasar malam kebiruan.
   Mode gelap adalah bawaan; mode terang mengganti token yang sama.
   ========================================================================== */

:root {
  /* --- warna merek --- */
  --brand-500: #4f7cff;
  --brand-600: #3d63e6;
  --violet-500: #7c5cff;
  --violet-600: #6a45f0;
  --magenta-500: #c04bff;

  --gradient-brand: linear-gradient(120deg, #4f7cff 0%, #7c5cff 55%, #c04bff 100%);
  --gradient-soft: linear-gradient(140deg, rgba(79, 124, 255, .16), rgba(192, 75, 255, .10));

  /* --- permukaan (mode gelap) --- */
  --bg: #080a16;
  --bg-alt: #0c0f21;
  --surface: #11142a;
  --surface-2: #171b34;
  --border: rgba(140, 155, 220, .16);
  --border-strong: rgba(140, 155, 220, .30);

  /* --- teks --- */
  --text: #e9ecfb;
  --text-soft: #a9b0d4;
  --text-dim: #767ea6;
  --text-invert: #0a0c18;

  --accent: var(--violet-500);
  --ring: rgba(124, 92, 255, .55);
  --shadow-sm: 0 2px 10px rgba(2, 4, 16, .35);
  --shadow-md: 0 14px 40px rgba(2, 4, 16, .45);
  --shadow-glow: 0 0 0 1px rgba(124, 92, 255, .22), 0 20px 60px rgba(79, 124, 255, .16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --wrap: 1220px;
  --gap: 24px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  color-scheme: dark;
}

[data-theme='light'] {
  --bg: #f6f7fc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f3fb;
  --border: rgba(28, 38, 90, .12);
  --border-strong: rgba(28, 38, 90, .22);

  --text: #12162c;
  --text-soft: #4d5578;
  --text-dim: #737b9e;
  --text-invert: #ffffff;

  --gradient-soft: linear-gradient(140deg, rgba(79, 124, 255, .10), rgba(192, 75, 255, .07));
  --shadow-sm: 0 2px 8px rgba(24, 32, 74, .07);
  --shadow-md: 0 16px 40px rgba(24, 32, 74, .10);
  --shadow-glow: 0 0 0 1px rgba(124, 92, 255, .16), 0 18px 50px rgba(79, 124, 255, .12);

  color-scheme: light;
}

/* ------------------------------------------------------------------ dasar */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Cahaya latar bergaya aurora di puncak halaman. */
body::before {
  content: '';
  position: fixed;
  inset: -30vh 0 auto 0;
  height: 70vh;
  background:
    radial-gradient(50% 60% at 20% 40%, rgba(79, 124, 255, .22), transparent 70%),
    radial-gradient(45% 55% at 78% 30%, rgba(192, 75, 255, .18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
[data-theme='light'] body::before { opacity: .55; }

body > * { position: relative; z-index: 1; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-500); }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--violet-500); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

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

.site-header {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}

.topbar {
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-dim);
}
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__links a:hover { color: var(--brand-500); }

.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 6px 16px rgba(124, 92, 255, .45)); }
.brand__text strong {
  display: block; font-size: 25px; font-weight: 800; letter-spacing: -.035em; line-height: 1;
}
.brand__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__text small { display: block; font-size: 11.5px; color: var(--text-dim); letter-spacing: .01em; }

.searchbox {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 6px 6px 18px;
  max-width: 460px; width: 100%; justify-self: center;
  transition: border-color .2s, box-shadow .2s;
}
.searchbox:focus-within { border-color: var(--violet-500); box-shadow: var(--shadow-glow); }
.searchbox input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 14px; padding: 5px 0;
}
.searchbox input::placeholder { color: var(--text-dim); }
.searchbox input:focus { outline: none; }
.searchbox button {
  display: grid; place-items: center; border: 0; cursor: pointer;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--gradient-brand); color: #fff;
}
.searchbox--large {
  max-width: 620px; margin: 22px 0 0; justify-self: start;
  padding: 8px 8px 8px 22px;
}
.searchbox--large button { width: auto; padding: 0 20px; height: 40px; font-weight: 600; font-size: 14px; }

.masthead__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-soft); cursor: pointer;
  transition: color .2s, border-color .2s, transform .15s;
}
.icon-btn:hover { color: var(--brand-500); border-color: var(--border-strong); transform: translateY(-1px); }

.icon-sun { display: none; }
[data-theme='light'] .icon-sun { display: block; }
[data-theme='light'] .icon-moon { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.mainnav { border-top: 1px solid var(--border); }
.mainnav__inner {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 2px 0;
}
.mainnav__inner::-webkit-scrollbar { display: none; }
.mainnav__inner a {
  position: relative; white-space: nowrap; padding: 12px 14px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
}
.mainnav__inner a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--cat-accent, var(--violet-500));
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.mainnav__inner a:hover { color: var(--text); }
.mainnav__inner a:hover::after, .mainnav__inner a.is-active::after { transform: scaleX(1); }
.mainnav__inner a.is-active { color: var(--text); }

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

.hero {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: var(--gap);
  padding: 34px 0 10px;
}

.hero__main {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-md);
  min-height: 440px; display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__main::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 20, .95) 8%, rgba(6, 8, 20, .68) 42%, rgba(6, 8, 20, .12) 78%);
}
.hero__body { position: relative; z-index: 2; padding: 34px; color: #fff; }
.hero__title { font-size: clamp(26px, 3vw, 40px); margin: 12px 0 10px; }
.hero__title a { color: #fff; }
.hero__title a:hover { color: #d9dcff; }
.hero__excerpt { color: rgba(255, 255, 255, .84); margin: 0 0 14px; max-width: 62ch; font-size: 15.5px; }
.hero__meta { font-size: 13px; color: rgba(255, 255, 255, .7); display: flex; gap: 8px; margin: 0; }

.hero__side { display: grid; gap: 14px; align-content: start; }

/* ------------------------------------------------------------------ kartu */

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.card__media { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.04); }

.card__placeholder {
  display: block; width: 100%; height: 100%;
  background:
    radial-gradient(70% 90% at 25% 20%, color-mix(in srgb, var(--cat-accent) 45%, transparent), transparent 70%),
    linear-gradient(135deg, var(--surface-2), var(--surface));
}

.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 17px; margin: 0; line-height: 1.35; }
.card__title a:hover { color: var(--brand-500); }
.card__excerpt { margin: 0; font-size: 14px; color: var(--text-soft); }
.card__meta { margin: auto 0 0; font-size: 12.5px; color: var(--text-dim); display: flex; gap: 7px; padding-top: 6px; }

.card--compact { flex-direction: row; align-items: stretch; }
.card--compact .card__media { flex: 0 0 118px; aspect-ratio: 1 / 1; }
.card--compact .card__body { padding: 12px 14px; }
.card--compact .card__title { font-size: 15px; }

.card--wide { grid-column: 1 / -1; flex-direction: row; }
.card--wide .card__media { flex: 0 0 46%; aspect-ratio: auto; }
.card--wide .card__body { padding: 22px 24px; justify-content: center; }
.card--wide .card__title { font-size: 22px; }

.chip {
  align-self: flex-start;
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  color: var(--cat-accent, var(--violet-500));
  background: color-mix(in srgb, var(--cat-accent, #7c5cff) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-accent, #7c5cff) 34%, transparent);
}
.chip:hover { color: #fff; background: var(--cat-accent, var(--violet-500)); }
.chip--solid { background: var(--cat-accent, var(--violet-500)); color: #fff; border-color: transparent; }
.chip--mini { font-size: 10px; padding: 2px 8px; margin-right: 8px; }

/* -------------------------------------------------------------- tata letak */

.layout-2col {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px; padding: 30px 0 60px; align-items: start;
}
.layout-2col__side { display: grid; gap: 20px; position: sticky; top: 148px; }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.grid--feature { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }

.block { margin-bottom: 46px; }
.block__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.block__title { font-size: 21px; margin: 0; position: relative; padding-left: 14px; }
.block__title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 22px; border-radius: 4px;
  background: var(--cat-accent, var(--gradient-brand));
}
.block__title--accent::before { background: var(--cat-accent, var(--violet-500)); }
.block__more { font-size: 13.5px; font-weight: 600; color: var(--brand-500); white-space: nowrap; }

/* ------------------------------------------------------------------ panel */

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.panel--glow { background: var(--gradient-soft); box-shadow: var(--shadow-glow); }
.panel__title {
  font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.panel__text { font-size: 14px; color: var(--text-soft); margin: 0 0 16px; }

.ranklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: rank; }
.ranklist__item { display: flex; gap: 14px; align-items: flex-start; }
.ranklist__num {
  font-size: 22px; font-weight: 800; line-height: 1; min-width: 28px;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ranklist__title { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: block; }
.ranklist__title:hover { color: var(--brand-500); }
.ranklist__meta { margin: 4px 0 0; font-size: 12px; color: var(--text-dim); }

.newsletter__text { font-size: 14px; color: var(--text-soft); margin: 0 0 14px; }
.newsletter__form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__form input {
  flex: 1; min-width: 150px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--bg-alt);
  color: var(--text); font: inherit; font-size: 14px;
}
.newsletter__form button {
  padding: 11px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--gradient-brand); color: #fff; font: inherit; font-weight: 700; font-size: 14px;
}
.newsletter__note { margin: 10px 0 0; font-size: 12px; color: var(--text-dim); }

.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tagcloud a {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text-soft);
}
.tagcloud a:hover { border-color: var(--violet-500); color: var(--text); }
.tagcloud--article { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--border); }
.tagcloud__label { font-size: 13px; font-weight: 700; color: var(--text-dim); margin-right: 4px; }

/* -------------------------------------------------------- kepala halaman */

.pagehead {
  padding: 34px 0 26px;
  border-bottom: 1px solid var(--border);
  background: var(--gradient-soft);
}
.pagehead__title { font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 6px; }
.pagehead__desc { margin: 0; color: var(--text-soft); max-width: 70ch; }
.pagehead__count { margin: 10px 0 0; font-size: 13px; color: var(--text-dim); }
.pagehead--accent { border-bottom: 2px solid var(--cat-accent, var(--violet-500)); }

.breadcrumb { font-size: 12.5px; color: var(--text-dim); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand-500); }

/* ---------------------------------------------------------------- artikel */

.single__head { padding: 34px 0 26px; border-bottom: 1px solid var(--border); background: var(--gradient-soft); }
.single__headinner { max-width: 860px; }
.single__title { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 14px; }
.single__lead { font-size: 18px; color: var(--text-soft); margin: 0 0 18px; font-family: var(--font-serif); }
.single__meta {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  font-size: 13px; color: var(--text-dim);
}
.single__author strong { color: var(--text); }

.single__cover { margin: 26px auto 0; }
.single__cover img {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.single__cover figcaption { margin-top: 10px; font-size: 12.5px; color: var(--text-dim); }

.prose { font-family: var(--font-serif); font-size: 18px; line-height: 1.78; color: var(--text); max-width: 74ch; }
.prose--narrow { max-width: 78ch; margin-inline: auto; padding: 34px 0 60px; }
.prose p { margin: 0 0 1.35em; }
.prose h2 { font-family: var(--font-sans); font-size: 26px; margin: 1.9em 0 .6em; }
.prose h3 { font-family: var(--font-sans); font-size: 21px; margin: 1.7em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--brand-500); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--violet-500); }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-family: var(--font-sans); font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--violet-500);
  font-size: 20px; color: var(--text-soft);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-family: var(--font-sans); font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .88em;
  background: var(--surface-2); padding: 2px 6px; border-radius: 5px;
}
.prose pre { background: var(--surface-2); padding: 16px 18px; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); margin: 1.6em 0; }

.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 26px 0 0; }
.share__label { font-size: 13px; font-weight: 700; color: var(--text-dim); margin-right: 4px; }
.share__btn {
  font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-soft);
  cursor: pointer; font-family: inherit;
}
.share__btn:hover { border-color: var(--violet-500); color: var(--text); }

/* ------------------------------------------------------------ indeks & dll */

.indexlist { list-style: none; margin: 0; padding: 30px 0 10px; display: grid; gap: 4px; }
.indexlist__item {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.indexlist__date { font-size: 13px; color: var(--text-dim); padding-top: 3px; }
.indexlist__title { font-size: 18px; font-weight: 700; line-height: 1.4; }
.indexlist__title:hover { color: var(--brand-500); }
.indexlist__excerpt { margin: 6px 0 0; font-size: 14px; color: var(--text-soft); }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 34px 0 10px; }
.pagination__link {
  min-width: 42px; padding: 9px 14px; text-align: center; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text-soft);
}
.pagination__link:hover { border-color: var(--violet-500); color: var(--text); }
.pagination__link.is-current { background: var(--gradient-brand); border-color: transparent; color: #fff; }
.pagination__gap { padding: 9px 4px; color: var(--text-dim); }

.empty {
  padding: 60px 20px; text-align: center; color: var(--text-soft);
  border: 1px dashed var(--border-strong); border-radius: var(--radius); margin: 30px 0;
}

/* ---------------------------------------------------------------- kontak */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; padding: 34px 0 64px; align-items: start; }
.contact__aside { display: grid; gap: 20px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 14px; }
.contact__list strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.contact__list a { color: var(--brand-500); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--bg-alt);
  color: var(--text); font: inherit; font-size: 15px; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--violet-500); box-shadow: var(--shadow-glow);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; text-align: center;
}
.btn--primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--violet-500); color: var(--text); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 14.5px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert--ok { background: rgba(52, 199, 132, .12); border: 1px solid rgba(52, 199, 132, .4); color: #4ade9a; }
.alert--error { background: rgba(255, 86, 118, .11); border: 1px solid rgba(255, 86, 118, .4); color: #ff8098; }
[data-theme='light'] .alert--ok { color: #0f7a4d; }
[data-theme='light'] .alert--error { color: #b3143a; }

/* -------------------------------------------------------- halaman status */

.statuspage { text-align: center; padding: 90px 0 40px; }
.statuspage__code {
  font-size: clamp(72px, 14vw, 140px); font-weight: 800; line-height: 1; margin: 0;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statuspage__title { font-size: clamp(24px, 3vw, 34px); margin: 10px 0; }
.statuspage__text { color: var(--text-soft); max-width: 52ch; margin: 0 auto 26px; }
.statuspage__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.statuspage__suggest { max-width: 560px; padding-bottom: 70px; }
.statuspage__stack {
  text-align: left; margin: 34px auto 0; max-width: 900px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 12.5px; overflow-x: auto; color: var(--text-dim);
}

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

.site-footer {
  margin-top: 40px; border-top: 1px solid var(--border);
  background: var(--bg-alt); padding: 50px 0 24px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px;
}
.footer__logo { font-size: 24px; font-weight: 800; letter-spacing: -.035em; display: block; margin-bottom: 12px; }
.footer__brand p { color: var(--text-soft); font-size: 14px; margin: 0 0 18px; max-width: 46ch; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 12px; font-weight: 700; color: var(--text-soft);
}
.footer__social a:hover { background: var(--gradient-brand); color: #fff; border-color: transparent; }
.footer__col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; color: var(--text); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14px; color: var(--text-soft); }
.footer__col a:hover { color: var(--brand-500); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--brand-500); }

/* ------------------------------------------------------------------ layar */

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero__main { min-height: 380px; }
  .layout-2col, .contact { grid-template-columns: 1fr; gap: 34px; }
  .layout-2col__side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr auto; row-gap: 12px; }
  .searchbox { grid-column: 1 / -1; order: 3; max-width: none; }
  .topbar__links { display: none; }
  .nav-toggle { display: flex; }
  .mainnav { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .mainnav.is-open { max-height: 520px; }
  .mainnav__inner { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .mainnav__inner a { padding: 11px 4px; border-bottom: 1px solid var(--border); }
  .mainnav__inner a::after { display: none; }
  .card--wide { flex-direction: column; }
  .card--wide .card__media { flex: none; aspect-ratio: 16 / 9; }
  .hero__body { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .indexlist__item { grid-template-columns: 1fr; gap: 6px; }
  .prose { font-size: 17px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
