/* Sentry Parent landing — dark, mobile-first.
   Base styles are the phone layout; the min-width queries widen it. */

:root {
  --bg: #0f1216;
  --bg-raise: #161b21;
  --bg-card: #1a2129;
  --line: #262f3a;
  --text: #e7edf3;
  --muted: #9aa7b6;
  --red: #ff6b7a;
  --red-bg: #2a1a1e;
  --teal: #4fd1c5;
  --amber: #f6c453;
  --radius: 14px;
  --maxw: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 700;
}

h3 {
  font-size: 1.02rem;
  font-weight: 700;
}

p {
  margin: 0 0 0.75rem;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(15, 18, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  font-size: 1.2rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  /* keep the sticky header from covering the heading when jumping to an anchor */
  scroll-margin-top: 64px;
}

section:last-of-type {
  border-bottom: 0;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #1b1512 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin: 20px 0;
  text-align: center;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.hl-red {
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: #05201d;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-lg {
  padding: 13px 18px;
  font-size: 1rem;
}

/* Cards */
.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 14px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.card p strong {
  color: var(--text);
}

.sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.note {
  color: var(--muted);
  font-size: 0.85rem;
  border-left: 3px solid var(--amber);
  padding-left: 12px;
  margin-top: 14px;
}

/* Steps */
.step {
  position: relative;
  padding-top: 34px;
}

.step-num {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #05201d;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature cards */
.feature-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: var(--amber);
  color: #2b2005;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 6px;
}

/* Videos */
.video-group {
  margin-bottom: 20px;
}

.video-group h3 {
  color: var(--amber);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.video-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  padding: 10px 12px;
}

.video-meta p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.video-meta span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* FAQ */
details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

summary {
  font-weight: 700;
  cursor: pointer;
}

details p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 8px 0 0;
}

/* Footer */
footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: var(--muted);
  font-size: 0.85rem;
}

.disclaimer {
  font-size: 0.78rem;
  color: #75808f;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

/* Screenshots */
.shots {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.shots figure {
  margin: 0;
}

.shots figcaption {
  display: inline-block;
  color: #06201c;
  background: var(--teal);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 8px;
}

.shots-title {
  margin-top: 22px;
}

/* Wider screens */
@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  .video-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --maxw: 960px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Color journey: red (masalah) → amber (transisi) → teal (solusi) --- */

.hl {
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-red {
  background: rgba(255, 107, 122, 0.22);
  color: #ffd3d9;
}

.hl-amber {
  background: rgba(246, 196, 83, 0.22);
  color: #ffe6a8;
}

.hl-teal {
  background: rgba(79, 209, 197, 0.22);
  color: #b8f0ea;
}

.sec-danger,
.sec-warn,
.sec-safe {
  border-radius: var(--radius);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.sec-danger {
  background: linear-gradient(180deg, rgba(255, 107, 122, 0.07), rgba(255, 107, 122, 0) 75%);
}

.sec-danger h2 {
  color: #ff8b98;
}

.sec-warn {
  background: linear-gradient(180deg, rgba(246, 196, 83, 0.07), rgba(246, 196, 83, 0) 75%);
}

.sec-warn h2 {
  color: var(--amber);
}

.sec-safe {
  background: linear-gradient(180deg, rgba(79, 209, 197, 0.07), rgba(79, 209, 197, 0) 75%);
}

.sec-safe h2 {
  color: var(--teal);
}

.card-danger {
  border-left: 4px solid var(--red);
}

.card-warn {
  border-left: 4px solid var(--amber);
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card ul li {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.card ul li::marker {
  color: var(--amber);
}

.card ul li a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

footer a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.card-safe {
  border-left: 4px solid var(--teal);
}

.video-group h3.topic-danger {
  color: var(--red);
}

.video-group h3.topic-warn {
  color: var(--amber);
}

.video-card.topic-danger {
  border-left: 4px solid var(--red);
}

.video-card.topic-warn {
  border-left: 4px solid var(--amber);
}

/* Article menu / carousel (dynamic, from index.json) */
.ac-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 12px;
  margin: 0 -4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ac-track::-webkit-scrollbar { display: none; }
.ac-card {
  flex: 0 0 calc(100% - 8px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  color: #e5e7eb;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.ac-card:hover { border-color: #14b8a6; transform: translateY(-2px); }
.ac-card h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
.ac-card p {
  font-size: .82rem; line-height: 1.5; margin: 0; color: #9ca3af;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ac-topic { font-size: .65rem; font-weight: 700; letter-spacing: .04em; color: #14b8a6; text-transform: uppercase; }
@media (min-width: 600px) { .ac-card { flex-basis: calc(50% - 6px); } }
@media (min-width: 900px) { .ac-card { flex-basis: calc(33.333% - 8px); } }
.ac-nav { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; }
.ac-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #374151; background: #111827; color: #e5e7eb;
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s;
}
.ac-btn:hover { border-color: #14b8a6; }
.ac-btn:disabled { opacity: .35; cursor: default; }

/* ---- Single article page ----
   Scoped to <article> + its own classes so the landing (index.html) is
   untouched: none of these elements/classes appear on the listing page. */
.byline {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
article a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
article a:hover { color: #7fe3da; }
article ul { margin: 0 0 0.75rem; padding-left: 1.1rem; }
article li { margin-bottom: 5px; }
article li::marker { color: var(--amber); }
article blockquote {
  margin: 0 0 0.75rem;
  padding: 4px 0 4px 14px;
  border-left: 3px solid var(--amber);
  color: var(--muted);
}
/* CTA-EDU = danger/report call (red), CTA-PRODUCT = solution (teal) */
.cta-edu {
  margin: 22px 0 8px;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: var(--red-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cta-edu p { margin: 0; color: #ffd3d9; }
.cta-product {
  margin: 8px 0 4px;
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: rgba(79, 209, 197, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cta-product p { margin: 0; }
.cta-product a { color: var(--teal); font-weight: 700; }

/* --- Article pages, static hubs, facades (2026-10-24) --- */
.site-head { display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:var(--maxw); margin:0 auto; padding:14px 16px; border-bottom:1px solid var(--line); }
.site-head a { color:var(--text); text-decoration:none; }
.breadcrumb { max-width:var(--maxw); margin:0 auto; padding:12px 16px 0; color:var(--muted); font-size:.85rem; }
.breadcrumb a { color:var(--teal); text-decoration:none; }
.site-foot { max-width:var(--maxw); margin:0 auto; padding:24px 16px 40px; color:var(--muted); font-size:.85rem; border-top:1px solid var(--line); }
.site-foot a { color:var(--teal); }
.block { padding:22px 0; border-bottom:1px solid var(--line); }
.block h2 { margin-bottom:.6rem; }
.updated { color:var(--muted); font-size:.8rem; margin-top:-.4rem; }
.ac-grid { display:grid; grid-template-columns:1fr; gap:12px; }
.ac-grid .ac-card { flex-basis:auto; }
@media (min-width:600px){ .ac-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:900px){ .ac-grid { grid-template-columns:repeat(3,1fr); } }
.faq details { background:var(--bg-card); border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin:8px 0; }
.faq summary { cursor:pointer; font-weight:600; }
.howto { padding-left:1.25rem; }
.related { margin-top:1.2rem; padding:14px 16px; background:var(--bg-raise); border:1px solid var(--line); border-radius:var(--radius); }
.related h2 { font-size:1.05rem; }
.related ul { margin:.4rem 0 0; padding-left:1.1rem; }
.related a { color:var(--teal); }
.video-facade { position:relative; display:block; width:100%; padding:0; border:0; background:#000; cursor:pointer; line-height:0; border-radius:inherit; }
.video-facade img { display:block; width:100%; height:auto; }
.video-play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:2.2rem; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.7); }
.video-frame iframe { width:100%; aspect-ratio:16/9; border:0; }
.about-list { padding-left:1.2rem; }
.fact-ref { display: none; }  
