/* Token warna & font = BRAND_GUIDELINE.md §7. Font di-host sendiri (tanpa Google Fonts). */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/titillium-web-latin-700-normal.woff2") format("woff2"); }

:root {
  --tp-white:  #FFFFFF;
  --tp-cream:  #F7F4ED;
  --tp-navy:   #0F101D;
  --tp-blue:   #0F5480;
  --tp-yellow: #FAB702;
  --tp-orange: #FFA403;
  --tp-text:   #4D5765;
  --tp-line:   #E3E2E2;
  --tp-error:  #B42318;
  --tp-font-heading: "Titillium Web", sans-serif;
  --tp-font-body:    "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tp-cream);
  color: var(--tp-text);
  font: 400 16px/1.5 var(--tp-font-body);
}
a { color: var(--tp-blue); }
.wadah { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px; }
main.wadah { flex: 1; padding-top: 24px; padding-bottom: 40px; }

/* kepala & kaki */
.kepala { background: var(--tp-navy); color: var(--tp-white); }
.kepala-isi { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.merek {
  color: var(--tp-white); text-decoration: none;
  font: 700 22px/1.1 var(--tp-font-heading); letter-spacing: .02em;
}
.merek span { color: var(--tp-yellow); }
.label {
  font: 600 14px/1 var(--tp-font-heading); text-transform: uppercase; letter-spacing: .12em;
  color: var(--tp-white); opacity: .85;
}
.kaki { background: var(--tp-navy); color: #C9CCD3; font-size: 13px; padding: 18px 0; }

/* kartu form */
.kartu {
  background: var(--tp-white);
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  padding: 24px 20px;
}
.eyebrow {
  margin: 0 0 6px;
  font: 600 14px/1 var(--tp-font-heading); text-transform: uppercase; letter-spacing: .12em;
  color: var(--tp-blue);
}
.eyebrow::before { content: "// "; color: var(--tp-yellow); }
h1 {
  margin: 0 0 8px;
  color: var(--tp-navy);
  font: 700 35px/1.15 var(--tp-font-heading);
}
.sorot { color: var(--tp-yellow); }
.pengantar { margin: 0 0 20px; }

.ringkasan-galat {
  margin: 0 0 16px; padding: 10px 12px;
  border-left: 4px solid var(--tp-error); background: #FDF1F0; color: var(--tp-error);
  font-size: 14px;
}

.kolom { margin-bottom: 18px; }
label { display: block; margin-bottom: 6px; color: var(--tp-navy); font-weight: 600; font-size: 15px; }
.ket { font-weight: 400; color: var(--tp-text); font-size: 13px; margin-left: 4px; }
input[type=text], input[type=email], input[type=tel] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #C9CCD3;
  border-radius: 8px;
  background: var(--tp-white);
  color: var(--tp-navy);
  font: 400 16px/1.4 var(--tp-font-body); /* 16px: iOS tidak zoom otomatis */
}
input[type=file] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #C9CCD3;
  border-radius: 8px;
  background: var(--tp-cream);
  font: 400 14px/1.4 var(--tp-font-body);
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--tp-blue); outline-offset: 2px;
}
input[aria-invalid=true] { border-color: var(--tp-error); }
.galat { margin: 6px 0 0; color: var(--tp-error); font-size: 14px; }
.info { margin: 6px 0 0; color: var(--tp-blue); font-size: 14px; }

.privasi {
  margin: 8px 0 20px; padding: 14px;
  background: var(--tp-cream); border-radius: 8px; font-size: 13px;
}
.privasi p { margin: 0 0 12px; }
.centang { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 600; font-size: 14px; }
.centang input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--tp-blue); }

.tombol {
  width: 100%;
  padding: 14px 20px;
  border: 0; border-radius: 8px;
  background: var(--tp-yellow); color: var(--tp-navy);
  font: 700 16px/1 var(--tp-font-heading); text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer;
}
.tombol:hover { background: var(--tp-orange); }
.tombol:disabled { opacity: .7; cursor: wait; }

/* honeypot anti-spam: tidak terlihat manusia */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 640px) {
  main.wadah { padding-top: 40px; }
  .kartu { padding: 32px; }
  h1 { font-size: 42px; }
}
