/* 666i — number5 (lightweight) */
:root {
  --ink: #07151c;
  --ink-soft: #0e2430;
  --line: rgba(232, 244, 248, 0.12);
  --text: #e8f4f8;
  --muted: #9bb4bf;
  --teal: #2ec4b6;
  --teal-deep: #1a8f85;
  --amber: #f0a202;
  --fog: rgba(232, 244, 248, 0.06);
  --radius: 14px;
  --font: "Segoe UI", Tahoma, "Noto Sans", sans-serif;
  --display: "Segoe UI", Tahoma, "Noto Sans", sans-serif;
  --max: 1120px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font-family: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header — solid, no blur */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #07151c;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.brand span {
  color: var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 0.4rem 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--fog);
}

.nav-cta {
  margin-left: 0.25rem;
  background: var(--teal) !important;
  color: var(--ink) !important;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-soft);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    background: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-amber {
  background: var(--amber);
  color: #1a1200;
}

/* Hero — banner full-bleed + copy below */
.hero {
  position: relative;
  overflow: hidden;
  background: #061018;
}

.hero-banner {
  width: 100%;
  line-height: 0;
  background: var(--ink-soft);
}

.hero-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-bg,
.hero-visual,
.hero-glow,
.hero-stage,
.phone-frame,
.phone-screen,
.phone-top,
.phone-bar,
.phone-tiles {
  display: none;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 2.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }
}

.hero-copy {
  max-width: 40rem;
}

.hero-shot {
  justify-self: center;
  width: 240px;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  overflow: hidden;
}

.hero-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
  display: block;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
}

.hero-brand em {
  font-style: normal;
  color: var(--teal);
}

.hero-title {
  margin: 0.9rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-meta strong {
  color: var(--text);
}

/* Apps */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #091820;
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Apps */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .app-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.app-item {
  display: block;
  padding: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #123040;
  margin-bottom: 0.65rem;
}

.app-item:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.app-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.app-item .genre {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  color: var(--muted);
}

.app-meta li {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--fog);
}

.app-catalog-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--teal);
  font-weight: 700;
}

.app-catalog-link:hover {
  text-decoration: underline;
}

/* Content */
.prose {
  max-width: 46rem;
}

.prose p {
  color: var(--muted);
}

.prose p strong {
  color: var(--text);
}

.audience-grid,
.flow-grid,
.reason-grid,
.page-map {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .audience-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-grid,
  .page-map {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-grid article,
.flow-grid article,
.reason-grid article,
.page-map a {
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.audience-grid h3,
.flow-grid h3,
.reason-grid h3,
.page-map h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.audience-grid p,
.flow-grid p,
.reason-grid p,
.page-map p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.page-map a {
  display: block;
}

.page-map a:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.page-map .path {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-block;
  min-width: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--teal);
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Specs */
.spec-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.spec-table th,
.spec-table td {
  padding: 0.8rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.spec-table th {
  color: var(--muted);
  font-weight: 600;
  width: 38%;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

/* Checklist */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.55rem;
  max-width: 48rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-soft);
  padding: 0.1rem 0.95rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 0;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 800;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

/* CTA */
.cta-band {
  margin: 0.5rem 0 3.5rem;
  padding: 1.85rem;
  border-radius: 16px;
  border: 1px solid rgba(46, 196, 182, 0.28);
  background: var(--ink-soft);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
}

.cta-band p {
  margin: 0 auto 1.15rem;
  max-width: 36rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  background: #050f14;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-weight: 800;
  font-size: 1.25rem;
}

.footer-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.footer-brand span {
  color: var(--teal);
}

.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer h4 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
}

.section-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-note a {
  color: var(--teal);
  font-weight: 700;
}

.section-note a:hover {
  text-decoration: underline;
}

/* ========== APK page layout ========== */
.page-apk .hero,
.page-apk .hero-banner,
.page-apk .hero-inner {
  display: none;
}

.apk-strip {
  border-bottom: 1px solid var(--line);
  background: #091820;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}

.apk-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 0;
  align-items: center;
}

.apk-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.apk-breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}

.apk-breadcrumb a:hover {
  text-decoration: underline;
}

.apk-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 4.5rem;
}

.apk-strip-item span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.apk-strip-item strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.apk-strip-live strong {
  color: var(--teal);
}

.apk-banner-wrap {
  line-height: 0;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.apk-banner {
  width: 100%;
  height: auto;
  display: block;
}

.apk-cockpit {
  padding: 2.5rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(46, 196, 182, 0.06), transparent 40%),
    var(--ink);
}

.apk-cockpit-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .apk-cockpit-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 2.25rem;
  }
}

.apk-file-panel {
  padding: 1.5rem;
  border: 1px solid rgba(46, 196, 182, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(46, 196, 182, 0.1), transparent 45%),
    var(--ink-soft);
}

.apk-file-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(240, 162, 2, 0.18);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apk-file-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.apk-file-panel h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.apk-file-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.apk-file-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
}

.apk-file-meta div {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(7, 21, 28, 0.55);
  border: 1px solid var(--line);
}

.apk-file-meta dt {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apk-file-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.apk-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.apk-btn-lg {
  min-height: 52px;
  padding-inline: 1.4rem;
  font-size: 1rem;
}

.apk-copy-msg {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
}

.apk-file-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.apk-file-note a {
  color: var(--teal);
  font-weight: 700;
}

.apk-side {
  display: grid;
  gap: 1rem;
}

.apk-shot-frame {
  width: min(100%, 280px);
  margin-inline: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-soft);
}

.apk-shot-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.apk-side-card {
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.apk-side-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.apk-mini-flow {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.apk-mini-flow li {
  margin-bottom: 0.35rem;
}

.apk-side-link {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}

.apk-side-link:hover {
  text-decoration: underline;
}

.apk-tabs-section,
.apk-pipeline-section,
.apk-ready-section,
.apk-spec-section {
  padding: 3.25rem 0;
}

.apk-tabs-section {
  background: #091820;
  border-block: 1px solid var(--line);
}

.apk-tabs {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-soft);
  overflow: hidden;
}

.apk-tablist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.apk-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.95rem 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border-right: 1px solid var(--line);
}

.apk-tab:last-child {
  border-right: 0;
}

.apk-tab.is-active {
  color: var(--ink);
  background: var(--teal);
}

.apk-tabpanel {
  padding: 1.35rem 1.25rem 1.5rem;
}

.apk-tabpanel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.apk-check {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.apk-check li {
  position: relative;
  padding: 0.7rem 0.8rem 0.7rem 2.2rem;
  border-radius: 10px;
  background: rgba(7, 21, 28, 0.45);
  border: 1px solid var(--line);
  color: var(--muted);
}

.apk-check li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  transform: translateY(-50%);
  border-radius: 3px;
  background: var(--teal);
}

.apk-panel-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.apk-panel-note a,
.apk-ready-card a {
  color: var(--teal);
  font-weight: 700;
}

.apk-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.apk-pipeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.apk-pipe-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.apk-pipe-step:last-child {
  border-bottom: 0;
}

.apk-pipe-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
}

.apk-pipe-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.apk-pipe-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.apk-ready-section {
  background: #091820;
  border-block: 1px solid var(--line);
}

.apk-ready-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .apk-ready-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.apk-ready-card {
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.apk-ready-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apk-ready-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.apk-ready-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.apk-spec-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .apk-spec-layout {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
  }
}

.apk-next-box {
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(240, 162, 2, 0.28);
  background:
    linear-gradient(180deg, rgba(240, 162, 2, 0.08), transparent 50%),
    var(--ink-soft);
  display: grid;
  gap: 0.65rem;
}

.apk-next-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.apk-next-link {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 28, 0.45);
  transition: border-color 0.2s ease;
}

.apk-next-link:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.apk-next-link span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.apk-next-link strong {
  font-size: 0.98rem;
}

.apk-final-cta {
  margin: 0.5rem 0 3.25rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(46, 196, 182, 0.3);
  background:
    linear-gradient(120deg, rgba(46, 196, 182, 0.12), transparent 55%),
    var(--ink-soft);
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .apk-final-cta {
    grid-template-columns: 1.3fr auto;
    align-items: center;
  }
}

.apk-final-copy h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
}

.apk-final-copy p {
  margin: 0;
  color: var(--muted);
}

.apk-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .apk-file-meta {
    grid-template-columns: 1fr;
  }

  .apk-tab {
    font-size: 0.8rem;
    padding: 0.8rem 0.25rem;
  }

  .apk-pipe-step {
    grid-template-columns: 52px 1fr;
  }
}

.apk-seo-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.apk-seo-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .apk-seo-grid {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

.apk-intent-box {
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.apk-intent-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.apk-intent-box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

/* ========== Aplikasi catalog page ========== */
.apps-top {
  background: var(--ink);
}

.apps-banner-wrap {
  line-height: 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.apps-banner {
  width: 100%;
  height: auto;
  display: block;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
}

.apps-hero {
  padding: 1.75rem 0 2.5rem;
}

.apps-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.apps-breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}

.apps-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .apps-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}

.apps-kicker {
  margin: 0 0 0.45rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apps-hero-copy h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.apps-hero-copy > p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.apps-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.apps-hero-stats div {
  min-width: 5.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.apps-hero-stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--teal);
}

.apps-hero-stats span {
  font-size: 0.75rem;
  color: var(--muted);
}

.apps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.apps-hero-shot {
  width: min(100%, 240px);
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-soft);
}

.apps-hero-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.apps-featured {
  padding: 2.5rem 0;
  background: #091820;
  border-block: 1px solid var(--line);
}

.apps-section-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.apps-section-head p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.apps-featured-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .apps-featured-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.apps-feature-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.apps-feature-card:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.apps-feature-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #123040;
}

.apps-feature-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.apps-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.apps-catalog {
  padding: 2.75rem 0 3rem;
}

.apps-catalog-bar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.apps-catalog-bar h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.apps-filter-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.apps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.apps-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.apps-chip.is-active,
.apps-chip:hover {
  color: var(--ink);
  background: var(--teal);
  border-color: var(--teal);
}

.apps-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.apps-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.apps-table th,
.apps-table td {
  padding: 0.85rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.apps-table th {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(7, 21, 28, 0.45);
}

.apps-table tr:last-child td {
  border-bottom: 0;
}

.apps-table tr.is-hidden {
  display: none;
}

.apps-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.apps-name-cell img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #123040;
}

.apps-row-link {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
}

.apps-row-link:hover {
  text-decoration: underline;
}

.apps-empty {
  margin: 1rem 0 0;
  color: var(--muted);
}

.apps-cat-primary {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.apps-cat-sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.apps-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
}

.apps-page-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--muted);
  border-radius: 999px;
  min-width: 2.2rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.apps-page-btn.is-active,
.apps-page-btn:hover:not(:disabled) {
  color: var(--ink);
  background: var(--teal);
  border-color: var(--teal);
}

.apps-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.apps-ellipsis {
  color: var(--muted);
  padding: 0 0.2rem;
}

.apps-explain {
  padding: 3rem 0;
  background: #091820;
  border-block: 1px solid var(--line);
}

.apps-explain-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .apps-explain-grid {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: start;
  }
}

.apps-explain h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.apps-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  counter-reset: apps-step;
}

.apps-steps li {
  counter-increment: apps-step;
  padding: 1rem 1rem 1rem 3.2rem;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.apps-steps li::before {
  content: counter(apps-step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(46, 196, 182, 0.18);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.85rem;
}

.apps-steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.apps-steps span {
  color: var(--muted);
  font-size: 0.92rem;
}

.apps-side-links {
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(46, 196, 182, 0.25);
  background: var(--ink-soft);
  display: grid;
  gap: 0.55rem;
}

.apps-side-links h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.apps-side-links a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 28, 0.4);
}

.apps-side-links a:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.apps-side-links span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.apps-side-links strong {
  font-size: 0.95rem;
}

.apps-cat-guide .section-head p {
  max-width: 46rem;
}

.apps-cat-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .apps-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .apps-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.apps-cat-grid article {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.apps-cat-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--teal);
}

.apps-cat-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.apps-cat-note {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 48rem;
}

.apps-cat-note a {
  color: var(--teal);
  font-weight: 700;
}

/* ========== Login page: session gate ========== */
.page-login {
  --login-rose: #7ee0d4;
}

.login-kicker {
  margin: 0 0 0.45rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-crumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.login-crumb a {
  color: var(--teal);
}

.login-gate {
  position: relative;
  overflow: hidden;
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(46, 196, 182, 0.16), transparent 58%),
    linear-gradient(165deg, #0a1c26 0%, var(--ink) 55%, #0b1820 100%);
}

.login-banner-wrap {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  background: #050e14;
}

.login-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  object-fit: cover;
  max-height: 280px;
}

.login-gate-glow {
  position: absolute;
  right: -8%;
  top: 28%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 162, 2, 0.14), transparent 68%);
  pointer-events: none;
  animation: login-pulse 7s ease-in-out infinite;
}

@keyframes login-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.login-gate-grid {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .login-gate-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.login-gate-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.login-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.login-lead-soft {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.7;
}

.login-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.login-stamps span {
  border: 1px dashed rgba(46, 196, 182, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--login-rose);
  font-size: 0.78rem;
  font-weight: 700;
  animation: login-stamp-in 0.6s ease both;
}

.login-stamps span:nth-child(2) { animation-delay: 0.08s; }
.login-stamps span:nth-child(3) { animation-delay: 0.16s; }

@keyframes login-stamp-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.login-gate-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-gate-note a {
  color: var(--teal);
  font-weight: 700;
}

.login-ticket {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(14, 36, 48, 0.95), rgba(7, 21, 28, 0.92));
  padding: 1rem 1.05rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: login-ticket-rise 0.7s ease both;
  max-width: 28rem;
}

@keyframes login-ticket-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-ticket-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--line);
}

.login-ticket-top img {
  border-radius: 10px;
  background: #123040;
}

.login-ticket-top strong {
  display: block;
  font-size: 1rem;
}

.login-ticket-top span {
  color: var(--muted);
  font-size: 0.8rem;
}

.login-ticket-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
  margin: 0.9rem 0 0;
}

.login-ticket-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-ticket-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.login-ticket-meta a {
  color: var(--teal);
}

.login-phone {
  margin: 0 auto;
  width: min(100%, 240px);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-soft);
  animation: login-ticket-rise 0.75s ease both;
}

.login-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.login-brief {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.login-brief-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .login-brief-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
}

.login-brief h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.login-brief p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.login-brief-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.login-brief-points li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.login-brief-points strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--teal);
}

.login-brief-points span {
  color: var(--muted);
  font-size: 0.9rem;
}

.login-ready {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.login-ready-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

@media (min-width: 760px) {
  .login-ready-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.login-ready-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.login-ready-head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.login-meter {
  text-align: center;
}

.login-meter-ring {
  width: 92px;
  height: 92px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  border: 3px solid var(--line);
  background:
    conic-gradient(var(--teal) calc(var(--login-progress, 0) * 1%), rgba(232, 244, 248, 0.08) 0);
  position: relative;
}

.login-meter-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #091820;
}

.login-meter-ring strong,
.login-meter-ring span {
  position: relative;
  z-index: 1;
}

.login-meter-ring strong {
  font-size: 1.45rem;
  color: var(--teal);
}

.login-meter-ring span {
  color: var(--muted);
  font-size: 0.8rem;
}

.login-meter p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.login-meter.is-ready p {
  color: var(--teal);
}

.login-checks {
  display: grid;
  gap: 0.7rem;
}

.login-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.login-check:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.login-check:has(input:checked) {
  border-color: var(--teal);
  transform: translateX(3px);
}

.login-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-check-box {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  border-radius: 6px;
  border: 2px solid var(--muted);
  background: transparent;
  position: relative;
}

.login-check input:checked + .login-check-box {
  border-color: var(--teal);
  background: var(--teal);
}

.login-check input:checked + .login-check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.login-check-body strong {
  display: block;
  margin-bottom: 0.2rem;
}

.login-check-body em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.login-ready-cta {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(46, 196, 182, 0.35);
  background: rgba(46, 196, 182, 0.1);
  color: var(--text);
  animation: login-stamp-in 0.35s ease both;
}

.login-ready-cta a {
  color: var(--teal);
  font-weight: 700;
}

.login-rail {
  padding: 3rem 0;
}

.login-rail-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.login-rail-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.login-rail-head p {
  margin: 0;
  color: var(--muted);
}

.login-stations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.login-stations::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(240, 162, 2, 0.55), transparent);
}

.login-stations li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.login-station-no {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--ink-soft);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 1;
}

.login-stations h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.08rem;
}

.login-stations p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.login-stations a {
  color: var(--teal);
  font-weight: 700;
}

.login-diag {
  padding: 3rem 0;
  background: #091820;
  border-block: 1px solid var(--line);
}

.login-diag-head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.login-diag-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.login-diag-head p {
  margin: 0;
  color: var(--muted);
}

.login-diag-board {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ink-soft);
  overflow: hidden;
}

@media (min-width: 860px) {
  .login-diag-board {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 280px;
  }
}

.login-diag-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .login-diag-list {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}

.login-diag-tab {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.95rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.login-diag-tab:last-child {
  border-bottom: 0;
}

.login-diag-tab.is-active,
.login-diag-tab:hover {
  color: var(--ink);
  background: var(--teal);
}

.login-diag-panels {
  padding: 1.15rem 1.2rem 1.3rem;
}

.login-diag-panel[hidden] {
  display: none;
}

.login-diag-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.login-diag-panel p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.login-diag-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.login-diag-panel li + li {
  margin-top: 0.35rem;
}

.login-diag-panel a {
  color: var(--teal);
  font-weight: 700;
}

.login-after {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.login-after-head {
  margin-bottom: 1.25rem;
  max-width: 44rem;
}

.login-after-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.login-after-head p {
  margin: 0;
  color: var(--muted);
}

.login-after-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .login-after-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.login-after-grid article {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.login-after-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--teal);
}

.login-after-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.login-after-grid a {
  color: var(--teal);
  font-weight: 700;
}

.login-doors {
  padding: 3rem 0 3.5rem;
}

.login-doors-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.login-doors-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.login-doors-head p {
  margin: 0;
  color: var(--muted);
}

.login-doors-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .login-doors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.login-door {
  padding: 1.25rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.login-door.is-current {
  border-color: rgba(46, 196, 182, 0.55);
  background:
    linear-gradient(145deg, rgba(46, 196, 182, 0.14), rgba(14, 36, 48, 0.9));
}

.login-door-tag {
  margin: 0 0 0.45rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-door h3 {
  margin: 0 0 0.45rem;
}

.login-door p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.login-door a {
  color: var(--teal);
  font-weight: 800;
}

/* ========== Daftar page: enrollment lane ========== */
.page-daftar {
  --daftar-accent: #f0a202;
}

.daftar-kicker {
  margin: 0 0 0.45rem;
  color: var(--daftar-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daftar-crumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.daftar-crumb a {
  color: var(--teal);
}

.daftar-hero {
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 65% 50% at 88% 12%, rgba(240, 162, 2, 0.14), transparent 55%),
    linear-gradient(165deg, #0c1a22 0%, var(--ink) 60%);
}

.daftar-banner-wrap {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  background: #050e14;
}

.daftar-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  object-fit: cover;
  max-height: 280px;
}

.daftar-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .daftar-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.4rem;
    align-items: center;
  }
}

.daftar-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.daftar-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.daftar-lead-soft {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.7;
}

.daftar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.daftar-badges span {
  border: 1px solid rgba(240, 162, 2, 0.45);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  color: var(--daftar-accent);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(240, 162, 2, 0.08);
}

.daftar-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.daftar-hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.daftar-hero-note a {
  color: var(--teal);
  font-weight: 700;
}

.daftar-phone {
  margin: 0 auto;
  width: min(100%, 240px);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-soft);
}

.daftar-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.daftar-lane {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.daftar-lane-head {
  margin-bottom: 1.4rem;
  max-width: 40rem;
}

.daftar-lane-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-lane-head p {
  margin: 0;
  color: var(--muted);
}

.daftar-lane-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .daftar-lane-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    position: relative;
  }

  .daftar-lane-track::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--daftar-accent), var(--teal));
    opacity: 0.55;
    z-index: 0;
  }
}

.daftar-lane-track li {
  position: relative;
  z-index: 1;
  padding: 1rem 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.daftar-lane-track span {
  display: inline-grid;
  place-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--daftar-accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
}

.daftar-lane-track h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.daftar-lane-track p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.daftar-prep {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.daftar-prep-head {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}

@media (min-width: 760px) {
  .daftar-prep-head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.daftar-prep-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-prep-head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.daftar-bar-wrap {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.daftar-bar-meta {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.daftar-bar-meta strong {
  font-size: 1.5rem;
  color: var(--daftar-accent);
}

.daftar-bar-meta span,
.daftar-bar-wrap > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.daftar-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(232, 244, 248, 0.08);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.daftar-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--daftar-accent), var(--teal));
  transition: width 0.25s ease;
}

.daftar-bar-wrap.is-ready > p {
  color: var(--teal);
}

.daftar-prep-list {
  display: grid;
  gap: 0.7rem;
}

.daftar-prep-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.daftar-prep-item:hover {
  border-color: rgba(240, 162, 2, 0.5);
}

.daftar-prep-item:has(input:checked) {
  border-color: var(--daftar-accent);
}

.daftar-prep-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.daftar-prep-mark {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid var(--muted);
  position: relative;
}

.daftar-prep-item input:checked + .daftar-prep-mark {
  border-color: var(--daftar-accent);
  background: var(--daftar-accent);
}

.daftar-prep-item input:checked + .daftar-prep-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.daftar-prep-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.daftar-prep-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.daftar-prep-cta {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 162, 2, 0.4);
  background: rgba(240, 162, 2, 0.1);
}

.daftar-prep-cta a {
  color: var(--teal);
  font-weight: 700;
}

.daftar-explain {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.daftar-explain-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .daftar-explain-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}

.daftar-explain h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-explain p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.daftar-explain-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.daftar-explain-cards li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.daftar-explain-cards strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--daftar-accent);
}

.daftar-explain-cards span {
  color: var(--muted);
  font-size: 0.9rem;
}

.daftar-fields {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.daftar-fields-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.daftar-fields-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-fields-head p {
  margin: 0;
  color: var(--muted);
}

.daftar-fields-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .daftar-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.daftar-fields-grid article {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  border-top: 3px solid var(--daftar-accent);
}

.daftar-fields-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.daftar-fields-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.daftar-mistakes {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.daftar-mistakes-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.daftar-mistakes-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-mistakes-head p {
  margin: 0;
  color: var(--muted);
}

.daftar-mistake-board {
  display: grid;
  gap: 0.65rem;
}

.daftar-mistake {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-soft);
  padding: 0.15rem 0.95rem 0.15rem;
}

.daftar-mistake summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
}

.daftar-mistake summary::-webkit-details-marker {
  display: none;
}

.daftar-mistake summary::after {
  content: "+";
  float: right;
  color: var(--daftar-accent);
}

.daftar-mistake[open] summary::after {
  content: "–";
}

.daftar-mistake p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.daftar-mistake a {
  color: var(--teal);
  font-weight: 700;
}

.daftar-next {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.daftar-next-head {
  margin-bottom: 1.2rem;
}

.daftar-next-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-next-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .daftar-next-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.daftar-next-grid article {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
}

.daftar-next-grid h3 {
  margin: 0 0 0.4rem;
  color: var(--teal);
  font-size: 1.02rem;
}

.daftar-next-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.daftar-next-grid a {
  color: var(--teal);
  font-weight: 700;
}

.daftar-doors {
  padding: 3rem 0 3.5rem;
}

.daftar-doors-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.daftar-doors-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.daftar-doors-head p {
  margin: 0;
  color: var(--muted);
}

.daftar-doors-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .daftar-doors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.daftar-door {
  padding: 1.25rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.daftar-door.is-current {
  border-color: rgba(240, 162, 2, 0.55);
  background:
    linear-gradient(145deg, rgba(240, 162, 2, 0.14), rgba(14, 36, 48, 0.92));
}

.daftar-door-tag {
  margin: 0 0 0.45rem;
  color: var(--daftar-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daftar-door h3 {
  margin: 0 0 0.45rem;
}

.daftar-door p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.daftar-door a {
  color: var(--teal);
  font-weight: 800;
}

/* ========== Resmi page: verification vault ========== */
.page-resmi {
  --resmi-gold: #d4b86a;
  --resmi-gold-deep: #a88b3a;
}

.resmi-kicker {
  margin: 0 0 0.45rem;
  color: var(--resmi-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resmi-crumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.resmi-crumb a {
  color: var(--teal);
}

.resmi-vault {
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(212, 184, 106, 0.12), transparent 60%),
    linear-gradient(180deg, #0a1820 0%, var(--ink) 65%);
}

.resmi-banner-wrap {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  background: #050e14;
}

.resmi-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  object-fit: cover;
  max-height: 280px;
}

.resmi-vault-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 920px) {
  .resmi-vault-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.25rem;
  }
}

.resmi-vault-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.resmi-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.resmi-lead-soft {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.7;
}

.resmi-seal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.resmi-seal {
  border: 2px double var(--resmi-gold);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  color: var(--resmi-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: rgba(212, 184, 106, 0.08);
}

.resmi-seal.is-muted {
  border-style: solid;
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

.resmi-vault-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.resmi-id-card {
  border: 1px solid rgba(212, 184, 106, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(14, 36, 48, 0.98), rgba(7, 21, 28, 0.95));
  padding: 1.1rem;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.resmi-id-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px dashed rgba(212, 184, 106, 0.35);
}

.resmi-id-head img {
  border-radius: 14px;
  background: #123040;
  border: 2px solid rgba(212, 184, 106, 0.45);
}

.resmi-id-head strong {
  display: block;
  font-size: 1.15rem;
}

.resmi-id-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.resmi-id-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 1rem 0;
}

.resmi-id-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resmi-id-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.resmi-id-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  width: min(100%, 200px);
  margin-inline: auto;
}

.resmi-id-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.resmi-compare {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.resmi-compare-head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.resmi-compare-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.resmi-compare-head p {
  margin: 0;
  color: var(--muted);
}

.resmi-compare-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 820px) {
  .resmi-compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.resmi-compare-col {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.resmi-compare-col.is-official {
  border-color: rgba(46, 196, 182, 0.45);
  border-top: 3px solid var(--teal);
}

.resmi-compare-col.is-risk {
  border-color: rgba(240, 162, 2, 0.35);
  border-top: 3px solid var(--amber);
}

.resmi-compare-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
}

.resmi-compare-col ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.resmi-compare-col li + li {
  margin-top: 0.45rem;
}

.resmi-compare-col strong {
  color: var(--text);
}

.resmi-check {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.resmi-check-head {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}

@media (min-width: 760px) {
  .resmi-check-head {
    grid-template-columns: 1.2fr auto;
    align-items: end;
  }
}

.resmi-check-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.resmi-check-head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.resmi-stamp-panel {
  text-align: center;
  padding: 1rem 1.2rem;
  border: 2px double rgba(212, 184, 106, 0.45);
  border-radius: 14px;
  background: rgba(212, 184, 106, 0.06);
  min-width: 140px;
}

.resmi-stamp-mark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}

.resmi-stamp-mark span {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--resmi-gold);
}

.resmi-stamp-mark em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.resmi-stamp-panel p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.resmi-stamp-panel.is-verified p {
  color: var(--teal);
}

.resmi-stamp-panel.is-verified .resmi-stamp-mark span {
  color: var(--teal);
}

.resmi-check-list {
  display: grid;
  gap: 0.7rem;
}

.resmi-check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.resmi-check-item:hover {
  border-color: rgba(212, 184, 106, 0.45);
}

.resmi-check-item:has(input:checked) {
  border-color: var(--resmi-gold);
  background: rgba(212, 184, 106, 0.06);
}

.resmi-check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.resmi-check-stamp {
  width: 28px;
  height: 28px;
  margin-top: 0.1rem;
  border-radius: 50%;
  border: 2px dashed var(--muted);
  position: relative;
}

.resmi-check-item input:checked + .resmi-check-stamp {
  border-style: solid;
  border-color: var(--resmi-gold);
  background: var(--resmi-gold);
}

.resmi-check-item input:checked + .resmi-check-stamp::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
}

.resmi-check-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.resmi-check-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.resmi-check-done {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(46, 196, 182, 0.35);
  background: rgba(46, 196, 182, 0.1);
}

.resmi-check-done a {
  color: var(--teal);
  font-weight: 700;
}

.resmi-signals {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.resmi-signals-head {
  margin-bottom: 1.25rem;
}

.resmi-signals-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.resmi-signals-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .resmi-signals-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.resmi-signals-grid article {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  position: relative;
  padding-left: 3.2rem;
}

.resmi-signal-no {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--resmi-gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.resmi-signals-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.resmi-signals-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.resmi-map {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.resmi-map-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.resmi-map-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.resmi-map-head p {
  margin: 0;
  color: var(--muted);
}

.resmi-map-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .resmi-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .resmi-map-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resmi-map-grid a {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.resmi-map-grid a:hover {
  border-color: var(--resmi-gold);
  transform: translateY(-2px);
}

.resmi-map-path {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  margin-bottom: 0.2rem;
}

.resmi-map-grid strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.resmi-map-grid em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.5;
}

.resmi-warn {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.resmi-warn-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.resmi-warn-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.resmi-warn-head p {
  margin: 0;
  color: var(--muted);
}

.resmi-warn-list {
  display: grid;
  gap: 0.65rem;
}

.resmi-warn-item {
  border: 1px solid rgba(240, 162, 2, 0.25);
  border-radius: 12px;
  background: var(--ink-soft);
  padding: 0.15rem 0.95rem 0.15rem;
}

.resmi-warn-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
  color: var(--amber);
}

.resmi-warn-item summary::-webkit-details-marker {
  display: none;
}

.resmi-warn-item p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.resmi-warn-item a {
  color: var(--teal);
  font-weight: 700;
}

.resmi-flow {
  padding: 3rem 0 3.5rem;
}

.resmi-flow-head {
  margin-bottom: 1.25rem;
}

.resmi-flow-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.resmi-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: resmi-flow;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-soft);
}

.resmi-flow-steps li {
  counter-increment: resmi-flow;
  padding: 1.1rem 1.15rem 1.1rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.resmi-flow-steps li:last-child {
  border-bottom: 0;
}

.resmi-flow-steps li::before {
  content: counter(resmi-flow);
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--resmi-gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.82rem;
}

.resmi-flow-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.resmi-flow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.resmi-flow-steps a {
  color: var(--teal);
  font-weight: 700;
}

/* ========== Alternatif page: relay / detour board ========== */
.page-alt {
  --alt-cyan: #5ec8ff;
  --alt-cyan-deep: #2a8fbf;
}

.alt-kicker {
  margin: 0 0 0.45rem;
  color: var(--alt-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alt-crumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.alt-crumb a {
  color: var(--teal);
}

.alt-relay {
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(94, 200, 255, 0.14), transparent 55%),
    linear-gradient(165deg, #071820 0%, var(--ink) 58%);
}

.alt-banner-wrap {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  background: #050e14;
}

.alt-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  object-fit: cover;
  max-height: 280px;
}

.alt-relay-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 920px) {
  .alt-relay-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.25rem;
  }
}

.alt-relay-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.alt-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.alt-lead-soft {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.7;
}

.alt-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.alt-pill {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
}

.alt-pill.is-main {
  border-color: rgba(46, 196, 182, 0.5);
  color: var(--teal);
  background: rgba(46, 196, 182, 0.1);
}

.alt-pill.is-relay {
  border-color: rgba(94, 200, 255, 0.5);
  color: var(--alt-cyan);
  background: rgba(94, 200, 255, 0.1);
}

.alt-relay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.alt-switchboard {
  border: 1px solid rgba(94, 200, 255, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 32, 42, 0.98), rgba(7, 21, 28, 0.95));
  padding: 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.alt-switch-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(94, 200, 255, 0.3);
  margin-bottom: 0.85rem;
}

.alt-switch-head strong {
  font-size: 1.05rem;
}

.alt-switch-head span {
  color: var(--muted);
  font-size: 0.78rem;
}

.alt-switch-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.alt-switch-lines li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 21, 28, 0.55);
}

.alt-line-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 3px rgba(232, 244, 248, 0.08);
}

.alt-line-dot.is-live {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.2);
  animation: alt-pulse 2.2s ease-in-out infinite;
}

.alt-line-dot.is-standby {
  background: var(--alt-cyan);
  box-shadow: 0 0 0 3px rgba(94, 200, 255, 0.2);
}

.alt-line-dot.is-off {
  background: #6a7380;
}

@keyframes alt-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

.alt-switch-lines strong {
  display: block;
  font-size: 0.92rem;
}

.alt-switch-lines em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.alt-line-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--alt-cyan);
}

.alt-phone {
  margin: 0 auto;
  width: min(100%, 200px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.alt-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.alt-when {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.alt-when-head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.alt-when-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.alt-when-head p {
  margin: 0;
  color: var(--muted);
}

.alt-when-board {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-soft);
  display: grid;
}

@media (min-width: 860px) {
  .alt-when-board {
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 300px;
  }
}

.alt-when-tabs {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .alt-when-tabs {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}

.alt-when-tab {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.95rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.alt-when-tab:last-child {
  border-bottom: 0;
}

.alt-when-tab.is-active,
.alt-when-tab:hover {
  color: var(--ink);
  background: var(--alt-cyan);
}

.alt-when-panels {
  padding: 1.15rem 1.2rem 1.3rem;
}

.alt-when-panel[hidden] {
  display: none;
}

.alt-when-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.alt-when-panel p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.alt-when-panel ol {
  margin: 0;
  padding-left: 1.15rem;
}

.alt-when-panel li + li {
  margin-top: 0.35rem;
}

.alt-when-panel a {
  color: var(--teal);
  font-weight: 700;
}

.alt-detour {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.alt-detour-head {
  margin-bottom: 1.4rem;
  max-width: 40rem;
}

.alt-detour-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.alt-detour-head p {
  margin: 0;
  color: var(--muted);
}

.alt-detour-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.alt-detour-track::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--alt-cyan), var(--teal), transparent);
}

.alt-detour-track li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  position: relative;
}

.alt-detour-no {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-content: center;
  background: var(--ink-soft);
  border: 2px solid var(--alt-cyan);
  color: var(--alt-cyan);
  font-weight: 800;
  font-size: 0.82rem;
  z-index: 1;
}

.alt-detour-track h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.05rem;
}

.alt-detour-track p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.alt-detour-track a {
  color: var(--teal);
  font-weight: 700;
}

.alt-lanes {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.alt-lanes-head {
  margin-bottom: 1.25rem;
}

.alt-lanes-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.alt-lanes-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .alt-lanes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.alt-lane {
  padding: 1.15rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.alt-lane.is-main {
  border-top: 3px solid var(--teal);
}

.alt-lane.is-backup {
  border-top: 3px solid var(--alt-cyan);
}

.alt-lane.is-avoid {
  border-top: 3px solid var(--amber);
}

.alt-lane-tag {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.alt-lane h3 {
  margin: 0 0 0.45rem;
}

.alt-lane p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.alt-tips {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.alt-tips-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .alt-tips-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.alt-tips h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.alt-tips p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.alt-tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.alt-tips-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  border-left: 3px solid var(--alt-cyan);
}

.alt-tips-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--alt-cyan);
}

.alt-tips-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.alt-mistakes {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.alt-mistakes-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.alt-mistakes-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.alt-mistake-board {
  display: grid;
  gap: 0.65rem;
}

.alt-mistake {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-soft);
  padding: 0.15rem 0.95rem;
}

.alt-mistake summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
}

.alt-mistake summary::-webkit-details-marker {
  display: none;
}

.alt-mistake summary::after {
  content: "+";
  float: right;
  color: var(--alt-cyan);
}

.alt-mistake[open] summary::after {
  content: "–";
}

.alt-mistake p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.alt-mistake a {
  color: var(--teal);
  font-weight: 700;
}

.alt-continue {
  padding: 3rem 0 3.5rem;
}

.alt-continue-head {
  margin-bottom: 1.15rem;
}

.alt-continue-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

.alt-continue-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) {
  .alt-continue-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.alt-continue-grid a {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.alt-continue-grid a:hover {
  border-color: var(--alt-cyan);
  transform: translateY(-2px);
}

.alt-continue-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

.alt-continue-grid strong {
  color: var(--text);
  font-size: 0.98rem;
}

.alt-continue-note {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.alt-continue-note a {
  color: var(--alt-cyan);
  font-weight: 700;
}

/* ========== Versi page: build ledger / timeline ========== */
.page-versi {
  --versi-violet: #9b7bff;
  --versi-violet-deep: #6b4fd4;
}

.versi-kicker {
  margin: 0 0 0.45rem;
  color: var(--versi-violet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.versi-crumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.versi-crumb a {
  color: var(--teal);
}

.versi-ledger {
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 45% at 0% 20%, rgba(155, 123, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #0a1824 0%, var(--ink) 62%);
}

.versi-banner-wrap {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  background: #050e14;
}

.versi-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  object-fit: cover;
  max-height: 280px;
}

.versi-ledger-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .versi-ledger-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.25rem;
  }
}

.versi-ledger-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.versi-lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.versi-lead-soft {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.7;
}

.versi-active-card {
  border: 1px solid rgba(155, 123, 255, 0.4);
  border-radius: 20px;
  padding: 1.25rem 1.2rem;
  background:
    linear-gradient(160deg, rgba(155, 123, 255, 0.12), rgba(7, 21, 28, 0.95));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.versi-active-tag {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--versi-violet);
}

.versi-active-num {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 8vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
}

.versi-active-meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.versi-active-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}

.versi-active-meta span {
  color: var(--muted);
}

.versi-active-meta strong {
  color: var(--text);
}

.versi-copy-btn {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-soft);
  color: var(--text);
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.versi-copy-btn:hover {
  border-color: var(--versi-violet);
  color: var(--versi-violet);
}

.versi-copy-msg {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 700;
}

.versi-active-dl {
  display: block;
  text-align: center;
}

.versi-stream {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.versi-stream-head {
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.versi-stream-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.versi-stream-head p {
  margin: 0;
  color: var(--muted);
}

.versi-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.versi-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--versi-violet), var(--teal), transparent);
}

.versi-release {
  position: relative;
  padding-left: 48px;
  margin-bottom: 0.65rem;
}

.versi-release::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink-soft);
  border: 2px solid var(--muted);
  z-index: 1;
}

.versi-release.is-current::before {
  background: var(--versi-violet);
  border-color: var(--versi-violet);
  box-shadow: 0 0 0 4px rgba(155, 123, 255, 0.25);
}

.versi-release-head {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem 1rem;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-soft);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  cursor: pointer;
}

.versi-release.is-current .versi-release-head {
  border-color: rgba(155, 123, 255, 0.5);
  background: rgba(155, 123, 255, 0.08);
}

.versi-release-ver {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--versi-violet);
}

.versi-release-date {
  color: var(--muted);
  font-size: 0.85rem;
}

.versi-release-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--teal);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.versi-release-body {
  margin: 0.55rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 21, 28, 0.6);
}

.versi-release-body[hidden] {
  display: none;
}

.versi-release-body p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.versi-release-body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.versi-release-body li + li {
  margin-top: 0.3rem;
}

.versi-spec {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.versi-spec-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .versi-spec-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}

.versi-spec h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.versi-spec-grid > div > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.versi-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-soft);
}

.versi-spec-table th,
.versi-spec-table td {
  padding: 0.75rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.versi-spec-table th {
  color: var(--muted);
  font-weight: 600;
  width: 42%;
}

.versi-spec-table tr:last-child th,
.versi-spec-table tr:last-child td {
  border-bottom: 0;
}

.versi-phone {
  margin: 0 auto;
  width: min(100%, 220px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.versi-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 384 / 688;
  object-fit: cover;
}

.versi-fork {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.versi-fork-head {
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.versi-fork-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.versi-fork-head p {
  margin: 0;
  color: var(--muted);
}

.versi-fork-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .versi-fork-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.versi-fork-card {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.versi-fork-card.is-update {
  border-top: 3px solid var(--teal);
}

.versi-fork-card.is-reinstall {
  border-top: 3px solid var(--versi-violet);
}

.versi-fork-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.versi-fork-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.versi-fork-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.versi-fork-card li + li {
  margin-top: 0.3rem;
}

.versi-check {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.versi-check-head {
  margin-bottom: 1.25rem;
}

.versi-check-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.versi-check-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-soft);
}

.versi-check-steps li {
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--line);
  counter-increment: versi-check;
  position: relative;
  padding-left: 3.4rem;
}

.versi-check-steps {
  counter-reset: versi-check;
}

.versi-check-steps li::before {
  content: counter(versi-check);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--versi-violet);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
}

.versi-check-steps li:last-child {
  border-bottom: 0;
}

.versi-check-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.versi-check-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.versi-notes {
  padding: 3rem 0;
  background: #091820;
  border-bottom: 1px solid var(--line);
}

.versi-notes-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .versi-notes-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.versi-notes h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.versi-notes p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.versi-notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.versi-notes-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  border-left: 3px solid var(--versi-violet);
}

.versi-notes-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--versi-violet);
}

.versi-notes-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.versi-warn {
  padding: 3rem 0 3.5rem;
}

.versi-warn-head {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.versi-warn-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.versi-warn-board {
  display: grid;
  gap: 0.65rem;
}

.versi-warn-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-soft);
  padding: 0.15rem 0.95rem;
}

.versi-warn-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
  color: var(--amber);
}

.versi-warn-item summary::-webkit-details-marker {
  display: none;
}

.versi-warn-item p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ========== Game / app detail: dossier layout ========== */
.page-game {
  --game-coral: #ff7a59;
  --game-coral-deep: #e85a38;
  --game-ink: #120b0a;
}

.game-kicker {
  margin: 0 0 0.4rem;
  color: var(--game-coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.game-crumb a {
  color: var(--teal);
}

.game-dossier {
  padding: 1.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%, rgba(255, 122, 89, 0.16), transparent 55%),
    linear-gradient(180deg, #1a0f0c 0%, var(--ink) 70%);
}

.game-dossier-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .game-dossier-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
    align-items: center;
  }
}

.game-phone {
  margin: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 89, 0.35);
  background: #050808;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.game-phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 512;
  object-fit: cover;
}

.game-identity {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  flex-shrink: 0;
}

.game-dossier-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.game-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 38rem;
  line-height: 1.7;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.game-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.game-tag.is-primary {
  border-color: rgba(255, 122, 89, 0.5);
  color: var(--game-coral);
  background: rgba(255, 122, 89, 0.1);
}

.game-meter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
  .game-meter {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.game-meter > div {
  margin: 0;
  padding: 0.7rem 0.75rem;
  border-top: 2px solid var(--game-coral);
  background: rgba(14, 36, 48, 0.85);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.game-meter dt {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-meter dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.game-dl {
  min-width: 10rem;
}

.page-game .btn-primary {
  background: var(--game-coral);
  color: #1a0906;
}

.page-game .btn-primary:hover {
  background: var(--game-coral-deep);
}

.game-section-head {
  margin-bottom: 1.2rem;
  max-width: 42rem;
}

.game-section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.game-article {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.game-article-wrap {
  max-width: 760px;
}

.game-prose {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.game-prose p {
  margin: 0 0 1.05rem;
}

.game-prose strong {
  color: var(--text);
  font-weight: 700;
}

.game-updates {
  padding: 3rem 0;
  background: #140d0b;
  border-bottom: 1px solid var(--line);
}

.game-update-rail {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.game-update {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-soft);
  overflow: hidden;
}

.game-update.is-latest {
  border-color: rgba(255, 122, 89, 0.45);
}

.game-update-head {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1.05rem;
  cursor: pointer;
}

.game-update-badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a0906;
  background: var(--game-coral);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.game-update-badge.is-muted {
  background: var(--fog);
  color: var(--muted);
}

.game-update-body {
  padding: 0 1.05rem 1.05rem;
}

.game-update-body[hidden] {
  display: none;
}

.game-update-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.game-balance {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.game-balance-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .game-balance-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.game-balance-col {
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.game-balance-col.is-plus {
  border-left: 3px solid var(--teal);
}

.game-balance-col.is-minus {
  border-left: 3px solid var(--game-coral);
}

.game-balance-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.game-balance-col ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.game-balance-col li + li {
  margin-top: 0.4rem;
}

.game-voices {
  padding: 3rem 0;
  background: #140d0b;
  border-bottom: 1px solid var(--line);
}

.game-voice-lane {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 860px) {
  .game-voice-lane {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-voice {
  margin: 0;
  padding: 1.15rem 1.15rem 1rem;
  border-top: 2px solid var(--game-coral);
  background: var(--ink-soft);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.game-voice p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.game-voice footer {
  color: var(--game-coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-faq {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.game-faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.game-faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-soft);
  padding: 0.15rem 0.95rem;
}

.game-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
  color: var(--text);
}

.game-faq-item summary::-webkit-details-marker {
  display: none;
}

.game-faq-item p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.game-hot {
  padding: 3rem 0;
  background: #140d0b;
  border-bottom: 1px solid var(--line);
}

.game-hot-lead {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.game-hot-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 760px) {
  .game-hot-rail {
    grid-template-columns: 1fr 1fr;
  }
}

.game-hot-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  border-left: 3px solid var(--game-coral);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.game-hot-item:hover {
  border-color: rgba(255, 122, 89, 0.45);
  background: rgba(255, 122, 89, 0.06);
}

.game-hot-rank {
  grid-row: 1 / span 2;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--game-coral);
  letter-spacing: 0.04em;
  min-width: 1.6rem;
}

.game-hot-item img {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.game-hot-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.game-hot-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.98rem;
}

.game-hot-copy em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}

.game-hot-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.game-hot-more {
  margin: 1.1rem 0 0;
}

.game-hot-more a {
  color: var(--game-coral);
  font-weight: 700;
}

.game-hot-more a:hover {
  text-decoration: underline;
}

.game-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 21, 28, 0.96);
  border-top: 1px solid var(--line);
}

.game-sticky[hidden] {
  display: none;
}

.game-sticky-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.game-sticky-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.game-sticky-meta img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.game-sticky-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-game.has-game-sticky {
  padding-bottom: 4.5rem;
}

