:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-subtle: #f1f5f9;
  --text: #111827;
  --text-muted: #4b5563;
  --border: #e5e7eb;
  --brand: #0f766e;
  --brand-soft: #ecfdf5;
  --cta: #ee4d2d;
  --cta-hover: #d73d1f;
  --radius: 16px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.express-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 16px;
  text-align: center;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.product-price {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.product-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.points-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text);
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--cta);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.15s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--cta-hover);
}

.cta-button[aria-disabled="true"] {
  background: #9ca3af;
  pointer-events: none;
}

.trust-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.page-footer {
  width: 100%;
  max-width: 440px;
  margin-top: 12px;
  padding: 0 8px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.page-footer p {
  margin: 4px 0;
}

.page-footer a {
  color: var(--text);
  text-decoration: underline;
}

/* Halaman Dasar Privasi */
.legal-card {
  width: 100%;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.legal-card h1 {
  margin-top: 0;
  font-size: 1.3rem;
}

.legal-card h2 {
  font-size: 1rem;
  margin-top: 18px;
  margin-bottom: 6px;
}

.legal-card p,
.legal-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.back-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}
