/* ===== token dasar ===== */
:root {
  --ink: #0c1512;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #ded9cd;
  --text: #16211d;
  --text-muted: #5e685f;
  --accent: #237a63;
  --accent-soft: #e7f1ec;
  --accent-2: #b3541e;
  --accent-2-soft: #f6e8dd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; }
}

/* ===== navbar (flexbox) ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-brand {
  color: #fff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.navbar-menu a {
  position: relative;
  color: #b9c4bf;
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  padding-bottom: 4px;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.navbar-menu a:hover {
  color: #fff;
}

.navbar-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== header (hero gelap, kontras dari section lain) ===== */
.header {
  padding: 100px 40px 76px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 56px),
    var(--ink);
  border-bottom: 3px solid var(--accent);
}

.header h1 {
  color: #f3f1ea;
  font-size: clamp(30px, 4.2vw, 46px);
  max-width: 15ch;
  position: relative;
  padding-bottom: 20px;
}

.header h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}

.header p {
  margin: 20px 0 0;
  color: #9fd6c3;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
}

/* ===== profil (box model + flexbox dua kolom) ===== */
.profil {
  max-width: 980px;
  margin: 0 auto;
  padding: 76px 40px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.profil-text {
  flex: 2;
  min-width: 260px;
}

.profil-text h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.profil-text p {
  color: var(--text-muted);
  max-width: 60ch;
}

.profil-fakta {
  flex: 1;
  min-width: 200px;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profil-fakta dt {
  font-size: 12px;
  color: var(--text-muted);
}

.profil-fakta dd {
  margin: 4px 0 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}

/* ===== keunggulan / card (flexbox) ===== */
.keunggulan {
  padding: 76px 40px 92px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.keunggulan h2 {
  font-size: 22px;
  max-width: 980px;
  margin: 0 auto 32px;
}

.card-list {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 220px;
  padding: 24px 22px 26px;
  background: var(--paper);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -16px rgba(12, 21, 18, 0.35);
}

.card:nth-child(2) {
  border-top-color: var(--accent-2);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.card:nth-child(2) h3::before {
  background: var(--accent-2);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== footer ===== */
.footer {
  padding: 30px 40px;
  background: var(--ink);
  color: #8b968f;
  text-align: center;
  font-size: 13px;
  border-top: 3px solid var(--accent);
}

.footer-nama {
  color: #e4e9e6;
  margin: 0 0 4px;
  font-weight: 600;
}

.footer-nim {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: #8b968f;
  margin-left: 8px;
}

.footer-copy {
  margin: 0;
}
