/* KasirPOS marketing site. Tokens follow DESIGN.md (teal brand, kunyit accent for the "bayar" moment). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #0b6e63;
  --brand-strong: #08574e;
  --brand-tint: #d8ebe8;
  --on-brand: #ffffff;
  --accent: #f2a900;
  --on-accent: #1c1a17;
  --danger: #b42318;
  --text: #1c1a17;
  --muted: #5c5c63;
  --bg: #ffffff;
  --surface: #f6f4ef;
  --card: #ffffff;
  --line: #e5e1d8;
  --paper: #fffdf8;
  --hero-top: #0f7d70;
  --hero-bottom: #0a6157;
  --counter: #075047;
  --shadow: 0 1px 2px rgb(28 26 23 / 6%), 0 8px 24px -12px rgb(28 26 23 / 18%);
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #3cc4b0;
    --brand-strong: #5fd3c1;
    --brand-tint: rgb(60 196 176 / 14%);
    --on-brand: #0b1f1c;
    --danger: #ff6b5e;
    --text: #f2f0eb;
    --muted: #a1a1a8;
    --bg: #0f1413;
    --surface: #151b1a;
    --card: #1b2221;
    --line: #2a3331;
    --paper: #fffdf8;
    --hero-top: #0b5a51;
    --hero-bottom: #073f39;
    --counter: #052f2a;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 28px -12px rgb(0 0 0 / 60%);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

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

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 14px;
  border-radius: var(--radius-m);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: var(--radius-m);
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav a[aria-current="page"] {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-m);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-brand {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-brand:hover {
  background: var(--brand-strong);
}

.btn-pay {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-pay:hover {
  background: #ffb81a;
}

.btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 55%);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 10%);
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .site-header .btn {
    margin-left: auto;
  }
}

/* App Store badge: Apple's artwork, kept at its own proportions with clear space around it. */

.badge-link {
  display: inline-block;
  border-radius: 9px;
  line-height: 0;
}

.badge-link img {
  height: 54px;
  width: auto;
}

/* Hero */

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60% 70% at 28% 18%, rgb(255 255 255 / 9%), transparent 70%),
    linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
  overflow: hidden;
  isolation: isolate;
}

/* The shop counter the phone stands on, same line as the App Store header art. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 88px;
  background: var(--counter);
  border-top: 1px solid rgb(255 255 255 / 10%);
  z-index: -1;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero .eyebrow {
  color: #bfeee6;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-top: 14px;
}

.dash {
  display: block;
  width: 64px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
  margin: 22px 0;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgb(255 255 255 / 90%);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

.hero-actions .btn {
  min-height: 54px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: rgb(255 255 255 / 78%);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}

.receipt-float {
  position: absolute;
  left: 2%;
  bottom: 18%;
  width: 230px;
  transform: rotate(-5deg);
  filter: drop-shadow(0 18px 24px rgb(0 0 0 / 28%));
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 40px;
  }

  .hero-visual {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .receipt-float {
    left: 0;
    width: 190px;
  }
}

@media (max-width: 420px) {
  .receipt-float {
    width: 176px;
    bottom: 12%;
  }

  .receipt-float .receipt {
    padding-inline: 12px;
  }

  .receipt-float .receipt-ok {
    font-size: 13px;
    gap: 5px;
  }

  .receipt-float .receipt-ok svg {
    width: 16px;
    height: 16px;
  }

  .receipt-float .receipt-amount {
    font-size: 24px;
  }
}

/* Phone frame around the raw App Store screenshots */

.phone {
  position: relative;
  width: min(300px, 70vw);
  padding: 9px;
  border-radius: 46px;
  background: #121212;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3a,
    0 40px 60px -30px rgb(0 0 0 / 55%);
}

.phone::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 29%;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
  z-index: 1;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 37px;
  background: #f2f2f7;
}

.phone-sm {
  width: min(260px, 66vw);
  border-radius: 40px;
}

.phone-sm::before {
  top: 17px;
  height: 21px;
}

.phone-sm img {
  border-radius: 32px;
}

/* Receipt card with the torn edge (identity motif from DESIGN.md) */

.receipt {
  background: var(--paper);
  color: #1c1a17;
  padding: 18px 18px 26px;
  text-align: center;
  --tooth: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
}

.receipt-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b6e63;
  font-weight: 700;
  font-size: 15px;
}

.receipt-ok svg {
  width: 20px;
  height: 20px;
}

.receipt-no {
  font-family: var(--mono);
  font-size: 12px;
  color: #5c5c63;
  margin-top: 4px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #d5d0c4;
}

.receipt-label {
  margin-top: 10px;
  font-size: 13px;
  color: #5c5c63;
}

.receipt-amount {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Facts strip */

.facts {
  border-bottom: 1px solid var(--line);
}

.facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facts li {
  padding: 28px 24px 28px 0;
}

.facts li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-size: 17px;
}

.facts span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts li,
  .facts li + li {
    padding: 22px 16px 22px 0;
    border-left: 0;
  }

  .facts li:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .facts ul {
    grid-template-columns: 1fr;
  }

  .facts li,
  .facts li:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .facts li + li {
    border-top: 1px solid var(--line);
  }
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 800;
  margin-top: 10px;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }
}

/* Flow: three phones */

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.flow li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow .phone {
  margin-bottom: 28px;
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.flow h3 {
  font-size: 21px;
}

.flow p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 30ch;
}

@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* On phones the three steps become a swipeable row instead of three full-height screens. */
@media (max-width: 700px) {
  .flow {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 12px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .flow li {
    scroll-snap-align: start;
  }

  .flow .phone {
    width: min(230px, 100%);
    margin-bottom: 22px;
  }
}

/* Feature rows: text + screenshot, alternating */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.feature + .feature {
  margin-top: 112px;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.feature:nth-child(even) .feature-media {
  order: -1;
}

.feature h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

.feature-text > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.feature-text-p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 32px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-tint);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-media,
  .feature:nth-child(even) .feature-media {
    order: 1;
  }

  .feature + .feature {
    margin-top: 80px;
  }
}

/* Stock ledger formula */

.ledger {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.ledger div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 8px 12px;
  text-align: center;
  min-width: 72px;
}

.ledger small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.ledger b {
  font-size: 20px;
}

.ledger .op {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 20px;
  padding: 0 2px;
}

.ledger .total {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}

.ledger .total small {
  color: inherit;
  opacity: 0.85;
}

/* Permission card (cashier accounts) */

.perm-card {
  width: min(380px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.perm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 800;
}

.perm-head strong {
  display: block;
}

.perm-head span {
  color: var(--muted);
  font-size: 14px;
}

.perm-card ul {
  list-style: none;
  margin: 0;
  padding: 6px 20px 10px;
}

.perm-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  font-size: 15px;
}

.perm-card li + li {
  border-top: 1px solid var(--line);
}

.toggle {
  flex: none;
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 14px;
  background: #d1d1d6;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
}

.toggle.on {
  background: var(--brand);
}

.toggle.on::after {
  left: 20px;
}

@media (prefers-color-scheme: dark) {
  .toggle {
    background: #3a3a3f;
  }
}

/* iPad frame */

.ipad {
  padding: 12px;
  border-radius: 28px;
  background: #121212;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3a,
    0 40px 60px -30px rgb(0 0 0 / 45%);
}

.ipad img {
  width: 100%;
  height: auto;
  border-radius: 17px;
  background: #f2f2f7;
}

.ipad-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.ipad-row h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

.kbd-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.kbd-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

kbd {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: var(--radius-s);
  padding: 3px 8px;
  min-width: 92px;
  text-align: center;
}

@media (max-width: 900px) {
  .ipad-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ipad {
    padding: 8px;
    border-radius: 20px;
  }

  .ipad img {
    border-radius: 13px;
  }
}

/* All features grid */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px;
}

.card h3 {
  font-size: 19px;
}

.card h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand);
  margin-bottom: 14px;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.card li + li {
  margin-top: 6px;
}

@media (max-width: 960px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

/* Complaints answered */

.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.answer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.answer blockquote {
  margin: 0;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px dashed var(--line);
}

.answer blockquote::before {
  content: "Keluhan";
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--danger);
  margin-bottom: 6px;
}

.answer p {
  padding: 18px 24px 22px;
  color: var(--muted);
  font-size: 15.5px;
}

.answer p::before {
  content: "Di KasirPOS";
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .answers {
    grid-template-columns: 1fr;
  }
}

/* Hardware */

.hardware {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hardware .card h3::before {
  display: none;
}

.hw-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-m);
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 16px;
}

.hw-icon svg {
  width: 26px;
  height: 26px;
}

.hardware p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}

.note {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-size: 15.5px;
}

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

@media (max-width: 960px) {
  .hardware {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hardware {
    grid-template-columns: 1fr;
  }
}

/* Videos */

.videos {
  list-style: none;
  margin: 0;
  padding: 4px 0 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 232px;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.videos li {
  scroll-snap-align: start;
}

.videos video {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: var(--radius-l);
  background: #f5f3ee;
  border: 1px solid var(--line);
  object-fit: cover;
}

.videos h3 {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.35;
}

.videos p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 520px) {
  .videos {
    grid-auto-columns: 62%;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}

/* Privacy */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.privacy-label {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 28px;
}

.privacy-label h3 {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.privacy-label .big {
  margin-top: 6px;
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.privacy-label p:not(.big) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.privacy-label dl {
  margin: 22px 0 0;
  display: grid;
  gap: 0;
}

.privacy-label dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.privacy-label dt {
  color: var(--muted);
}

.privacy-label dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 900px) {
  .privacy {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* FAQ */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 18px;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: solid var(--brand);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq details > div {
  padding: 0 40px 22px 0;
  color: var(--muted);
}

.faq details > div p + p {
  margin-top: 10px;
}

/* Closing call to action */

.cta {
  position: relative;
  color: #fff;
  background:
    radial-gradient(50% 80% at 50% 10%, rgb(255 255 255 / 9%), transparent 70%),
    linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 76px;
  background: var(--counter);
  border-top: 1px solid rgb(255 255 255 / 10%);
  z-index: -1;
}

.cta .wrap {
  padding-top: 88px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
}

.cta .dash {
  margin-inline: auto;
}

.cta p {
  color: rgb(255 255 255 / 88%);
  font-size: 18px;
  max-width: 34em;
}

.cta .badge-link {
  margin-top: 28px;
}

.cta-register {
  width: 230px;
  height: auto;
  margin-top: 36px;
  margin-bottom: -6px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 15px;
  color: var(--muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-top p {
  margin-top: 10px;
  max-width: 32em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding: 10px 0;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

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

.legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.legal p + p {
  margin-top: 6px;
}

/* Text pages: bantuan, privasi, 404 */

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-top: 10px;
}

.page-hero p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  max-width: 40em;
}

.prose {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.prose h2 {
  font-size: 26px;
  font-weight: 800;
  margin-top: 48px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 18px;
  margin-top: 28px;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.path {
  font-weight: 700;
  color: var(--text);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius-l);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0;
  font-size: 22px;
}

.contact-card p {
  margin-top: 6px;
  color: var(--muted);
}

.toc {
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: var(--radius-l);
  background: var(--surface);
}

.toc strong {
  display: block;
  margin-bottom: 4px;
}

.toc ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin-top: 4px;
  break-inside: avoid;
}

@media (max-width: 560px) {
  .toc ul {
    columns: 1;
  }
}

.not-found {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 120px;
}

.not-found h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.not-found > p {
  margin: 14px auto 0;
  color: var(--muted);
  max-width: 30em;
}

.not-found .btn {
  margin-top: 28px;
}

.not-found .receipt {
  width: 240px;
  margin: 0 auto 36px;
  box-shadow: none;
}

.not-found .receipt-wrap {
  filter: drop-shadow(0 12px 20px rgb(28 26 23 / 18%));
}
