/* ══════════════════════════════════════════════════════════════════════════════
   Metra site pages · mt-site.css
   Loaded AFTER mt-land.css by every page that wears the landing's look: tokens, reset, header, footer,
   buttons, plan cards, FAQ and frames come from mt-land.css; this sheet adds each page's own rules.
   One section per page, between  ═══ name ═══  and  ═══ /name ═══ . Keep to your own section.
   Blocks are labelled SHARED, PHONE ONLY (≤719px), TABLET ONLY (720–1023px), DESKTOP ONLY (≥1024px);
   hover lives only inside (min-width: 1024px) and (hover: hover).
   ══════════════════════════════════════════════════════════════════════════════ */


/* ═══ login ═══ */
/* login.html, and the three pages that share its frame: register.html, forgot-password.html, reset-password.html.
   body.au > header.fn-top.au-top (the wordmark alone) + main.au-main > div.au-box + footer.fn-foot.au-foot
   Written by the page scripts and mt-funnel.js, styled here: .fn-msg(.ok|.err), .fn-captcha, .gsi, .fn-link,
   .rg-plan. Every rule is scoped to body.au. */

/* SHARED · frame */
.au { display: flex; flex-direction: column; --up: var(--c-up); }      /* --up: the password hint's "long enough" colour, set inline by the scripts */
.au-top { position: static; }
.au-main { flex: 1 0 auto; display: flex; justify-content: center; padding: 32px max(var(--gut), env(safe-area-inset-right)) 48px max(var(--gut), env(safe-area-inset-left)); }
.au-box { width: 100%; max-width: 384px; }
.au-box h1 { font-size: 1.75rem; }
.au-sub { margin-top: 8px; color: var(--c-ink-3); text-wrap: pretty; }
.au-box form { margin-top: 24px; }

/* SHARED · the plan a reader is on the way to pay for (login.html with ?next=/checkout.html?plan=…) */
.au-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 13px 14px; border: 1px solid var(--c-line-2); border-radius: var(--r); background: var(--c-char); font-size: .875rem; line-height: 1.4; }
.au-plan b { font-weight: 600; }
.au-plan span { color: var(--c-ink-3); white-space: nowrap; }
.au-plan .num { color: var(--c-ink); }

/* SHARED · fields */
.au .fn-field { display: block; }
.au .fn-field + .fn-field { margin-top: 20px; }
.au .fn-field > span:first-child, .au .fn-lab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--c-ink-2); font: 500 .875rem/1.4 var(--f-text); }
.au .fn-field input {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--c-line-2); border-radius: var(--r); background: var(--c-char); color: var(--c-ink);
  font: 400 1rem/1.2 var(--f-text);                                    /* 16px: iOS does not zoom into the field */
  -webkit-appearance: none; appearance: none;
}
.au .fn-field input::placeholder { color: #8F8F8F; opacity: 1; }
.au .fn-field input:focus { outline: 2px solid var(--c-amber); outline-offset: -1px; border-color: var(--c-amber); }
.au .fn-field input:-webkit-autofill { -webkit-text-fill-color: var(--c-ink); caret-color: var(--c-ink); box-shadow: inset 0 0 0 48px var(--c-char); }
.au .fn-field .hint { display: block; margin-top: 8px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.4; }
.au-forgot { position: relative; color: var(--c-ink-3); font-weight: 400; text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 4px; }
.au-forgot::after { content: ""; position: absolute; inset: -20px -8px -8px; }       /* 20px of text, 48px to hit; it stops short of both fields */

/* SHARED · the button, the bot check above it, what the server answered below it */
.au-box form > .fn-btn.wide { min-height: 48px; margin-top: 24px; }
.au .fn-captcha > div { display: grid; justify-items: center; }
.au .fn-captcha { margin-block: 16px -16px; }                          /* Turnstile is 0px tall unless it wants a click: then 16px above it, 8px below */
.au .fn-msg { margin-top: 16px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.5; text-wrap: pretty; }
.au .fn-msg:empty { display: none; }
.au .fn-msg.ok, .au .fn-msg.err { position: relative; padding: 12px 14px 12px 34px; border: 1px solid var(--c-line-2); border-radius: var(--r); background: var(--c-char); color: var(--c-ink); }
.au .fn-msg.ok::before, .au .fn-msg.err::before { content: ""; position: absolute; left: 14px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-up); }
.au .fn-msg.err::before { background: var(--c-down); }
.au .fn-msg b { font-weight: 600; }
.au .fn-msg + .fn-btn { min-height: 48px; }                            /* "Kirim ulang tautan konfirmasi", added under the error */
.au .fn-link { position: relative; color: var(--c-ink); font: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-ink-3); text-underline-offset: 4px; cursor: pointer; }
.au .fn-link::after { content: ""; position: absolute; inset: -14px -6px; }
.au .fn-link[disabled] { color: var(--c-ink-3); cursor: default; }

/* SHARED · errors in two places. A field found wrong before anything is sent: red border + one line under it
   (.fn-ferr, the input's aria-describedby). What the server answered: #msg, the form's first child, above the fields.
   While a request runs the pressed button carries the progress text, so a neutral #msg is read out, not drawn. */
.au .fn-field input[aria-invalid="true"] { border-color: var(--c-down); }
.au .fn-field input[aria-invalid="true"]:focus { outline-color: var(--c-down); border-color: var(--c-down); }
.au .fn-ferr { display: block; margin-top: 6px; color: var(--c-down); font: 400 .75rem/1.4 var(--f-text); text-align: left; }
.au .fn-ferr[hidden] { display: none; }
.au form > .fn-msg:first-child { margin: 0 0 16px; }
.au form > .fn-msg:first-child:not(.ok):not(.err) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* SHARED · Google, and the way to the other form */
.au-or { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--c-ink-3); font-size: .875rem; line-height: 1; white-space: nowrap; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.au .gsi { display: flex; justify-content: center; height: 40px; margin-top: 20px; border-radius: var(--r); overflow: hidden; }
.au .gsi iframe { color-scheme: light; }
.au-alt { margin-top: 20px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.5; text-align: center; text-wrap: balance; }
.au-alt > a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; color: var(--c-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-ink-3); text-underline-offset: 4px; }

/* SHARED · footer: the legal links, help, the disclaimer */
.au-foot { padding-block: 12px calc(12px + env(safe-area-inset-bottom)); }
.au-foot .fn-foot-in { display: flex; grid-template-columns: none; gap: 0 20px; }
.au-foot .fn-foot-in > span:first-child { order: 0; }

/* SHARED · login.html and register.html: one card, the form beside the product (above it on phones).
   main.au-main.au-split > div.au-card > div.au-box (a.au-brand, h1, #gsiWrap, form, …) + figure.au-art (img + figcaption)
   No header on these two: the wordmark sits in the box. Fields carry their name inside (placeholder + aria-label). */
.au-card { width: 100%; }
.au .au-brand { display: flex; width: max-content; min-height: 48px; margin: 0 auto 4px; padding-block: 0; align-items: center; font-size: 1.25rem; }
.au .au-brand b { display: inline; }
.au .au-brand::after { content: none; }
.au-split h1, .au-split .au-sub { text-align: center; }
.au-split .au-box form { margin-top: 16px; }
.au-split #gsiWrap { margin-top: 20px; }
.au-split .gsi { margin-top: 0; }
.au-split .au-or { margin-top: 16px; }
.au-split .fn-field + .fn-field { margin-top: 12px; }
.au-split .fn-field input, .co-kupon-in input { background: var(--c-surface); }
.au-split .fn-field input:-webkit-autofill { box-shadow: inset 0 0 0 48px var(--c-surface); }
.au-pw { position: relative; }
.au-pw input { padding-right: 52px; }
.au-eye { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; color: var(--c-ink-3); }
.au-eye .off { opacity: 0; }                                           /* the stroke through the eye: what is typed is showing */
.au-eye[aria-pressed="true"] { color: var(--c-ink); }
.au-eye[aria-pressed="true"] .off { opacity: 1; }
.au-under { display: flex; justify-content: flex-end; margin-top: 10px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.4; }
.au-under.two { justify-content: space-between; gap: 16px; }
button.au-forgot { font: inherit; }
.au-under:empty { display: none; }
.au-split form > .fn-btn.wide { margin-top: 16px; }
.au-terms { margin-top: 16px; color: var(--c-ink-3); font-size: .75rem; line-height: 1.5; text-align: center; text-wrap: balance; }
.au-terms a { color: var(--c-ink-2); text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 3px; }
.au-split .au-alt { margin-top: 4px; }
.au-art { position: relative; margin: 0; overflow: hidden; background: var(--c-bg); }
.au-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% 100%; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }   /* the newest candles, where the order flow is densest */
.au-art figcaption { position: absolute; inset: 0 0 auto; display: grid; gap: 4px; padding: 28px 28px 72px; background: linear-gradient(rgba(9, 9, 9, .94) 45%, transparent);   /* the chart's empty upper third */ color: var(--c-ink-3); font-size: .8125rem; line-height: 1.5; }
.au-art figcaption b { color: var(--c-ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }

/* SHARED · register.html: the plan being bought, in one row; "Ganti" opens the plans, the period and the kupon field */
.rg-pick { margin-top: 20px; border: 1px solid var(--c-line-2); border-radius: var(--r); background: var(--c-surface); }
.rg-pick summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; list-style: none; cursor: pointer; }
.rg-pick summary::-webkit-details-marker { display: none; }
.rg-cur { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; min-width: 0; }
.rg-cur b { font-weight: 600; line-height: 1.3; }
.rg-cur .num { color: var(--c-ink-2); font-size: .875rem; white-space: nowrap; }
.rg-cur small { grid-column: 1 / -1; color: var(--c-ink-3); font-size: .75rem; line-height: 1.5; }
.rg-pick summary em { flex: none; color: var(--c-ink-3); font-size: .875rem; font-style: normal; text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 4px; }
/* open, the row names its own exit: "Pilih paket" … "Selesai" instead of repeating the chosen pill under it */
.rg-open, .rg-pick summary em.o { display: none; }
.rg-pick[open] .rg-cur, .rg-pick[open] summary em.c { display: none; }
.rg-pick[open] .rg-open { display: block; flex: 1; color: var(--c-ink-2); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.rg-pick[open] summary em.o { display: inline; }
.rg-body { display: grid; gap: 12px; padding: 4px 14px 14px; }
.au .rg-period { justify-self: start; display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--c-line-2); border-radius: var(--r); }
.au .rg-period button { position: relative; min-height: 32px; padding: 0 10px; border-radius: 7px; color: var(--c-ink-3); font: 500 .8125rem/1 var(--f-text); white-space: nowrap; }
.au .rg-period button::after { content: ""; position: absolute; inset: -8px 0; }
.au .rg-period button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-bg); }
.au .rg-period button em { margin-left: 4px; color: var(--c-up); font: 500 .75rem/1 var(--f-mono); font-style: normal; }
.au .rg-period button[aria-pressed="true"] em { color: inherit; }
.rg-body .pp { background: var(--c-char); }
.rg-body .fn-field input { background: var(--c-char); }
.au .rg-later { display: block; width: 100%; min-height: 48px; margin-top: 4px; color: var(--c-ink-3); font: 400 .875rem/1.4 var(--f-text); text-align: center; text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 4px; }
.au .rg-later[disabled] { opacity: .5; cursor: not-allowed; }

/* SHARED · the code step (login.html, register.html): a six-digit code from the mail, typed into one field */
.au-code { margin-top: 16px; text-align: center; }
.au-code .dots { height: 64px; }
.au-code-to { margin-top: 16px; color: var(--c-ink-2); line-height: 1.6; text-wrap: pretty; }
.au-code-to b { color: var(--c-ink); font-weight: 600; overflow-wrap: anywhere; }
.au-one.is-sent .au-box h1 { text-align: center; }                    /* forgot-password "Cek email": the title sits over the centred picture */
.au-ttl { margin-top: 4px; color: var(--c-ink-3); font-size: .75rem; line-height: 1.5; }
/* div.au-otp-w > input.au-otp#cd + div.au-otp-cells > i ×3 + b.gap + i ×3. The input is the one real field (one-time-code
   autofill, paste, the auto-submit at six digits), laid over the cells and drawn transparent; the page script writes each
   digit into its cell, .on on the next one while the field has focus, .err / .busy on the wrapper. */
.au-otp-w { position: relative; }
.au-otp-cells { display: flex; justify-content: center; gap: 8px; }
.au-otp-cells i { display: grid; place-items: center; width: 48px; height: 60px; border: 1px solid var(--c-line-2); border-radius: var(--r); background: var(--c-surface); color: var(--c-ink); font: 700 1.5rem/1 var(--f-mono); font-style: normal; }
.au-otp-cells .gap { flex: none; width: 4px; }                         /* 3 + 3: 20px between the groups, 8px inside */
.au-otp-cells i.on { border-color: var(--c-amber); box-shadow: inset 0 0 0 1px var(--c-amber); }
.au-otp-w.busy i { color: #8F8F8F; }
.au-otp-w.err i { border-color: var(--c-down); box-shadow: none; }
.au-otp-w.err i.on { box-shadow: inset 0 0 0 1px var(--c-down); }
.au-otp { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent; font: 400 1rem/1 var(--f-mono); text-align: center; outline: none; cursor: text; -webkit-appearance: none; appearance: none; }
.au-otp::selection { background: transparent; }
.au-otp:-webkit-autofill { -webkit-text-fill-color: transparent; transition: background-color 600000s 0s; }
.au-code form { margin-top: 16px; }
.au-code .fn-msg { text-align: left; }
.co .fn-state { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: var(--c-ink-2); font: 500 .875rem/1.4 var(--f-mono); }
.co .fn-state i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-amber); animation: au-wait 1.6s ease-in-out infinite; }
@keyframes au-wait { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .co .fn-state i { animation: none; } }
.rg-wait-alt { display: flex; justify-content: center; gap: 28px; margin-top: 8px; font-size: .875rem; }
.rg-wait-alt .fn-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; }
.rg-wait-alt .fn-link .num { min-width: 4ch; text-align: left; }
.rg-wait-alt .fn-link[disabled] { text-decoration: none; }             /* waiting: not a link yet */      /* "Kirim ulang 0:30": the wait ticks down in place */

/* PHONE ONLY (≤719px) · the form starts under the header; the wordmark is written out because nothing else shares the bar */
@media (max-width: 719px) {
  .au-top .fn-brand { font-size: 1.125rem; }
  .au-top .fn-brand b { display: inline; }
  .au-top .fn-brand::after { inset: 0; }
  .au-foot .fn-foot-in { gap: 0 16px; }
  /* the picture is a band across the top that fades into the page; the wordmark and the title sit on its lower edge */
  .au-split { padding-top: 0; padding-inline: 0; }
  .au-card { display: flex; flex-direction: column; }
  .au-art { order: -1; height: 168px; -webkit-mask-image: linear-gradient(#000 25%, transparent); mask-image: linear-gradient(#000 25%, transparent); }
  .au-art figcaption { display: none; }
  .au-split .au-box { position: relative; max-width: calc(384px + 2 * var(--gut)); margin: -44px auto 0; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
  .au-split h1 { font-size: 1.5rem; }
  .au-split .au-sub { margin-top: 4px; font-size: .875rem; }
  /* the six code cells share the width: 44–52px wide at 360–430, 56px tall */
  .au-otp-cells i { flex: 1 1 0; width: auto; max-width: 52px; height: 56px; }
}
/* PHONE ONLY · short screens: less picture, so the button stays on the first screen */
@media (max-width: 719px) and (max-height: 720px) { .au-art { height: 120px; } }

/* TABLET ONLY (720–1023px) */
@media (min-width: 720px) and (max-width: 1023px) {
  .au-main { padding-block: 72px 64px; }
  .au-box { max-width: 400px; }
  /* one card: the picture on top, the form under it */
  .au-split { padding-block: 40px 48px; }
  .au-card { display: flex; flex-direction: column; max-width: 496px; margin-inline: auto; padding: 12px 12px 28px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-char); }
  .au-art { order: -1; height: 232px; border-radius: 14px; }
  .au-split .au-box { max-width: 360px; margin: 20px auto 0; }
  /* forgot / reset password: one centred column, like 404 and onboarding */
  .au-one .au-box h1, .au-one .au-sub { text-align: center; }
}

/* DESKTOP ONLY (≥1024px) · the form sits in the middle of the window */
@media (min-width: 1024px) {
  .au-main { align-items: center; padding-block: 56px 72px; }
  .au-box { max-width: 400px; }
  .au-foot { padding-block: 12px; }
  .au .fn-field input { transition: border-color .16s; }
  .au-alt > a, .au-forgot, .au .fn-link, .au .rg-later { transition: color .16s, text-decoration-color .16s; }
  /* one card in the middle of the window: the form on the left, the product on the right */
  .au-split { padding-block: 32px 40px; }
  .au-card { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); width: min(1080px, 100%); min-height: min(680px, calc(100vh - 136px)); padding: 12px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-char); }
  .au-split .au-box { align-self: center; justify-self: center; max-width: 344px; padding-block: 24px; }
  .au-art { border-radius: 14px; }
  .au-eye, .rg-pick summary em { transition: color .16s; }
  .au-one .au-box h1, .au-one .au-sub { text-align: center; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .au .fn-field input:hover:not(:focus) { border-color: #8F8F8F; }
  .au-forgot:hover, .au-eye:hover, .rg-pick summary:hover em, .au-terms a:hover, .au .rg-later:hover:not([disabled]) { color: var(--c-ink); text-decoration-color: var(--c-ink-3); }
  .au-alt > a:hover, .au .fn-link:hover:not([disabled]) { text-decoration-color: var(--c-ink); }
  .au .rg-period button:not([aria-pressed="true"]):hover { color: var(--c-ink); }
}
/* ═══ /login ═══ */


/* ═══ legal ═══ */
/* terms.html and privacy.html: a reading layout. The words are the legal text and are not touched here.
   main.doc > .fn-wrap.doc-in > header.doc-head (h1 + p.doc-meta) + details.doc-toc#toc (summary + ol) + article.doc-body
   The contents are a <details>: closed on phones and tablets, held open beside the text on desktop (inline script). */

/* SHARED */
.doc { padding-block: 32px 56px; }
.doc-in > * { min-width: 0; }
.doc-head h1 { font-size: 1.75rem; }
.doc-meta { margin-top: 12px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.5; }
.doc-meta time { color: var(--c-ink-2); white-space: nowrap; }

.doc-toc { margin-top: 24px; border-block: 1px solid var(--c-line); }
.doc-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; font: 500 1rem/1.35 var(--f-text); list-style: none; cursor: pointer; }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary i { position: relative; flex: none; width: 16px; height: 16px; transition: transform .24s var(--e-out); }
.doc-toc summary i::before, .doc-toc summary i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 7px; height: 1.5px; background: var(--c-ink-2); }
.doc-toc summary i::after { transform: rotate(90deg); }
.doc-toc[open] summary i { transform: rotate(45deg); }
.doc-toc ol { margin: 0; padding: 0 0 8px; list-style: none; }
.doc-toc a { display: flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 13px 0; color: var(--c-ink-2); font-size: .875rem; line-height: 1.55; text-decoration: none; }
.doc-toc a .num { flex: none; min-width: 24px; color: var(--c-ink-3); }

.doc-body { max-width: 36rem; margin-top: 24px; color: var(--c-ink-2); line-height: 1.7;  /* 576px of Inter at 16px: about 70 characters a line */ text-wrap: pretty; }
.doc-body > p + p, .doc-body > ul + p { margin-top: 16px; }
.doc-body h2 { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 12px; color: var(--c-ink); font-size: 1.25rem; line-height: 1.3; text-wrap: balance; }
.doc-body h2 .num { flex: none; color: var(--c-ink-3); font-size: .875rem; letter-spacing: 0; }
.doc-body ul { margin: 0; padding-left: 20px; }
.doc-body li { padding-left: 4px; }
.doc-body li + li { margin-top: 8px; }
.doc-body li::marker { color: #8F8F8F; }
.doc-body b { color: var(--c-ink); font-weight: 600; }
.doc-body a, .doc-meta a { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-ink-3); text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.doc-body code { color: var(--c-ink); font: 500 .9375em/1 var(--f-mono); }
.doc ~ .fn-foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }     /* no offer bar on these pages to keep clear of */

/* PHONE ONLY (≤719px) · one column; the contents open in place */
@media (max-width: 719px) {
  .doc-body { font-size: .875rem; line-height: 1.65; }                             /* the landing's phone size for running text (its FAQ answers) */
  .doc-body > p + p, .doc-body > ul + p { margin-top: 12px; }
  .doc-body h2 { margin: 28px 0 8px; scroll-margin-top: 16px; }                    /* the header has scrolled away */
  .doc-body ul { padding-left: 18px; }
  .doc-body li + li { margin-top: 6px; }
}

/* TABLET ONLY (720–1023px) · one column at reading width */
@media (min-width: 720px) and (max-width: 1023px) {
  .doc { padding-block: 56px 80px; }
  .doc-in > * { max-width: 36rem; margin-inline: auto; }                           /* the column sits in the middle of the page */
  .doc-head h1 { font-size: 2.5rem; }
  .doc-toc { margin-top: 32px; }
  .doc-body { margin-top: 32px; }
  .doc-body h2 { margin-top: 44px; }
}

/* DESKTOP ONLY (≥1024px) · the contents stay beside the text; section numbers hang in the margin */
@media (min-width: 1024px) {
  .doc { padding-block: 72px 112px; }
  .doc-in { display: grid; grid-template-columns: 232px minmax(0, 36rem); grid-template-areas: "toc head" "toc body"; grid-template-rows: auto 1fr; column-gap: clamp(56px, 6vw, 96px); }
  .doc-head { grid-area: head; }
  .doc-head h1 { font-size: 2.5rem; }
  .doc-body { grid-area: body; margin-top: 40px; }
  .doc-body h2 { margin: 48px 0 12px -42px; }
  .doc-body h2 .num { width: 32px; text-align: right; }
  .doc-toc { grid-area: toc; align-self: start; position: sticky; top: calc(var(--top-h) + 32px); max-height: calc(100vh - var(--top-h) - 64px); margin-top: 8px; border: 0; overflow-y: auto; }
  .doc-toc summary { min-height: 32px; color: var(--c-ink-3); font-size: .875rem; cursor: default; }
  .doc-toc summary i { display: none; }
  .doc-toc ol { margin-top: 4px; padding: 0; border-left: 1px solid var(--c-line); }
  .doc-toc a { min-height: 0; padding: 7px 0 7px 16px; line-height: 1.45; color: var(--c-ink-3); transition: color .16s; }
  .doc-toc a .num { min-width: 26px; }
  .doc-toc a[aria-current] { color: var(--c-ink); box-shadow: -1px 0 0 var(--c-ink); }
  .doc-toc a[aria-current] .num { color: var(--c-ink-2); }
  .doc-body a { transition: text-decoration-color .16s; }
}
@media (min-width: 1024px) and (pointer: coarse) { .doc-toc a { min-height: 48px; align-items: center; } }
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .doc-toc a:hover { color: var(--c-ink); }
  .doc-body a:hover, .doc-meta a:hover { text-decoration-color: var(--c-ink); }
}
/* ═══ /legal ═══ */


/* ═══ chrome ═══ */
/* What MF.top (mt-funnel.js) draws on every page except the landing: the page links in the header, and two
   helper classes its markup uses. Written once here so each page does not restyle them. */

/* SHARED */
.fn-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fn-link { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-ink-3); text-underline-offset: 4px; }
.fn-top nav a:not(.fn-btn) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  color: var(--c-ink-2); font: 500 .875rem/1 var(--f-text); text-decoration: none; white-space: nowrap;
}
.fn-top nav a[aria-current] { color: var(--c-ink); }
.fn-top nav a:not(.fn-btn) + .fn-btn { margin-left: 12px; }

/* SHARED · plan rows (.pp): wherever a plan is chosen, one pill a plan. Radio inputs inside labels; the page script fills them.
   div.pp-list[role=radiogroup] > label.pp(.on) > input[type=radio] + b (name) + small (what it opens) + span.num (price)
   Used by register.html, checkout.html, and on phones by the price list. The landing carries the same rules in mt-land.css. */
.pp-list { display: grid; gap: 8px; }
.pp { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border: 1px solid var(--c-line-2); border-radius: 999px; background: var(--c-surface); cursor: pointer; }
.pp input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-amber); grid-row: 1 / span 2; }
.pp b { font-size: .9375rem; font-weight: 600; line-height: 1.25; }
.pp small { grid-column: 2; color: var(--c-ink-3); font: 500 .75rem/1.3 var(--f-mono); }
.pp .num { grid-column: 3; grid-row: 1 / span 2; font-size: .875rem; white-space: nowrap; }
.pp.on, .pp:has(input:checked) { border-color: var(--c-ink); }
.pp:has(input:focus-visible) { outline: 2px solid var(--c-amber); outline-offset: 2px; }
.pp:has(input:disabled) { cursor: default; }
.pp:has(input:disabled):not(.on) { opacity: .45; }
@media (min-width: 1024px) and (hover: hover) { .pp:hover:not(.on):not(:has(input:disabled)) { border-color: #8F8F8F; } }

/* SHARED · dot pictures (/assets/img/dots/*.svg, built by research/landing-v2/tools/dots.py): the pixel mark's grid, for states with nothing else to show */
.dots { display: block; width: auto; height: 72px; margin-inline: auto; }

/* PHONE ONLY (≤719px) · the header is the landing's: mark, market switch, "Masuk" as text, the one button */
@media (max-width: 719px) {
  .fn-top nav a.fn-hide-sm { display: none; }
  .fn-top nav .fn-btn.ghost[href="/login.html"] { display: inline-flex; }
}

/* TABLET ONLY (720–1023px) · no room for the page links; the footer carries them */
@media (min-width: 720px) and (max-width: 1023px) {
  .fn-top nav a.fn-hide-sm:not(.fn-btn) { display: none; }
}

/* DESKTOP ONLY (≥1024px) */
@media (min-width: 1024px) {
  .fn-top nav a:not(.fn-btn) { transition: color .16s; }
}
/* DESKTOP ONLY · small laptops (1024–1199px): the links sit closer */
@media (min-width: 1024px) and (max-width: 1199px) {
  .fn-top nav { gap: 0; }
  .fn-top nav a:not(.fn-btn) { padding: 0 10px; }
  .fn-top nav .fn-btn + .fn-btn { margin-left: 8px; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .fn-top nav a:not(.fn-btn):hover, .fn-link:hover { color: var(--c-ink); }
  .fn-link:hover { text-decoration-color: var(--c-amber); }
}
/* ═══ /chrome ═══ */


/* ═══ pricing ═══ */
/* /pricing.html, <body class="pg-pricing">. It is also the paywall (?need=plan) for a signed-in account without a plan.
   The plan cards (.pl, .pk), the kupon row (.pl-links) and the FAQ (.fq) are the landing's, from mt-land.css.
   Own classes: .pr (head and plans), .pw (paywall), .ps-seg (segmented control, shared with services), .cm / .ct (comparison). */

/* SHARED · head: title, one line, the period switch */
.pr h1 { font-size: 2.125rem; }
.pr .lede { margin-top: 8px; }
.pr-title { display: grid; gap: 16px; }
.ps-seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--c-line-2); border-radius: var(--r); }
.ps-seg button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 7px; color: var(--c-ink-2); font: 500 .875rem/1 var(--f-text); white-space: nowrap; touch-action: manipulation;
}
.ps-seg button[aria-pressed="true"] { background: #1F1F1F; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.pr-save { color: var(--c-amber); font: 500 .75rem/1 var(--f-mono); }

/* SHARED · a note for a reader the gate sent here from a locked desk, or who carries a kupon */
.pr-note { margin-bottom: 20px; padding-left: 12px; border-left: 2px solid var(--c-amber); color: var(--c-ink-2); font-size: .875rem; line-height: 1.6; }
.pr-note b { color: var(--c-ink); font-weight: 600; }

/* SHARED · the paywall: why the terminal is shut, the way back in, a charge left open, the way out */
.pw { margin-bottom: 28px; border: 1px solid var(--c-line-2); border-radius: var(--r-lg); background: var(--c-surface); overflow: hidden; }
.pw-main { display: grid; gap: 16px; padding: 16px; }
.pw .dots { margin: 0 0 16px; }                    /* the lock (a tick once a payment has arrived), on the text's left edge */
.pw-tag { display: flex; align-items: center; gap: 8px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.4; }
.pw-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber); }
.pw.is-paid .pw-tag::before { background: var(--c-up); }
.pw-msg { margin-top: 8px; font: 600 1.25rem/1.25 var(--f-text); letter-spacing: -.015em; text-wrap: balance; }
.pw-sub { margin-top: 6px; color: var(--c-ink-2); font-size: .875rem; line-height: 1.5; }
.pw-sub:empty { display: none; }
.pw-act { display: grid; gap: 8px; }
.pw-act:empty { display: none; }   /* no plan to renew: the plans below are the action */
.pw-act .fn-btn { min-height: 48px; white-space: normal; text-align: center; }
.pw-pend { display: grid; padding: 12px 16px 4px; border-top: 1px solid var(--c-line); color: var(--c-ink-2); font-size: .875rem; line-height: 1.5; }
.pw-pend .tb { overflow-wrap: anywhere; }
.pw-foot { padding: 12px 16px 4px; border-top: 1px solid var(--c-line); background: var(--c-char); }
.pw-who { color: var(--c-ink-3); font: 500 .75rem/1.5 var(--f-mono); overflow-wrap: anywhere; }
.pw-who:empty { display: none; }
.pw-out { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pw-out .tb { min-width: 48px; color: var(--c-ink-2); font-weight: 400; }
.is-wall .pr h1 { font-size: 1.5rem; }
.is-wall .pr .lede { display: none; }
/* inside a pane of the terminal (a frame): one line and the button that opens the paywall in the whole window */
.pw-pane { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 20px; text-align: center; color: var(--c-ink-2); font-size: .875rem; line-height: 1.5; }
.pw-pane p { max-width: 30ch; text-wrap: balance; }
.pw-pane b { display: block; color: var(--c-ink); font: 600 1.25rem/1.25 var(--f-text); letter-spacing: -.015em; }
.pw-pane .fn-btn { min-height: 48px; padding: 0 28px; }

/* SHARED · plans: the landing's cards; here each carries its plan id for links such as /pricing.html#pro */
.pg-pricing .pl { margin-top: 24px; }
.pg-pricing .pk-price { flex-wrap: wrap; row-gap: 2px; }
.pg-pricing .pk-f .fn-btn[disabled] { border-style: dashed; }
.pg-pricing .pl-links { flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.pg-pricing #kupon summary { display: inline-flex; align-items: center; min-height: 48px; min-width: 150px; color: var(--c-ink-2); font-size: .875rem; text-decoration: underline; text-decoration-color: var(--c-ink-3); text-underline-offset: 4px; list-style: none; cursor: pointer; }
.pg-pricing #kupon summary::-webkit-details-marker { display: none; }
.pg-pricing #kupon p { max-width: 40ch; padding-bottom: 12px; color: var(--c-ink-2); font-size: .875rem; }
.pg-pricing .pl-links summary { display: inline-flex; align-items: center; min-height: 48px; }

/* SHARED · comparison: one table. Three figures, then one row per area with the count each plan opens;
   an area's desks stay folded until asked for */
.cm { background: var(--c-char); border-block: 1px solid var(--c-line); }
.cm-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 24px; }
.cm-h .tb { color: var(--c-ink-2); font-weight: 400; }
.ct { width: 100%; margin-top: 12px; border-collapse: collapse; }
.ct th, .ct td { padding: 0; font-weight: 400; }
.ct thead th { position: sticky; top: 0; z-index: 2; height: 48px; background: var(--c-char); box-shadow: inset 0 -1px var(--c-line-2); color: var(--c-ink); font: 500 .75rem/1.2 var(--f-text); text-align: center; vertical-align: middle; }
.ct thead th:first-child { width: 100%; }
.ct thead small { display: block; margin-top: 4px; color: var(--c-ink-3); font: 500 .75rem/1 var(--f-mono); }
.ct .ct-p { min-width: 56px; padding-inline: 4px; }
.ct tbody tr { border-top: 1px solid var(--c-line); }
.ct tbody:first-of-type tr:first-child { border-top: 0; }
.ct tbody th { padding: 12px 12px 12px 0; color: var(--c-ink-2); font: 400 .875rem/1.35 var(--f-text); text-align: left; }
.ct tbody td { padding: 12px 4px; color: var(--c-ink); font: 500 .75rem/1.35 var(--f-mono); font-variant-numeric: tabular-nums; text-align: center; vertical-align: middle; }
.ct-gen th { color: var(--c-ink); }
.ct .ct-g tr { border-top-color: var(--c-line-2); }
.ct .ct-g th { padding: 0; }
.ct-g button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; color: var(--c-ink); font: 600 1rem/1.2 var(--f-text); text-align: left; touch-action: manipulation; }
.ct-g button i { flex: none; width: 7px; height: 7px; margin-top: -3px; border: solid var(--c-ink-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ct-g button[aria-expanded="true"] i { margin-top: 3px; transform: rotate(-135deg); }
.ct .ct-g td { font-size: .875rem; cursor: pointer; }
.ct .ct-g td.z { color: var(--c-ink-3); }
.ct-y { width: 16px; height: 16px; margin-inline: auto; }
.ct-x { display: block; width: 8px; height: 1.5px; margin-inline: auto; background: var(--c-ink-3); opacity: .6; }
.ct tr.is-hit th { padding-left: 10px; box-shadow: inset 2px 0 var(--c-amber); color: var(--c-ink); }
/* the buy row at the table's end: an outline button in each plan's column (tablet and desktop; phones have the buy bar) */
.ct tfoot tr { border-top: 1px solid var(--c-line-2); }
.ct tfoot td { padding: 16px 4px 0; }
.ct tfoot .fn-btn { width: 100%; min-width: 0; padding: 0 8px; font-size: .875rem; }
.ct tfoot .ct-own { border-color: transparent; color: var(--c-ink-3); font-weight: 500; cursor: default; }

/* PHONE ONLY (≤719px) */
@media (max-width: 719px) {
  .pg-pricing main > section.pr { padding-block: 16px 32px; }
  .ps-seg { display: flex; }
  .ps-seg button { flex: 1 1 0; min-height: 44px; padding: 0 8px; }
  .ps-seg button::after { content: ""; position: absolute; inset: -4px 0; }       /* 44px to look at, 52px to hit */
  .pw-act .fn-btn { width: 100%; }
  .pg-pricing .pl-links { display: grid; }
  .cm-h .tb { min-height: 48px; }
  .ct .ct-p { min-width: 64px; }
  .ct tfoot { display: none; }
  /* the paywall card: the lock in a narrow column beside the text, the links in one row, so the first plan pill shows early */
  .pw-main > div:first-child { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .pw-main > div:first-child > * { grid-column: 2; }
  .pw-main > div:first-child > .dots { grid-column: 1; grid-row: 1 / span 3; height: 40px; margin: 0; }
  .pw-msg { margin-top: 4px; font-size: 1.125rem; }
  .pw-sub { margin-top: 4px; }
  .pw-out { gap: 0 20px; }
}

/* TABLET ONLY (720–1023px) */
@media (min-width: 720px) and (max-width: 1023px) {
  .pg-pricing main > section.pr { padding-block: 40px 56px; }
  .pr h1 { font-size: 2.5rem; }
  .pr-title { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .ps-seg button { min-height: 40px; }
  .ps-seg button::after { content: ""; position: absolute; inset: -4px 0; }
  .pw { margin-bottom: 40px; }
  .pw-main { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 24px; }
  .pw-msg { font-size: 1.5rem; }
  .pw-act { min-width: 220px; }
  .pw-pend { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 4px 24px; }
  .pw-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding: 4px 24px; }
  .is-wall .pr h1 { font-size: 1.75rem; }
  .pg-pricing .pl { margin-top: 32px; }
  .ct { margin-top: 20px; }
  .ct thead th { top: var(--top-h); height: 56px; font-size: .875rem; }
  .ct .ct-p { min-width: 128px; }
  .ct tbody td { font-size: .875rem; }
}

/* DESKTOP ONLY (≥1024px) */
@media (min-width: 1024px) {
  .pg-pricing main > section.pr { padding-block: 64px 80px; }
  .pr h1 { font-size: 3.5rem; line-height: 1.05; }
  .pr .lede { margin-top: 16px; font-size: 1.125rem; }
  .pr-title { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .pr-note { margin-bottom: 28px; font-size: 1rem; }
  .pw { margin-bottom: 56px; }
  .pw-main { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding: 32px; }
  .pw-msg { margin-top: 12px; font-size: 1.75rem; letter-spacing: -.02em; }
  .pw-sub { margin-top: 8px; font-size: 1rem; }
  .pw-act { grid-auto-flow: column; gap: 12px; }
  .pw-act .fn-btn { min-height: 48px; padding: 0 24px; white-space: nowrap; }
  .pw-pend { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 4px 32px; }
  .pw-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding: 4px 32px; }
  .is-wall .pr h1 { font-size: 1.75rem; line-height: 1.1; }
  .pg-pricing .pl { margin-top: 40px; }
  .ct { margin-top: 28px; }
  .ct thead th { top: var(--top-h); height: 64px; font-size: 1rem; font-weight: 600; }
  .ct .ct-p { min-width: 176px; }
  .ct tbody th { padding-block: 11px; }
  .ct tbody td { font-size: .875rem; }
  .ct-g button { min-height: 60px; font-size: 1.125rem; }
  .ct-g button i { transition: transform .2s var(--e-out); }
  .ct tfoot .fn-btn { min-height: 40px; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .ps-seg button:not([aria-pressed="true"]):hover { color: var(--c-ink); }
  .ct .ct-g tr:hover button i { border-color: var(--c-ink); }
  .ct tbody:not(.ct-g):not(.ct-gen) tr:hover th { color: var(--c-ink); }
}
/* ═══ /pricing ═══ */


/* ═══ services ═══ */
/* /services.html, <body class="pg-services">: every desk as one catalogue, grouped by area of the terminal.
   The three figures (.figs), the plan chip (.chip, .pips) and the closing row (.go) are the landing's, from mt-land.css;
   the plan filter is .ps-seg from the pricing section. Own classes: .sv-*. */

/* SHARED · head: title, one line, the way to the plans, three figures */
.sv-head h1 { font-size: 2.125rem; }
.sv-head .lede { margin-top: 8px; }
.sv-head-in { display: grid; gap: 24px; }
.sv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 20px; }
.sv-cta .fn-btn { min-height: 48px; padding: 0 28px; }
.sv-price { margin-top: 12px; color: var(--c-ink-2); font-size: .875rem; line-height: 1.5; }
.sv-price .num { color: var(--c-ink); }
.sv-head .figs { margin: 0; }
.sv-head .fig dd { min-width: 2ch; }

/* SHARED · tools: search, the plan a desk opens from, how many are shown */
.sv-tools { display: grid; gap: 12px; }
.sv-tools input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: var(--r);
  background: var(--c-char); color: var(--c-ink); font: 400 1rem/1 var(--f-text); -webkit-appearance: none; appearance: none;
}
.sv-tools input::placeholder { color: var(--c-ink-3); opacity: 1; }
.sv-tools input:focus, .sv-tools input:focus-visible { outline: none; border-color: var(--c-ink); }
.sv-n { color: var(--c-ink-3); font: 500 .75rem/1.2 var(--f-mono); }

/* SHARED · catalogue: an area is a fold; a desk is a row with its name, one line and the plan that opens it */
.sv-nav { display: none; }
.sv-grid { margin-top: 16px; }
.sv-dom:last-child .sv-g { border-bottom: 1px solid var(--c-line-2); }
.sv-g { border-top: 1px solid var(--c-line-2); }
.sv-g > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; list-style: none; cursor: pointer; }
.sv-g > summary::-webkit-details-marker { display: none; }
.sv-g h2 { font-size: 1.25rem; line-height: 1.25; }
.sv-c { color: var(--c-ink-3); font: 500 .75rem/1 var(--f-mono); white-space: nowrap; }
.sv-g > summary i { flex: none; width: 7px; height: 7px; margin: -3px 4px 0 auto; border: solid var(--c-ink-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.sv-g[open] > summary i { margin-top: 3px; transform: rotate(-135deg); }
.sv-list { padding-bottom: 8px; }
.sv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--c-line); }
.sv-code { display: none; color: var(--c-ink-3); font: 500 .75rem/1 var(--f-mono); }
.sv-row h3 { grid-area: 1 / 1; font: 600 1rem/1.3 var(--f-text); letter-spacing: -.01em; }
.sv-row .chip { grid-area: 1 / 2; }
.sv-row p { grid-area: 2 / 1 / auto / -1; color: var(--c-ink-2); font-size: .875rem; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
a.sv-row { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }      /* the whole row opens the desk's page */
a.sv-row:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -2px; }
a.sv-row:active { background: #121212; }                                         /* a touch answers */
.sv-empty { padding: 24px 0; color: var(--c-ink-2); }
.sv-cat .go { margin-top: 32px; }

/* PHONE ONLY (≤719px) */
@media (max-width: 719px) {
  .pg-services main > section.sv-head { padding-block: 16px 24px; }
  .pg-services main > section.sv-cat { padding-block: 8px 40px; }
  .sv-act { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; margin-top: 20px; }
  .sv-cta { display: contents; }
  .sv-cta .fn-btn { grid-column: 1 / -1; }
  .sv-cta .tb { grid-area: 2 / 2; }
  .sv-price { grid-area: 2 / 1; margin-top: 0; }
  .sv-n { text-align: right; }
  .sv-g h2 { font-size: 1.125rem; }
  a.sv-row { min-height: 64px; }
}
/* PHONE ONLY · the narrowest phones (≤374px): the four filter words in 320px */
@media (max-width: 374px) {
  .sv-tools .ps-seg button { padding: 0 4px; font-size: .8125rem; }
}

/* TABLET ONLY (720–1023px) */
@media (min-width: 720px) and (max-width: 1023px) {
  .pg-services main > section.sv-head { padding-block: 40px 32px; }
  .pg-services main > section.sv-cat { padding-block: 16px 56px; }
  .sv-head h1 { font-size: 2.5rem; }
  .sv-head-in { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: end; gap: 40px; }
  .sv-head .fig dd { font-size: 1.75rem; }
  .sv-tools { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .sv-tools .ps-seg button { min-height: 44px; }
  .sv-n { grid-column: 1 / -1; }
  .sv-row { grid-template-columns: 208px minmax(0, 1fr) 192px; gap: 16px; min-height: 52px; padding: 8px 0; }
  .sv-row p { grid-area: 1 / 2; display: block; white-space: nowrap; text-overflow: ellipsis; }
  .sv-row .chip { grid-area: 1 / 3; justify-self: start; }
}

/* DESKTOP ONLY (≥1024px) */
@media (min-width: 1024px) {
  .pg-services main > section.sv-head { padding-block: 64px 48px; }
  .pg-services main > section.sv-cat { padding-block: 0 80px; }
  .sv-head h1 { font-size: 3.5rem; line-height: 1.05; }
  .sv-head .lede { margin-top: 16px; font-size: 1.125rem; }
  .sv-cta { margin-top: 28px; }
  .sv-price { margin-top: 16px; }
  .sv-head-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 64px; }
  .sv-head .fig dd { font-size: 2.5rem; }

  /* tools stay under the header while the list scrolls */
  .sv-tools { position: sticky; top: var(--top-h); z-index: 5; grid-template-columns: minmax(0, 360px) auto minmax(0, 1fr); align-items: center; gap: 16px; padding-block: 12px; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
  .sv-tools input { height: 40px; font-size: .875rem; }
  .sv-n { text-align: right; }

  .sv-grid { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 24px; }
  .sv-nav { position: sticky; top: calc(var(--top-h) + 88px); display: grid; }
  .sv-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 0 12px; border-radius: 8px; color: var(--c-ink-2); font: 500 .875rem/1 var(--f-text); text-decoration: none; transition: color .16s; }
  .sv-nav a span { color: var(--c-ink-3); font: 500 .75rem/1 var(--f-mono); }
  .sv-nav a.on { background: #1F1F1F; color: var(--c-ink); }
  .sv-dom { scroll-margin-top: calc(var(--top-h) + 72px); }
  .sv-dom:first-child .sv-g { border-top: 0; }
  .sv-g > summary { min-height: 64px; }
  .sv-g h2 { font-size: 1.5rem; }
  .sv-list { padding-bottom: 24px; }
  .sv-row { grid-template-columns: 44px 232px minmax(0, 1fr) 192px; gap: 16px; min-height: 48px; padding: 6px 0; }
  .sv-code { display: block; grid-area: 1 / 1; }
  .sv-row h3 { grid-area: 1 / 2; }
  .sv-row p { grid-area: 1 / 3; display: block; white-space: nowrap; text-overflow: ellipsis; }
  .sv-row .chip { grid-area: 1 / 4; justify-self: start; }
  .sv-cat .go { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); }
}
/* DESKTOP ONLY · small laptops (1024–1279px): a narrower side list, so the one line per desk keeps its room */
@media (min-width: 1024px) and (max-width: 1279px) {
  .sv-grid { grid-template-columns: 152px minmax(0, 1fr); gap: 32px; }
  .sv-row { grid-template-columns: 40px 200px minmax(0, 1fr) 192px; gap: 12px; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .sv-nav a:hover { color: var(--c-ink); }
  .sv-g > summary:hover i { border-color: var(--c-ink); }
  a.sv-row:hover { background: #121212; box-shadow: -12px 0 0 #121212, 12px 0 0 #121212; }      /* a flat surface, a little wider than the row */
}
/* ═══ /services ═══ */


/* ═══ checkout ═══ */
/* checkout.html: choose on the left, review and pay on the right. It wears the sign-in frame (body.au.co: the wordmark
   header, the short footer, .fn-msg, .fn-link, .rg-period) so sign-up and payment read as one flow.
   main.co-main > div.co-card > section.co-pick (h1, .co-lede, .rg-period, .pp-list > label.pp, details.co-kupon, .co-redo)
                               + section.co-pay (h2, .co-lines > .fn-line, .co-total, .co-qr > .co-qr-box, #issue, .co-terms,
                                                 #payUrl, .fn-state, .co-how, .co-ref, .co-struk, .co-done)
   Written by the page script: .pp(.on), .fn-line(.cut), .fn-qr-wait, .fn-state(.paid|.dead), .co-struk dl > div > dt + dd. */

/* SHARED */
.co-main { flex: 1 0 auto; padding: 16px max(var(--gut), env(safe-area-inset-right)) 40px max(var(--gut), env(safe-area-inset-left)); }
.co-card { width: 100%; max-width: 420px; margin-inline: auto; }
.co-pick h1 { font-size: 1.5rem; }
.co-lede { margin-top: 6px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.5; }
.co-pick .rg-period { margin-top: 16px; }
.co-pick .rg-period button[disabled] { cursor: default; }
.co-pick .rg-period button[disabled]:not([aria-pressed="true"]) { opacity: .45; }
.co-pick .pp-list { margin-top: 12px; }
.co-pick .fn-msg { margin-top: 12px; }
.co-kupon { margin-top: 4px; }
.co-kupon summary { display: inline-flex; align-items: center; min-height: 48px; color: var(--c-ink-2); font-size: .875rem; text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 4px; list-style: none; cursor: pointer; }
.co-kupon summary::-webkit-details-marker { display: none; }
.co-kupon-in { display: flex; gap: 8px; }
.co-kupon-in input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: var(--r); color: var(--c-ink); font: 500 1rem/1.2 var(--f-mono); -webkit-appearance: none; appearance: none; }
.co-kupon-in input::placeholder { color: #8F8F8F; font-family: var(--f-text); font-weight: 400; opacity: 1; }
.co-kupon-in input:focus { outline: 2px solid var(--c-amber); outline-offset: -1px; border-color: var(--c-amber); }
.co-redo { margin-top: 4px; font-size: .875rem; }
.co-redo .fn-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--c-ink-2); font-weight: 400; }
.co .co-redo .fn-link::after { content: none; }

.co-pay { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.co-pay h2 { font-size: 1rem; line-height: 1.3; }
.co-lines { margin-top: 8px; }
.co .fn-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink-3); font-size: .875rem; line-height: 1.4; }
.co .fn-line b { color: var(--c-ink); font: 500 .875rem/1.4 var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; }
.co .fn-line.cut b { color: var(--c-up); }
.co-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--c-ink-2); }
.co-total b { color: var(--c-ink); font-size: 1.25rem; font-weight: 700; }
.co-qr { margin-top: 16px; }
.co-qr-box { display: grid; place-items: center; width: 100%; max-width: 264px; aspect-ratio: 1; margin-inline: auto; border-radius: var(--r-md); background: #fff; overflow: hidden; }
.co-qr-box img { display: block; width: 100%; height: 100%; }
.co-qr-box:has(.fn-qr-wait) { max-width: none; min-height: 72px; aspect-ratio: auto; border: 1px dashed var(--c-line-2); background: var(--c-surface); }   /* being issued, or expired: a slot, not a square */
.co .fn-qr-wait { padding: 16px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.4; text-align: center; }
/* a dead code (expired, or a payment that failed): the slot keeps its dashed edge and names the state */
.co-qr-box:has(.co-dead) { max-width: none; min-height: 200px; aspect-ratio: auto; border: 1px dashed var(--c-line-2); background: var(--c-surface); }
.co-dead { display: grid; justify-items: center; gap: 12px; padding: 24px 16px; text-align: center; }
.co-dead .dots { height: 56px; }
.co-dead p { color: var(--c-ink); font: 600 1rem/1.3 var(--f-text); }
.co-pay .co-msg { margin-top: 8px; color: var(--c-ink-3); }
.co-pay .co-msg .fn-link { white-space: nowrap; }
.co-pay .co-ref + .co-msg, .co-pay .co-ref:empty ~ .co-msg { margin-top: 4px; }
.co-pay .fn-btn.wide { min-height: 48px; margin-top: 16px; }
.co-terms { margin-top: 10px; color: var(--c-ink-3); font-size: .75rem; line-height: 1.5; text-align: center; }
.co-terms a { color: var(--c-ink-2); text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 3px; }
/* the state pill under the code: dot, label, time left (m:ss, red in the last minute) */
.co-pay .fn-state { width: fit-content; max-width: 100%; min-height: 40px; margin: 14px auto 0; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 999px; background: var(--c-surface); color: var(--c-ink-2); font: 400 .875rem/1.3 var(--f-text); }
.co-pay .fn-state b { margin-left: 4px; color: var(--c-ink); font: 500 1rem/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.co-pay .fn-state b:empty { display: none; }
.co-pay .fn-state.is-low b { color: var(--c-down); }
.co .fn-state.paid i { background: var(--c-up); animation: none; }
.co .fn-state.dead i { background: var(--c-down); animation: none; }

/* SHARED · paid: past choosing, the picker goes on every width; the receipt stands alone (body.co-paid, set by paid()) */
.co-paid .co-pick .rg-period, .co-paid #planList, .co-paid #termNote, .co-paid .co-redo, .co-paid #vWrap { display: none; }
.co-paid .co-pay { margin-top: 20px; padding-top: 0; border-top: 0; }
.co-paid .co-struk { margin-top: 0; }
.co-how { margin-top: 12px; color: var(--c-ink-3); font-size: .8125rem; line-height: 1.55; text-wrap: pretty; }
.co-ref { margin-top: 8px; color: var(--c-ink-3); font-size: .75rem; line-height: 1.5; }
.co-ref:empty { display: none; }

/* SHARED · the receipt (struk): what was bought, in the mono face, between two dashed rules */
.co-struk { margin-top: 12px; padding: 20px 0 4px; border-block: 1px dashed var(--c-line-2); font-family: var(--f-mono); }
.co-struk .dots { height: 56px; }
.co-struk-h { margin-top: 8px; color: var(--c-up); font: 700 1.25rem/1.2 var(--f-mono); text-align: center; }
.co-struk dl { margin: 16px 0 0; }
.co-struk dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .8125rem; line-height: 1.4; }
.co-struk dt { color: var(--c-ink-3); }
.co-struk dd { margin: 0; color: var(--c-ink); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.co-done { margin-top: 4px; }
.co-help { margin-top: 24px; color: var(--c-ink-3); font-size: .875rem; line-height: 1.5; text-align: center; }
.co-help .fn-link { display: inline-flex; align-items: center; min-height: 48px; }
.co .co-help .fn-link::after { content: none; }

/* PHONE ONLY (≤719px) · one column: choose, then review and pay */
@media (max-width: 719px) {
  .co-pick .pp { min-height: 52px; }
  /* once a code is issued the choice is fixed: only the chosen plan stays, so the code is on the first screen */
  .co-pick .rg-period:has(button[disabled]), .co-pick .pp:has(input:disabled):not(.on) { display: none; }
  /* the code is out: Paket/Periode/Harga repeat the pill above; the amount alone stays, so code, pill and amount share the first screen */
  .co-issued #lines { display: none; }
  .co-issued .co-pay { margin-top: 16px; padding-top: 16px; }
  .co-issued .co-total { margin-top: 4px; }
}
/* TABLET and DESKTOP · the save-the-picture tip is for someone paying on the phone they are holding */
@media (min-width: 720px) { .co-how-m { display: none; } }

/* TABLET ONLY (720–1023px) · the same column inside a card */
@media (min-width: 720px) and (max-width: 1023px) {
  .co-main { padding-block: 40px 48px; }
  /* once a code is issued: only the chosen plan and the code, so the countdown is on the first screen */
  .co-issued #lines, .co-pick .rg-period:has(button[disabled]), .co-pick .pp:has(input:disabled):not(.on) { display: none; }
  .co-card { max-width: 480px; padding: 28px 32px 32px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-char); }
}

/* DESKTOP ONLY (≥1024px) · one card: choose on the left, the order in its own panel on the right */
@media (min-width: 1024px) {
  .co-main { display: grid; place-content: center; padding-block: 32px 40px; }
  .co-card { display: grid; grid-template-columns: minmax(0, 1fr) 384px; width: min(940px, calc(100vw - 2 * var(--gut))); max-width: none; padding: 12px; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-char); }
  .co-pick { padding: 32px 44px 24px 32px; }
  .co-pick h1 { font-size: 1.75rem; }
  .co-pay { align-self: start; margin: 0; padding: 28px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); }
  /* paid: one narrow column, the title over the receipt */
  .co-paid .co-card { grid-template-columns: minmax(0, 1fr); width: min(480px, calc(100vw - 2 * var(--gut))); }
  .co-paid .co-pick { padding: 28px 28px 0; }
  .co-paid .co-pay { margin: 0; padding: 24px 28px 16px; border: 0; background: none; }
  .co-kupon summary, .co-redo .fn-link, .co-terms a { transition: color .16s, text-decoration-color .16s; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .co-kupon summary:hover, .co-redo .fn-link:hover, .co-terms a:hover { color: var(--c-ink); text-decoration-color: var(--c-ink-3); }
}
/* ═══ /checkout ═══ */


/* ═══ notfound ═══ */
/* 404.html (the server answers any unknown page with it). The frame is the login section's:
   body.au.nf > header.au-top + main.au-main > div.au-box + footer.au-foot
   div.au-box > img.dots + h1 + p.au-sub + p.nf-go > a.fn-btn.pri#go + a.nf-alt#alt (the page script renames both for a signed-in reader) */

/* SHARED */
.nf .au-main { align-items: center; }
.nf .au-box { text-align: center; }
.nf .dots { margin-block: 0 24px; }
.nf .au-box h1 { font-size: 1.5rem; text-wrap: balance; }
.nf-go { display: grid; justify-items: center; gap: 4px; margin-top: 24px; }
.nf-go .fn-btn { min-width: 200px; min-height: 48px; padding: 0 28px; }
.nf-alt { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; min-height: 48px; color: var(--c-ink); font: 500 .875rem/1.2 var(--f-text); text-decoration: underline; text-decoration-color: var(--c-ink-3); text-underline-offset: 4px; }

/* PHONE ONLY (≤719px) · the block sits a little above the middle, where a thumb's first glance lands */
@media (max-width: 719px) {
  .nf .au-main { padding-block: 24px 72px; }
}

/* TABLET ONLY (720–1023px) */
@media (min-width: 720px) and (max-width: 1023px) {
  .nf .au-box h1 { font-size: 1.75rem; }
}

/* DESKTOP ONLY (≥1024px) */
@media (min-width: 1024px) {
  .nf .au-box h1 { font-size: 1.75rem; }
  .nf-alt { transition: text-decoration-color .16s; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .nf-alt:hover { text-decoration-color: var(--c-amber); }
}
/* ═══ /notfound ═══ */


/* ═══ onboarding ═══ */
/* onboarding.html: the one question after the first payment. The frame is the login section's:
   body.au.ob > header.au-top + main.au-main > div.au-box + footer.au-foot
   div.au-box > h1 + p.au-sub + div.ob-list > button.fn-opt[data-v] × 4 (b + small) + p.ob-end > button.ob-skip#skip + span.fn-msg#msg
   The page script sets aria-pressed="true" on the chosen row and .is-busy on the body. */

/* SHARED */
.ob .au-box h1 { font-size: 1.5rem; line-height: 1.15; text-wrap: balance; }
.ob .au-box h1 .nw { white-space: normal; }                             /* "paling sering" stays one phrase */
.ob-list { display: grid; gap: 8px; margin-top: 24px; }
.ob .fn-opt {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); align-content: center; align-items: center; gap: 2px 16px; width: 100%; min-height: 60px; padding: 8px 24px 8px 20px;
  border: 1px solid var(--c-line-2); border-radius: 999px; background: var(--c-surface); color: var(--c-ink); text-align: left; cursor: pointer;
}
/* a ring in front of each row, the .pp radio look: the rows read as one choice. Chosen: amber with a dark centre */
.ob .fn-opt::before { content: ""; grid-row: 1 / span 2; box-sizing: border-box; width: 20px; height: 20px; border: 1.5px solid #8F8F8F; border-radius: 50%; }
.ob .fn-opt b, .ob .fn-opt small { grid-column: 2; }
.ob .fn-opt b { font-size: 1rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.ob .fn-opt small { overflow: hidden; color: var(--c-ink-3); font-size: .875rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.ob .fn-opt:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 2px; }
.ob .fn-opt[aria-pressed="true"] { border-color: var(--c-ink-2); }
.ob .fn-opt[aria-pressed="true"]::before { border-color: var(--c-amber); background: radial-gradient(circle, #090909 0 3px, var(--c-amber) 3.5px); }
.ob.is-pick .fn-opt[aria-pressed="true"] small { color: var(--c-ink-2); font: 500 .75rem/1.52 var(--f-mono); }  /* same line height; "Membuka terminal…" in the row itself */
.ob.is-pick .ob-end .fn-msg { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ob.is-busy .fn-opt:not([aria-pressed="true"]) { opacity: .4; }
.ob.is-busy .fn-opt { cursor: default; }
.ob-end { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px; }
.ob-skip { min-width: 96px; min-height: 48px; color: var(--c-ink-3); font: 500 .875rem/1.2 var(--f-text); text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 4px; }
.ob.is-busy .ob-skip { display: none; }
.ob .ob-end .fn-msg { margin-top: 0; font-family: var(--f-mono); font-weight: 500; }

/* PHONE ONLY (≤719px) · the whole page is one screen: question, four rows, the skip, the footer */
@media (max-width: 719px) {
  .ob .au-main { padding-block: 20px 16px; }
  .ob .au-sub { font-size: .875rem; }
  .ob-list { margin-top: 20px; }
}
/* PHONE ONLY · short screens (≤700px tall): the rows give back what the footer needs */
@media (max-width: 719px) and (max-height: 700px) {
  .ob .au-main { padding-block: 16px 0; }
  .ob .au-box h1 { font-size: 1.25rem; }
  .ob-list { gap: 6px; margin-top: 16px; }
  .ob .fn-opt { min-height: 56px; }
  .ob-end { margin-top: 4px; }
}

/* TABLET ONLY (720–1023px) */
@media (min-width: 720px) and (max-width: 1023px) {
  .ob .au-box h1 { font-size: 1.75rem; }
  .ob .au-box h1, .ob .au-sub { text-align: center; }
  .ob-list { margin-top: 32px; }
}

/* DESKTOP ONLY (≥1024px) */
@media (min-width: 1024px) {
  .ob .au-box h1 { font-size: 1.75rem; }
  .ob .au-box h1, .ob .au-sub { text-align: center; }
  .ob-list { margin-top: 32px; }
  .ob .fn-opt { transition: border-color .16s, opacity .16s; }
  .ob-skip { transition: color .16s, text-decoration-color .16s; }
}
/* DESKTOP ONLY · hover */
@media (min-width: 1024px) and (hover: hover) {
  .ob:not(.is-busy) .fn-opt:hover { border-color: #8F8F8F; }
  .ob-skip:hover { color: var(--c-ink); text-decoration-color: var(--c-ink-3); }
}
/* ═══ /onboarding ═══ */


/* ═══ nomatch ═══ */
/* services.html: a search or a plan filter that leaves no desk. The page script writes div.sv-none > img.dots + p into #cat
   (the loading line stays p.sv-empty, in the services section). */

/* SHARED */
.sv-none { display: grid; justify-items: center; gap: 16px; padding: 40px 0; color: var(--c-ink-3); font-size: .875rem; line-height: 1.5; text-align: center; }
.sv-none .dots { margin: 0; }
.sv-grid:has(.sv-none) { display: block; }                           /* no area list beside it: the line sits in the middle of the page */

/* TABLET ONLY (720–1023px) */
@media (min-width: 720px) and (max-width: 1023px) {
  .sv-none { padding: 56px 0; }
}

/* DESKTOP ONLY (≥1024px) */
@media (min-width: 1024px) {
  .sv-none { padding: 64px 0; }
}
/* ═══ /nomatch ═══ */
