/* Sentra Talents — situs informasi. Tanpa dependensi eksternal (font sistem, tanpa CDN). */
:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-alt: #eef3f1;
  --text: #14282a;
  --muted: #4b6264;
  --line: #d5e0dd;
  --brand: #0f3d3e;
  --brand-contrast: #ffffff;
  --accent: #c8821a;
  --accent-soft: #fbf0dc;
  --link: #0b6b6d;
  --ok: #1f8a5b;
  --bad: #b3402f;
  --shadow: 0 1px 2px rgb(15 61 62 / 8%), 0 8px 24px rgb(15 61 62 / 6%);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1819;
    --surface: #132324;
    --surface-alt: #101e1f;
    --text: #e6efee;
    --muted: #9db3b2;
    --line: #25393a;
    --brand: #6ec7c4;
    --brand-contrast: #0b1415;
    --accent: #e0a24a;
    --accent-soft: #2b2415;
    --link: #7fd6d2;
    --ok: #4cc58b;
    --bad: #e2705d;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 28%);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--brand); color: var(--brand-contrast); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 12px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand__mark { width: 32px; height: 32px; }
.brand__mark rect { fill: var(--brand); }
.brand__mark path { stroke: var(--brand-contrast); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); background: var(--surface-alt); }

/* Hero */
.hero { padding: 64px 0 48px; background:
  radial-gradient(900px 360px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
  radial-gradient(800px 380px at 0% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.hero__grid { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr; align-items: center; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  font-weight: 700; text-decoration: none;
}
.btn:hover { border-color: var(--brand); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
.btn--primary:hover { filter: brightness(1.08); }

.points { display: grid; gap: 12px; }
.points li {
  display: grid; gap: 2px; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow);
}
.points strong { font-size: 1rem; }
.points span { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section__intro { color: var(--muted); margin-top: 10px; max-width: 70ch; }

.group { margin: 36px 0 14px; font-size: 1.05rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: repeat(4, auto) 1fr; column-gap: 16px; align-content: stretch;
  padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 2px 4px rgb(15 61 62 / 10%), 0 14px 32px rgb(15 61 62 / 12%); }
.card:focus-within { border-color: var(--brand); }
.card--wide { grid-column: 1 / -1; }
.card__icon {
  grid-row: 1 / span 5; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__tag { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.card__title { font-size: 1.25rem; margin-top: 2px; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* seluruh kartu bisa diklik */
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.card__desc { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips li { font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); border: 1px solid var(--line); }
.card__foot {
  align-self: end;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px;
  border-top: 1px dashed var(--line); font-size: 0.88rem;
}
.card__host { color: var(--link); font-weight: 600; word-break: break-all; }

/* Status */
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: 0.5; }
.status[data-state="up"] .dot { background: var(--ok); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.status[data-state="down"] .dot { background: var(--bad); opacity: 1; }
.status[data-state="checking"] .dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 1; } }

/* Alur */
.steps { display: grid; gap: 14px; margin-top: 26px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--brand-contrast); font-weight: 800; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); margin-top: 4px; }
.steps strong { color: var(--text); }
.note { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }

/* Akses */
.info { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.info__item { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info__item h3 { font-size: 1.05rem; }
.info__item p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__links a { color: var(--muted); }
.foot__links a:hover { color: var(--link); }

/* Responsif */
@media (max-width: 860px) {
  .hero { padding: 40px 0 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .grid, .info { grid-template-columns: 1fr; }
  .nav a { padding: 8px 9px; }
}
@media (max-width: 480px) {
  .bar { gap: 8px; }
  .brand, .nav a { white-space: nowrap; }
  .brand { gap: 8px; }
  .brand__name { font-size: 0.95rem; }
  .nav { gap: 0; }
  .nav a { padding: 8px 7px; font-size: 0.88rem; }
  .card { grid-template-columns: 1fr; padding: 18px; row-gap: 2px; }
  .card__icon { grid-row: auto; margin-bottom: 10px; }
  .card__foot { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .status .dot { transition: none; animation: none; }
  .card:hover { transform: none; }
}
