/* ==========================================================================
   PulsaQuota — Website Profil & Katalog Harga
   Design system: "Pulsaria Infrastructure" (lihat DESIGN.md)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-active: #1e40af;
  --primary-deep: #004ac6;
  --primary-soft: #eff4ff;
  --primary-ring: rgba(37, 99, 235, 0.18);

  --navy: #0a192f;
  --navy-soft: #132a4a;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --border: #e2e8f0;
  --border-soft: #eef2f7;
  --surface: #f8fafc;
  --white: #ffffff;

  --emerald: #10b981;
  --emerald-deep: #059669;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --cyan: #06b6d4;
  --cyan-soft: #ecfeff;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --red: #ef4444;
  --red-soft: #fef2f2;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --shadow-1: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.02);
  --shadow-2: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-3: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: 24px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-900);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 800;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; color: inherit; }

::selection {
  background: rgba(37, 99, 235, 0.16);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 88px 0;
  position: relative;
}

.section--tight { padding: 64px 0; }
.section--soft { background: var(--surface); }
.section--line { border-top: 1px solid var(--border-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid #dbe1ff;
  border-radius: var(--r-sm);
  padding: 5px 10px;
  margin-bottom: 18px;
}

.eyebrow--dark {
  color: #b4c5ff;
  background: rgba(180, 197, 255, 0.1);
  border-color: rgba(180, 197, 255, 0.24);
}

.h-section {
  font-size: 36px;
  line-height: 1.16;
  font-weight: 800;
}

.sub {
  margin-top: 14px;
  color: var(--slate-500);
  font-size: 16px;
  line-height: 1.7;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.28);
}
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-active); transform: translateY(1px); }

.btn--dark {
  background: var(--navy);
  color: #fff;
  border-color: #334155;
}
.btn--dark:hover { background: var(--navy-soft); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
}
.btn--ghost:hover { background: #f1f5f9; }

.btn--outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-1);
}
.btn--outline:hover { border-color: var(--slate-300); background: #fbfdff; }

.btn--light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.16); }

.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.22);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--navy);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-deep) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px -3px rgba(37, 99, 235, 0.5);
}
.brand__mark svg { width: 19px; height: 19px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand__tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.nav a:hover { color: var(--primary); background: var(--primary-soft); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(37, 99, 235, 0.1), transparent 62%),
    radial-gradient(700px 420px at 4% 8%, rgba(6, 182, 212, 0.08), transparent 60%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 72%);
  border-bottom: 1px solid var(--border-soft);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 460px at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 460px at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 76px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: var(--shadow-1);
  margin-bottom: 22px;
}
.hero__badge b { color: var(--emerald-deep); font-weight: 700; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulse 2.4s ease-out infinite;
  flex: 0 0 auto;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--primary) 0%, #4f7cf7 48%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--slate-500);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--slate-500);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 14px; height: 14px; color: var(--emerald-deep); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 520px;
}
.hero__stat {
  background: #fff;
  padding: 16px 18px;
}
.hero__stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero__stat span {
  font-size: 11.5px;
  color: var(--slate-500);
  font-weight: 500;
}

/* ---------- 7. Telemetry panel ---------- */
.telemetry {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.telemetry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.telemetry__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.telemetry__head h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.telemetry__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  border-radius: var(--r-sm);
  padding: 3px 8px;
}

.telemetry__balance {
  padding: 18px;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(37, 99, 235, 0.07), transparent 70%);
}
.telemetry__balance small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.telemetry__balance b {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.telemetry__balance span {
  font-size: 11.5px;
  color: var(--slate-500);
}

.telemetry__rows { padding: 6px 0; }

.trow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 12.5px;
  transition: background-color 0.15s ease;
}
.trow:hover { background: #f8fafc; }

.trow__op {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex: 0 0 auto;
  letter-spacing: 0;
}

.trow__name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--slate-700);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trow__code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-400);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 1px 5px;
  flex: 0 0 auto;
}

.trow__price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.telemetry__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  font-size: 11px;
  color: var(--slate-500);
}
.telemetry__foot svg { width: 13px; height: 13px; color: var(--primary); flex: 0 0 auto; }
.telemetry__foot b { color: var(--navy); font-weight: 600; }

.telemetry__float {
  display: none;
}

/* ---------- 8. Operator strip ---------- */
.opstrip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
  padding: 20px 0;
}
.opstrip__label {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 14px;
}
.opstrip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}
.opstrip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
}
.opstrip__item i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: block;
}

/* ---------- 9. Feature cards ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: #d6e2f5;
}

.feat__ico {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}
.feat__ico svg { width: 21px; height: 21px; }
.feat__ico--emerald { background: var(--emerald-soft); color: var(--emerald-deep); }
.feat__ico--cyan { background: var(--cyan-soft); color: #0891b2; }
.feat__ico--amber { background: var(--amber-soft); color: #b45309; }

.feat h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feat p {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--slate-500);
  flex: 1 1 auto;
}
.feat__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  align-self: flex-start;
}
.feat__link svg { width: 13px; height: 13px; }

/* ---------- 10. Price catalogue ---------- */
.price-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.price-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #fbfdff, #fff);
}

.price-top__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.price-top__tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: var(--slate-400);
  pointer-events: none;
}
.search input {
  width: 260px;
  padding: 9px 12px 9px 34px;
  border: 1px solid var(--slate-300);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.search input::placeholder { color: var(--slate-400); }
.search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
}

.refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.refresh:hover { border-color: var(--slate-300); color: var(--primary); }
.refresh svg { width: 13px; height: 13px; }
.refresh.is-loading svg { animation: spin 0.9s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.op-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
  scrollbar-width: none;
}
.op-tabs::-webkit-scrollbar { display: none; }

.op-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}
.op-tab:hover { background: #fff; color: var(--navy); border-color: var(--border); }
.op-tab[aria-selected="true"] {
  background: #fff;
  color: var(--primary);
  border-color: #c9d7f8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 -2px 0 var(--primary);
}

.table-scroll { overflow-x: auto; }

.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 720px;
}

.ptable thead th {
  background: var(--surface);
  color: var(--slate-500);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}

.ptable tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.ptable tbody tr { transition: background-color 0.14s ease; }
.ptable tbody tr:hover { background: #f8fafc; }
.ptable tbody tr:last-child td { border-bottom: 0; }

.col-code { width: 132px; }
.col-op { width: 150px; text-align: center; }
.col-status { width: 128px; text-align: center; }
.col-price { width: 150px; text-align: right; }

.ptable td.col-op,
.ptable td.col-status,
.ptable td.col-price { text-align: center; }
.ptable td.col-price { text-align: right; }

.cell-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--slate-500);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  display: inline-block;
}

.cell-name {
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.cell-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 1px;
}

.op-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate-700);
}
.op-tag i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: block;
  flex: 0 0 auto;
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--r-sm);
  padding: 3px 8px;
  text-transform: uppercase;
}
.st--ok { background: var(--emerald-soft); color: var(--emerald-deep); border: 1px solid var(--emerald-border); }
.st--ok i { width: 5px; height: 5px; border-radius: 50%; background: var(--emerald); display: block; }
.st--warn { background: var(--amber-soft); color: #b45309; border: 1px solid #fde68a; }

.cell-price {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.price-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  font-size: 12px;
  color: var(--slate-500);
}
.price-foot b { color: var(--navy); font-weight: 600; }
.price-foot__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
}
.updated .dot { width: 6px; height: 6px; }

.empty-row td {
  text-align: center;
  padding: 42px 16px !important;
  color: var(--slate-400);
  font-size: 13px;
}

.skel {
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 11. App mockup ---------- */
.appsec {
  background:
    radial-gradient(760px 420px at 12% 8%, rgba(37, 99, 235, 0.22), transparent 62%),
    radial-gradient(640px 400px at 92% 84%, rgba(6, 182, 212, 0.16), transparent 62%),
    linear-gradient(160deg, #0a192f 0%, #0d1f3a 46%, #0a192f 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.appsec::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}

.appsec .wrap { position: relative; z-index: 1; }

.appsec h2 { color: #fff; }

.appsec__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "head phones"
    "body phones";
  grid-template-rows: auto auto;
  gap: 0 48px;
  align-content: center;
  align-items: start;
}

.appsec__head { grid-area: head; }
.appsec__body { grid-area: body; }
.phones { grid-area: phones; align-self: center; }

.appsec__lead {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #b9c6db;
  max-width: 440px;
}

.applist {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.applist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.applist i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #4edea3;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}
.applist i svg { width: 13px; height: 13px; }
.applist b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.applist span {
  font-size: 12.5px;
  color: #93a4bd;
  line-height: 1.55;
}

.appsec__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}

.appsec__note {
  font-size: 11.5px;
  color: #7f92ad;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.appsec__note svg { width: 13px; height: 13px; }

/* phones */
.phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  perspective: 1600px;
  padding: 24px 0 8px;
}

.phone {
  position: relative;
  width: 236px;
  border-radius: 30px;
  background: #0b1220;
  border: 7px solid #1b2537;
  box-shadow:
    0 40px 70px -30px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.phone__screen {
  position: relative;
  border-radius: 23px;
  overflow: hidden;
  background: #f4f6fb;
  aspect-ratio: 430 / 932;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone__notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 15px;
  border-radius: 999px;
  background: #0b1220;
  z-index: 3;
}

.phone--main {
  z-index: 3;
  width: 268px;
  transform: translateZ(0);
}

.phone--side {
  z-index: 1;
  transform: scale(0.86);
  margin: 0 -34px;
  opacity: 0.96;
}
.phone--left { transform: scale(0.86) rotate(-7deg) translateX(10px); }
.phone--right { transform: scale(0.86) rotate(7deg) translateX(-10px); }

.phones:hover .phone--left { transform: scale(0.88) rotate(-9deg) translateX(4px); }
.phones:hover .phone--right { transform: scale(0.88) rotate(9deg) translateX(-4px); }
.phones:hover .phone--main { transform: translateY(-6px); }

.phone__tag {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 25, 47, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 4;
}

/* ---------- 12. Channels ---------- */
.chan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.chan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.chan:hover {
  border-color: #c9d7f8;
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.chan__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.chan__ico {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  flex: 0 0 auto;
}
.chan__ico svg { width: 18px; height: 18px; }
.chan__no {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-300);
}
.chan h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.chan p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate-500);
  flex: 1 1 auto;
}
.chan__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
}

/* ---------- 13. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  position: relative;
  box-shadow: var(--shadow-1);
}
.step__no {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #dbe1ff;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--slate-500);
}
.step__badge {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  border-radius: var(--r-sm);
  padding: 3px 7px;
}

/* ---------- 14. Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
}
.testi__stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 14px;
}
.testi__stars svg { width: 14px; height: 14px; }
.testi q {
  quotes: none;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--slate-700);
  flex: 1 1 auto;
}
.testi__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.testi__av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), #4f7cf7);
  flex: 0 0 auto;
}
.testi__who b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.testi__who span {
  font-size: 11px;
  color: var(--slate-400);
}

/* ---------- 15. FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  align-items: start;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.faq details[open] { border-color: #c9d7f8; }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 400;
  color: var(--slate-400);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "\2013"; color: var(--primary); }

.faq p {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--slate-500);
}

/* ---------- 16. CTA ---------- */
.ctaband {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(680px 320px at 82% 10%, rgba(37, 99, 235, 0.5), transparent 66%),
    radial-gradient(520px 300px at 8% 90%, rgba(6, 182, 212, 0.28), transparent 66%),
    linear-gradient(120deg, #0a192f 0%, #0d2340 58%, #0a192f 100%);
  color: #fff;
  padding: 56px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: center;
  border: 1px solid #1c3357;
  box-shadow: var(--shadow-3);
}

.ctaband::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 80% at 80% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 80% at 80% 20%, #000, transparent 75%);
  pointer-events: none;
}

.ctaband > * { position: relative; }

.ctaband h2 {
  color: #fff;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.ctaband p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #b9c6db;
  max-width: 520px;
}
.ctaband__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ctaband__actions .btn { width: 100%; }
.ctaband__hint {
  font-size: 11.5px;
  color: #8ea2be;
  text-align: center;
  margin-top: 2px;
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--navy);
  color: #93a4bd;
  padding: 64px 0 0;
  font-size: 13px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}

.footer .brand { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: #5f748f; }

.footer__about {
  margin-top: 18px;
  line-height: 1.75;
  color: #8ea2be;
  max-width: 330px;
  font-size: 12.5px;
}

.footer__contact {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}
.footer__contact a,
.footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9c6db;
  font-size: 12.5px;
}
.footer__contact a:hover { color: #fff; }
.footer__contact svg { width: 14px; height: 14px; color: #5f748f; flex: 0 0 auto; }

.footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.footer__links {
  display: grid;
  gap: 10px;
}
.footer__links a {
  color: #93a4bd;
  font-size: 12.5px;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: #6d8099;
}
.footer__bottom nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__bottom a { color: #6d8099; }
.footer__bottom a:hover { color: #fff; }

.footer__biz {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer__biz span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8ea2be;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  font-family: var(--font-mono);
}

/* ---------- 18. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- 19. Responsive ---------- */
@media (min-width: 1024px) {
  .mobilenav { display: none !important; }
}

@media (max-width: 1120px) {
  .hero h1 { font-size: 44px; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appsec__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "phones" "body";
    gap: 32px 0;
  }
  .appsec__lead { max-width: none; }
  .telemetry__float { display: none; }
}

@media (max-width: 1023px) {
  .hero__in { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; padding-bottom: 60px; }
  .hero h1 { font-size: 40px; }
  .hero__lead { max-width: none; }
  .telemetry { max-width: 520px; }
  .nav { display: none; }
  .header__in { gap: 16px; }
  .header__cta { margin-left: auto; }
  .burger { display: flex; }
  .h-section { font-size: 30px; }
  .section { padding: 68px 0; }
  .ctaband { grid-template-columns: 1fr; padding: 40px 32px; }
  .ctaband h2 { font-size: 26px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .testi-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .hero__in { padding-top: 40px; padding-bottom: 48px; }
  .hero h1 { font-size: 28px; line-height: 1.14; }
  .hero__lead { font-size: 15px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr; max-width: none; }
  .hero__stat { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; }
  .hero__stat b { font-size: 20px; }
  .h-section { font-size: 25px; }
  .sub { font-size: 14.5px; }
  .feat-grid { grid-template-columns: 1fr; }
  .chan-grid { grid-template-columns: 1fr; }
  .header__cta .btn--ghost { display: none; }
  .header__cta .btn { padding: 9px 14px; font-size: 13px; }
  .brand__tag { display: none; }
  .op-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .price-top { flex-direction: column; align-items: stretch; }
  .price-top__tools { margin-left: 0; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .ptable { min-width: 0; font-size: 12.5px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tbody tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
    align-items: center;
  }
  .ptable tbody tr:hover { background: #fbfdff; }
  .ptable tbody td { padding: 0 !important; border: 0 !important; text-align: left !important; }
  .ptable td.col-code { grid-row: 2; grid-column: 1; }
  .ptable td.col-name { grid-row: 1; grid-column: 1; }
  .ptable td.col-price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 14px; }
  .ptable td.col-op { display: none; }
  .ptable td.col-status { grid-row: 2; grid-column: 1; justify-self: start; margin-left: 0; }
  .ptable tbody tr td.col-code { display: none; }
  .ptable td.col-status .st { font-size: 9.5px; padding: 2px 6px; }
  .ptable td.col-name small { display: none; }
  .price-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .price-foot__right { margin-left: 0; width: 100%; justify-content: space-between; }
  .phones { gap: 0; }
  .phone--main { width: 210px; }
  .phone--side { display: none; }
  .phone { border-width: 6px; border-radius: 26px; }
  .phone__screen { border-radius: 20px; }
  .ctaband { padding: 32px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom nav { margin-left: 0; }
  .appsec__actions .btn { flex: 1 1 100%; }
}

/* ---------- 20. Utilities & icon sizing ---------- */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg { fill: none; }
svg use { pointer-events: none; }

.ico-sm { width: 14px; height: 14px; }
.ico-xs { width: 13px; height: 13px; }
.ico-xxs { width: 12px; height: 12px; }

.brand__mark--sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.brand__mark--xs {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}
.brand__mark--sm svg,
.brand__mark--xs svg { width: 13px; height: 13px; }

/* operator colour chips */
.opc {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #94a3b8;
}

.op-tag i,
.trow__op { background: #94a3b8; }

.bgc-ts { background: #e2231a; }
.bgc-is { background: #ffc800; }
.bgc-xl { background: #0067b1; }
.bgc-ax { background: #7b2d8e; }
.bgc-tri { background: #00a0e3; }
.bgc-sf { background: #e6007e; }
.bgc-byu { background: #00b14f; }
.bgc-pln { background: #f5a623; }
.bgc-dana { background: #118eea; }
.bgc-spay { background: #ee4d2d; }
.bgc-gopay { background: #00aa13; }
.bgc-ff { background: #f59e0b; }
.bgc-ml { background: #2563eb; }
.bgc-mc { background: #7c3aed; }
.bgc-pb { background: #dc2626; }
.bgc-bpjs { background: #0d9488; }
.bgc-pdam { background: #0891b2; }
.bgc-net { background: #4f46e5; }
.bgc-pg { background: #ef4444; }
.bgc-kv { background: #8b5cf6; }
.bgc-oth { background: #94a3b8; }

/* skeleton widths */
.trow__name .skel { display: block; }
.skel--w56 { width: 56px; }
.skel--w100 { width: 100px; }
.skel--w120 { width: 120px; }
.skel--w136 { width: 136px; }
.skel--w150 { width: 150px; }

.trow__op--ph { background: #e2e8f0; }

/* mobile nav drawer */
.mobilenav {
  border-top: 1px solid var(--border-soft);
  background: #fff;
  box-shadow: var(--shadow-2);
}
.mobilenav .wrap {
  display: grid;
  padding-top: 8px;
  padding-bottom: 14px;
}
.mobilenav a {
  padding: 11px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--border-soft);
}
.mobilenav a:last-child { border-bottom: 0; }
.mobilenav a:hover { color: var(--primary); }
.mobilenav[hidden] { display: none; }

/* price footnote */
.price-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 780px;
}

/* steps CTA row */
.steps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

/* price change flash */
@keyframes priceflash {
  0% { background: #d1fae5; box-shadow: inset 0 0 0 1px #a7f3d0; }
  100% { background: transparent; box-shadow: none; }
}
.flash { animation: priceflash 1.6s ease-out; border-radius: var(--r-sm); }

/* ---------- 21. Halaman statis (legal & status) ---------- */
.legal-head {
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
}
.legal-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.legal-head__back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}
.legal-head__back:hover { color: var(--primary); }
.legal-head__back svg { width: 14px; height: 14px; }

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 0 72px;
}
.legal h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.legal__meta {
  font-size: 12.5px;
  color: var(--slate-400);
  font-family: var(--font-mono);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 34px 0 10px;
}
.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate-700);
}
.legal p + p { margin-top: 12px; }
.legal ul {
  margin: 10px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

.legal-foot {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0 40px;
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
}
.legal-foot a { color: var(--slate-500); }
.legal-foot a:hover { color: var(--primary); }

/* status page */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}
.status-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-1);
}
.status-card small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.status-card b {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.status-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate-500);
}

@media (max-width: 767px) {
  .legal { padding: 36px 0 48px; }
  .legal h1 { font-size: 26px; }
  .status-grid { grid-template-columns: 1fr; }
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }
