@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #0B6E6E;
  --teal-dark: #084F4F;
  --teal-deep: #073F3F;
  --tint: #EEF6F4;
  --tint-2: #E1F0EE;
  --line: #D9E6E3;
  --line-soft: #E6EFED;
  --accent: #9FD3CB;
  --ink: #15201E;
  --ink-2: #3E4743;
  --ink-3: #5B655F;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--body);
  overflow-x: clip;
}
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
/* Di atas latar teal: aksen (kontras 3,65 : 1 terhadap teal). */
.masthead :focus-visible, .hero__text :focus-visible, .cta-band :focus-visible { outline-color: var(--accent); }

/* ---------- Animasi (sama dengan mockup L2 v3-A) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes draw-a { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes draw-b { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop-a { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes pop-b { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes fade-a { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-b { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scale(.94); } to { transform: scale(1.04); } }

.rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.rise--d1 { animation-delay: .15s; }
.rise--d2 { animation-delay: .12s; }
.rise--d3 { animation-delay: .22s; }

/* ---------- Tombol & wordmark ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.btn--sm { min-height: 44px; padding: 0 20px; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn--light { background: #FFFFFF; color: var(--teal); }
.btn--light:hover { background: var(--tint); color: var(--teal-dark); }
.btn--outline { padding: 0 24px; border: 2px solid var(--accent); color: #FFFFFF; font-weight: 600; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }
.btn--teal { background: var(--teal); color: #FFFFFF; }
.btn--teal:hover { background: var(--teal-dark); color: #FFFFFF; }

.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--display); }
.wordmark__name { font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.wordmark__line { font-weight: 700; font-size: 10px; letter-spacing: .1em; }
.wordmark--light, .wordmark--light:hover { color: #FFFFFF; }
.wordmark--light .wordmark__line { color: var(--tint); }

/* ---------- Header ---------- */
.masthead { background: var(--teal); color: #FFFFFF; }
.masthead__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.masthead__inner .wordmark, .masthead__cta { flex-shrink: 0; }
.site-nav { display: flex; gap: 22px; margin-left: auto; min-width: 0; font-size: 15px; font-weight: 500; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tint); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.site-nav .site-nav__signin { color: #FFFFFF; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { background: var(--teal); color: #FFFFFF; padding-bottom: 96px; }
.hero__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px 64px;
  align-items: center;
}
.hero__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero__lead { margin: 24px 0 0; max-width: 32ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--tint); }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Kartu peta */
.hero__map { margin: 0; }
.map-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 28px 70px rgba(6, 48, 47, .35);
  transform-origin: 30% 50%;
}
@supports (animation-timeline: scroll()) {
  .map-card { animation: grow linear both; animation-timeline: scroll(root); animation-range: 0 55vh; }
}
.map-card__base { display: block; width: 100%; height: auto; }
.map-card__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card__label { font-family: var(--body); font-size: 26px; font-weight: 600; fill: var(--teal-dark); }
.map-card__replay {
  position: absolute;
  right: 12px;
  top: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: var(--teal-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.map-card__replay:hover { background: #FFFFFF; }

/* Animasi gambar jaringan: kelas run-a/run-b bergantian supaya animasi bisa diulang */
.run-a { animation: fade-a .8s ease both; }
.run-b { animation: fade-b .8s ease both; }
.pipe { stroke-dasharray: 1; }
.run-a .pipe { animation: draw-a 1.4s cubic-bezier(.4, 0, .2, 1) both; }
.run-b .pipe { animation: draw-b 1.4s cubic-bezier(.4, 0, .2, 1) both; }
.node { transform-box: fill-box; transform-origin: center; }
.run-a .node { animation: pop-a .9s cubic-bezier(.3, .7, .3, 1) both; }
.run-b .node { animation: pop-b .9s cubic-bezier(.3, .7, .3, 1) both; }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--tint);
}
.map-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.map-legend__ramp { width: 80px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #C9E6E1, #084F4F); }

/* ---------- Five steps. One window. ---------- */
@keyframes vgrow { from { transform: scale(.92); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@keyframes enter { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .vgrow { animation: vgrow linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .enter { animation: enter linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
}

.steps {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
}
/* Kolom kiri setinggi seluruh bagian (align-items bawaan stretch), supaya sticky benar-benar menempel. */
.steps__col { flex: 1.4 1 520px; }
.steps__sticky { position: sticky; top: 40px; }
.steps__title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--teal-dark);
}
.demo { position: relative; border-radius: 16px; overflow: hidden; background: var(--tint); border: 1px solid var(--line); }
.demo__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.demo__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: rgba(6, 48, 47, .82);
  color: #FFFFFF;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.demo__toggle:hover { background: var(--teal-dark); }

.steps__side { flex: 1 1 380px; margin-top: 72px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.step {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  background: transparent;
  transition: background-color .2s ease;
}
.step:hover { background: #F4FAF8; }
.step[aria-pressed="true"] { background: var(--tint); box-shadow: inset 4px 0 0 var(--teal); }
.step__head { display: flex; align-items: baseline; gap: 12px; }
.step__title { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.step__time { margin-left: auto; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.step__text { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.step__bar { display: block; margin-top: 12px; height: 3px; border-radius: 2px; background: var(--tint-2); overflow: hidden; }
.step__fill { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }

/* Kartu tautan ke panduan di bawah langkah 5: seukuran kartu langkah, tapi bergaris dan berpanah — jelas tautan, bukan langkah. */
.guide-link {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.guide-link:hover { background: var(--tint-2); border-color: var(--teal); }
.guide-link__text { flex: 1 1 auto; min-width: 0; }
.guide-link__title { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.25; color: var(--teal-dark); }
.guide-link__desc { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.guide-link__arrow { flex: none; font-size: 22px; font-weight: 700; color: var(--teal); transition: transform .2s ease; }
.guide-link:hover .guide-link__arrow { transform: translateX(3px); }

/* ---------- Tim ---------- */
.team { background: var(--tint); }
.team__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 40px 64px;
  align-items: start;
}
.team__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.team__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 36px; }
.team__list dt { font-weight: 600; font-size: 18px; }
.team__list dd { margin: 6px 0 0; color: var(--ink-2); line-height: 1.5; }

/* ---------- Ajakan ---------- */
.cta-band { background: var(--teal); color: #FFFFFF; text-align: center; }
.cta-band__inner { max-width: 900px; margin: 0 auto; padding: 112px 24px; }
.cta-band__title {
  margin: 0 0 34px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.btn--xl { min-height: 56px; padding: 0 34px; font-size: 18px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; border-top: 1px solid var(--line); overflow: hidden; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; padding: 64px 24px 0; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.site-footer__brand { flex: 1 1 300px; }
.wordmark--teal, .wordmark--teal:hover { color: var(--teal); }
.wordmark--teal .wordmark__name { font-size: 28px; }
.wordmark--teal .wordmark__line { font-size: 11px; }
.site-footer__tagline { margin: 16px 0 20px; max-width: 30ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.site-footer__nav { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px 32px; }
.site-footer__nav h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--teal-dark); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.site-footer__nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom {
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- HP & tablet (≤ 900 px) ---------- */
@media (max-width: 900px) {
  .map-card, .vgrow { animation: none !important; transform: none; }
  .hero__text { text-align: center; }
  .hero__title, .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__grid { padding-top: 48px; }
  .masthead__inner { gap: 8px 16px; }
  .site-nav { gap: 16px; }

  .steps { flex-direction: column; flex-wrap: nowrap; padding-top: 72px; padding-bottom: 72px; }
  /* Kolom kiri "dilebur": judul + video menempel di atas layar selama langkah di-scroll di bawahnya. */
  .steps__col { display: contents; }
  .steps__sticky {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #FFFFFF;
    margin: 0 -24px;
    padding: 12px 24px 14px;
    box-shadow: 0 8px 16px -12px rgba(6, 48, 47, .25);
  }
  .steps__title { font-size: 24px; margin-bottom: 10px; }
  .steps__side { margin-top: 0; }
}
@media (max-width: 600px) {
  .map-card__label { font-size: 34px; }
  .demo__toggle { right: 6px; bottom: 6px; padding: 0 10px; font-size: 13px; }
}
/* Sejak menu Guide (2026-10-27): di 421–470 px dua tautan bagian halaman disembunyikan dulu. */
@media (max-width: 470px) {
  .site-nav a[href$="#steps"], .site-nav a[href$="#team"] { display: none; }
}
@media (max-width: 420px) {
  .site-nav a:not(.site-nav__signin) { display: none; }
  /* Header satu baris: wordmark + Sign in; Start free besar ada tepat di hero. */
  .masthead__cta { display: none; }
  .hero__cta .btn, .cta-band__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .pipe { stroke-dashoffset: 0 !important; }
  .map-card__replay { display: none; }
}
