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

:root {
  /* fixed inks */
  --navy: #0B2545;
  --deep: #071A33;
  --navy-2: #123A63;
  --laut: #1E5878;
  --teal: #4A93A6;
  --langit: #D5E6E8;
  --jingga: #E0703A;
  --kuning: #EFC15A;
  --awan: #EEF1EE;
  --on-navy-soft: #B9CDD9;

  /* theme roles: these flip in dark mode */
  --ink: var(--navy);
  --page: var(--awan);
  --page-2: #E1E8E6;
  --page-3: var(--langit);
  --page-real: var(--page);
  --ink-soft: #3A526F;
  --shade: #D2DDDF;
  --rule: var(--navy);
  --link: var(--laut);
  --field: #fff;
  --dim: 0;

  --font: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.125rem, 4.5vw, 3.5rem);
  --wrap: 1200px;
  --nav-h: 60px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #E6ECEA;
  --page: #0A1B30;
  --page-2: #0E233D;
  --page-3: #122E4B;
  --ink-soft: #A9BDCB;
  --shade: #1C3654;
  --rule: #3B5673;
  --link: #8CC4D6;
  --field: #0C2038;
  --dim: .3;
}

/* Blocks that are dark in both themes keep the light-theme meaning of ink and page. */
.journey, .foot, .fare-card, .sec--laut, .sec--navy, .btn, .skip {
  --ink: var(--navy);
  --page: var(--awan);
}

@media (min-width: 900px) {
  :root { --nav-h: 70px; }
}

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

html {
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: var(--teal) var(--page);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  caret-color: var(--jingga);
  accent-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--kuning); color: var(--navy); }

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .band :focus-visible { outline-color: var(--kuning); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--page); padding: .7rem 1rem; border-radius: 10px;
}
.skip:focus { top: .6rem; }

main { overflow-x: clip; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.35rem;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.1;
  color: var(--ink); background: var(--jingga);
  border: 0; border-radius: 12px; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn:hover { background: var(--kuning); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(7, 26, 51, .55); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--navy { background: var(--ink); color: var(--page); }
.btn--navy:hover { background: var(--laut); }
.btn--navy { --ink: var(--navy); --page: var(--awan); }
[data-theme="dark"] .btn--navy { background: var(--awan); color: var(--navy); }
[data-theme="dark"] .btn--navy:hover { background: var(--kuning); }
.btn--small { min-height: 44px; padding: .55rem 1rem; font-size: .9375rem; border-radius: 10px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700;
  text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color .2s;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease-out); }
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------ top strip */
.top {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--page);
  border-bottom: 2px solid var(--rule);
}
.top-in { height: 100%; display: flex; align-items: center; gap: .5rem; }
@media (max-width: 459px) { .top .btn span { display: none; } .top .btn { width: 44px; padding: 0; } }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { display: block; height: 30px; width: auto; }
.menu { display: none; }
.menu a {
  display: block; padding: .5rem .1rem; font-weight: 600; font-size: .975rem;
  text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--jingga); }
.menu-btn, .theme-btn {
  display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0;
  color: var(--ink); background: none; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
}
.menu-btn svg, .theme-btn svg { width: 22px; height: 22px; }
.lang-btn {
  display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px;
  font-weight: 800; font-size: .875rem; letter-spacing: .02em; text-decoration: none;
  color: var(--ink); border: 2px solid var(--ink); border-radius: 10px;
}
.theme-btn, .lang-btn { transition: background-color .2s, color .2s; }
.lang-btn:hover { background: var(--ink); color: var(--page); }
.theme-btn:hover { background: var(--ink); color: var(--page); }
.theme-btn .sun, [data-theme="dark"] .theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: block; }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }

.top .menu.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--page); border-bottom: 2px solid var(--rule);
  padding: .5rem var(--gutter) 1rem;
}
.top .menu.is-open a { padding: .85rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--shade); }

@media (min-width: 900px) {
  .brand img { height: 42px; }
  .menu, .top .menu.is-open {
    display: flex; position: static; gap: clamp(1rem, 2.2vw, 2rem);
    padding: 0; border: 0; background: none; margin-right: clamp(.5rem, 2vw, 2rem);
  }
  .top .menu.is-open a { padding: .5rem .1rem; font-size: .975rem; border-bottom: 2px solid transparent; }
  .menu-btn { display: none; }
  .top-in { gap: .75rem; }
}

/* ------------------------------------------------------------ journey: static fallback first */
.journey { background: var(--ink); color: var(--page); }
.scene, .rail, .hint { display: none; }

.beat { display: grid; gap: 1.5rem; padding: clamp(2rem, 6vw, 4rem) var(--gutter); max-width: var(--wrap); margin-inline: auto; }
.still { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--teal); }
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still--train { background: var(--langit); }
.still--train .still-train { inset: auto; left: -150%; top: 30%; width: 268.75%; max-width: none; height: auto; object-fit: fill; }

.beat-title { font-size: clamp(1.9rem, 7.4vw, 3.4rem); }
.beat-title em { font-style: normal; color: var(--kuning); }
.nb { white-space: nowrap; }
.beat-text { color: var(--on-navy-soft); max-width: 46ch; }
.beat-copy { display: grid; gap: .9rem; align-content: start; justify-items: start; }

.routes { display: flex; flex-wrap: wrap; gap: .4rem; }
.routes li {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .7rem; font-size: .875rem; font-weight: 600; line-height: 1.3;
  border: 1.5px solid rgba(243, 246, 244, .34); border-radius: 999px;
}
.routes svg { width: .95em; height: .95em; color: var(--kuning); }

.fare-line { font-size: .9375rem; color: var(--on-navy-soft); font-variant-numeric: tabular-nums; }
.fare-line s { text-decoration-thickness: 1.5px; }
.fare-line strong { color: var(--kuning); font-weight: 800; font-size: 1.125rem; }

.beat-note { font-size: .875rem; color: var(--on-navy-soft); }
.beat-action { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }

@media (min-width: 900px) {
  .beat { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3.5rem; }
}

/* ------------------------------------------------------------ journey: live (scroll-driven) */
.motion .journey { height: 640vh; height: 640svh; position: relative; }
.motion .stage {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  overflow: hidden; background: var(--ink);
  --band-h: clamp(292px, 48svh, 400px);
}
.motion .scene {
  display: block; position: absolute; inset: 0 0 var(--band-h) 0;
  overflow: hidden; container-type: size; isolation: isolate;
  background: var(--teal);
  --lw: max(100cqw, 160cqh);
}
.layer {
  position: absolute; left: 50%; top: 50%;
  width: var(--lw); height: calc(var(--lw) * .625);
  margin: calc(var(--lw) * -.3125) 0 0 calc(var(--lw) * -.5);
  will-change: transform, opacity; backface-visibility: hidden;
}
.layer img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.wipe { position: absolute; inset: 0 -40%; overflow: hidden; will-change: transform; visibility: hidden; }
.wipe-in { position: absolute; inset: 0; will-change: transform; }
.train {
  position: absolute; left: 50%; top: calc(50% - var(--lw) * .125);
  width: calc(var(--lw) * 2.6875); height: calc(var(--lw) * .325);
  transform-origin: 0 calc(var(--lw) * .125);
  will-change: transform, opacity; visibility: hidden;
}
.train img { display: block; width: 100%; height: 100%; max-width: none; }
.train .train-glass { position: absolute; left: 57.2093%; top: 24.0385%; width: 5.5814%; height: 28.8462%; }

.scene::after, .still::after, .soon-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--deep); opacity: var(--dim); transition: opacity .4s;
}
.motion .hint {
  z-index: 2; display: inline-flex; align-items: center; gap: .5rem;
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  padding: .45rem .9rem; font-size: .875rem; font-weight: 600; white-space: nowrap;
  color: var(--ink); background: var(--page); border-radius: 999px;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.hint svg { width: 1em; height: 1em; animation: nudge 1.6s var(--ease-out) infinite; }
.hint.is-off { opacity: 0; transform: translate(-50%, 10px); pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

.motion .band {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--band-h);
  background: var(--ink); border-top: 2px solid var(--deep);
}
.motion .rail {
  display: flex; align-items: center; gap: 1rem; height: 46px;
  padding: 0 var(--gutter); border-bottom: 1px solid rgba(243, 246, 244, .16);
}
.rail-track { flex: 1; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: .5rem; max-width: 420px; }
.rail-stop {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0;
  font: inherit; font-size: .875rem; font-weight: 700; color: var(--on-navy-soft);
  background: none; border: 0; cursor: pointer; transition: color .25s;
}
.rail-stop svg { width: 18px; height: 18px; }
.rail-stop.is-on, .rail-stop:hover { color: var(--kuning); }
.rail-seg { height: 2px; background: rgba(243, 246, 244, .22); overflow: hidden; border-radius: 2px; }
.rail-seg i { display: block; height: 100%; background: var(--kuning); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.rail-skip { margin-left: auto; font-size: .8125rem; font-weight: 600; color: var(--on-navy-soft); text-decoration: underline; white-space: nowrap; }
.rail-skip:hover { color: var(--page); }

.motion .beats { position: relative; height: calc(100% - 46px); }
.motion .beat {
  position: absolute; inset: 0; display: block; max-width: none; margin: 0;
  padding: .9rem var(--gutter) 1rem;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .28s, transform .5s var(--ease-out), visibility 0s .28s;
}
.motion .beat.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s .14s, transform .6s var(--ease-out) .14s, visibility 0s; }
.motion .still { display: none; }
.motion .beat-copy { height: 100%; gap: .6rem; align-content: center; }
.motion .beat-title { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
.motion .beat-text { font-size: .9375rem; line-height: 1.45; }
.motion .beat-action { margin-top: .15rem; }

@media (max-height: 700px) and (max-width: 899px) {
  .motion .routes, .motion .beat-note { display: none; }
}

@media (min-width: 900px) {
  .motion .scene { inset: 0; }
  .motion .band {
    left: var(--gutter); right: auto; bottom: clamp(1.25rem, 4svh, 2.5rem);
    width: min(430px, 32vw); height: auto;
    border: 0; border-radius: 20px;
    box-shadow: 0 30px 60px -28px rgba(7, 26, 51, .7);
  }
  .motion .rail { padding: 0 1.75rem; height: 50px; }
  .motion .beats { height: clamp(330px, 46svh, 380px); }
  .motion .beat { padding: 1.25rem 1.75rem 1.5rem; }
  .motion .beat-copy { gap: .8rem; }
  .motion .beat-title { font-size: clamp(1.9rem, 2.7vw, 2.5rem); }
  .motion .beat-text { font-size: 1rem; line-height: 1.5; }
  .motion .hint { bottom: 1.5rem; }
}

/* ------------------------------------------------------------ sections */
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); }
.sec-title { font-size: clamp(2.2rem, 6.2vw, 4.25rem); }
.sec-lead { margin-top: 1.1rem; max-width: 44ch; font-size: 1.125rem; color: var(--ink-soft); }
.sec-head { margin-bottom: clamp(2.25rem, 5vw, 4rem); }

/* why + fare example */
.why-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.fare { max-width: 440px; }
.fare-card {
  position: relative; padding: 1.6rem 1.5rem 1.5rem; color: var(--page); background: var(--ink);
  border-radius: 20px; --tilt: -2deg; transform: rotate(-2deg);
  box-shadow: 0 34px 50px -30px rgba(11, 37, 69, .65);
}
.fare-tag { display: inline-block; padding: .2rem .65rem; font-size: .8125rem; font-weight: 700; color: var(--ink); background: var(--kuning); border-radius: 999px; }
.fare-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; margin-top: 1.1rem; }
.fare-code { font-size: clamp(2.6rem, 11vw, 3.6rem); }
.fare-city { display: block; margin-top: .3rem; font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--on-navy-soft); font-stretch: 100%; }
.fare-path { display: flex; align-items: center; gap: .4rem; color: var(--kuning); }
.fare-path::before, .fare-path::after { content: ""; flex: 1; border-top: 2px dashed rgba(243, 246, 244, .4); }
.fare-path svg { width: 30px; height: 30px; }
.fare-tear { position: relative; margin: 1.4rem -1.5rem 1.2rem; border-top: 2px dashed rgba(243, 246, 244, .35); }
.fare-tear::before, .fare-tear::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--page-real);
}
.fare-tear::before { left: -12px; }
.fare-tear::after { right: -12px; }
.fare-rows { display: grid; gap: .55rem; font-variant-numeric: tabular-nums; }
.fare-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.fare-rows dt { color: var(--on-navy-soft); font-size: .95rem; }
.fare-rows dd { font-weight: 700; }
.fare-rows .is-old dd { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--on-navy-soft); }
.fare-rows .is-new dt { color: var(--page); font-weight: 600; }
.fare-rows .is-new dd { font-size: clamp(1.9rem, 8vw, 2.5rem); color: var(--kuning); font-weight: 800; font-stretch: 80%; line-height: 1; }
.fare-save { margin-top: 1.1rem; padding: .7rem 1rem; font-weight: 700; text-align: center; color: var(--ink); background: var(--jingga); border-radius: 12px; font-variant-numeric: tabular-nums; }
.fare-foot { margin-top: 1.5rem; font-size: .875rem; color: var(--ink-soft); max-width: 40ch; }

.reasons > div { padding-block: 1.5rem; border-top: 2px solid var(--rule); }
.reasons > div:last-child { border-bottom: 2px solid var(--rule); }
.reasons dt { font-size: clamp(1.5rem, 4vw, 2rem); }
.reasons dd { margin-top: .5rem; max-width: 52ch; color: var(--ink-soft); }

@media (min-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; }
  .fare { position: sticky; top: calc(var(--nav-h) + 2.5rem); justify-self: center; }
}

/* how to order */
.sec--alt { background: var(--page-2); }
.steps { display: grid; gap: 0; counter-reset: step; }
.steps > li { position: relative; display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 1rem; padding-bottom: 2rem; counter-increment: step; }
.steps > li::before {
  content: counter(step); grid-row: 1 / span 2;
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  font-weight: 800; font-stretch: 80%; font-size: 1.6rem; line-height: 1;
  color: var(--navy); background: var(--kuning); border-radius: 50%;
}
.steps > li::after { content: ""; position: absolute; left: calc(1.625rem - 1px); top: 3.25rem; bottom: 0; width: 2px; background: var(--ink); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.5rem; align-self: end; padding-top: .35rem; }
.steps .step-body { grid-column: 2; margin-top: .4rem; max-width: 40ch; }

.bank {
  --ink: var(--navy); --page: var(--awan);
  display: grid; gap: 1.5rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding: clamp(1.4rem, 4vw, 2.25rem);
  color: var(--awan); background: var(--navy); border-radius: 20px;
  box-shadow: 0 34px 50px -34px rgba(11, 37, 69, .7);
}
.bank-id { display: flex; align-items: center; gap: .9rem; }
.bank-logo { display: grid; place-items: center; flex: none; width: 84px; height: 56px; background: #fff; border-radius: 12px; }
.bank-logo img { width: 62px; height: auto; }
.bank-id b { display: block; font-size: 1.25rem; line-height: 1.2; }
.bank-id div span, .bank-label { font-size: .875rem; color: var(--on-navy-soft); }
.bank-label { display: block; margin-bottom: .35rem; }
.bank-no { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; }
.bank-no b { font-size: clamp(2.3rem, 10vw, 3.4rem); color: var(--kuning); letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bank-name { display: block; margin-top: .6rem; font-size: 1rem; color: var(--on-navy-soft); }
.bank-name b { color: var(--awan); }
.bank-notes { display: grid; gap: .6rem; padding-top: 1.25rem; border-top: 2px dashed rgba(238, 241, 238, .3); font-size: .9375rem; color: var(--on-navy-soft); }
.bank-notes li { display: grid; grid-template-columns: .55rem 1fr; gap: .7rem; align-items: start; }
.bank-notes li::before { content: ""; width: .55rem; height: .55rem; margin-top: .5em; background: var(--jingga); border-radius: 50%; }
.bank .copy-btn { color: var(--awan); border-color: var(--awan); min-height: 44px; padding: .45rem 1rem; font-size: .9375rem; }
.bank .copy-btn:hover, .bank .copy-btn.is-done { background: var(--kuning); border-color: var(--kuning); color: var(--navy); }
@media (min-width: 900px) {
  .bank { grid-template-columns: auto minmax(0, 1fr) minmax(0, 17rem); align-items: center; gap: 2.5rem; }
  .bank-id { flex-direction: column; align-items: flex-start; }
  .bank-notes { padding: 0 0 0 2rem; border-top: 0; border-left: 1px dashed rgba(238, 241, 238, .3); align-self: stretch; align-content: center; }
}
.copy-btn {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .3rem .7rem;
  font: inherit; font-size: .8125rem; font-weight: 700; color: var(--ink);
  background: none; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.copy-btn:hover, .copy-btn.is-done { background: var(--ink); color: var(--page); }
.copy-btn svg { width: 14px; height: 14px; }
.steps-cta { margin-top: 2rem; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0 2rem; }
  .steps > li { display: block; padding: 0; }
  .steps > li::before { margin-bottom: 1.25rem; }
  .steps > li::after { left: 3.25rem; right: -2rem; top: calc(1.625rem - 1px); bottom: auto; width: auto; height: 2px; }
  .steps h3 { padding-top: 0; }
}

/* testimonials */
.sec--langit { background: var(--page-3); }
.voices { display: grid; gap: 2.25rem; }
.voice blockquote {
  position: relative; padding: 1.4rem 1.5rem 1.5rem; background: var(--page); border-radius: 22px 22px 22px 4px;
  font-size: 1.125rem; line-height: 1.5;
}
.voice blockquote::after {
  content: ""; position: absolute; left: 0; bottom: -14px; width: 26px; height: 16px;
  background: var(--page); clip-path: polygon(0 0, 100% 0, 0 100%);
}
.voice figcaption { display: flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding-left: .25rem; font-weight: 700; }
.voice figcaption span { font-weight: 500; color: var(--ink-soft); }
.voice figcaption .stars { display: inline-flex; gap: 2px; margin-left: auto; color: var(--jingga); }
.stars svg { width: 16px; height: 16px; }

@media (min-width: 900px) {
  .voices { grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
  .voice:nth-child(2) { margin-top: 3rem; }
  .voice:nth-child(3) { margin-top: 1.25rem; }
}

/* coming soon: custom travel package */
.sec--laut { background: var(--laut); color: var(--page); }
.sec--laut .sec-title em { font-style: normal; color: var(--kuning); }
.sec--laut .sec-lead { color: var(--page); max-width: 50ch; }
.soon-grid { display: grid; gap: 3rem; }
.soon-stamp {
  display: inline-block; margin-bottom: 1.4rem; padding: .35rem .9rem;
  font-weight: 800; font-stretch: 80%; font-size: 1.125rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--kuning); border: 2px solid var(--kuning); border-radius: 8px; transform: rotate(-4deg);
}
.soon-steps { counter-reset: soon; display: grid; gap: .9rem; margin-top: 2rem; max-width: 50ch; }
.soon-steps li { counter-increment: soon; display: grid; grid-template-columns: 2.1rem 1fr; gap: .8rem; align-items: start; }
.soon-steps li::before {
  content: counter(soon); display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  font-weight: 800; color: var(--ink); background: var(--kuning); border-radius: 50%; line-height: 1;
}
.soon-action { display: grid; gap: .8rem; justify-items: start; margin-top: 2.25rem; }
.soon-action span { font-size: .9375rem; max-width: 40ch; }
.soon-stack { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.02; margin-inline: auto; }
.soon-card {
  position: absolute; width: 68%; aspect-ratio: 16 / 11; overflow: hidden;
  border: 6px solid var(--page); border-radius: 14px; background: var(--teal);
  box-shadow: 0 26px 40px -24px rgba(7, 26, 51, .8);
}
.soon-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon-card .soon-train { inset: auto; left: -150%; top: 30%; width: 268.75%; max-width: none; height: auto; object-fit: fill; }
.soon-card--a { left: 0; top: 0; --tilt: -6deg; transform: rotate(-6deg); }
.soon-card--b { right: 0; top: 27%; --tilt: 5deg; transform: rotate(5deg); background: var(--langit); }
.soon-card--c { left: 9%; bottom: 0; --tilt: -2deg; transform: rotate(-2deg); }
@media (min-width: 900px) {
  .soon-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 4rem; }
}

/* announcement that drops from the top strip */
.notice { --ink: var(--navy); --page: var(--awan); display: grid; grid-template-rows: 1fr; background: var(--kuning); color: var(--navy); }
.notice-clip { min-height: 0; overflow: hidden; }
.motion .notice { animation: notice-drop .8s var(--ease-out) .6s both; }
@keyframes notice-drop { from { grid-template-rows: 0fr; } to { grid-template-rows: 1fr; } }
.notice-in { display: flex; align-items: center; gap: .5rem 1rem; padding-block: .55rem; font-size: .9375rem; line-height: 1.35; }
.notice-in p { flex: 1; }
.notice-link { display: inline-flex; align-items: center; gap: .3rem; flex: none; font-weight: 800; white-space: nowrap; }
.notice-link svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease-out); }
.notice-link:hover svg { transform: translateX(4px); }
.notice-x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-right: -.5rem; padding: 0; color: var(--navy); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.notice-x:hover { background: rgba(11, 37, 69, .12); }
.notice-x svg { width: 18px; height: 18px; }
@media (max-width: 599px) {
  .notice-in { flex-wrap: wrap; }
  .notice-in p { flex-basis: calc(100% - 44px); order: 1; }
  .notice-x { order: 2; }
  .notice-link { order: 3; margin-top: -.15rem; padding-bottom: .15rem; }
}

/* AI Planner demo */
.planner { display: grid; gap: 2rem; margin-top: clamp(3.5rem, 8vw, 6rem); scroll-margin-top: calc(var(--nav-h) + 16px); }
.planner-title { font-size: clamp(1.9rem, 5vw, 3rem); }
.planner-title em { font-style: normal; color: var(--kuning); }
.planner-head > p { margin-top: 1rem; max-width: 44ch; }
.planner-io { display: grid; gap: 0; margin-top: 1.75rem; max-width: 46ch; }
.planner-io div { padding: .9rem 0; border-top: 1px solid rgba(238, 241, 238, .28); }
.planner-io dt { font-weight: 800; color: var(--kuning); }
.planner-io dd { margin-top: .15rem; }

.chat { display: flex; flex-direction: column; min-width: 0; background: var(--navy); border-radius: 20px; overflow: hidden; box-shadow: 0 34px 50px -30px rgba(7, 26, 51, .8); }
.chat-top { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem; border-bottom: 1px solid rgba(238, 241, 238, .14); }
.chat-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--kuning); }
.chat-badge { margin-left: auto; padding: .1rem .6rem; font-size: .75rem; font-weight: 700; color: var(--kuning); border: 1.5px solid var(--kuning); border-radius: 999px; }
.chat-log {
  position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem;
  min-height: 190px; max-height: min(64vh, 600px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-color: var(--navy-2) transparent;
}
.msg { max-width: 88%; padding: .7rem .95rem; font-size: .975rem; line-height: 1.45; border-radius: 16px; overflow-wrap: anywhere; }
.msg--ai { align-self: flex-start; background: var(--navy-2); border-bottom-left-radius: 4px; }
.msg--me { align-self: flex-end; color: var(--navy); background: var(--kuning); border-bottom-right-radius: 4px; font-weight: 500; }
.msg-link { font-weight: 800; color: var(--kuning); }
.msg--wait { display: inline-flex; gap: .3rem; padding: .95rem 1rem; }
.msg--wait i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--on-navy-soft); animation: wait 1.1s ease-in-out infinite; }
.msg--wait i:nth-child(2) { animation-delay: .15s; }
.msg--wait i:nth-child(3) { animation-delay: .3s; }
@keyframes wait { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1.1rem 1rem; }
.chat-chips button {
  padding: .45rem .8rem; font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.3; text-align: left;
  color: var(--awan); background: none; border: 1.5px solid rgba(238, 241, 238, .34); border-radius: 14px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chat-chips button:hover { color: var(--navy); background: var(--kuning); border-color: var(--kuning); }
.chat-bar { display: flex; align-items: flex-end; gap: .6rem; padding: .8rem; border-top: 1px solid rgba(238, 241, 238, .14); }
.chat-bar textarea {
  flex: 1; min-width: 0; min-height: 48px; max-height: 120px; padding: .7rem .85rem; resize: none;
  font: inherit; line-height: 1.4; color: var(--awan); background: rgba(238, 241, 238, .07);
  border: 2px solid rgba(238, 241, 238, .3); border-radius: 12px;
}
.chat-bar textarea::placeholder { color: var(--on-navy-soft); opacity: 1; }
.chat-bar textarea:focus-visible { outline: 3px solid var(--kuning); outline-offset: 2px; }
.chat-bar textarea:disabled { opacity: .6; }
.chat-send { flex: none; width: 48px; min-height: 48px; padding: 0; }
.chat-foot { display: flex; gap: 1rem; justify-content: space-between; padding: 0 1.1rem 1rem; font-size: .8125rem; line-height: 1.4; color: var(--on-navy-soft); }
.chat-count { flex: none; font-variant-numeric: tabular-nums; }

.plan { align-self: stretch; padding: 1.15rem; color: var(--navy); background: var(--awan); border-radius: 16px; }
.plan-tag { display: inline-block; padding: .1rem .6rem; font-size: .75rem; font-weight: 700; background: var(--kuning); border-radius: 999px; }
.plan-title { margin-top: .6rem; font-size: 1.6rem; }
.plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-top: .9rem; padding: .8rem .9rem; background: var(--langit); border-radius: 12px; }
.plan-facts dt { font-size: .75rem; font-weight: 600; color: #3A526F; }
.plan-facts dd { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.plan-sec { margin-top: 1.1rem; }
.plan-h { display: flex; align-items: center; gap: .45rem; font-size: 1rem; font-weight: 800; }
.plan-ic { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; color: var(--awan); background: var(--navy); border-radius: 50%; }
.plan-ic svg { width: 1rem; height: 1rem; }
.plan-list, .plan-days, .plan-tips { margin-top: .5rem; font-size: .9375rem; line-height: 1.45; }
.plan-list li, .plan-stay { display: grid; gap: .1rem; padding: .5rem 0; border-top: 1px solid #D2DDDF; }
.plan-stay { margin-top: .5rem; font-size: .9375rem; line-height: 1.45; }
.plan-list span, .plan-stay span { color: #3A526F; }
.plan-days > li { padding: .6rem 0; border-top: 1px solid #D2DDDF; }
.plan-days ul, .plan-tips { padding-left: 1.1em; list-style: disc; color: #3A526F; }
.plan-days ul { margin-top: .25rem; }
.plan-days li::marker, .plan-tips li::marker { color: var(--jingga); }
.plan-act { margin-top: 1.2rem; }
.plan-act .btn { width: 100%; }
.plan-note { margin-top: .7rem; font-size: .8125rem; line-height: 1.4; color: #3A526F; text-align: center; }

@media (min-width: 900px) {
  .planner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .planner-head { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
}
.motion { scroll-behavior: smooth; }

/* faq */
.faq-grid { display: grid; gap: 2.5rem; }
.faq-list details { border-top: 2px solid var(--rule); }
.faq-list details:last-child { border-bottom: 2px solid var(--rule); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--link); }
.faq-list p { padding-bottom: 1.3rem; max-width: 62ch; color: var(--ink-soft); }
.faq-more { margin-top: 1.5rem; }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; }
  .faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 2.5rem); align-self: start; margin: 0; }
}

/* closing action */
.sec--navy { background: var(--ink); color: var(--page); }
.sec--navy .sec-lead { color: var(--on-navy-soft); }
.sec--navy .close-title em { font-style: normal; color: var(--kuning); }
.ask { --ink: var(--navy); --page: var(--awan); color: var(--ink); }
[data-theme="dark"] .ask { --ink: #E6ECEA; --page: #142F4D; }
.close-grid { display: grid; gap: 2.5rem; }
.close-title { font-size: clamp(2.8rem, 11vw, 6rem); }
.close-direct { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.close-direct span { font-weight: 600; }

.ask { padding: clamp(1.25rem, 4vw, 2rem); background: var(--page); border-radius: 20px; box-shadow: 0 34px 50px -34px rgba(11, 37, 69, .7); }
.ask-title { font-size: 1.5rem; margin-bottom: 1.1rem; }
.ask fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.ask legend, .ask label > span { display: block; padding: 0; margin-bottom: .4rem; font-size: .875rem; font-weight: 700; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg b {
  display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .4rem;
  font-weight: 700; font-size: .9375rem; border: 2px solid var(--ink); border-radius: 12px;
  transition: background-color .2s, color .2s;
}
.seg b svg { width: 18px; height: 18px; }
.seg input:checked + b { background: var(--ink); color: var(--page); }
.seg input:focus-visible + b { outline: 3px solid var(--ink); outline-offset: 3px; }
.seg label:hover b { background: var(--shade); }
.seg label:hover input:checked + b { background: var(--ink); }
.ask-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ask-fields .is-wide { grid-column: 1 / -1; }
.ask input[type="text"], .ask input[type="date"], .ask input[type="number"] {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; color: var(--ink);
  background: var(--field); border: 2px solid var(--rule); border-radius: 12px;
}
.ask input::placeholder { color: var(--ink-soft); opacity: 1; }
.ask input:focus-visible { outline: 3px solid var(--jingga); outline-offset: 2px; }
.ask .btn { width: 100%; margin-top: 1.2rem; }
.ask-note { margin-top: .8rem; font-size: .875rem; color: var(--ink-soft); text-align: center; }
[hidden] { display: none !important; }

@media (min-width: 900px) {
  .close-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 4rem; }
}

/* ------------------------------------------------------------ footer */
.foot { background: var(--deep); color: var(--page); padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-brand img { display: block; height: 44px; width: auto; filter: brightness(0) invert(1); }
.foot-brand p { margin-top: 1rem; max-width: 34ch; color: var(--on-navy-soft); }
.foot h2 { font-size: 1rem; font-weight: 700; margin-bottom: .8rem; color: var(--kuning); }
.foot li + li { margin-top: .45rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-legal { display: grid; gap: .3rem; margin-top: 1.25rem; font-size: .9375rem; color: var(--on-navy-soft); font-variant-numeric: tabular-nums; }
.foot-legal b { color: var(--page); }
.foot-base {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(243, 246, 244, .18);
  font-size: .875rem; color: var(--on-navy-soft);
}
.foot-base a { text-decoration: underline; }

@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
}

/* ------------------------------------------------------------ blog + terms */
.page-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); background: var(--page-3); }
.page-title { font-size: clamp(2.6rem, 9vw, 5.5rem); }
.page-lead { margin-top: 1rem; max-width: 48ch; font-size: 1.125rem; }

.posts { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 9vw, 7rem); }
.post-row { display: grid; gap: .6rem; padding-block: 1.75rem; border-top: 2px solid var(--rule); text-decoration: none; }
.posts .post-row:last-child { border-bottom: 2px solid var(--rule); }
.post-row time { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.post-row h2 { font-size: clamp(1.5rem, 4.4vw, 2.25rem); transition: color .2s; }
.post-row p { max-width: 62ch; color: var(--ink-soft); }
.post-row:hover h2 { color: var(--link); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { padding: .15rem .65rem; font-size: .8125rem; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; }
.post-go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.post-go svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease-out); }
.post-row:hover .post-go svg { transform: translateX(5px); }

@media (min-width: 900px) {
  .post-row { grid-template-columns: 11rem minmax(0, 1fr) auto; gap: .5rem 2.5rem; align-items: start; }
  .post-row .post-main { display: grid; gap: .6rem; }
  .post-go { align-self: center; }
}

.article { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.article-in { max-width: 44rem; margin-inline: auto; }
.article-back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.article-back svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease-out); }
.article-back:hover svg { transform: translateX(-4px); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 2rem; font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }
.article h1 { margin-top: 1rem; font-size: clamp(2rem, 6.4vw, 3.5rem); }
.article-lede { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--ink-soft); }
.article-cover { display: block; width: 100%; margin-top: 2rem; border-radius: 18px; }
.prose { margin-top: 2rem; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { font-weight: 800; font-stretch: 80%; line-height: 1.1; letter-spacing: -.01em; margin-top: 1.8em; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.375rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--jingga); font-weight: 800; }
.prose a { color: var(--link); font-weight: 600; }
.prose img { border-radius: 14px; }
.prose blockquote { padding-left: 1.2rem; border-left: 1px solid var(--ink); color: var(--ink-soft); }

.cta-strip { background: var(--page-2); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-strip-in { display: grid; gap: 1.25rem; justify-items: start; }
.cta-strip h2 { font-size: clamp(1.9rem, 5.6vw, 3rem); }
@media (min-width: 900px) {
  .cta-strip-in { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
}

.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.legal-nav a { padding: .5rem 1rem; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; transition: background-color .2s, color .2s; }
.legal-nav a:hover { background: var(--ink); color: var(--page); }
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal + .legal { border-top: 2px solid var(--rule); }
.legal-in { max-width: 46rem; }
.legal h2 { font-size: clamp(1.9rem, 5.6vw, 3rem); }
.legal h3 { margin-top: 2.4rem; font-size: 1.5rem; font-weight: 800; font-stretch: 80%; line-height: 1.15; }
.legal h4 { margin-top: 1.5rem; font-size: 1.125rem; font-weight: 700; }
.legal p, .legal ul { margin-top: .75rem; }
.legal ul { padding-left: 1.3em; list-style: disc; }
.legal li + li { margin-top: .35rem; }
.legal .tnc-update { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }

/* ------------------------------------------------------------ entrance (content stays visible without JS) */
.motion [data-rise] { opacity: 0; transform: translateY(30px) rotate(var(--tilt, 0deg)); transition: opacity .6s, transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.motion [data-rise].is-in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

html, body, .top, .sec, .page-head, .cta-strip { transition: background-color .35s, color .35s; }
