@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(fonts/jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

/* Tita Hen — titahen.com
   Warna diambil dari logo: hijau limau tas belanja + merah cabai. */
:root {
  --lime: #b4f02a;
  --lime-deep: #8fcf12;
  --red: #e5121d;
  --red-deep: #b80d16;
  --ink: #1d1f23;       /* aspal */
  --ink-2: #2b2e34;
  --leaf: #2f7d32;
  --paper: #f5f8ec;     /* putih kehijauan, seperti nasi baru */
  --white: #ffffff;
  --text: #1d1f23;
  --muted: #5d636b;
  --line: rgba(29, 31, 35, 0.12);
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); }

.h2 {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 17ch;
  text-wrap: balance;
}
/* Garis limau yang menyapu di bawah judul saat dituju dari menu */
.h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 7px;
  width: 0;
  border-radius: 6px;
  background: var(--lime);
}
.h2.flash::after { animation: sweep 1.1s var(--ease) forwards; }
@keyframes sweep { 0% { width: 0; } 55% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.lead { margin: 0 0 36px; max-width: 56ch; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }

/* ---------- Tombol ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.95); }
.btn-small { height: 38px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.btn-big { height: 56px; padding: 0 26px; border-radius: 16px; font-size: 17px; }
.btn-full { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(229, 18, 29, 0.7); }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-glass { background: rgba(255, 255, 255, 0.72); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(29, 31, 35, 0.12); }
.btn-glass:hover { background: #fff; }
.btn.is-wait { background: #8a8f96; box-shadow: none; }
/* riak cahaya dari titik ketuk */
.btn .ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: ripple 0.65s var(--ease) forwards;
}
.btn-glass .ripple { background: rgba(180, 240, 42, 0.8); }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }

/* ---------- Navigasi ---------- */
.nav {
  position: fixed;
  inset: 12px var(--gutter) auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1160px;
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px -14px rgba(29, 31, 35, 0.35);
  transition: background-color 0.3s;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color 0.2s; }
.nav nav a:hover { background: rgba(29, 31, 35, 0.06); }
@media (max-width: 760px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- HERO: pemandangan bergulir tanpa sambungan ---------- */
.hero {
  --s: 1;
  position: relative;
  min-height: clamp(640px, 100svh, 900px);
  overflow: hidden;
  isolation: isolate;
}
.sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #8fd3ff 0%, #c4ebff 45%, #ecf9ff 72%, #f5fbe9 100%);
}
.sun {
  position: absolute;
  right: 12%;
  top: 16%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbe6 0 38%, rgba(255, 244, 196, 0.6) 39% 55%, rgba(255, 244, 196, 0) 70%);
}
.scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.layer {
  position: absolute;
  left: 0;
  width: calc(100% + var(--tw));
  height: var(--h);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: var(--tw) 100%;
  will-change: transform;
  animation: roll var(--dur) linear infinite;
}
@keyframes roll { from { transform: translate3d(calc(-1 * var(--tw)), 0, 0); } to { transform: translate3d(0, 0, 0); } }
/* ukuran asli tiap ubin SVG: lebar 1600, tinggi tercatat di --oh */
.l0 { --h: calc(170px * var(--s)); --tw: calc(var(--h) * 1600 / 220); --dur: 90s; top: 14%; background-image: url(img/l0-awan.svg); opacity: 0.9; }
.l1 { --h: calc(330px * var(--s)); --tw: calc(var(--h) * 1600 / 420); --dur: 60s; bottom: calc(232px * var(--s)); background-image: url(img/l1-gunung.svg); }
.l2 { --h: calc(290px * var(--s)); --tw: calc(var(--h) * 1600 / 360); --dur: 26s; bottom: calc(196px * var(--s)); background-image: url(img/l2-bukit.svg); }
.l3 { --h: calc(200px * var(--s)); --tw: calc(var(--h) * 1600 / 300); --dur: 13s; bottom: calc(168px * var(--s)); background-image: url(img/l3-kampung.svg); }
.l4 { --h: calc(112px * var(--s)); --tw: calc(var(--h) * 1600 / 160); --dur: 6.5s; bottom: calc(112px * var(--s)); background-image: url(img/l4-sawah.svg); }
.l5 { --h: calc(124px * var(--s)); --tw: calc(var(--h) * 1600 / 150); --dur: 2.4s; bottom: 0; background-image: url(img/l5-jalan.svg); }

.rider {
  position: absolute;
  right: 10%;
  bottom: calc(28px * var(--s));
  width: calc(300px * var(--s));
  animation: enter 1.4s var(--ease) 0.2s both;
}
.rider img { position: relative; z-index: 2; animation: bob 0.42s ease-in-out infinite alternate; transform-origin: 60% 90%; }
@keyframes bob { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-3px) rotate(-0.6deg); } }
@keyframes enter { from { transform: translateX(80vw); } to { transform: none; } }
.wind { position: absolute; z-index: 1; left: 72%; top: 34%; width: 60%; height: 40%; }
.wind i {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  animation: wind 0.7s linear infinite;
}
.wind i:nth-child(1) { top: 10%; width: 70%; }
.wind i:nth-child(2) { top: 48%; width: 95%; animation-delay: -0.25s; }
.wind i:nth-child(3) { top: 82%; width: 55%; animation-delay: -0.5s; }
@keyframes wind { from { transform: translateX(-10%); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(60%); opacity: 0; } }
.dust { position: absolute; right: 4%; bottom: 6%; width: 18px; height: 18px; border-radius: 50%; background: rgba(230, 226, 214, 0.9); animation: dust 0.6s ease-out infinite; }
@keyframes dust { from { transform: translate(0, 0) scale(0.6); opacity: 0.9; } to { transform: translate(60px, -14px) scale(2.2); opacity: 0; } }

.hero-copy {
  position: relative;
  width: min(1160px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-top: clamp(118px, 17vh, 170px);
}
/* cahaya lembut di balik tulisan agar tetap terbaca di atas bukit */
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  top: 8%;
  width: min(900px, 100%);
  height: 92%;
  background: radial-gradient(closest-side, rgba(236, 249, 255, 0.92), rgba(236, 249, 255, 0.6) 55%, rgba(236, 249, 255, 0));
  pointer-events: none;
}
.hero h1 {
  margin: 0;
  max-width: 13.5ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(46px, 8.4vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero h1 .w { display: inline-block; animation: rise 0.9s var(--ease) both; animation-delay: calc(0.55s + var(--i) * 0.07s); }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em) rotate(3deg); } to { opacity: 1; transform: none; } }
.hero p {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: clamp(17px, 1.7vw, 20px);
  color: #2c3a33;
  animation: fadein 0.8s var(--ease) 1.05s both;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: fadein 0.8s var(--ease) 1.2s both; }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { --s: 0.72; min-height: 760px; }
  .rider { right: 4%; }
}
@media (max-width: 560px) {
  .hero { --s: 0.56; min-height: 720px; }
  .hero-copy { padding-top: 104px; }
  .sun { width: 96px; height: 96px; top: 46%; right: 8%; }
  .cta .btn { flex: 1 1 100%; }
  .rider { right: 3%; }
}

/* ---------- LAYANAN: rute ---------- */
.services { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 110px); }
.route { position: relative; height: 620px; margin-top: 10px; }
.road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road .asphalt { fill: none; stroke: var(--ink); stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.road .lane { fill: none; stroke: #f4f4f0; stroke-width: 3; stroke-dasharray: 14 14; stroke-linecap: round; }
.road .done { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; }
.stops { list-style: none; margin: 0; padding: 0; }
.stops li { position: absolute; width: 270px; transform: translate(-50%, -30px); }
.stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stop .ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 19px;
  background: var(--c);
  color: #fff;
  box-shadow: 0 0 0 6px #fff, 0 12px 24px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--spring), box-shadow 0.3s;
}
.stop .ico svg { width: 30px; height: 30px; fill: currentColor; }
.stop .t { margin-top: 16px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.stop .d { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.stop:hover .ico { transform: translateY(-4px); }
.stop.is-on .ico { transform: scale(1.12); box-shadow: 0 0 0 6px #fff, 0 0 0 12px var(--lime), 0 16px 30px -10px rgba(0, 0, 0, 0.5); }
.stop.is-on .t { color: var(--red); }
.scoot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 92px;
  offset-rotate: 0deg;
  offset-anchor: 50% 92%;
  pointer-events: none;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.25));
}
.scoot img { transition: transform 0.35s var(--spring); }
.scoot.right img { transform: scaleX(-1); }
.scoot.moving img { animation: bob 0.2s ease-in-out infinite alternate; }
.scoot.right.moving img { animation: bobr 0.2s ease-in-out infinite alternate; }
@keyframes bobr { from { transform: scaleX(-1) translateY(0); } to { transform: scaleX(-1) translateY(-3px); } }
@media (max-width: 860px) { .scoot { width: 64px; } }
@media (max-width: 860px) {
  .route { height: auto; padding: 0 0 0 66px; }
  .stops li { position: relative; width: auto; transform: none; padding: 6px 0 30px; }
  .stop { flex-direction: row; align-items: flex-start; gap: 0 16px; text-align: left; display: grid; grid-template-columns: 60px 1fr; margin-left: -66px; }
  .stop .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; margin: 4px 0 0 4px; }
  .stop .t { margin-top: 2px; font-size: 22px; }
  .stop .d { margin-top: 2px; }
  .road .asphalt { stroke-width: 22; }
}

/* ---------- CARA PAKAI ---------- */
.how { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); }
.how-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.phone {
  position: relative;
  aspect-ratio: 600 / 1299;
  border-radius: 46px;
  padding: 10px;
  background: var(--ink);
  box-shadow: inset 0 0 0 2px #3d4148, 0 40px 80px -30px rgba(29, 31, 35, 0.55);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 18px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: var(--ink); }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: #f2f2f7; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateX(14%) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.shot.is-on { opacity: 1; transform: none; }
.shot.is-out { opacity: 0; transform: translateX(-14%) scale(0.96); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.step b { color: var(--ink); font-size: 19px; font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.step .n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; box-shadow: inset 0 0 0 2px var(--line); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--spring); }
.step.is-on { background: #fff; color: var(--text); box-shadow: 0 16px 40px -24px rgba(29, 31, 35, 0.4); }
.step.is-on .n { background: var(--red); color: #fff; box-shadow: none; transform: rotate(-8deg) scale(1.05); }
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
  .how .phone { width: min(250px, 66vw); margin-inline: auto; }
}

/* ---------- MITRA: tiga lajur jalan ---------- */
.partners { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: var(--ink); color: #fff; }
.partners::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--red) 0 30px, #f4f4f0 30px 60px); }
.partners .lead { color: rgba(255, 255, 255, 0.7); }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); }
.lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 34px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.lane + .lane { background-image: linear-gradient(rgba(255, 255, 255, 0.5) 50%, transparent 50%); background-size: 3px 28px; background-repeat: repeat-y; background-position: left top; }
.lane:hover { background-color: rgba(255, 255, 255, 0.04); }
.lane-t { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }
.lane-d { color: rgba(255, 255, 255, 0.72); font-size: 16px; flex: 1; }
.lane-go { display: inline-flex; align-self: flex-start; margin-top: 8px; padding: 10px 16px; border-radius: 12px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 15px; transition: transform 0.3s var(--spring); }
.lane:hover .lane-go { transform: translateX(6px); }
@media (max-width: 860px) {
  .lanes { grid-template-columns: 1fr; }
  .lane { padding: 26px 0; }
  .lane + .lane { background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 50%, transparent 50%); background-size: 28px 3px; background-repeat: repeat-x; }
}

/* ---------- UNDUH ---------- */
.download { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0; background: var(--lime); }
.download .lead { color: #314214; }
.dl-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; align-items: center; }
.dl-card { margin-top: 18px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 24px 50px -30px rgba(40, 70, 0, 0.6); }
.dl-card.is-glow { animation: glow 1.6s var(--ease) 2; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px var(--red), 0 24px 50px -30px rgba(40, 70, 0, 0.6); } }
.dl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dl-head svg { width: 42px; height: 42px; padding: 8px; border-radius: 13px; background: var(--paper); fill: #3ddc84; }
.dl-alt .dl-head svg { fill: #0a84ff; }
.dl-head div { display: flex; flex-direction: column; line-height: 1.25; }
.dl-head b { font-family: var(--display); font-weight: 800; font-size: 21px; }
.dl-head span { color: var(--muted); font-size: 14px; }
.install { margin: 18px 0 0; padding-left: 22px; color: #3a3f45; font-size: 15px; display: grid; gap: 6px; }
.install li::marker { font-weight: 800; color: var(--red); }
.dl-alt p { margin: 0 0 16px; color: #3a3f45; font-size: 15px; }
.dl-art { position: relative; height: 620px; }
.dl-art .phone { position: absolute; width: 270px; }
.phone-tilt { right: 22%; top: 30px; z-index: 2; transform: rotate(-6deg); }
.phone-back { right: 0; top: 110px; transform: rotate(7deg); opacity: 0.95; }
@media (max-width: 900px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-art { display: none; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 120px) 0; }
details { border-bottom: 1px solid var(--line); }
summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 22px);
  letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-family: var(--body); font-weight: 600; font-size: 22px; transition: transform 0.35s var(--spring), background-color 0.2s; }
details[open] summary::after { transform: rotate(135deg); background: var(--lime); }
details p { margin: -6px 0 22px; color: var(--muted); max-width: 62ch; }
details[open] p { animation: fadein 0.4s var(--ease); }

/* ---------- Footer ---------- */
.foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--lime); }
.copy { margin: 0 0 0 auto; color: rgba(255, 255, 255, 0.5); font-size: 14px; }

/* ---------- Tirai transisi & efek klik ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--curtain, var(--lime));
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  pointer-events: none;
  visibility: hidden;
}
.curtain.is-open { visibility: visible; pointer-events: auto; animation: wipe 0.7s var(--ease) forwards; }
.curtain.is-closing { visibility: visible; animation: unwipe 0.6s var(--ease) forwards; }
@keyframes wipe { from { clip-path: circle(0 at var(--x) var(--y)); } to { clip-path: circle(150vmax at var(--x) var(--y)); } }
@keyframes unwipe { from { clip-path: circle(150vmax at var(--x) var(--y)); } to { clip-path: circle(0 at var(--x) var(--y)); } }
.curtain-in { display: grid; justify-items: center; gap: 18px; width: 100%; }
.curtain-rider { width: min(300px, 60vw); }
.curtain.is-open .curtain-rider { animation: dash 1.1s cubic-bezier(0.5, 0, 0.2, 1) 0.15s both; }
@keyframes dash { 0% { transform: translateX(70vw); filter: blur(6px); } 45% { transform: translateX(0); filter: blur(0); } 65% { transform: translateX(0) rotate(-2deg); } 100% { transform: translateX(-90vw); filter: blur(8px); } }
.curtain-text { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 5vw, 44px); letter-spacing: -0.02em; color: var(--curtain-ink, var(--ink)); }
.curtain.is-open .curtain-text { animation: fadein 0.5s var(--ease) 0.35s both; }

.puff { position: fixed; z-index: 300; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; pointer-events: none; animation: puff 0.6s var(--ease) forwards; }
@keyframes puff { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 250;
  width: min(460px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 200%);
  visibility: hidden;
  transition: transform 0.45s var(--spring), visibility 0s 0.45s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 0.45s var(--spring); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .layer, .rider img, .wind, .dust { animation: none !important; }
}

/* Paragraf rata kiri-kanan */
.lead, .hero p, details p, .lane-d, .dl-alt p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Halaman Tentang, Bantuan, Syarat, Privasi ---------- */
.doc { background: var(--paper); padding-bottom: clamp(60px, 8vw, 100px); }
.doc-head { padding: clamp(120px, 16vw, 170px) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, #d7f0ff 0%, var(--paper) 100%); }
.doc-head h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6.4vw, 72px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.doc-intro { margin: 16px 0 0; max-width: 56ch; color: var(--muted); font-size: clamp(17px, 1.8vw, 19px); text-align: justify; hyphens: auto; }
.doc-badge { display: inline-block; margin: 18px 0 0; padding: 7px 14px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; }
.doc-body { display: grid; gap: 20px; }
.doc-body article, .doc-summary, .faq-list { padding: clamp(22px, 4vw, 40px); border-radius: 26px; background: #fff; box-shadow: 0 20px 50px -36px rgba(29, 31, 35, 0.45); }
.doc-summary h2, .faq-list > h2, .doc-contact h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.doc-summary { background: var(--ink); color: #fff; }
.doc-summary p { margin: 0; color: rgba(255, 255, 255, 0.85); text-align: justify; hyphens: auto; line-height: 1.7; }
.doc-sec + .doc-sec { margin-top: 30px; padding-top: 26px; border-top: 1px dashed var(--line); }
.doc-sec h2 { display: flex; gap: 10px; margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
.doc-sec h2 .n { color: var(--red); min-width: 1.6em; }
.doc-sec p { margin: 0 0 12px; color: #33383e; font-size: 16.5px; line-height: 1.75; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.doc-sec p:last-child { margin-bottom: 0; }
.doc-sec b { color: var(--ink); }
.doc-sec a, .faq-list a, .doc-note a { color: var(--red); font-weight: 600; }
.doc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.doc-pills li { padding: 9px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 2px var(--lime); }
.doc-list { display: grid; gap: 0; margin: 0; }
.doc-list > div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-list > div:last-child { border-bottom: 0; }
.doc-list dt { font-weight: 700; color: var(--ink); }
.doc-list dd { margin: 0; color: var(--muted); }
.doc-contact { margin-top: 32px; padding: 22px; border-radius: 20px; background: var(--paper); }
.doc-contact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc-contact li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 16px; }
.doc-contact li > span:first-child { color: var(--muted); }
.doc-contact a { color: var(--ink); font-weight: 700; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; word-break: break-word; }
.doc-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.help-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: #fff; text-decoration: none; box-shadow: 0 16px 40px -30px rgba(29, 31, 35, 0.5); transition: transform 0.3s var(--spring); }
.help-card:hover { transform: translateY(-3px); }
.help-card > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.help-card b { font-size: 16px; }
.help-card > span:last-child > span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.help-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; color: #fff; }
.help-ico svg { width: 24px; height: 24px; fill: currentColor; }
.help-ico.wa { background: #25d366; }
.help-ico.mail { background: #0a84ff; }
.help-ico.app { background: var(--red); }
.faq-list details:last-child { border-bottom: 0; }
.foot nav a[aria-current="page"] { color: var(--lime); }
.foot .brand { color: #fff; }
@media (max-width: 760px) {
  .help-cards { grid-template-columns: 1fr; }
  .doc-list > div { grid-template-columns: 1fr; gap: 2px; }
  .doc-contact li { grid-template-columns: 1fr; gap: 0; }
}
