/* ==========================================================================
   BookingSini.co — "check by date" landing page
   Brand system carried over from bookingsini.co / form.bookingsini.co:
   navy #0A1F4E, gold #FFD400, cream #FEF7E3, Inter, WhatsApp-first flows.
   ========================================================================== */

:root {
  --ink: #0A1F4E;
  --ink-deep: #071A45;
  --ink-2: #0A2A6B;
  --gold: #FFD400;
  --gold-2: #FFC400;
  --gold-soft: #FFF3C4;
  --cream: #FBF8F0;
  --cream-2: #FEF7E3;
  --page: #F7F9FC;
  --paper: #FFFFFF;
  --line: #E3E8F0;
  --line-warm: #E8E1D2;
  --text: #3B4C63;
  --muted: #66768A;
  --green: #067E58;
  --green-tick: #12A15E;
  --red: #B8443C;
  --shadow-soft: 0 12px 30px -22px rgba(10, 31, 78, 0.45);
  --radius: 14px;
  --shell: 1180px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 800; }
section { scroll-margin-top: 86px; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 200;
  background: var(--gold);
  color: #0A1B3C;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .15s ease;
}
.skip:focus { top: 10px; }

:where(a, button, summary, input, select):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- announcement ---------- */
.promo {
  min-height: 36px;
  background: var(--ink-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .15px;
  text-align: center;
}
.promo b { color: var(--gold); font-weight: 800; letter-spacing: .2px; }
.promo-sep { opacity: .5; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 31, 78, .08);
  transition: box-shadow .2s ease;
}
.site-head.is-scrolled { box-shadow: 0 12px 28px -22px rgba(10, 31, 78, .55); }

.head-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.12;
  color: #0C1015;
}
.brand-tag { font-size: 11px; font-weight: 500; color: #5D6E84; line-height: 1.25; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #43536A;
}
.nav a { position: relative; padding: 7px 0; white-space: nowrap; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: 9px; flex: none; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 31, 78, .14);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(10, 31, 78, .5);
  padding: 10px 24px 18px;
}
.mobile-menu:not([hidden]) { display: block; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #EFF2F7;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mobile-wa {
  margin-top: 10px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  border-bottom: 0;
  font-weight: 700;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 23px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.1px;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-gold {
  background: linear-gradient(180deg, #FFDA3D 0%, #FBC900 100%);
  color: #0A1B3C;
  box-shadow: 0 10px 20px -14px rgba(170, 130, 0, .85);
}
.btn-gold:hover { filter: brightness(1.03); }
.btn-gold:active { transform: translateY(1px); }
.btn-ghost {
  background: #fff;
  border-color: rgba(10, 31, 78, .18);
  color: var(--ink);
}
.btn-ghost:hover { background: #FFF9E3; border-color: rgba(10, 31, 78, .34); }
.btn-sm { padding: 11px 15px; font-size: 13.5px; border-radius: 10px; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(251, 248, 240, .80), rgba(251, 248, 240, .80)),
    url("assets/images/paper-texture.jpg");
  background-size: auto, cover;
  background-position: center, center 28%;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: normal, multiply;
  border-bottom: 1px solid var(--line-warm);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(10, 31, 78, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 78, .045) 1px, transparent 1px),
    radial-gradient(rgba(10, 31, 78, .18) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px, 24px 24px;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, #000 46%, transparent 78%);
  mask-image: linear-gradient(105deg, #000 0%, #000 46%, transparent 78%);
  opacity: .7;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -160px;
  top: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 212, 0, .3), rgba(255, 212, 0, 0) 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(32px, 4.5vw, 66px);
  align-items: center;
  padding-block: clamp(46px, 6.5vw, 80px);
}
.hero-grid > * { min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow-dash { width: 24px; height: 2px; background: var(--gold); flex: none; }
.eyebrow-dot { color: var(--gold-2); font-size: 14px; line-height: 1; }

h1 {
  margin-top: 16px;
  font-size: clamp(33px, 4.1vw, 56px);
  line-height: 1.03;
  letter-spacing: -.037em;
  font-weight: 800;
  color: #081C4D;
}
.nb { white-space: nowrap; }
.mark { position: relative; display: inline-block; isolation: isolate; }
.mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3px; right: -3px; bottom: .03em;
  height: .36em;
  background: linear-gradient(90deg, #FFDE47, #FFC400);
  border-radius: 3px;
  transform: rotate(-.7deg);
}

.lead {
  margin-top: 20px;
  max-width: 55ch;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 500;
  color: #33445D;
  text-wrap: pretty;
}
.lead b { color: #0A1F4E; font-weight: 800; }
.lead-en {
  margin-top: 8px;
  max-width: 55ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 17px; height: 17px; color: var(--green-tick); flex: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.hero-actions .btn { padding: 16px 24px; font-size: 15.5px; }
.hero-fine { margin-top: 13px; font-size: 11.5px; color: #6B7A8D; }

/* ---------- slip card ---------- */
.slip-col {
  position: relative;
  width: 100%;
  max-width: 452px;
  justify-self: end;
}
.slip {
  position: relative;
  background: #fff;
  border: 1px solid #E7DECB;
  border-radius: 14px;
  padding: 22px 24px 0;
  box-shadow: 0 38px 70px -38px rgba(10, 31, 78, .55), 0 1px 0 #fff inset;
  overflow: hidden;
  scroll-margin-top: 88px;
}
.slip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #FFB800);
}
.slip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 14px;
  border-bottom: 1px dashed #DCD3C0;
}
.slip-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: #0C1015;
}
.slip-brand img { width: 26px; height: 26px; border-radius: 6px; }
.slip-kicker {
  margin-top: 14px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8B6A00;
}
.slip h2 {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.55px;
  line-height: 1.15;
  color: #081C4D;
}
.slip-sub { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.only-m { display: none; }
.slip-intro { display: flex; gap: 12px; }
.slip-intro-text { min-width: 0; }
.slip-badge { display: none; }
.slip-trust { display: none; }

.slip-form { display: flex; flex-direction: column; gap: 10px; margin-top: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label,
.field-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .015em;
  color: #12294F;
  margin: 0;
}
.field input,
.field select {
  width: 100%;
  height: 43px;
  border: 1px solid #DDE3EC;
  border-radius: 9px;
  background-color: #F8F9FC;
  padding: 0 11px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder { color: #93A0B1; opacity: 1; }
.field input:hover,
.field select:hover { border-color: #C6D0DE; }
.field input:focus,
.field select:focus {
  border-color: var(--ink);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .38);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 32px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233F5068' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.date-wrap { display: block; min-width: 0; }
.date-ico,
.date-ph { display: none; }

.child-ages[hidden] { display: none; }
.child-ages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}
.child-age { min-width: 0; }

.slip-submit { margin-top: 3px; padding-block: 15px; font-size: 14.5px; }
.slip-note {
  font-size: 10.5px;
  line-height: 1.45;
  color: #7A8798;
}
.form-status { font-size: 11.5px; font-weight: 700; color: var(--green); }
.form-status:empty { display: none; }
.form-status a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-error {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--red);
  background: #FFF1EF;
  border: 1px solid #F3D3CF;
  border-radius: 8px;
  padding: 8px 10px;
}
.form-error[hidden] { display: none; }

.slip-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px -24px 0;
  padding: 13px 24px;
  border-top: 1px dashed #DCD3C0;
  background: #FFFDF6;
}
.slip-total span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6B7A8D;
}
.slip-total b {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.6px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.slip-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -24px;
  padding: 9px 24px 13px;
  background: #FFFDF6;
  border-top: 1px solid #F3EBD6;
  font-size: 10px;
  font-weight: 600;
  color: #8B98A8;
}

.stamp {
  position: absolute;
  z-index: 3;
  right: -14px;
  top: -26px;
  width: 84px;
  height: 84px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 2px dashed #B58B00;
  border-radius: 50%;
  background: rgba(255, 249, 224, .92);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #7A5A00;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.15;
  transform: rotate(9deg);
  box-shadow: 0 8px 18px -12px rgba(10, 31, 78, .4);
}
.stamp small { display: block; font-size: 7.5px; letter-spacing: .16em; margin-top: 2px; font-weight: 800; }

.slip-caption {
  margin-top: 9px;
  text-align: right;
  font-size: 11px;
  color: #71808F;
}

/* ---------- shared section parts ---------- */
.section { padding-block: clamp(54px, 6.5vw, 88px); }
.section h2 {
  margin-top: 13px;
  font-size: clamp(27px, 3.4vw, 43px);
  line-height: 1.07;
  letter-spacing: -.032em;
  font-weight: 800;
  color: #081C4D;
  text-wrap: balance;
}
.section-lead {
  margin-top: 14px;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--text);
}
.section-lead + .section-lead { margin-top: 10px; }
.en-line { margin-top: 10px; font-size: 12.5px; color: var(--muted); max-width: 62ch; }
.section-head.center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-lead { margin-inline: auto; }

.why-copy .btn { margin-top: 20px; }

/* ---------- why section ---------- */
.why { background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
.why-media {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E7ECF3;
  box-shadow: 0 30px 60px -38px rgba(10, 31, 78, .6);
}
.why-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.why-tag {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.price-tag {
  position: absolute;
  left: 13px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px 9px 10px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 16px 28px -16px rgba(10, 31, 78, .55);
}
.pt-bar { width: 4px; height: 30px; border-radius: 2px; background: var(--gold); flex: none; }
.price-tag b {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price-tag span span { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }

/* fare chart */
.fare-wrap {
  margin-top: clamp(30px, 4.2vw, 48px);
  padding: 16px clamp(14px, 2.2vw, 24px) 14px;
  border: 1px solid #E7ECF3;
  border-radius: 16px;
  background: #FBFCFF;
}
.fare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 14px;
}
.fare-kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #6B7A8D;
}
.fare-note { font-size: 10.5px; color: #8B98A8; }
.fare-scroll { padding-bottom: 2px; }
.fare {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fare-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 12px;
}
.fare-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.2px;
  text-align: right;
}
.fare-track {
  height: 13px;
  border-radius: 99px;
  background: #EDF1F7;
  overflow: hidden;
}
.fare-bar {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1B4C8F 0%, #0A1F4E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.fare-bar.hi { background: linear-gradient(90deg, #FFD62B 0%, #FFC400 100%); }
.fare-row.peak .fare-val { color: #8A5B00; }
.fare-dow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8B98A8;
  white-space: nowrap;
}
.fare-row.peak .fare-dow { color: var(--ink); font-weight: 800; }
.fare-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed #E1E7F0;
  font-size: 11px;
  color: #6B7A8D;
}
.fare-foot span { display: inline-flex; align-items: center; gap: 6px; }
.fare-foot span:last-child { color: #8B98A8; }
.key { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex: none; }
.key-navy { background: var(--ink); }
.key-gold { background: var(--gold-2); }

/* ---------- how it works ---------- */
.how {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 80% at 88% 8%, rgba(255, 212, 0, .16), transparent 60%),
    radial-gradient(50% 70% at 6% 100%, rgba(255, 212, 0, .10), transparent 60%),
    repeating-radial-gradient(circle at 12% 106%, rgba(255, 255, 255, .055) 0 1px, transparent 1px 44px),
    radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.2px);
  background-size: auto, auto, auto, 26px 26px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  pointer-events: none;
}
.how .shell { position: relative; z-index: 1; }
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
}
.how h2 { color: #fff; }
.how .section-lead { color: rgba(255, 255, 255, .72); }
.eyebrow-light { color: rgba(255, 255, 255, .92); }

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 212, 0, .55), rgba(255, 255, 255, .1));
  transform: scaleY(var(--line, 1));
  transform-origin: top center;
}
.step { position: relative; display: flex; gap: 16px; }
.step-no {
  position: relative;
  z-index: 1;
  width: 47px;
  height: 47px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(255, 212, 0, .5);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 11px; font-size: 16.5px; font-weight: 800; letter-spacing: -.2px; }
.step p { margin-top: 4px; max-width: 46ch; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.step p b { color: #fff; }

.step-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
}
.step-note svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- story (how it works) ---------- */
.story-wrap { position: relative; }

.story-rail {
  display: none;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  padding-inline: 2px;
}
.rail-line {
  position: absolute;
  left: 13px;
  right: 13px;
  top: 12px;
  height: 1px;
  background: rgba(255, 255, 255, .16);
  z-index: 0;
}
.rail-line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #FFE066);
  transform: scaleX(0);
  transform-origin: left center;
}
.rail-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  transition: color .25s ease;
}
.rail-label { line-height: 1; }
.rail-dot {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--ink);
  color: rgba(255, 255, 255, .55);
  font-size: 8.5px;
  letter-spacing: .04em;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.rail-item.is-on { color: #fff; }
.rail-item.is-on .rail-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.story-stage { position: relative; display: grid; place-items: center; }
.story-stage.is-live { height: clamp(360px, 46vh, 460px); }

.story-chat {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 44px 80px -44px rgba(0, 0, 0, .7);
}

.story-stage.is-live .story-chat,
.story-stage.is-live .demo-slip { grid-area: 1 / 1; }
.story-stage.is-live .story-chat {
  margin: 0;
  width: min(100%, 372px);
  max-width: 372px;
}

.demo-slip { display: none; }
.story-stage.is-live .demo-slip {
  display: block;
  position: relative;
  width: min(100%, 344px);
  background: #FFFDF6;
  border: 1px solid #E7DECB;
  border-radius: 14px;
  padding: 14px 16px 0;
  color: var(--ink);
  box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .65);
  overflow: hidden;
}
.story-stage.is-live .demo-slip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #FFB800);
}

.ds-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #DCD3C0;
}
.ds-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: #0C1015;
}
.ds-brand img { width: 22px; height: 22px; border-radius: 5px; }
.ds-tag {
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6B4E00;
  background: var(--gold-soft);
  border: 1px solid #F0DFA2;
  border-radius: 999px;
  padding: 4px 6px;
  white-space: nowrap;
}

.ds-list { margin: 3px 0 0; }
.ds-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dotted #E4E9F0;
}
.ds-row dt {
  width: 44px;
  flex: none;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #93A0B1;
}
.ds-row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}
.ds-row dd > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ds-check {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--green-tick);
  color: #fff;
  display: grid;
  place-items: center;
}
.ds-check svg { width: 9px; height: 9px; }
.ds-caret {
  width: 1.5px;
  height: 13px;
  flex: none;
  border-radius: 1px;
  background: var(--ink);
  opacity: 0;
}

.ds-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 9px -16px 0;
  padding: 9px 16px;
  background: #FFF9E8;
  border-top: 1px dashed #E3D9C4;
}
.ds-total span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8B98A8;
}
.ds-total b {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ds-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 -16px;
  padding: 12px;
  background: linear-gradient(180deg, #FFDA3D, #FBC900);
  color: #0A1B3C;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -.1px;
}
.ds-send svg { width: 15px; height: 15px; flex: none; }

.sc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #FAFBFD;
  border-bottom: 1px solid #EDF0F5;
}
.sc-head img { width: 30px; height: 30px; border-radius: 50%; }
.sc-head strong { display: block; font-size: 11.5px; font-weight: 800; color: var(--ink); }
.sc-head span { display: block; font-size: 9.5px; color: var(--muted); }
.sc-head .wa { width: 17px; height: 17px; margin-left: auto; color: var(--green); flex: none; }

.sc-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #F1F4F9;
}
.story-stage.is-live .sc-body { min-height: 278px; }
.sc-bubble {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(10, 31, 78, .07);
}
.sc-bubble b { font-weight: 800; }
.sc-bubble.out {
  align-self: flex-end;
  background: #DCF8C6;
  border-top-right-radius: 3px;
}
.sc-bubble.in {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 3px;
}
.sc-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-top: 2px;
  font-size: 8.5px;
  color: #6B7A8D;
}
.sc-meta .tick {
  font-style: normal;
  font-size: 9px;
  line-height: 1;
  color: #34B7F1;
  opacity: 0;
}
.sc-meta .tick::before { content: "✓"; }
.sc-meta .tick + .tick { margin-left: -5px; }

.sc-typing {
  align-self: flex-start;
  display: none;
  gap: 3px;
  padding: 9px 11px;
  background: #fff;
  border-radius: 10px;
  border-top-left-radius: 3px;
}
.sc-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9AA7B8;
}

.sc-price { display: flex; flex-direction: column; gap: 2px; max-width: 94%; }
.sc-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8B98A8;
}
.sc-amount { display: flex; align-items: baseline; gap: 7px; }
.sc-amount s {
  position: relative;
  font-size: 10.5px;
  font-weight: 600;
  color: #9AA7B8;
  text-decoration: none;
}
.sc-amount s .strike {
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 1.5px;
  background: #D27A72;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
}
/* static fallback (no JS, reduced motion): show the old price struck out */
.story-stage:not(.is-live) .sc-amount s .strike { transform: scaleX(1); }
.sc-amount b {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
}
.sc-sub { font-size: 9.5px; line-height: 1.4; color: #6B7A8D; }
.sc-save {
  align-self: flex-start;
  margin-top: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #DDF6E8;
  border: 1px solid #B7E8CC;
  color: #0A5C3C;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-note {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
}
.story-note:empty { display: none; }

/* story rail + pinned layout */
.how.is-story .story-rail { display: flex; }
.how.is-story.is-pinned {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.how.is-story.is-pinned .shell { width: min(var(--shell), calc(100% - 48px)); }

/* story steps dimming while the story is live */
.how.is-story { padding-block: 84px clamp(36px, 5vh, 56px); }
.how.is-story .step { opacity: .42; transition: opacity .35s ease; }
.how.is-story .step.is-active { opacity: 1; }
.how.is-story .step.is-active .step-no {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* Mobile/tablet: use native sticky instead of a ScrollTrigger pin spacer.
   The wrapper supplies the scroll distance, so no blank spacer can appear. */
.how-pin-wrap { position: relative; }
@media (max-width: 1080px) {
  .how-pin-wrap.is-sticky { height: 300vh; height: 300dvh; }
  .how-pin-wrap.is-sticky .how.is-story.is-pinned {
    position: sticky;
    top: 64px;
  }
}
@media (min-width: 721px) and (max-width: 1080px) {
  .how-pin-wrap.is-sticky .how.is-story.is-pinned { top: 73px; }
}

/* ---------- tutorial video ---------- */
.tutorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.tutorial-copy .btn { margin-top: 24px; }
.tutorial-points {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.tutorial-points li { display: flex; align-items: center; gap: 9px; }
.tutorial-points svg { width: 17px; height: 17px; color: var(--green-tick); flex: none; }
.tutorial-media {
  margin: 0;
  width: 100%;
  max-width: 340px;
  justify-self: end;
}
.tutorial-frame {
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-deep);
  border: 1px solid #E7DECB;
  box-shadow: 0 34px 70px -42px rgba(10, 31, 78, .62);
}
.tutorial-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.tutorial-caption {
  margin-top: 11px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #66768A;
}
.tutorial-note {
  margin-top: 4px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  color: #8B98A8;
}

/* ---------- sample slip ---------- */
.sample {
  background: var(--cream);
  border-block: 1px solid var(--line-warm);
}
.sample-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.math {
  position: relative;
  margin-top: 24px;
  padding: 26px 22px 0;
  background: #fff;
  border: 1px solid #E7DECB;
  border-radius: 14px;
  box-shadow: 0 30px 60px -42px rgba(10, 31, 78, .5);
}
.math-stamp {
  position: absolute;
  right: 15px;
  top: -14px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(5deg);
}
.math-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px dashed #E3D9C4;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8B6A00;
}
.math-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dotted #E4E9F0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.math-row b { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.math-row.discount b { color: var(--green); }
.math-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -22px;
  padding: 14px 22px;
  background: #FFFDF6;
  border-top: 1px dashed #E3D9C4;
  border-radius: 0 0 14px 14px;
}
.math-total span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6B7A8D;
}
.math-total b {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.math-note {
  margin-top: 11px;
  padding-bottom: 14px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #7A8798;
}

.includes-col { padding-top: 4px; }
.includes-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: #081C4D;
  padding-bottom: 8px;
  border-bottom: 1px solid #E4D9C2;
}
.includes { display: flex; flex-direction: column; }
.include {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #E8DFCC;
}
.include:last-child { border-bottom: 0; }
.include .ic {
  width: 25px;
  height: 25px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.include .ic svg { width: 12px; height: 12px; }
.include h4 { font-size: 14px; font-weight: 800; letter-spacing: -.1px; color: #081C4D; }
.include p { margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: #6B7A8D; }

.early {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.early::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 212, 0, .28), transparent 62%);
  pointer-events: none;
}
.early-ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.early-ic svg { width: 21px; height: 21px; }
.early div { position: relative; z-index: 1; }
.early h4 { font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.early p { margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: rgba(255, 255, 255, .7); }
.early b { color: var(--gold); }

/* ---------- feedback ---------- */
.feedback { background: #fff; }
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.fb-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #E3E8F0;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 14px 30px -26px rgba(10, 31, 78, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fb-card img { width: 100%; height: auto; aspect-ratio: 896 / 1200; object-fit: cover; }
.fb-card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(10, 31, 78, .55); }
.fb-zoom {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 28, 77, .82);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.fb-zoom svg { width: 13px; height: 13px; }
.feedback-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--muted);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.link-arrow:hover { background: #FFF9DC; }

/* ---------- FAQ ---------- */
.faq { background: var(--page); border-top: 1px solid #E8EDF4; }
.faq-wrap { max-width: 840px; }
.faq-list { margin-top: 22px; border-top: 1px solid #DDE4EE; }
.faq-item { border-bottom: 1px solid #DDE4EE; }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.1px;
  color: #12294F;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-2); }
.q-no {
  flex: none;
  width: 22px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #9AA7B8;
  font-variant-numeric: tabular-nums;
}
.plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1px solid #C9D4E2;
  border-radius: 50%;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus { background: var(--gold); border-color: var(--gold); }
.faq-item[open] .plus::after { opacity: 0; }
.faq-answer {
  padding: 0 40px 17px 36px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  max-width: 72ch;
}
.faq-cta { margin-top: 20px; font-size: 13px; color: var(--muted); }
.faq-cta a {
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
}
.faq-cta a:hover { background: #FFF9DC; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--ink-deep);
  color: #fff;
  padding: clamp(38px, 5vw, 58px) 0 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1fr;
  gap: 30px;
}
.foot-mark {
  width: 44px;
  height: 44px;
  padding: 5px;
  background: #fff;
  border-radius: 11px;
}
.foot-name { margin-top: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.5px; }
.foot-tag { margin-top: 1px; font-size: 11px; color: #B3C2D8; }
.foot-note { margin-top: 13px; max-width: 34ch; font-size: 11.5px; line-height: 1.65; color: #A9B8CF; }
.foot-col h3 {
  margin: 6px 0 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8FA3C0;
}
.foot-col ul { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: #DCE4F1; }
.foot-col a { transition: color .15s ease; }
.foot-col a:hover { color: var(--gold); }
.foot-disclaimer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 10.5px;
  line-height: 1.6;
  color: #8FA3C0;
  max-width: 100ch;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: 10.5px;
  color: #8FA3C0;
}

/* ---------- section backgrounds ---------- */
.why,
.tutorial,
.sample,
.feedback,
.faq {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #FFFDF7;
  background-image:
    linear-gradient(rgba(255, 253, 247, .84), rgba(255, 253, 247, .84)),
    url("assets/images/paper-texture.jpg");
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: normal, multiply;
}
.why { background-position: center, 25% center; }
.tutorial {
  background-color: var(--cream);
  background-position: center, 30% center;
  border-top: 1px solid var(--line-warm);
}
.sample {
  background-color: var(--cream);
  background-position: center, center 70%;
}
.feedback { background-position: center, 75% 30%; }
.faq {
  background-color: #F8F6EF;
  background-position: center, center bottom;
}

.why::before,
.tutorial::before,
.sample::before,
.feedback::before,
.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.why::before {
  background-image:
    radial-gradient(58% 62% at 100% 0%, rgba(255, 212, 0, .18), transparent 64%),
    linear-gradient(rgba(10, 31, 78, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 78, .05) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}
.tutorial::before {
  background-image:
    radial-gradient(52% 60% at 100% 0%, rgba(255, 212, 0, .18), transparent 64%),
    linear-gradient(rgba(10, 31, 78, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 78, .045) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}
.sample::before {
  background-image:
    radial-gradient(52% 58% at 0% 100%, rgba(255, 212, 0, .16), transparent 62%),
    repeating-linear-gradient(to bottom, rgba(10, 31, 78, .06) 0 1px, transparent 1px 32px);
}
.feedback::before {
  background-image:
    radial-gradient(56% 58% at 0% 0%, rgba(255, 212, 0, .14), transparent 62%),
    repeating-linear-gradient(45deg, rgba(10, 31, 78, .05) 0 1px, transparent 1px 18px);
}
.faq::before {
  background-image:
    radial-gradient(46% 46% at 100% 100%, rgba(255, 212, 0, .12), transparent 62%),
    repeating-linear-gradient(to bottom, rgba(10, 31, 78, .055) 0 1px, transparent 1px 34px);
}

/* keep content above the background layers */
.hero > .shell,
.section > .shell,
.site-foot > .shell {
  position: relative;
  z-index: 1;
}

/* footer pattern */
.site-foot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(50% 60% at 100% 0%, rgba(255, 212, 0, .12), transparent 62%),
    repeating-radial-gradient(circle at 88% 128%, rgba(255, 255, 255, .06) 0 1px, transparent 1px 46px),
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: auto, auto, 28px 28px;
  background-repeat: no-repeat, no-repeat, repeat;
  pointer-events: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 10, 24, .95);
  color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(4, 10, 24, .9); }
.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 58px;
}
.lb-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 108px);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.lb-count { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .15s ease;
  z-index: 2;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 16px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .slip-col { max-width: 560px; justify-self: start; margin-top: 6px; }
  .why-grid,
  .sample-grid,
  .tutorial-grid,
  .how-grid { grid-template-columns: 1fr; }

  .tutorial-media { justify-self: center; max-width: 330px; }

  /* The story sits below the steps when it is not pinned (short phones,
     tablets), so keep every step readable instead of dimming them. */
  .how.is-story:not(.is-pinned) .step { opacity: 1; }
  .why-media img { aspect-ratio: 16 / 10; }
  .why-copy { order: -1; }
  .story-stage.is-live { height: clamp(360px, 44vh, 440px); }
  .story-chat { max-width: 460px; margin-left: 0; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-col:last-child ul { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
}

@media (max-width: 860px) {
  .head-wa { display: none; }
  .feedback-grid { gap: 12px; }
  .stamp { right: 6px; top: -22px; width: 76px; height: 76px; font-size: 9.5px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  section { scroll-margin-top: 78px; }
  .head-inner { height: 64px; gap: 12px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 16.5px; }
  .brand-tag { display: none; }
  .btn-sm { padding: 10px 13px; font-size: 12.5px; }
  .promo { font-size: 10.5px; gap: 3px 7px; padding: 7px 12px; }
  .promo-sep { display: none; }

  .hero-grid { padding-block: 34px 44px; gap: 34px; }
  h1 { font-size: clamp(27px, 8.5vw, 40px); letter-spacing: -.032em; line-height: 1.06; }
  .lead { font-size: 15.5px; margin-top: 16px; }
  .lead-en { font-size: 12px; }
  .hero-facts { gap: 8px 14px; font-size: 12px; margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 100%; padding: 15px 18px; font-size: 14.5px; }
  .hero-fine { font-size: 10.5px; }

  .slip {
    padding: 18px 16px;
    border-radius: 16px;
    border-color: #E6EAF1;
    box-shadow: 0 18px 44px -30px rgba(10, 31, 78, .38);
    scroll-margin-top: 84px;
  }
  .slip::before,
  .slip-top,
  .slip-kicker,
  .slip-total,
  .slip-meta,
  .slip-note,
  .slip-caption,
  .stamp { display: none; }

  .slip-intro { align-items: center; gap: 12px; }
  .slip-badge {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 11px;
    background: linear-gradient(180deg, #FFDE47, #FFCC00);
    color: #0A1B3C;
    box-shadow: inset 0 -2px 0 rgba(10, 27, 60, .12);
  }
  .slip-badge svg { width: 24px; height: 24px; }
  .slip h2 { margin-top: 0; font-size: 21px; line-height: 1.1; letter-spacing: -.45px; }
  .slip-sub { margin-top: 2px; font-size: 12px; }
  .only-d { display: none; }
  .only-m { display: inline; }

  .slip-form { margin-top: 16px; gap: 11px; }
  .field label,
  .field-label { font-size: 12px; }
  .field input,
  .field select { height: 46px; font-size: 16px; border-radius: 10px; }
  .field-row.guests { grid-template-columns: 1fr 1fr; }

  .date-wrap { position: relative; display: block; }
  .date-ico {
    display: block;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: #7A8798;
    pointer-events: none;
  }
  .date-wrap input { padding-left: 38px; min-width: 0; }
  .date-wrap:not(.has-value) input { color: transparent; caret-color: transparent; }
  .date-ph {
    display: block;
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #93A0B1;
    pointer-events: none;
  }
  .date-wrap.has-value .date-ph { display: none; }
  .date-wrap input::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .child-ages-list { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); }
  .slip-submit { height: 52px; padding-block: 0; font-size: 15px; border-radius: 10px; }

  .slip-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin-top: 13px;
    font-size: 9px;
    font-weight: 700;
    color: #4A5B70;
  }
  .slip-trust li { display: flex; align-items: center; gap: 3px; }
  .slip-trust svg { width: 11px; height: 11px; color: var(--green-tick); flex: none; }

  .section { padding-block: 48px; }
  .section h2 { font-size: clamp(25px, 7.4vw, 34px); }
  .section-lead { font-size: 14.5px; }
  .tutorial-media { max-width: 310px; }
  .tutorial-copy .btn { width: 100%; }
  .tutorial-points { font-size: 13px; }
  .why-copy { order: 0; }
  .why-media img { aspect-ratio: 4 / 3; }
  .price-tag { left: 10px; bottom: 10px; }
  .why-tag { left: 10px; top: 10px; }

  .fare-wrap { padding: 14px 14px 12px; }
  .fare { gap: 6px; }
  .fare-row { grid-template-columns: 80px minmax(0, 1fr) 56px; gap: 9px; }
  .fare-track { height: 12px; }
  .fare-dow { font-size: 10px; }
  .fare-val { font-size: 11.5px; }
  .fare-foot { font-size: 10.5px; }

  .steps { gap: 20px; margin-top: 24px; }
  .step p { font-size: 13px; }
  .step-no { width: 42px; height: 42px; font-size: 11.5px; }
  .steps::before { left: 20px; }

  .story-rail { margin-bottom: 16px; gap: 6px; }
  .rail-item { gap: 6px; font-size: 8px; letter-spacing: .1em; }
  .rail-dot { width: 21px; height: 21px; font-size: 7.5px; }
  .rail-line { top: 10px; left: 11px; right: 11px; }
  .story-stage.is-live { height: clamp(340px, 50vh, 410px); }
  .story-chat,
  .story-stage.is-live .story-chat { max-width: 100%; }
  .story-stage.is-live .sc-body { min-height: 262px; }
  .story-note { font-size: 9.5px; margin-top: 10px; }

  /* Tall phones pin the whole section and use a compact single-column
     version of the desktop composition, so the steps and the story stay
     on screen together while GSAP scrubs the three acts. */
  .how.is-story.is-pinned {
    min-height: calc(100dvh - 64px);
    padding-block: 16px 14px;
  }
  .how.is-story.is-pinned .shell { width: calc(100% - 32px); }
  .how.is-story.is-pinned .how-grid { gap: 10px; }
  .how.is-story.is-pinned .eyebrow { font-size: 9.5px; }
  .how.is-story.is-pinned #how-title {
    margin-top: 8px;
    font-size: 23px;
    line-height: 1.06;
    letter-spacing: -.6px;
  }
  .how.is-story.is-pinned .section-lead {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.4;
  }
  .how.is-story.is-pinned .steps {
    margin-top: 12px;
    gap: 8px;
  }
  .how.is-story.is-pinned .steps::before { left: 15px; }
  .how.is-story.is-pinned .step { gap: 10px; }
  .how.is-story.is-pinned .step-no {
    width: 32px;
    height: 32px;
    font-size: 9px;
  }
  .how.is-story.is-pinned .step h3 { font-size: 14px; }
  .how.is-story.is-pinned .step p {
    margin-top: 2px;
    font-size: 11.2px;
    line-height: 1.38;
  }
  .how.is-story.is-pinned .step-note { display: none; }
  .how.is-story.is-pinned .story-rail { margin-bottom: 8px; }
  .how.is-story.is-pinned .story-stage.is-live { height: 306px; }
  .how.is-story.is-pinned .story-stage.is-live .sc-body { min-height: 228px; }
  .how.is-story.is-pinned .story-note { display: none; }

  .sample-grid { gap: 30px; }
  .math { margin-top: 20px; }
  .math-total b { font-size: 24px; }

  .feedback-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    margin-inline: -16px;
    padding: 4px 16px 14px;
    scrollbar-width: none;
  }
  .feedback-grid::-webkit-scrollbar { display: none; }
  .fb-card { flex: 0 0 min(78vw, 330px); scroll-snap-align: start; }
  .section-head.center { text-align: left; }
  .section-head.center .eyebrow { justify-content: flex-start; }
  .section-head.center .section-lead { margin-inline: 0; }

  .faq-item summary { font-size: 14px; gap: 10px; padding: 15px 0; }
  .faq-answer { padding: 0 0 15px 32px; font-size: 13.5px; }

  .site-foot { padding-top: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-col:last-child ul { flex-direction: column; }
  .foot-disclaimer { margin-top: 26px; }
  .foot-bottom { flex-direction: column; gap: 6px; }

  .lb-figure { padding: 0 12px; }
  .lb-figure img { max-height: calc(100dvh - 130px); border-radius: 9px; }
  .lb-btn { width: 40px; height: 40px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .how.is-story.is-pinned {
    min-height: calc(100dvh - 73px);
    padding-block: 24px;
  }
  .how.is-story.is-pinned .shell { width: calc(100% - 48px); }
  .how.is-story.is-pinned .how-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .hero-facts { flex-direction: column; gap: 7px; }
  .field-row { grid-template-columns: 1fr; }
  .field-row.guests { grid-template-columns: 1fr 1fr; }
  .fare-row { grid-template-columns: 80px minmax(0, 1fr) 54px; }
  .fare-val { font-size: 11px; }
  .stamp { width: 68px; height: 68px; font-size: 8.5px; right: 4px; top: -18px; }
  .stamp small { font-size: 6.5px; }
  .head-actions .btn-gold { font-size: 12px; padding: 10px 11px; }
}

@media (max-width: 380px) {
  .head-actions .btn-gold { display: none; }
  .brand-name { font-size: 15.5px; }
  .promo { font-size: 10px; }
  .field-row.guests { grid-template-columns: 1fr; }
}

/* 320px phones: tighten the pinned story so it still fits one screen. */
@media (max-width: 359px) {
  .how.is-story.is-pinned #how-title {
    margin-top: 6px;
    font-size: 21px;
  }
  .how.is-story.is-pinned .section-lead { display: none; }
  .how.is-story.is-pinned .steps {
    margin-top: 10px;
    gap: 7px;
  }
  .how.is-story.is-pinned .step p {
    font-size: 10.8px;
    line-height: 1.35;
  }
  .how.is-story.is-pinned .story-stage.is-live { height: 306px; }
  .how.is-story.is-pinned .story-stage.is-live .sc-body { min-height: 228px; }
}

/* Short-but-still-pinnable phones: compress the pinned composition so the
   longer Malay steps and the story card still fit one screen. */
@media (max-height: 759px) {
  .how.is-story.is-pinned .section-lead { display: none; }
  .how.is-story.is-pinned {
    padding-block: 8px;
  }
  .how.is-story.is-pinned .eyebrow { display: none; }
  .how.is-story.is-pinned #how-title {
    margin-top: 0;
  }
  .how.is-story.is-pinned .steps {
    gap: 5px;
  }
  .how.is-story.is-pinned .step h3 { font-size: 13.5px; }
  .how.is-story.is-pinned .step p {
    font-size: 10.2px;
    line-height: 1.32;
  }
  .how.is-story.is-pinned .story-stage.is-live { height: 280px; }
  .how.is-story.is-pinned .story-stage.is-live .sc-body { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
