:root {
  --indigo: #4338ca;
  --violet: #7c3aed;
  --ink: #15131f;
  --ink-2: #1d1a2b;
  --ink-3: #272338;
  --line: #3a3552;
  --text: #faf9ff;
  --muted: #c4bfdd;
  --muted-2: #a59fc4;
  --accent: #a78bfa;
  --accent-2: #818cf8;
  --grad: linear-gradient(120deg, #4338ca 0%, #7c3aed 100%);
  --grad-soft: linear-gradient(120deg, rgba(67, 56, 202, 0.18) 0%, rgba(124, 58, 237, 0.18) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(8, 6, 18, 0.55);
  --shadow-sm: 0 8px 24px rgba(8, 6, 18, 0.4);
  --maxw: 1160px;
  --space: clamp(3.5rem, 8vw, 6rem);
  --font-display: "Epilogue", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: var(--space) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 0.7rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(124, 58, 237, 0.5); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(124, 58, 237, 0.08); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 19, 31, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}
.brand-mark .icon { width: 22px; height: 22px; stroke: #fff; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 0.68rem; color: var(--muted-2); font-family: var(--font-body); font-weight: 400; letter-spacing: 0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
}
.nav-links a:hover, .nav-trigger:hover { color: var(--text); background: rgba(124, 58, 237, 0.12); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(124, 58, 237, 0.16); }

.nav-trigger .chev { transition: transform 0.2s ease; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(680px, 88vw);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}
.nav-item-mega:hover .mega,
.nav-item-mega:focus-within .mega,
.mega[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-group h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.mega-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }
.mega-group a {
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
}
.mega-cta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.mega-cta p { font-size: 0.9rem; margin: 0; }

.nav-cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-2);
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1.5rem 1.25rem 3rem;
    background: var(--ink);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a, .nav-trigger { padding: 0.85rem 0.9rem; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .mega {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--ink-2);
    margin-top: 0.3rem;
    display: none;
    gap: 1rem;
    padding: 1.1rem;
  }
  .mega[data-open="true"] { display: grid; transform: none; }
  .nav-cta { margin: 0.6rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links { transition: none; }
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(21, 19, 31, 0.72) 0%, rgba(67, 56, 202, 0.55) 55%, rgba(124, 58, 237, 0.62) 100%), url("../img/hero-arsip-saham.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(124, 58, 237, 0.4), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero .lead { color: #ece9ff; }
.hero .eyebrow { color: #cabfff; }

.figure-card {
  background: rgba(29, 26, 43, 0.78);
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.figure-card .figure-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}
.figure-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(120deg, #c4b5fd, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
  margin: 0.4rem 0 0.2rem;
}
.figure-card p { font-size: 0.92rem; color: var(--muted); margin-top: 0.5rem; }
.figure-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 64px;
  margin-top: 1.2rem;
}
.figure-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--grad);
  opacity: 0.85;
}
.figure-note {
  font-size: 0.74rem !important;
  color: var(--muted-2) !important;
  margin-top: 1rem !important;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .figure-card { max-width: 420px; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--grad-soft);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.chapter-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.about-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.about-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); }
.about-list .icon { color: var(--accent); margin-top: 0.2rem; }

.masonry {
  columns: 3 280px;
  column-gap: 1.4rem;
  margin-top: 2.5rem;
}
.masonry .card { break-inside: avoid; margin-bottom: 1.4rem; }

.card {
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  color: inherit;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

.card-media { overflow: hidden; background: var(--grad-soft); }
.card-media img { width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card:hover .card-media img { transform: none; } }

.card-tall .card-media img { aspect-ratio: 3 / 4; }
.card-wide .card-media img { aspect-ratio: 16 / 10; }
.card-med .card-media img { aspect-ratio: 4 / 3; }

.card-body { padding: 1.3rem 1.4rem 1.5rem; }
.card-cat {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.card-body h3 { margin: 0.5rem 0 0.6rem; font-size: 1.22rem; }
.card-body p { font-size: 0.96rem; color: var(--muted); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
}
.card:hover .card-link { color: var(--text); }

@media (max-width: 720px) { .masonry { columns: 1; } }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.adv-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad);
}
.adv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.adv-icon .icon { width: 26px; height: 26px; color: var(--accent); }
.adv-card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.adv-card p { font-size: 0.96rem; }

.risk-section { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.risk-item {
  display: flex;
  gap: 1rem;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
}
.risk-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.4);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.risk-badge .icon { width: 22px; height: 22px; color: var(--accent); }
.risk-item h4 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.risk-item p { font-size: 0.92rem; }

.mission-band {
  background: var(--grad);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.mission-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.mission-band .eyebrow { color: rgba(255,255,255,0.85); }
.mission-band .eyebrow::before { background: rgba(255,255,255,0.7); }
.mission-band h2 { color: #fff; max-width: 24ch; position: relative; z-index: 2; }
.mission-band p { color: rgba(255,255,255,0.92); max-width: 62ch; position: relative; z-index: 2; margin-top: 1rem; }
.mission-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2.2rem;
  position: relative;
  z-index: 2;
}
.mission-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
}
.mission-stats div span { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.mission-note { font-size: 0.78rem !important; color: rgba(255,255,255,0.78) !important; margin-top: 1.6rem !important; }

.faq-list { margin-top: 2.5rem; max-width: 800px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.2rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  min-height: 56px;
}
.faq-q .chev { transition: transform 0.25s ease; color: var(--accent); flex-shrink: 0; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

.cta-band {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin: 0 auto 1rem; }
.cta-band p { max-width: 56ch; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

.page-hero {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 60%);
  pointer-events: none;
}
.page-hero h1 { max-width: 20ch; position: relative; z-index: 2; }
.page-hero .lead { margin-top: 1.1rem; position: relative; z-index: 2; }

.breadcrumb { font-size: 0.85rem; margin-bottom: 1.2rem; color: var(--muted-2); position: relative; z-index: 2; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 0.4rem; color: var(--line); }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.9rem; }
.prose p { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--muted); }
.prose li { margin-top: 0.5rem; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; }

.callout {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
}
.callout strong { color: var(--text); }
.callout p { margin: 0; color: var(--muted); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  margin-top: 1.3rem;
  font-size: 0.9rem;
  color: var(--muted-2);
  position: relative;
  z-index: 2;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta .icon { width: 1.05em; height: 1.05em; color: var(--accent); }

.article-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 2.2rem 0;
}
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { padding: 0.8rem 1.2rem; font-size: 0.84rem; color: var(--muted-2); background: var(--ink-2); }

.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.prevnext a {
  display: block;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  color: var(--text);
}
.prevnext a:hover { border-color: var(--accent); text-decoration: none; background: var(--ink-3); }
.prevnext small { display: block; color: var(--muted-2); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; }
.prevnext .pn-next { text-align: right; }
@media (max-width: 600px) { .prevnext { grid-template-columns: 1fr; } }

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.topic-pills span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 500;
}

.form-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field-hint { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.4rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2.5rem;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-line .icon-box {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-line .icon-box .icon { width: 22px; height: 22px; color: var(--accent); }
.contact-line h4 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.25rem; font-weight: 600; }
.contact-line p, .contact-line a { color: var(--text); font-size: 1rem; word-break: break-word; }
.contact-line a { color: var(--accent); }

.note-band {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  font-size: 0.88rem;
  color: var(--muted-2);
  margin-top: 2rem;
}

.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  margin-top: var(--space);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a, .footer-col button {
  color: var(--muted);
  font-size: 0.92rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}
.footer-col a:hover, .footer-col button:hover { color: var(--text); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); font-size: 0.92rem; }
.footer-contact .icon { width: 1.1em; height: 1.1em; color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted-2);
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
  background: var(--ink-3);
}
.footer-social a:hover { color: var(--text); border-color: var(--accent); }
.footer-social .icon { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.cookie-bar {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 150;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cookie-bar p { font-size: 0.9rem; margin: 0; flex: 1 1 320px; }
.cookie-bar p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-ghost {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(124,58,237,0.1); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 6, 18, 0.72);
}
.cookie-modal.show { display: flex; }
.cookie-panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.cookie-panel h3 { margin-bottom: 0.8rem; }
.cookie-panel > p { font-size: 0.94rem; }
.cookie-cat {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.cookie-cat:first-of-type { margin-top: 1rem; }
.cookie-cat h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.cookie-cat p { font-size: 0.86rem; margin: 0; }
.switch {
  position: relative;
  width: 50px; height: 28px;
  flex-shrink: 0;
}
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.switch .track::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--muted-2);
  transition: transform 0.2s ease, background 0.2s ease;
}
.switch input:checked + .track { background: var(--grad); border-color: transparent; }
.switch input:checked + .track::before { transform: translateX(22px); background: #fff; }
.switch input:disabled + .track { opacity: 0.7; }
.switch input:focus-visible + .track { box-shadow: 0 0 0 3px rgba(124,58,237,0.4); }
.cookie-panel .btn-row { margin-top: 1.6rem; }
@media (prefers-reduced-motion: reduce) {
  .switch .track, .switch .track::before, .nav-trigger .chev, .faq-q .chev { transition: none; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 6, 18, 0.72);
}
.modal.show { display: flex; }
.modal-box {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 440px;
  width: 100%;
  padding: 2.2rem;
  text-align: center;
}
.modal-box .modal-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--accent);
  display: grid; place-items: center;
}
.modal-box .modal-icon .icon { width: 30px; height: 30px; color: var(--accent); }
.modal-box h3 { margin-bottom: 0.6rem; }
.modal-box p { margin-bottom: 1.5rem; }

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