/* CekLabel landing — mobile-first, no framework */
:root {
  --cream: #F7F3E8;
  --cream-2: #EFE8D6;
  --paper: #FFFCF6;
  --ink: #1C2F2C;
  --ink-soft: #3D4F4C;
  --teal: #053C3E;
  --teal-mid: #0D4A45;
  --teal-soft: #1A5F59;
  --teal-mist: #DCE8E6;
  --orange: #CB4C2B;
  --orange-deep: #A83D20;
  --orange-soft: #F8E4DC;
  --mustard: #E5A720;
  --mustard-deep: #C48C12;
  --mustard-soft: #F8EBC8;
  --sage: #8FAF86;
  --line: rgba(5, 60, 62, 0.12);
  --shadow: 0 12px 32px rgba(5, 60, 62, 0.08);
  --shadow-lg: 0 18px 50px rgba(5, 60, 62, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 68px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal-mid); }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--teal);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.logo img { width: 32px; height: 32px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--teal);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 1px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 16px;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 10px 4px;
}
.site-nav .btn { text-align: center; margin-top: 8px; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
  }
  .site-nav a { padding: 0; }
  .site-nav .btn { margin-top: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-soft); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover { background: var(--teal-mist); color: var(--teal); }

.btn-buy {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  font-size: 1.05rem;
  padding: 14px 24px;
}
.btn-buy:hover { background: var(--orange-deep); color: #fff; }

.btn-mustard {
  background: var(--mustard);
  color: var(--teal);
  border-color: var(--mustard);
}
.btn-mustard:hover { filter: brightness(0.95); color: var(--teal); }

/* Hero */
.hero {
  padding: 36px 0 20px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--teal);
  font-weight: 800;
}

.hero .lede {
  margin: 0 0 22px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.countdowns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.countdown {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.countdown .label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.countdown .date {
  margin: 2px 0 0;
  font-weight: 800;
  color: var(--teal);
  font-size: 0.98rem;
}
.countdown .remain {
  margin: 2px 0 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card .card-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-card h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: var(--teal);
  letter-spacing: -0.03em;
}

.mini-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.mini-check:first-of-type { border-top: 0; }
.dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}
.dot-pass { background: var(--teal-mid); }
.dot-warn { background: var(--mustard-deep); color: #fff; }
.dot-fail { background: var(--orange); }
.mini-check p { margin: 0; font-size: 0.92rem; }
.mini-check strong { display: block; color: var(--teal); }

.nutri-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 8px;
}
.nutri-tile {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.nutri-tile.a { background: #0D4A45; }
.nutri-tile.b { background: #A8C496; color: var(--teal); }
.nutri-tile.c { background: #E5A720; color: var(--teal); }
.nutri-tile.d { background: #CB4C2B; }
.hero-card .caption {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .hero { padding: 56px 0 28px; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }
  .countdowns { grid-template-columns: 1fr 1fr; }
}

/* Sections */

#atas, #cek, #kenapa, #daftar, #faq, #report {
  scroll-margin-top: 84px;
}

section { padding: 48px 0; }
.section-head { margin-bottom: 24px; max-width: 40em; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.04em;
  color: var(--teal);
  font-weight: 800;
}
.section-head p { margin: 0; color: var(--ink-soft); }

.checker-section {
  background: linear-gradient(180deg, transparent 0, rgba(13, 74, 69, 0.04) 12%, rgba(13, 74, 69, 0.04) 100%);
}

.example-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
  font-size: 0.9rem;
}
.example-links button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal-soft);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal);
}
label.field span.hint {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 16px;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal-soft);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 74, 69, 0.15);
}
textarea { min-height: 96px; resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

/* Report */
#report {
  margin-top: 28px;
  scroll-margin-top: 88px;
}
.report-summary {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin-bottom: 16px;
}
.report-kicker {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 700;
}
.report-summary h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.report-counts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.report-counts li {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
}
.report-counts .is-fail strong { color: #F3B8A8; }
.report-counts .is-warn strong { color: var(--mustard); }
.report-counts .is-pass strong { color: #B7D8C8; }

.check-list { display: grid; gap: 10px; }
.check-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal-mist);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.check-item.is-pass { border-left-color: var(--teal-mid); }
.check-item.is-warning { border-left-color: var(--mustard); }
.check-item.is-fail { border-left-color: var(--orange); }
.check-item.is-info { border-left-color: var(--sage); }
.check-item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.check-item h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--teal);
}
.check-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.check-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
}
.is-pass .check-badge { background: var(--teal-mist); color: var(--teal); }
.is-warning .check-badge { background: var(--mustard-soft); color: #7A5A08; }
.is-fail .check-badge { background: var(--orange-soft); color: var(--orange-deep); }
.is-info .check-badge { background: #E7EFE6; color: #2E4A32; }

.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.report-disclaimer {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
}

.buy-row {
  margin-top: 22px;
  padding: 20px;
  background: var(--paper);
  border: 1px dashed rgba(203, 76, 43, 0.4);
  border-radius: var(--radius);
  text-align: center;
}
.buy-row p {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Why */
.why-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.why-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.why-card:nth-child(1) .why-num { background: var(--orange); }
.why-card:nth-child(2) .why-num { background: var(--teal-mid); }
.why-card:nth-child(3) .why-num { background: var(--mustard-deep); }
.why-card h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.why-card p { margin: 0; color: var(--ink-soft); }

/* Waitlist */
.waitlist-section { background: var(--teal); color: #fff; }
.waitlist-section .section-head h2,
.waitlist-section .section-head p { color: #fff; }
.waitlist-section .section-head p { opacity: 0.9; }
.waitlist-section .card { background: var(--paper); color: var(--ink); }
.waitlist-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--ink-soft); }

.form-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-status.is-ok { background: var(--teal-mist); color: var(--teal); }
.form-status.is-error { background: var(--orange-soft); color: var(--orange-deep); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--teal);
  padding: 14px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--orange);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--teal);
  color: #F7F3E8;
  padding: 36px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}
.site-footer a { color: #fff; }
.site-footer h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.site-footer p { margin: 0 0 10px; }
.site-footer .muted { opacity: 0.8; font-size: 0.88rem; }
.footer-disclaimer {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 243, 232, 0.2);
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.9;
}


/* Tally embed + survey CTAs */
.tally-card { overflow: hidden; }
.tally-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  background: transparent;
}
.tally-fallback {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.tally-fallback a { font-weight: 700; }
.tally-fallback.is-error {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--mustard-soft);
  color: var(--teal);
  font-weight: 600;
}
.survey-cta {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.survey-cta a { font-weight: 700; }
.survey-cta-report {
  margin: 18px 0 0;
  text-align: center;
}
.waitlist-section .survey-cta,
.waitlist-section .waitlist-note { color: var(--ink-soft); }
.waitlist-section .tally-fallback a,
.waitlist-section .survey-cta a { color: var(--teal-mid); }

/* Modal */
.modal[hidden],
[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 60, 62, 0.55);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.modal-dialog h2 {
  margin: 0 0 8px;
  color: var(--teal);
  letter-spacing: -0.03em;
}
.modal-dialog > p { margin: 0 0 16px; color: var(--ink-soft); }
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--teal);
}

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