/* Landing styles. Tokens mirror docs/design-system-ui.md §2; no hex outside :root. */
:root {
  --nila-700: #26337a;
  --nila-50: #eef0fa;
  --kertas: #f6f7f9;
  --permukaan: #ffffff;
  --arang: #1b1e27;
  --abu: #5b6170;
  --garis: #dde0e8;
  --kunyit: #d99a1e;
  --daun: #2e7d5b;
  --pipi: #f3b4bf; /* pipi maskot (landing saja) */
}

@media (prefers-color-scheme: dark) {
  :root {
    --nila-700: #8e9be8;
    --nila-50: #232a4a;
    --kertas: #141826;
    --permukaan: #1b2032;
    --arang: #e8eaf2;
    --abu: #a3a9ba;
    --garis: #2c3248;
    --kunyit: #e8b04a;
    --daun: #5fbf92;
    --pipi: #b86a7a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--kertas);
  color: var(--arang);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 24px;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.93em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a { color: var(--nila-700); }
:focus-visible { outline: 2px solid var(--nila-700); outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 12px; }
h1 { font-size: 28px; line-height: 36px; font-weight: 700; }
h2 { font-size: 24px; line-height: 32px; font-weight: 700; margin-bottom: 24px; }
h3 { font-size: 17px; line-height: 26px; font-weight: 600; }
p { margin: 0 0 16px; }
.lead { color: var(--abu); max-width: 72ch; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header / footer */
.site-header { background: var(--permukaan); border-bottom: 1px solid var(--garis); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 34px; width: auto; }
.brand-small img { height: 25px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.nav a { color: var(--arang); text-decoration: none; padding: 8px 0; font-size: 13px; font-weight: 500; }
.nav a:hover { color: var(--nila-700); }
.site-footer { border-top: 1px solid var(--garis); padding: 24px 0; color: var(--abu); font-size: 13px; }
.site-footer p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 20px; border-radius: 6px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: opacity 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.btn-primary { background: var(--nila-700); color: var(--permukaan); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border: 1px solid var(--garis); color: var(--nila-700); background: var(--permukaan); }
.btn-ghost:hover { border-color: var(--nila-700); }
.btn-small { min-height: 36px; padding: 0 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nav { align-items: center; }
.nav a.btn { color: var(--permukaan); padding: 0 14px; }
.nav a.btn:hover { color: var(--permukaan); opacity: 0.9; }
.btn-disabled { border: 1px solid var(--garis); color: var(--abu); cursor: not-allowed; }

/* Sections */
.section { padding: 48px 0; border-top: 1px solid var(--garis); }
.section.alt { background: var(--permukaan); }
.cta { text-align: left; }
.empty { color: var(--abu); }

/* Hero */
.hero { padding: 48px 0; }
.hero-grid { display: grid; gap: 32px; align-items: center; }

.rail-demo {
  margin: 0; padding: 24px; border: 1px solid var(--garis); border-radius: 10px;
  background: var(--permukaan);
}
.prompt { background: var(--nila-50); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 15px; }
.rail { list-style: none; margin: 0 0 16px; padding: 0; }
.rail li { position: relative; display: flex; align-items: center; gap: 12px; padding: 4px 0; color: var(--abu); font-size: 13px; }
.rail li + li::before {
  content: ''; position: absolute; left: 4px; top: -12px; height: 16px; width: 1px; background: var(--garis);
}
.rail .dot { width: 9px; height: 9px; border-radius: 9999px; background: var(--abu); flex: none; }
.rail .done { color: var(--arang); }
.rail .done .dot { background: var(--daun); width: 7px; height: 7px; margin: 1px; }
.rail .active { color: var(--arang); font-weight: 600; }
.rail .active::before { background: var(--kunyit); }
.rail .active .dot { background: var(--kunyit); animation: pulse 1.2s ease-in-out infinite alternate; }
.rail .running { color: var(--abu); font-weight: 400; font-size: 12px; }
.url { margin: 0; color: var(--abu); font-size: 13px; }

/* "berjalan" is only needed once the pulse is turned off. */
.running { display: none; }

@keyframes pulse { from { opacity: 1; } to { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) {
  .rail .active .dot { animation: none; }
  .running { display: inline; }
}

/* Mascot (landing.mascot): a baby robot whose rounded box head is six CSS 3D faces. Colours mix the page's tokens, so no hex here.
   --ex and --ey (-1..1) point the head and eyes at the cursor; home.blade.php sets them and adds the antic classes (do-hop, do-wiggle,
   do-peek, do-spin, is-happy). */
.hero-visual { display: flex; flex-direction: column; }
.mascot {
  --m: 104px; --lamp: var(--nila-700); --ex: 0; --ey: 0;
  --tint: color-mix(in srgb, var(--nila-700) 9%, var(--permukaan));
  --tint-side: color-mix(in srgb, var(--nila-700) 26%, var(--permukaan));
  --tint-top: color-mix(in srgb, var(--nila-700) 16%, var(--permukaan));
  --edge: color-mix(in srgb, var(--nila-700) 45%, var(--permukaan));
  position: relative; width: var(--m); height: calc(var(--m) * 1.4); margin: 0 auto 20px;
  perspective: calc(var(--m) * 5); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
}
.mascot[data-state="working"] { --lamp: var(--kunyit); }
.mascot[data-state="online"], .mascot.is-happy { --lamp: var(--daun); }
@media (min-width: 768px) { .mascot { --m: 120px; } }

.bot { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 100%; animation: float 3.2s ease-in-out infinite alternate; }
/* The head turns toward the cursor; the small lean of the whole body makes it read as "menengok", not a swivel. */
.turn {
  position: absolute; left: 0; top: 0; width: var(--m); height: calc(var(--m) * 1.2); transform-style: preserve-3d;
  transform: rotateY(calc(var(--ex) * 28deg)) rotateX(calc(var(--ey) * -16deg)) rotateZ(calc(var(--ex) * 4deg));
  transition: transform 420ms cubic-bezier(.3, 1.4, .5, 1);
}
.antenna { position: absolute; left: 50%; top: 0; width: 3px; height: calc(var(--m) * 0.2); margin-left: -1.5px; background: var(--edge); transform-origin: 50% 100%; animation: bob 3.2s ease-in-out infinite alternate; }
.tip { position: absolute; top: -8px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 9999px; background: var(--lamp); box-shadow: 0 0 0 3px var(--permukaan); transition: background-color 300ms ease; }
.mascot[data-state="working"] .tip { animation: blink 1.4s ease-in-out infinite; }

.cube {
  position: absolute; left: 0; top: calc(var(--m) * 0.2); width: var(--m); height: var(--m);
  transform-style: preserve-3d; transform: rotateX(-4deg) rotateY(-10deg);
}
.face { position: absolute; inset: 0; border: 2px solid var(--edge); border-radius: calc(var(--m) * 0.3); background: var(--tint-side); }
.front { transform: translateZ(calc(var(--m) / 2)); background: var(--tint); }
.back { transform: rotateY(180deg) translateZ(calc(var(--m) / 2)); }
.right { transform: rotateY(90deg) translateZ(calc(var(--m) / 2)); }
.left { transform: rotateY(-90deg) translateZ(calc(var(--m) / 2)); }
.top { transform: rotateX(90deg) translateZ(calc(var(--m) / 2)); background: var(--tint-top); }
.bottom { transform: rotateX(-90deg) translateZ(calc(var(--m) / 2)); }

/* Eyes: a white socket with a dark pupil. The pupil slides toward the cursor inside the socket (--ex, --ey), so the look is visible. */
.eyes { position: absolute; left: 0; right: 0; top: 34%; display: flex; justify-content: center; gap: calc(var(--m) * 0.2); }
.eye {
  position: relative; display: block; width: calc(var(--m) * 0.2); height: calc(var(--m) * 0.25); border-radius: 50%;
  background: var(--permukaan); border: 2px solid var(--edge); overflow: hidden; animation: blink 4.5s ease-in-out infinite;
  transition: height 200ms ease, border-radius 200ms ease, background-color 300ms ease;
}
.pupil {
  position: absolute; left: 50%; top: 56%; width: calc(var(--m) * 0.14); height: calc(var(--m) * 0.14); border-radius: 50%;
  margin: calc(var(--m) * -0.07) 0 0 calc(var(--m) * -0.07); background: color-mix(in srgb, var(--lamp) 55%, black); /* dark in both themes */
  transform: translate(calc(var(--ex) * var(--m) * 0.045), calc(var(--ey) * var(--m) * 0.035));
  transition: transform 140ms ease-out, background-color 300ms ease;
}
.pupil::after { content: ''; position: absolute; top: 16%; left: 20%; width: 34%; height: 30%; border-radius: 50%; background: var(--permukaan); }
.mascot[data-state="working"] .eye { animation-duration: 1.4s; }
/* Happy: the eyes close into little arches (^ ^) and the pupils hide */
.mascot[data-state="online"] .eye, .mascot.is-happy .eye {
  height: calc(var(--m) * 0.11); background: transparent; border: 3px solid var(--lamp); border-bottom: 0; border-radius: 9999px 9999px 0 0; animation: none;
}
.mascot[data-state="online"] .pupil, .mascot.is-happy .pupil { display: none; }

.cheek { position: absolute; top: 60%; width: calc(var(--m) * 0.16); height: calc(var(--m) * 0.08); border-radius: 50%; background: var(--pipi); opacity: 0.9; }
.cheek-l { left: 12%; }
.cheek-r { right: 12%; }
.mouth {
  position: absolute; left: 50%; top: 64%; width: calc(var(--m) * 0.14); height: calc(var(--m) * 0.07); margin-left: calc(var(--m) * -0.07);
  border: 3px solid var(--edge); border-top: 0; border-radius: 0 0 9999px 9999px; transition: all 200ms ease;
}
/* Working: a small round "o", concentrating. Online or happy: a wide grin. */
.mascot[data-state="working"] .mouth { width: calc(var(--m) * 0.08); height: calc(var(--m) * 0.08); margin-left: calc(var(--m) * -0.04); border-top: 3px solid var(--edge); border-radius: 50%; }
.mascot[data-state="online"] .mouth, .mascot.is-happy .mouth { width: calc(var(--m) * 0.3); height: calc(var(--m) * 0.14); margin-left: calc(var(--m) * -0.15); background: color-mix(in srgb, var(--edge) 50%, var(--permukaan)); }

.foot { position: absolute; bottom: calc(var(--m) * 0.07); width: calc(var(--m) * 0.22); height: calc(var(--m) * 0.11); border-radius: 9999px; background: var(--tint-side); border: 2px solid var(--edge); }
.foot-l { left: calc(var(--m) * 0.2); }
.foot-r { right: calc(var(--m) * 0.2); }
.shadow { position: absolute; left: 15%; right: 15%; bottom: 0; height: calc(var(--m) * 0.08); border-radius: 50%; background: var(--arang); opacity: 0.12; transform: translateZ(-1px); animation: shade 3.2s ease-in-out infinite alternate; }

/* Antics: picked at random by the script, one at a time. Each starts from the pose the cursor gave, so it never snaps. */
.mascot.do-hop .bot { animation: hop 900ms cubic-bezier(.3, 0, .2, 1) 1; }
.mascot.do-hop .shadow { animation: shade-hop 900ms ease 1; }
.mascot.do-wiggle .turn { animation: wiggle 700ms ease-in-out 1; }
.mascot.do-peek .turn { animation: peek 1600ms ease-in-out 1; }
.mascot.do-spin .turn { animation: spin 1100ms cubic-bezier(.4, 0, .2, 1) 1; }
.mascot.do-hop .antenna { animation: antenna-hop 900ms ease 1; }

@keyframes float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes bob { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes shade { from { transform: scaleX(1); opacity: 0.12; } to { transform: scaleX(0.9); opacity: 0.08; } }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
/* squash, jump, stretch, land with a little bounce */
@keyframes hop {
  0% { transform: translateY(0) scale(1, 1); }
  18% { transform: translateY(4px) scale(1.12, 0.86); }
  45% { transform: translateY(-34px) scale(0.94, 1.08); }
  70% { transform: translateY(0) scale(1.1, 0.9); }
  85% { transform: translateY(-5px) scale(1, 1); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes shade-hop { 0%, 100% { transform: scaleX(1); opacity: 0.12; } 45% { transform: scaleX(0.6); opacity: 0.05; } }
@keyframes antenna-hop { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(14deg); } 60% { transform: rotate(-12deg); } }
@keyframes wiggle { 0%, 100% { rotate: z 0deg; } 20% { rotate: z -10deg; } 45% { rotate: z 9deg; } 70% { rotate: z -5deg; } }
@keyframes peek { 0%, 100% { rotate: y 0deg; } 25%, 60% { rotate: y 40deg; } 75% { rotate: y -8deg; } }
@keyframes spin { from { rotate: y 0deg; } to { rotate: y 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .bot, .antenna, .shadow, .eye, .tip, .mascot.do-hop .bot, .mascot.do-wiggle .turn, .mascot.do-peek .turn, .mascot.do-spin .turn { animation: none; }
}

/* Header: sticks to the top and tightens once the page scrolls */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease; }
.site-header .bar { transition: min-height 250ms ease; }
.site-header .brand img { transition: height 250ms ease; }
.site-header.scrolled { background: color-mix(in srgb, var(--permukaan) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--garis); border-bottom-color: transparent; }
.site-header.scrolled .bar { min-height: 48px; }
.site-header.scrolled .brand img { height: 28px; }

/* Scroll reveal: sections and cards rise in as they enter the view. Without JS, or with reduced motion, everything is simply shown. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.features > [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.features > [data-reveal]:nth-child(3) { transition-delay: 240ms; }
.features > [data-reveal]:nth-child(4) { transition-delay: 360ms; }
.steps > [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.steps > [data-reveal]:nth-child(3) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .site-header, .site-header .bar, .site-header .brand img { transition: none; }
}

/* Features */
.features { display: grid; gap: 24px; }
.features p { color: var(--abu); max-width: 72ch; margin: 0; }

/* Plans */
.plans { display: grid; gap: 16px; }
.plan { border: 1px solid var(--garis); border-radius: 10px; padding: 24px; background: var(--permukaan); display: flex; flex-direction: column; gap: 12px; }
.plan h3 { margin: 0; }
.plan .price { font-size: 20px; line-height: 28px; font-weight: 700; margin: 0; }
.plan .price span { font-size: 13px; font-weight: 400; color: var(--abu); }
.plan ul { margin: 0; padding-left: 20px; color: var(--abu); flex: 1; }

/* FAQ */
details { border-bottom: 1px solid var(--garis); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 40px; display: flex; align-items: center; }
details p { color: var(--abu); margin: 8px 0 0; max-width: 72ch; }

@media (min-width: 768px) {
  h1 { font-size: 48px; line-height: 56px; }
  h2 { font-size: 28px; line-height: 36px; margin-bottom: 28px; }
  .section { padding: 64px 0; }
  .hero { padding: 88px 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* Legal pages (F-68) */
.site-footer a { color: inherit; }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links a:hover { color: var(--nila-700); }
.legal h1 { margin-bottom: 4px; }
.legal .meta { color: var(--abu); font-size: 14px; margin: 0 0 24px; }
.legal section { margin-top: 32px; scroll-margin-top: 80px; }
.legal h2 { font-size: 20px; margin: 0 0 10px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--nila-700); text-decoration: underline; text-underline-offset: 2px; }
.legal .summary { background: var(--nila-50); border: 1px solid var(--garis); border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; }
.legal .summary h2 { font-size: 16px; margin-bottom: 8px; }
.legal .summary p { margin: 8px 0 0; color: var(--abu); font-size: 14px; }
.legal .toc { margin-bottom: 8px; }
.legal .toc ol { columns: 2; column-gap: 32px; margin: 0; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal .who { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; }
.legal .who dt { color: var(--abu); }
.legal .who dd { margin: 0; }
.legal table.plain { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.legal table.plain th, .legal table.plain td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--garis); }
.legal table.plain th { color: var(--abu); font-weight: 600; }
@media (max-width: 600px) { .legal table.plain { display: block; overflow-x: auto; } }

/* "Cara kerjanya": three numbered steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 40px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--permukaan); border: 1px solid var(--garis); border-radius: 12px; padding: 16px 18px; line-height: 1.6; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nila-700); color: var(--permukaan); font-weight: 700; margin-bottom: 8px; }
.steps strong { display: block; margin-bottom: 4px; }

/* Plan cards: the extra feature list opens with "Lihat lainnya" */
.plan ul.more { flex: 0 0 auto; margin-top: -4px; }
.plan ul.more[hidden], .plan .more-toggle[hidden] { display: none; }
.plan ul.more li { margin-bottom: 4px; }
.plan .more-toggle { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--nila-700); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.plan .more-toggle:focus-visible { outline: 2px solid var(--nila-700); outline-offset: 2px; border-radius: 4px; }
.plan ul { flex: 0 0 auto; }
.plan > .btn { margin-top: auto; }

/* Running discount on a plan: struck-through normal price, then the price to pay, plus how much is saved. */
/* Price comparison under the cards: scrolls sideways on a phone instead of breaking the layout. */
.compare-wrap { overflow-x: auto; margin-top: 32px; border-bottom: 0; }
.compare-wrap > summary { cursor: pointer; font-size: 16px; font-weight: 700; color: var(--nila-700); padding: 8px 0; min-height: 40px; display: flex; align-items: center; }
.compare-wrap[open] > summary { margin-bottom: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.compare th, .compare td { border-top: 1px solid var(--garis); padding: 10px 12px; text-align: left; vertical-align: top; }
.compare thead th { border-top: 0; border-bottom: 1px solid var(--garis); color: var(--arang); }
.compare tbody th { font-weight: 500; color: var(--abu); width: 34%; }
.compare .was { color: var(--abu); margin-right: 6px; }
.partner-contact { margin: 24px 0 16px; color: var(--abu); }
.compare-note { margin: 12px 0 0; color: var(--abu); font-size: 13px; }
.plan .deal { margin: 0; font-size: 13px; color: var(--abu); }
.plan .deal .save { display: inline-block; padding: 2px 8px; border: 1px solid var(--daun); border-radius: 999px; font-weight: 700; color: var(--daun); }
.plan .was { margin: 0 0 -8px; color: var(--abu); font-size: 14px; }

/* "Contoh yang bisa kamu minta" */
.examples { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 1040px) { .examples { grid-template-columns: repeat(4, 1fr); } }
.example { position: relative; background: var(--permukaan); border: 1px solid var(--garis); border-radius: 14px; padding: 24px 22px 22px; display: flex; flex-direction: column; overflow: hidden; }
.example::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--nila-700), color-mix(in srgb, var(--nila-700) 35%, var(--permukaan))); }
.example h3 { margin: 0 0 14px; font-size: 18px; line-height: 26px; }
/* The visitor's words read like a chat bubble; the result sits below as a short list. */
.example .prompt { position: relative; margin: 0 0 16px; background: var(--nila-50); border-radius: 12px 12px 12px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: var(--arang); }
.example .who { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--nila-700); }
.example .result-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--arang); }
.example ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--abu); font-size: 14px; line-height: 1.5; }
.example li { position: relative; margin: 0; padding-left: 18px; }
.example li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--nila-700); opacity: 0.7; }
.example ul { margin: 0; padding-left: 20px; color: var(--abu); }
.example li { margin-bottom: 4px; }

/* Hero: the rail plays through one request, ending on the live address (design-system-ui §6). */
.hero .lead { font-size: 16px; line-height: 26px; }
.rail li { transition: color 150ms ease; }
.rail .dot { transition: background-color 150ms ease; }
.url { display: flex; align-items: center; gap: 8px; transition: color 150ms ease; }
.live-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--garis); flex: none; transition: background-color 150ms ease; }
.live-label { display: none; }
.is-live .url { color: var(--arang); }
.is-live .live-dot { background: var(--daun); }
.is-live .live-label { display: inline; color: var(--daun); font-weight: 500; }

/* Cards respond to the pointer; plan cards keep their price rows level; one plan can be flagged */
.example, .plan, .steps li { transition: border-color 150ms ease; }
.example:hover, .plan:hover, .steps li:hover { border-color: var(--nila-700); }
.example { transition: border-color 150ms ease, transform 200ms ease; }
.example:hover { transform: translateY(-3px); }
.example h3 { margin: 0 0 12px; }
.example .prompt { margin: 0 0 12px; }
/* Stacked cards need no spare row; side by side they keep their prices level. */
@media (min-width: 768px) { .plans.has-deal .deal-box { min-height: 64px; } }
.deal-box { display: flex; flex-direction: column; gap: 4px; }
.plans:not(.has-deal) .deal-box { display: none; }
.plan .was { margin: 0; }
.plan.featured { border-color: var(--nila-700); }
.plan h3 { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.plan .pick { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--nila-50); color: var(--nila-700); font-size: 12px; font-weight: 600; }

/* FAQ: the first answer opens with a short fade; the rest can be folded */
details[open] > p { animation: fade-in 150ms ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.faq-more[hidden], .faq-toggle[hidden] { display: none; }
.faq-toggle { margin-top: 16px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--nila-700); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.faq-toggle:focus-visible { outline: 2px solid var(--nila-700); outline-offset: 2px; border-radius: 4px; }

/* Anchors glide to their section, and stop calmly when the visitor asked for no motion */
.section, section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  details[open] > p { animation: none; }
  .btn, .example, .plan, .steps li, .rail li, .rail .dot, .live-dot, .url { transition: none; }
  .example:hover { transform: none; }
}

/* Decoration (home): dot grid and circuit lines behind the hero, rings behind the closing call to action. Never carries meaning, never gets in the way. */
.hero, .section.cta { position: relative; overflow: hidden; }
.hero > .wrap, .section.cta > .wrap { position: relative; z-index: 1; }
.hero-pattern, .cta-pattern { position: absolute; pointer-events: none; }
.hero-pattern { inset: 0; width: 100%; height: 100%; }
.hero-pattern .p-dot { fill: var(--nila-700); opacity: 0.28; }
/* Motif behind "Contoh yang bisa kamu minta": the hero's language, quieter, plus sparks for new ideas. Tokens only. */
.contoh { position: relative; overflow: hidden; }
.contoh > .wrap { position: relative; z-index: 1; }
.examples-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.examples-pattern .p-dot { fill: var(--nila-700); opacity: 0.16; }
.examples-pattern .p-line { stroke: var(--garis); }
.examples-pattern .p-node { fill: var(--nila-700); opacity: 0.4; }
.examples-pattern .spark { fill: var(--nila-700); opacity: 0.6; }
@media (max-width: 767px) { .examples-pattern .p-line, .examples-pattern .p-node { display: none; } }
.hero-pattern .p-line { stroke: var(--garis); }
.hero-pattern .p-node { fill: var(--nila-700); opacity: 0.55; }
.cta-pattern { top: 0; right: 0; height: 100%; width: auto; max-width: 60%; opacity: 0.7; }
.cta-pattern .p-ring { stroke: var(--garis); }
@media (max-width: 767px) { .hero-pattern .p-line, .hero-pattern .p-node { display: none; } .cta-pattern { opacity: 0.35; } }
