/* Pendaftaran mitra driver Green SM: public pages (landing + aktivasi). v3 "showroom".
   Follows Green SM's own visual language: aqua gradient hero, studio-lit motor renders, white cards, yellow promo accents.
   Mobile first; the desktop composition starts at 1024px. */

@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/urbanist-var.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/publicsans-var.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/publicsans-italic.woff2) format("woff2"); }

:root {
  /* brand */
  --aqua: #2dccd3;
  --aqua-50: #f0fbfb;
  --aqua-100: #ddf5f6;
  --aqua-200: #b8ebee;
  --aqua-300: #7fdce1;
  --teal: #0f7b82;          /* aqua that reads as text on white (5:1) */
  --teal-800: #0b5e64;      /* primary buttons, white text 7.5:1 */
  --teal-850: #0a4f55;
  --teal-900: #0a3f44;      /* dark band */
  --ink: #12343a;
  --ink-2: #3b565b;
  --ink-3: #7e9598;
  --line: #dcebec;
  --line-2: #c3dcde;
  --paper: #fff;
  --mist: #f6f9f9;          /* footer, like Green SM's site */
  --sun: #ffc907;
  --sun-50: #fff6d6;
  --sun-ink: #7a5a00;
  --err: #b42318;
  --on-dark: #cfe7e9;
  --line-dark: rgba(255, 255, 255, .14);
  --hero: linear-gradient(180deg, #f2fcfc 0%, #d4f4f5 30%, #8fe1e5 62%, #3fc4cb 86%, #25b2ba 100%);

  /* type */
  --display: "Urbanist", "Public Sans", system-ui, sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: 40px; --lh-h1: 1.06;
  --fs-h2: 30px; --lh-h2: 1.12;
  --fs-h3: 18px; --lh-h3: 25px;
  --fs-lede: 17px; --lh-lede: 27px;
  --fs-body: 16px; --lh-body: 26px;
  --fs-sm: 14px; --lh-sm: 21px;
  --fs-xs: 13px; --lh-xs: 18px;

  /* space */
  --gutter: 20px;
  --section: 64px;
  --wrap: 1180px;
  --bar-h: 64px;
  --ctl-h: 52px;
  --btn-h: 48px;

  /* shape */
  --r-ctl: 12px;
  --r-card: 20px;
  --r-panel: 28px;
  --shadow-card: 0 1px 2px rgba(10, 63, 68, .06), 0 10px 28px -14px rgba(10, 63, 68, .22);
  --shadow-float: 0 2px 6px rgba(10, 63, 68, .08), 0 24px 48px -20px rgba(10, 63, 68, .38);

  /* motion */
  --t-press: 120ms; --t-state: 180ms; --t-move: 320ms; --t-sheet: 420ms;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.3, 0, 0, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 88px; } }
@media (min-width: 1024px) {
  :root {
    --gutter: 40px; --section: 112px; --bar-h: 76px;
    --fs-h1: 56px; --lh-h1: 1.05; --fs-h2: 42px; --lh-h2: 1.12;
    --fs-h3: 20px; --lh-h3: 28px; --fs-lede: 19px; --lh-lede: 30px; --fs-body: 17px; --lh-body: 28px;
  }
}

/* ---- base ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
html.is-locked, html.is-locked body { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/var(--lh-body) var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
::selection { background: var(--aqua-200); }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 70; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--teal-900); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
@media (max-width: 1023.98px) { .d-only { display: none !important; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }

/* ---- type ------------------------------------------------------------------------------------------------------ */
.h1 { font: 800 var(--fs-h1)/var(--lh-h1) var(--display); letter-spacing: -.02em; text-wrap: balance; }
.h2 { font: 800 var(--fs-h2)/var(--lh-h2) var(--display); letter-spacing: -.015em; text-wrap: balance; }
.h3 { font: 700 var(--fs-h3)/var(--lh-h3) var(--sans); }
.lede { color: var(--ink-2); font-size: var(--fs-lede); line-height: var(--lh-lede); }
.intro { color: var(--ink-2); max-width: 60ch; }
.fine { color: var(--ink-2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.money { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; white-space: nowrap; }
.sec__head { display: grid; gap: 14px; max-width: 720px; align-content: start; }
.sec__head--c { margin-inline: auto; text-align: center; justify-items: center; }

/* ---- buttons ---------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 22px;
  border: 0; border-radius: var(--r-ctl); font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease), transform var(--t-press) var(--ease), color var(--t-state) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--teal-800); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 94, 100, .7); }
.btn--primary:hover { background: var(--teal-850); }
.btn--light { background: rgba(255, 255, 255, .92); color: var(--teal-800); box-shadow: inset 0 0 0 1px rgba(11, 94, 100, .16); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn--s { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--l { min-height: var(--ctl-h); padding: 0 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { position: relative; color: transparent; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn--ghost[aria-busy="true"]::after, .btn--light[aria-busy="true"]::after { border-color: var(--teal-800); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(1turn); } }
.link { padding: 0; border: 0; background: none; color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* pills: Green SM's own way of listing a product's benefits */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .74); box-shadow: inset 0 0 0 1px rgba(11, 94, 100, .12); color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; }
.pill b { font-family: var(--display); font-weight: 800; font-size: 15px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 700; }

/* ---- header ------------------------------------------------------------------------------------------------------ */
.bar { position: sticky; top: 0; z-index: 30; background: #f2fcfc; transition: background-color var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease); }
.bar.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(10, 63, 68, .4); }
.bar__in { display: flex; align-items: center; gap: 24px; height: var(--bar-h); }
.logo { display: block; flex: none; }
.logo img { width: auto; height: 32px; }
.bar__btn { margin-left: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color var(--t-state) var(--ease), color var(--t-state) var(--ease); }
.nav a:hover { background: var(--aqua-100); }
.nav a[aria-current] { background: var(--aqua-100); color: var(--teal-800); }
@media (min-width: 1024px) { .logo img { height: 38px; } .bar__btn { margin-left: 8px; } }

/* ---- hero ------------------------------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 12px 0 36px; background: var(--hero); }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -26%; width: 150%; height: 64%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.hero__copy { display: grid; gap: 14px; justify-items: start; text-align: left; min-width: 0; }
.hero__copy .pills { margin-top: -2px; }
.hero__copy .lede { color: var(--ink-2); }
.hero__stage { position: relative; display: grid; justify-items: center; width: 100%; }
.hero__motor { position: relative; width: min(100%, 400px); }
.hero__motor img { position: relative; z-index: 1; width: 100%; animation: roll-in 700ms var(--ease-out) 100ms both; }
.hero__motor::after { content: ""; position: absolute; left: 11%; right: 7%; bottom: 2%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 50, 54, .5), rgba(6, 50, 54, 0)); }
.hero__cta { display: grid; gap: 10px; width: 100%; }
.hero__note { color: var(--teal-900); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; }
@keyframes roll-in { from { opacity: 0; transform: translateX(32px); } }
@media (min-width: 1024px) {
  .hero { padding: 28px 0 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
  .hero__copy { gap: 16px; padding-top: 4px; }
  .hero__copy .lede { max-width: 42ch; }
  .hero__stage { justify-items: start; }
}

/* wallet card: the deck's own example of the guarantee, filled once on load */
.wallet { position: relative; z-index: 2; width: min(100%, 380px); margin: -26px auto 0; padding: 12px 16px 14px; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-float); text-align: left; }
.wallet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; color: var(--ink-2); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; }
.wallet__head span { display: inline-flex; align-items: center; gap: 6px; }
.wallet__head svg { width: 18px; height: 18px; color: var(--teal); }
.wallet__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; line-height: 21px; }
.wallet__row dd { font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wallet__row--sun dd { padding: 5px 8px 4px; margin-right: -4px; border-radius: 8px; background: var(--sun); }
.wallet__bar { display: flex; gap: 2px; height: 8px; margin: 8px 0 10px; }
.wallet__bar i { flex: 13.75 0 0; border-radius: 3px; background: var(--aqua); transform-origin: left; }
.wallet__bar b { flex: 50 0 0; border-radius: 3px; background: var(--sun); transform-origin: left; }
.wallet__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.wallet__total dt { font-weight: 700; font-size: 14px; }
.wallet__total dd { font: 800 28px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
@media (min-width: 1024px) {
  /* the motor shrinks on short laptop screens so the whole hero stays in the first screen */
  .hero__motor { width: min(100%, clamp(340px, (100vh - 405px) * 1.5625, 600px)); width: min(100%, clamp(340px, (100svh - 405px) * 1.5625, 600px)); margin-left: -20px; }
  .wallet { position: absolute; right: 0; bottom: 4px; width: 290px; margin: 0; padding: 12px 16px 14px; }
}
@keyframes grow { from { transform: scaleX(0); } }
@keyframes appear { from { opacity: 0; } }
.wallet__bar i, .wallet__bar b { animation: grow 240ms var(--ease-out) both; }
.wallet__bar i:nth-child(1) { animation-delay: 700ms; } .wallet__bar i:nth-child(2) { animation-delay: 770ms; }
.wallet__bar i:nth-child(3) { animation-delay: 840ms; } .wallet__bar i:nth-child(4) { animation-delay: 910ms; }
.wallet__bar i:nth-child(5) { animation-delay: 980ms; } .wallet__bar i:nth-child(6) { animation-delay: 1050ms; }
.wallet__bar i:nth-child(7) { animation-delay: 1120ms; } .wallet__bar i:nth-child(8) { animation-delay: 1190ms; }
.wallet__bar b { animation-duration: 480ms; animation-delay: 1460ms; }
.wallet [data-n] { animation: appear 160ms linear both; }
.wallet [data-n="trip"] { animation-delay: 1380ms; }
.wallet [data-n="top"] { animation-delay: 1700ms; }
.wallet [data-n="total"] { animation-delay: 1800ms; }
.wallet.is-counting [data-n] { animation: none; }

/* ---- sections -------------------------------------------------------------------------------------------------------- */
.sec { padding-block: var(--section); }
.sec--tint { background: var(--aqua-50); }
.sec--dark { background: var(--teal-900); color: #fff; }
.sec--dark .intro, .sec--dark .fine { color: var(--on-dark); }

/* steps */
.steps { display: grid; gap: 12px; margin-top: 32px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; padding: 18px; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card); }
.step__icon { grid-row: span 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--aqua-100); color: var(--teal-800); }
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 17px; line-height: 24px; font-weight: 700; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--teal); }
.step__when { color: var(--teal); font-size: var(--fs-sm); line-height: 20px; font-weight: 600; }
.step p:last-child { margin-top: 2px; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.step--end { background: var(--teal-800); color: #fff; box-shadow: none; }
.step--end .step__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.step--end h3::before, .step--end .step__when { color: var(--aqua-300); }
.step--end p:last-child { color: var(--on-dark); }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-card); background: var(--sun-50); font-size: 15px; line-height: 23px; }
.callout svg { color: var(--sun-ink); margin-top: 1px; }
.callout b { font-weight: 700; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
  .step { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; padding: 22px 20px 24px; }
  .step__icon { grid-row: auto; margin-bottom: 10px; }
  .callout { max-width: 820px; margin-top: 24px; }
}

/* showroom */
.show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
.show__stage {
  position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: var(--r-panel);
  background: radial-gradient(120% 75% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, #e2f6f7 0%, #c6ecef 60%, #aedfe3 60.3%, #e9f7f8 100%);
  touch-action: pan-y; user-select: none;
}
@supports not (aspect-ratio: 1) { .show__stage { height: 0; padding-top: 68.75%; } }
.show__stage::after { content: ""; position: absolute; left: 14%; right: 10%; bottom: 12%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 50, 54, .42), rgba(6, 50, 54, 0)); }
.show__stage img { position: absolute; z-index: 1; left: 5%; bottom: 11%; width: 90%; height: auto; transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease); }
.show__stage img.is-leaving { opacity: 0; transform: translateX(var(--dir, -24px)); }
.show__stage img.is-entering { opacity: 0; transform: translateX(calc(var(--dir, -24px) * -1)); transition: none; }
.show__badge { position: absolute; z-index: 2; left: 14px; top: 14px; }
.show__name { position: absolute; z-index: 2; right: 16px; top: 12px; color: var(--teal-900); font: 800 22px/1.2 var(--display); text-align: right; }
.show__name small { display: block; color: var(--ink-2); font: 600 13px/18px var(--sans); }
.show__info { display: grid; gap: 18px; align-content: start; }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mcard { position: relative; display: block; cursor: pointer; }
.mcard input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.mcard > span { display: grid; gap: 2px; height: 100%; padding: 10px 12px 12px; border-radius: var(--r-card); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow var(--t-state) var(--ease), background-color var(--t-state) var(--ease); }
.mcard img { width: 100%; aspect-ratio: 25 / 16; object-fit: contain; margin-bottom: 2px; transition: transform var(--t-move) var(--ease), opacity var(--t-state) var(--ease); }
.mcard b { font: 800 18px/24px var(--display); }
.mcard small { color: var(--ink-2); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.mcard:hover > span { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.mcard:hover img { transform: translateX(-3px); }
.mcard input:checked + span { background: var(--aqua-50); box-shadow: inset 0 0 0 2px var(--teal-800); }
.mcard input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.mcard__none { display: grid; place-items: center; aspect-ratio: 25 / 16; margin-bottom: 2px; color: var(--ink-3); }
.mcard__none svg { width: 34px; height: 34px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price .money { font-size: 40px; line-height: 1; }
.price span { color: var(--ink-2); font-weight: 600; }
.price p { flex-basis: 100%; color: var(--ink-2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.swatches legend { margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.swatches legend b { color: var(--ink-2); font-weight: 500; }
.swatches__row { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { position: relative; display: block; padding: 3px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(10, 63, 68, .2), inset 0 -6px 10px rgba(0, 0, 0, .12); transition: box-shadow var(--t-state) var(--ease); }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(10, 63, 68, .2), inset 0 -6px 10px rgba(0, 0, 0, .12), 0 0 0 3px var(--paper), 0 0 0 5px var(--teal-800); }
.swatch input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 6px; }
.sw-aqua { --c: #36bfcb; } .sw-putih { --c: #f2f2f0; } .sw-hitam { --c: #26292b; } .sw-merah { --c: #c8282b; } .sw-zaitun { --c: #a3ad9b; }
[data-model="feliz"] .sw-merah { --c: #8e1f22; } [data-model="feliz"] .sw-zaitun { --c: #c3d3c3; }
.reward { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--sun-50); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.reward svg { color: var(--sun-ink); margin-top: 1px; }
@media (min-width: 1024px) {
  .show { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; margin-top: 48px; }
  .show__stage { aspect-ratio: 4 / 3; }
  .show__name { font-size: 28px; right: 24px; top: 20px; }
  .price .money { font-size: 48px; }
}

/* income */
.earn { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.panel { padding: 24px 20px; border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-card); }
.panel__title { font-size: 18px; line-height: 26px; font-weight: 700; }
.guarantee { background: linear-gradient(160deg, #47d3d9 0%, #24b6be 55%, #169aa2 100%); color: var(--teal-900); box-shadow: none; }
.guarantee .money { display: block; margin: 8px 0 6px; font-size: clamp(46px, 14vw, 64px); line-height: 1; }
.guarantee .money small { margin-left: 6px; font: 700 20px/1 var(--display); }
.guarantee > p { font-size: 15px; line-height: 23px; font-weight: 500; }
.checks { display: grid; gap: 8px; margin: 16px 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .8); font-size: 15px; line-height: 22px; font-weight: 500; }
.checks svg { width: 20px; height: 20px; margin-top: 1px; color: var(--teal-800); stroke-width: 2.4; }
.guarantee .fine { color: var(--teal-900); font-weight: 500; }
.ledger__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--aqua-50); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.seg span { display: block; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 20px; text-align: center; white-space: nowrap; transition: background-color var(--t-state) var(--ease), color var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease); }
.seg input:checked + span { background: var(--paper); color: var(--teal-800); box-shadow: 0 1px 3px rgba(10, 63, 68, .2); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 1px; }
.ledger__day { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 22px; }
.ledger__day label { font-weight: 600; font-size: 15px; }
.ledger__day output { font: 800 36px/1 var(--display); font-variant-numeric: tabular-nums; }
.phases { display: grid; grid-template-columns: 59fr 107fr 34fr; gap: 3px; margin-top: 8px; }
.phases span { padding-top: 8px; border-top: 5px solid var(--line); color: var(--ink-3); font-size: var(--fs-xs); line-height: var(--lh-xs); transition: border-color var(--t-state), color var(--t-state); }
.phases span.is-on { border-top-color: var(--aqua); color: var(--ink); font-weight: 700; }
.ledger__rows { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.ledger__rows th { padding: 11px 0; font-weight: 500; text-align: left; }
.ledger__rows th small { display: block; color: var(--ink-2); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 400; }
.ledger__rows td { padding: 11px 0 11px 12px; text-align: right; font: 800 20px/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; vertical-align: top; }
.ledger__rows tr + tr > * { border-top: 1px solid var(--line); }
.ledger__rows tr.is-paid th { color: var(--ink-2); }
.ledger__rows tr.is-paid td { color: var(--teal); font: 700 14px/22px var(--sans); }
.ledger__rows tr.ledger__total > * { border-top: 2px solid var(--ink); }
.ledger__rows tr.ledger__total th { font-weight: 700; }
.ledger__rows tr.ledger__total td { font-size: 30px; }
.ledger__net { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--sun-50); font-size: 15px; line-height: 23px; }
.ledger__net b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.ledger__net.is-after { background: var(--aqua-50); color: var(--ink-2); }
.ledger__sun { margin-top: 12px; }
.bump { animation: bump 260ms var(--ease-out); }
@keyframes bump { 40% { transform: translateY(-3px); } }
.range { width: 100%; height: 44px; margin: 4px 0 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(var(--aqua), var(--aqua)) 0 / var(--p) 100% no-repeat, var(--line); }
.range::-moz-range-track { height: 8px; border-radius: 4px; background: var(--line); }
.range::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--aqua); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border: 3px solid var(--teal-800); border-radius: 50%; background: var(--paper); box-shadow: 0 3px 8px rgba(10, 63, 68, .25); transition: transform var(--t-press) var(--ease); }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 3px solid var(--teal-800); border-radius: 50%; background: var(--paper); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(15, 123, 130, .3); }
.perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.perk { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 18px; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card); }
.perk__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--aqua-100); color: var(--teal-800); }
.perk .money { font-size: 24px; line-height: 30px; }
.perk .money small { margin-left: 2px; color: var(--ink-2); font: 700 15px/1 var(--display); }
.perk p:last-child { color: var(--ink-2); font-size: 15px; line-height: 23px; }
.perk p b { color: var(--ink); font-weight: 600; }
.perk--sun { background: var(--sun-50); box-shadow: none; }
.perk--sun .perk__icon { background: var(--sun); color: var(--ink); }
@media (min-width: 768px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .earn { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; margin-top: 48px; align-items: start; }
  .panel { padding: 32px; }
  .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
  .perk { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; padding: 22px; }
  .perk__icon { grid-row: auto; margin-bottom: 10px; }
}

/* coaching (the one dark band) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.duo__main { display: grid; gap: 16px; align-content: start; }
.dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 16px; }
.date { display: grid; gap: 2px; padding: 14px 8px 16px; border-radius: var(--r-card); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-dark); text-align: center; }
.date span { color: var(--on-dark); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; }
.date b { font: 800 36px/1.05 var(--display); }
.date:first-child { background: var(--aqua); box-shadow: none; color: var(--teal-900); }
.date:first-child span { color: var(--teal-900); }
.duo .btn { justify-self: start; }
.safe { padding: 24px 20px; border-radius: var(--r-panel); background: var(--paper); color: var(--ink); }
.safe__head { display: flex; gap: 14px; align-items: center; }
.safe__head span { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--sun); color: var(--ink); }
.safe__head svg { width: 28px; height: 28px; }
.safe h3 { font: 800 24px/1.15 var(--display); }
.safe ul { display: grid; gap: 12px; margin-top: 18px; }
.safe li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; line-height: 23px; }
.safe li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--teal); stroke-width: 2.4; }
.safe li b { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) {
  .duo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
  .safe { padding: 36px; }
  .safe h3 { font-size: 30px; }
  .dates { max-width: 520px; }
}

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.qa { display: grid; gap: 10px; }
.qa details { border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card); }
.qa summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; font-size: 16px; line-height: 24px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230b5e64' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  transition: transform var(--t-state) var(--ease);
}
.qa details[open] summary::after { transform: rotate(180deg); }
.qa details[open] summary { padding-bottom: 8px; }
.qa details p { padding: 0 20px 20px; color: var(--ink); font-size: 16px; line-height: 26px; max-width: 64ch; }
@media (min-width: 1024px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; } .qa summary { font-size: 17px; padding: 20px 24px; } .qa details[open] summary { padding-bottom: 8px; } .qa details p { padding: 0 24px 22px; font-size: 17px; line-height: 28px; } }

/* closing band */
.end { position: relative; overflow: hidden; padding: 56px 0 0; background: var(--hero); }
.end__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: start; text-align: left; }
.end__in .intro { color: var(--teal-900); }
.end__pair { position: relative; display: flex; justify-content: center; align-items: flex-end; width: 100%; max-width: 560px; margin: 8px auto 0; }
.end__pair img { width: 56%; }
.end__pair img + img { margin-left: -12%; }
@media (min-width: 1024px) {
  .end { padding: 72px 0; }
  .end__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 16px 48px; }
  .end__in > :not(.end__pair) { grid-column: 1; }
  .end__pair { grid-column: 2; grid-row: 1 / span 3; margin: 0; max-width: none; }
}

/* footer */
.foot { padding: 48px 0 calc(40px + var(--safe-b)); background: var(--mist); color: var(--ink-2); font-size: 15px; line-height: 24px; }
.foot a { color: var(--ink); }
.foot__top { display: grid; gap: 20px; }
.foot__top img { height: 44px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tabs { margin-top: 32px; padding: 6px 20px 20px; border-radius: var(--r-card); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tabs__list { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs__list button { flex: none; margin-bottom: -1px; padding: 12px 8px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.tabs__list button:first-child { padding-left: 0; }
.tabs__list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--aqua); }
.tabs__panel { max-width: 76ch; padding-top: 16px; }
.tabs__panel p + p { margin-top: 10px; }
.tabs__panel b { color: var(--ink); font-weight: 700; }
.foot__legal { margin-top: 24px; color: var(--ink-3); font-size: var(--fs-xs); line-height: var(--lh-xs); }
@media (max-width: 1023.98px) { .foot { padding-bottom: calc(108px + var(--safe-b)); } }
@media (min-width: 1024px) { .foot__top { grid-template-columns: auto 1fr; align-items: center; gap: 48px; } .foot__links { justify-content: flex-end; } }

/* ---- mobile dock + sheet ---------------------------------------------------------------------------------------------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + var(--safe-b));
  background: rgba(255, 255, 255, .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -20px rgba(10, 63, 68, .5);
  transform: translateY(110%); visibility: hidden; transition: transform var(--t-move) var(--ease), visibility 0s linear var(--t-move);
}
.dock.is-on { transform: none; visibility: visible; transition: transform var(--t-move) var(--ease), visibility 0s; }
.dock__in { display: flex; align-items: center; gap: 12px; }
.dock__txt { flex: 1; min-width: 0; color: var(--ink-2); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.dock__txt b { display: block; color: var(--ink); font-size: 15px; line-height: 20px; }
.dock .btn { min-height: 48px; padding: 0 20px; }

.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(10, 63, 68, .5); opacity: 0; transition: opacity var(--t-sheet) var(--ease); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 12px); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px var(--gutter) calc(24px + var(--safe-b)); border-radius: 24px 24px 0 0; background: var(--paper);
  transform: translateY(calc(100% + 24px)); transition: transform var(--t-sheet) var(--ease);
}
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: translateY(var(--drag, 0px)); }
.sheet.is-dragging .sheet__panel { transition: none; }
.sheet__grip { display: block; width: 100%; height: 26px; margin: 0; padding: 0; border: 0; background: none; touch-action: none; cursor: grab; }
.sheet__grip::before { content: ""; display: block; width: 44px; height: 5px; margin: 0 auto; border-radius: 3px; background: var(--line-2); }
.sheet__x { position: absolute; top: 20px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--aqua-50); color: var(--ink); }
.sheet__x svg { width: 22px; height: 22px; }

/* ---- form ---------------------------------------------------------------------------------------------------------------- */
.form { position: relative; }
.form--card { padding: 24px; border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-float); }
.form--card .form__step { gap: 16px; }
.form--card .input { height: 48px; }
.form--card .btn--l { min-height: 50px; }
.form--card .form__head { margin-bottom: 18px; }
.form__head { display: grid; gap: 4px; margin-bottom: 20px; }
.form__head > :not(.form__progress) { padding-right: 52px; }
.form--card .form__head > * { padding-right: 0; }
.form__title { font: 800 28px/1.1 var(--display); letter-spacing: -.01em; }
.form__sub { color: var(--ink-2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.form__progress { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 12px; }
.form__progress i { height: 5px; border-radius: 3px; background: var(--aqua-100); transition: background-color var(--t-move) var(--ease); }
.form__progress i.on { background: var(--aqua); }
.form__step { display: grid; gap: 18px; }
.form__step.in-fwd { animation: in-fwd var(--t-move) var(--ease-out); }
.form__step.in-back { animation: in-back var(--t-move) var(--ease-out); }
@keyframes in-fwd { from { opacity: 0; transform: translateX(18px); } }
@keyframes in-back { from { opacity: 0; transform: translateX(-18px); } }
.field { display: grid; gap: 7px; min-width: 0; }
.field__label { font-weight: 700; font-size: 15px; line-height: 20px; }
.field__label small { color: var(--ink-2); font-weight: 500; }
.field__hint { color: var(--ink-2); font-size: var(--fs-sm); line-height: 20px; }
.field__err { color: var(--err); font-size: var(--fs-sm); line-height: 20px; font-weight: 500; }
.field__err:empty { display: none; }
.field.is-error .field__hint { display: none; }
.input {
  width: 100%; height: var(--ctl-h); padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-ctl); background: var(--paper);
  font-size: 16px; line-height: 24px; -webkit-appearance: none; appearance: none; transition: border-color var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease);
}
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 204, 211, .28); }
.input:disabled { background: var(--mist); color: var(--ink-3); }
select.input { padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2312343a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.field.is-error .input { border-color: var(--err); }
.field.is-error .mcard > span, .field.is-error .opt span, .field.is-error .slot span { box-shadow: inset 0 0 0 1.5px var(--err); }
.field.is-error .input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
.field.shake { animation: shake 280ms var(--ease); }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.affix { display: flex; }
.affix span { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line-2); border-right: 0; border-radius: var(--r-ctl) 0 0 var(--r-ctl); background: var(--aqua-50); font-weight: 700; }
.affix .input { border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 12px; border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; font-size: 15px; transition: box-shadow var(--t-state) var(--ease), background-color var(--t-state) var(--ease); }
.opt:hover span { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.opt input:checked + span { background: var(--aqua-50); box-shadow: inset 0 0 0 2px var(--teal-800); }
.opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.models--form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.models--form .mcard > span { padding: 6px 6px 10px; border-radius: 16px; justify-items: center; text-align: center; }
.models--form .mcard b { font-size: 16px; line-height: 20px; }
.models--act { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin-top: 2px; }
.form__colors .swatch span { width: 32px; height: 32px; }
.form__colors p { flex-basis: 100%; margin-bottom: 4px; color: var(--ink-2); font-size: var(--fs-sm); }
.form__colors p b { color: var(--ink); font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.slot span { display: grid; gap: 2px; padding: 10px 6px 12px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line-2); text-align: center; color: var(--ink-2); font-size: var(--fs-xs); line-height: var(--lh-xs); transition: box-shadow var(--t-state) var(--ease), background-color var(--t-state) var(--ease); }
.slot b { color: var(--ink); font: 700 14px/20px var(--sans); }
.slot strong { color: var(--ink); font: 800 28px/1 var(--display); }
.slot:hover span { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.slot input:checked + span { background: var(--aqua-50); box-shadow: inset 0 0 0 2px var(--teal-800); }
.slot input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.slots__empty { grid-column: 1 / -1; padding: 12px; border-radius: var(--r-ctl); background: var(--aqua-50); color: var(--ink-2); font-size: var(--fs-sm); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: var(--fs-sm); line-height: var(--lh-sm); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--teal-800); cursor: pointer; }
.check b { color: var(--ink); font-weight: 600; }
.form__nav { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 2px; }
.form__err { color: var(--err); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: 500; }
.form__err:empty { display: none; }
.form__fine { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--ink-2); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.form__fine svg { width: 16px; height: 16px; color: var(--teal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.done { display: grid; gap: 16px; }
.done:focus { outline: none; }
.done__mark { width: 60px; height: 60px; }
.done__mark circle { fill: var(--aqua); transform-origin: center; animation: pop 420ms var(--ease-out) both; }
.done__mark path { fill: none; stroke: var(--teal-900); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 360ms var(--ease-out) 240ms forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font: 800 30px/1.1 var(--display); letter-spacing: -.01em; }
.done__next { color: var(--ink-2); }
.done__session { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-card); background: var(--aqua-50); font-size: 15px; line-height: 22px; }
.done__session b { font: 800 24px/1.15 var(--display); }
.done__session a { justify-self: start; margin-top: 6px; font-weight: 700; }
.done__more { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---- toast ----------------------------------------------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); z-index: 60; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r-ctl); background: var(--teal-900); color: #fff; font-size: 15px; line-height: 22px; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity var(--t-state) var(--ease), transform var(--t-state) var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---- aktivasi + login ------------------------------------------------------------------------------------------------------- */
.page-top { padding: 28px 0 92px; background: var(--hero); }
.page-top .h1 { font-size: 36px; }
.page-top .lede { margin-top: 10px; color: var(--teal-900); max-width: 46ch; }
.act { max-width: 640px; margin-top: -64px; padding-bottom: 72px; }
.act__card { padding: 24px 20px; border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-float); }
.act__form { display: grid; gap: 20px; }
.act__preview { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-card); background: radial-gradient(120% 75% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, #e2f6f7 0%, #c6ecef 60%, #aedfe3 60.3%, #e9f7f8 100%); }
.act__preview img { position: absolute; z-index: 1; left: 9%; bottom: 10%; width: 82%; transition: opacity var(--t-move) var(--ease); }
.act__preview::after { content: ""; position: absolute; left: 17%; right: 13%; bottom: 11%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 50, 54, .4), rgba(6, 50, 54, 0)); }
.act__note { padding: 14px 16px; border-radius: var(--r-ctl); background: var(--aqua-50); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.act__steps { display: grid; gap: 10px; margin-top: 18px; counter-reset: s; }
.act__steps li { position: relative; padding-left: 38px; color: var(--ink-2); font-size: 15px; line-height: 23px; }
.act__steps li::before { content: counter(s); counter-increment: s; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--aqua-100); color: var(--teal-800); font: 800 14px/1 var(--display); }
@media (min-width: 1024px) { .page-top { padding: 48px 0 104px; } .page-top .h1 { font-size: 52px; } .act__card { padding: 36px; } }

/* ---- reduced motion --------------------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; transition-duration: 1ms !important; }
}

/* ---- Tanya AI chat ------------------------------------------------------------------------------------------------------------ */
.ask {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 45; display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--paper); color: var(--teal-800);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); font-weight: 700; font-size: 15px;
  transition: transform var(--t-move) var(--ease), bottom var(--t-move) var(--ease), opacity var(--t-state) var(--ease);
}
.ask svg { width: 24px; height: 24px; }
@media (max-width: 1023.98px) {
  .ask { width: 56px; height: 56px; padding: 0; justify-content: center; background: var(--teal-800); color: #fff; box-shadow: var(--shadow-float); }
  .ask span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ask svg { width: 26px; height: 26px; }
}
.ask:active { transform: scale(.96); }
.has-dock .ask { bottom: calc(84px + var(--safe-b)); }
.chat-open .ask { opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .ask { right: 28px; bottom: 28px; } }

.chat { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; background: var(--paper); opacity: 0; transform: translateY(16px); transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease); }
.chat.is-open { opacity: 1; transform: none; }
@media (min-width: 1024px) {
  .chat { inset: auto 28px 28px auto; width: 400px; height: min(620px, calc(100vh - 120px)); border-radius: var(--r-panel); box-shadow: var(--shadow-float), 0 0 0 1px var(--line); overflow: hidden; }
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px 16px; background: var(--hero); border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.chat__avatar img { width: 28px; height: 28px; }
.chat__title { flex: 1; min-width: 0; }
.chat__title b { display: block; font: 800 17px/22px var(--display); }
.chat__title span { color: var(--teal-900); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.chat__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--ink); }
.chat__x svg { width: 22px; height: 22px; }
.chat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--aqua-50); }
.chat__log > * { flex-shrink: 0; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 23px; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; box-shadow: var(--shadow-card); }
.msg--me { align-self: flex-end; background: var(--teal-800); color: #fff; border-bottom-right-radius: 6px; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 8px; }
.msg p + p, .msg p + ol, .msg ol + p, .msg ul + ol, .msg ol + ul { margin-top: 8px; }
.msg ul, .msg ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.msg ul li { position: relative; padding-left: 18px; }
.msg ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.msg ol { counter-reset: n; }
.msg ol li { position: relative; padding-left: 28px; counter-increment: n; }
.msg ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--aqua-100); color: var(--teal-800); font: 800 12px/1 var(--display); }
.msg--bot > p:first-child { font-weight: 600; }
.msg strong { color: var(--teal-900); font-weight: 800; }
.msg--note { align-self: center; max-width: 100%; padding: 8px 12px; background: var(--sun-50); color: var(--ink); font-size: var(--fs-sm); line-height: var(--lh-sm); border-radius: 12px; text-align: center; }
.msg--note button { margin-left: 6px; }
.typing { display: inline-flex; gap: 4px; align-items: center; height: 23px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.typing + small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 8px 12px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--aqua-200); color: var(--teal-800); font-size: 14px; font-weight: 600; text-align: left; }
.chips button:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.chat__foot { padding: 10px 12px calc(10px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--paper); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; }
.chat__form textarea { flex: 1; min-height: 46px; max-height: 120px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 16px; resize: none; font-size: 16px; line-height: 22px; background: var(--paper); }
.chat__form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 204, 211, .28); }
.chat__send { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--teal-800); color: #fff; }
.chat__send svg { width: 22px; height: 22px; }
.chat__send:disabled { opacity: .45; }
.chat__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; color: var(--ink-3); font-size: 12px; line-height: 16px; }
.chat__meta .link { font-size: 13px; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 4px; max-width: 92%; }
.chat-act { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-800); font-weight: 700; font-size: 14px; }
.chat-act::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.chat-act:hover { background: var(--aqua-50); }
.chat-act--main { background: var(--teal-800); color: #fff; box-shadow: none; }
.chat-act--main:hover { background: var(--teal-850); }
.is-flash { animation: sec-flash 1.4s var(--ease-out); }
@keyframes sec-flash { 0%, 30% { box-shadow: 0 0 0 4px rgba(45, 204, 211, .55); } 100% { box-shadow: 0 0 0 4px rgba(45, 204, 211, 0); } }
