/* Satusetir public site (satusetir.id) and the coming-soon fallback (web/comingsoon/assets/site.v2.css is a byte copy:
   change both together). Layout rules: docs/mockups/b7-public/design.md. No inline style or script (CSP). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-400: #12b8f8;
  --blue-100: #dbe4fb;
  --blue-600: #0a5cf0;
  --blue-700: #0847d6;
  --blue-800: #0433b8;
  --teal-500: #06a0b8;
  --green-400: #3ee39b;
  --navy-950: #0b1628;
  --navy-900: #111f36;
  --slate-600: #475467;
  --slate-500: #5b6472;
  --slate-300: #cfd6e1;
  --slate-200: #e3e8ef;
  --slate-100: #f1f4f8;
  --paper: #ffffff;
  --ground: #f7f9fc;
  --warn: #b54708;
  --warn-soft: #fff4e5;
  --crit: #c01048;
  --crit-soft: #fdecf1;
  --ok: #067647;
  --ok-soft: #e7f8ee;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-small: 14px;
  --fs-body: 17px;
  --fs-lede: clamp(17px, 1.4vw + 12px, 20px);
  --fs-h3: 17px;
  --fs-h2: clamp(24px, 2.4vw + 14px, 38px);
  --fs-h1: clamp(34px, 4.2vw + 18px, 60px);
  --lh-tight: 1.15;
  --lh-body: 1.6;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 64px;
  --section-y: clamp(40px, 6vw, 72px);
  --gutter: 20px;
  --measure: 62ch;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-shot: 0 1px 2px rgba(11, 22, 40, 0.08), 0 12px 32px -12px rgba(11, 22, 40, 0.28);
  --tap: 48px;

  /* Aliases used by rules copied from the ops stylesheet. */
  --brand: var(--blue-600);
  --brand-100: var(--blue-100);
  --line: var(--slate-200);
  --mute: var(--slate-600);
  --ink: var(--navy-950);
  --focus: 3px solid var(--blue-600);
}
@media (max-width: 359px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; font-family: var(--font); color: var(--navy-950); background: var(--paper); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--blue-600); }
a:focus-visible, .btn:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 8px; }
.cta-band :focus-visible, .on-dark :focus-visible { outline-color: #fff; }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: var(--gutter); }
section[id], div[id] { scroll-margin-top: 76px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { position: fixed; left: 0; top: 0; z-index: 20; background: var(--navy-950); color: #fff; padding: 12px 16px; }
main { display: flex; flex-direction: column; }
main:focus { outline: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--slate-200); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy-950); text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { color: var(--slate-600); text-decoration: none; padding-block: 8px; }
.nav a:not(.btn):hover { color: var(--navy-950); }
@media (max-width: 759px) {
  .site-header .wrap { min-height: 56px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .nav { gap: 10px; }
  .nav a:not(.btn) { display: none; }
}

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 12px; padding: 13px 24px; min-height: 48px; transition: transform 0.15s ease, background 0.15s ease; }
.btn-lg { min-height: 52px; padding-inline: 28px; }
.btn-primary { color: #fff; background: var(--blue-600); box-shadow: 0 8px 20px -8px rgba(10, 92, 240, 0.55); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-ghost { color: var(--navy-950); background: var(--slate-100); }
.btn-ghost:hover { background: var(--slate-200); }
.btn-outline { color: var(--navy-950); background: #fff; box-shadow: inset 0 0 0 1px var(--slate-300); }
.btn-outline:hover { background: var(--slate-100); }
.btn-light { color: var(--navy-950); background: #fff; }
.btn-light:hover { background: var(--slate-100); }
.btn-small { padding: 9px 14px; font-size: 14px; border-radius: 10px; min-height: 40px; white-space: nowrap; }
.btn-small::after { content: ""; position: absolute; inset: -2px; }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding-block: 56px 64px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-700); }
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 18px; text-wrap: balance; overflow-wrap: normal; hyphens: manual; }
h1 .accent { color: var(--blue-600); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: -0.03em; font-weight: 800; margin: 0; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 700; margin: 0; }
.lede { font-size: var(--fs-lede); color: var(--slate-600); max-width: var(--measure); margin: 0 0 12px; }
.status { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: var(--fs-small); font-weight: 600; color: var(--slate-600); }
.status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.reassure { margin: 0; font-size: var(--fs-small); color: var(--slate-500); font-weight: 600; }
.reassure.on-dark { color: var(--slate-300); }
.reassure.on-dark a { color: #fff; }
.fineprint { font-size: var(--fs-small); color: var(--slate-600); margin: 16px 0 0; }
.chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--navy-900); background: var(--slate-100); border-radius: 999px; padding: 2px 10px; vertical-align: middle; white-space: nowrap; }
.chip.sample { color: var(--blue-700); background: #e8f1ff; }

/* ---------- hero preview (real text, sample figures) ---------- */
.preview { background: #fff; border: 1px solid var(--slate-200); border-radius: 20px; box-shadow: var(--shadow-shot); padding: 20px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.preview-head strong { font-size: 18px; letter-spacing: -0.01em; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tile { background: var(--ground); border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px; }
.tile:first-child { grid-column: 1 / -1; background: var(--ok-soft); border-color: transparent; }
.tile .k { font-size: 13px; color: var(--slate-600); font-weight: 600; }
.tile .v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; }
.tile:first-child .v { font-size: 40px; color: var(--ok); letter-spacing: -0.03em; }
.tile .d { font-size: 13px; font-weight: 600; color: var(--slate-600); }
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; border-radius: 12px; padding: 10px 12px; font-size: var(--fs-small); line-height: 1.45; }
.alert b { font-weight: 700; }
.alert .tag { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 8px; white-space: nowrap; background: #fff; }
.alert .dot { width: 9px; height: 9px; border-radius: 50%; }
.alert.crit { background: var(--crit-soft); } .alert.crit .dot { background: var(--crit); } .alert.crit .tag { color: var(--crit); }
.alert.warn { background: var(--warn-soft); } .alert.warn .dot { background: var(--warn); } .alert.warn .tag { color: var(--warn); }
.preview-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- sections ---------- */
section { padding-block: var(--section-y); }
.alt { background: var(--ground); border-block: 1px solid var(--slate-200); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: var(--s5); }
.section-head h2 { max-width: 24em; }
.small { font-size: var(--fs-small); color: var(--slate-600); }

/* worked order */
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 20px; }
.panel h3 { margin: 0 0 8px; }
.label { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 600; color: var(--slate-600); }
.wf { list-style: none; margin: 0; padding: 0; font-size: var(--fs-body); }
.wf li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 44px; padding-block: 6px; border-bottom: 1px solid var(--slate-200); }
.wf li > span:first-child { flex: 1 1 12em; min-width: 0; }
.amt, .val { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.wf .minus .amt { color: var(--crit); }
.wf .tax, .wf .tax .amt { color: var(--slate-600); font-weight: 600; }
.wf .sub { font-weight: 700; }
.wf .detail { display: block; padding-block: 0; }
.wf .detail summary { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-small); font-weight: 700; color: var(--blue-700); cursor: pointer; }
.wf-inner { list-style: none; margin: 0 0 8px 20px; padding: 0; color: var(--slate-600); font-size: var(--fs-small); }
.wf-inner li { min-height: 36px; padding-block: 4px; }
.wf-inner .amt { color: var(--crit); }
.wf li.total { margin-top: 4px; border-bottom: 0; background: var(--ok-soft); border-radius: 12px; padding: 10px 14px; min-height: 56px; font-weight: 800; }
.wf li.total .amt { color: var(--ok); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.wf li.total .m { flex: 0 0 auto; font-size: var(--fs-small); font-weight: 600; color: var(--slate-600); }
.fees { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); }
.fees li { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; min-height: 44px; padding: 8px 12px; background: var(--ground); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); }
.fees li > span:first-child { flex: 1 1 10em; min-width: 0; font-weight: 600; }
.fees .store { display: block; font-size: 13px; color: var(--slate-600); font-weight: 600; }
.losses .val { color: var(--crit); }

/* leaks */
.leaks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.leak { background: #fff; border: 1px solid var(--slate-200); border-top: 3px solid var(--crit); border-radius: 12px; padding: 16px 18px; }
.leak .amt { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--crit); line-height: 1.2; }
.leak b { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 600; color: var(--slate-600); }
.mid-cta { margin-top: var(--s6); }
.approve { margin: 20px 0 0; font-weight: 600; }

/* screens: each shot is shown wide enough to read, cropped to its top (the ratio is reserved, so the phone/desktop picture swap never shifts the page) */
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.shot img { width: 100%; height: auto; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-shot); background: var(--paper); object-fit: cover; object-position: top; }
.shot-a img { aspect-ratio: 1400 / 740; }
.shot-b img { aspect-ratio: 1400 / 555; }
.shot-c img { aspect-ratio: 1400 / 840; }
.shot figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--slate-600); }
.shot figcaption b { color: var(--navy-950); }

/* table stakes row */
.basics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.basics li { padding: 4px 20px; border-left: 1px solid var(--slate-300); }
.basics li:first-child { border-left: 0; padding-left: 0; }
.basics b { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.basics span { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--slate-600); }

/* marketplaces */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo { display: grid; gap: 8px; justify-items: center; align-content: start; text-align: center; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 20px 12px; min-width: 0; }
.logo .mark { height: 40px; display: grid; place-items: center; }
.logo .mark img { width: auto; height: 40px; max-width: 100%; }
.logo .name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.logo .state { font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 999px; padding: 2px 10px; }
.logo .state.warn { color: var(--warn); background: var(--warn-soft); }
.logo .state.soon { color: var(--slate-600); background: var(--slate-100); }

/* sign-up band */
.cta-band { background: var(--navy-950); color: #fff; text-align: center; }
.cta-band .inner { max-width: 640px; margin: 0 auto; display: grid; justify-items: center; gap: 20px; }
.cta-band h2 { color: #fff; }
.cta-band .reassure { margin: 0; }
.sticky-cta { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); color: var(--slate-600); font-size: var(--fs-small); padding-block: 32px; border-top: 1px solid var(--slate-200); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.site-footer .brand { font-size: 18px; }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slate-600); text-decoration: none; }
.site-footer nav a:hover { color: var(--navy-950); text-decoration: underline; }
.tagline { margin: 4px 0 0; font-size: var(--fs-small); color: var(--slate-600); }

/* ---------- legal and article pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 72px; font-size: var(--fs-body); line-height: var(--lh-body); }
.legal h1 { font-size: clamp(28px, 3vw + 14px, 40px); margin: 0 0 4px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 24px; }
.legal li { margin: 0 0 6px; }
.legal ul ul { padding-left: 20px; list-style: circle; margin-top: 6px; }
.legal p, .legal li { color: var(--slate-600); }
.legal b { color: var(--navy-950); }
.legal .updated { font-size: var(--fs-small); color: var(--slate-600); margin: 0 0 20px; }
.legal .note { background: var(--warn-soft); border: 1px solid rgba(181, 71, 8, 0.3); border-radius: 12px; padding: 12px 16px; font-size: 16px; color: var(--navy-950); }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 4px; font-size: var(--fs-small); }
.legal .toc { padding-left: 0; }
.legal .toc li { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--slate-100); color: var(--navy-950); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.toc a:hover { background: var(--slate-200); }

/* ---------- 404 ---------- */
.nf { max-width: 520px; margin: 0 auto; padding: 30vh var(--gutter) 72px; }
.nf h1 { font-size: clamp(28px, 4vw + 12px, 36px); }
.nf p { color: var(--slate-600); margin: 0 0 24px; }

/* ---------- coming soon ---------- */
.soon-main { max-width: 560px; margin: 0 auto; padding: var(--s7) var(--gutter) var(--s7); text-align: center; }
.soon-main .lede { margin-inline: auto; }
.soon-main .preview { margin-top: 40px; text-align: left; }
.soon-contact { margin: 24px 0 0; display: grid; justify-items: center; gap: 12px; color: var(--slate-600); }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .sticky-cta, .cta, .toc { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ---------- laptop and tablet ---------- */
@media (max-width: 1099px) {
  .basics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .basics li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 919px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 32px 40px; }
  .calc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- phones ---------- */
@media (max-width: 759px) {
  .desk-only { display: none; }
  .hero .wrap { padding-block: 24px 32px; gap: 32px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .btn { min-height: var(--tap); border-radius: 12px; }
  .btn-small { min-height: 44px; }
  .tile:first-child .v { font-size: 32px; }
  .tile .v { font-size: 20px; }
  .preview { padding: 16px; border-radius: 16px; }
  .wf li.total .amt { font-size: 28px; }
  .leak { padding: 14px; }
  .leak .amt { font-size: 22px; }
  .mid-cta .btn { width: 100%; }
  .mid-cta { display: grid; gap: 12px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); }
  .shots figure { flex: 0 0 88%; scroll-snap-align: start; }
  .shot-a img, .shot-b img, .shot-c img { aspect-ratio: 390 / 844; }
  .basics { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .basics li, .basics li:nth-child(odd) { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--slate-200); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cta-band .btn { width: 100%; max-width: 360px; min-height: 52px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0 16px; }
  .site-footer nav span { grid-column: 1 / -1; padding-block: 12px; }
  .legal { padding-top: 24px; }
  .legal .cta .btn { width: 100%; }

  /* Sticky bar: shown once the first sign-up button has been on screen (sticky.js). */
  .sticky-cta { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; min-height: 64px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--slate-200); box-shadow: 0 -4px 16px rgba(11, 22, 40, 0.08); transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0.2s; }
  .sticky-cta.on { transform: none; visibility: visible; }
  .sticky-cta .btn { flex: 1.4; white-space: nowrap; }
  .sticky-cta .btn-ghost { flex: 1; }
  .sticky-cta ~ .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .wf li { gap: 4px 12px; }
  .nav .btn-small { padding-inline: 10px; }
}
