:root {
  --navy-950: #051c3d;
  --navy-900: #082b5c;
  --navy-800: #0d3d75;
  --gold-500: #d9a928;
  --gold-100: #fff5d2;
  --ink: #172033;
  --muted: #5d687a;
  --line: #dce2ea;
  --line-strong: #bdc8d6;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --success: #147a51;
  --success-soft: #e9f7f1;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --focus: rgba(13, 91, 166, .22);
  --shadow: 0 18px 50px rgba(5, 28, 61, .10);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #eef2f7;
  color: var(--ink);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  background: var(--surface);
  color: var(--navy-900);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  background: var(--navy-950);
  color: #fff;
  border-bottom: 3px solid var(--gold-500);
}
.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 1rem; letter-spacing: .01em; }
.brand small { margin-top: .2rem; color: #c7d6ea; font-size: .74rem; }
.secure-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  color: #dce8f7;
}
.secure-label span { color: #58d5a6; font-size: .65rem; }

.partner-logos {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.partner-logos-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: .7rem 0 .8rem;
}
.partner-logos-inner > p {
  margin: 0 0 .25rem;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.partner-logo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.partner-logo-card img { display: block; }
.partner-logo-card .logo-direct {
  width: 100%;
  height: 100%;
  padding: .45rem;
  object-fit: contain;
}
.partner-logo-card .logo-strip {
  position: absolute;
  top: 50%;
  width: 400%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}
.logo-adikara .logo-strip { left: -100%; }

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}
.intro { max-width: 860px; margin-bottom: 2rem; }
.eyebrow, .guide-label, .step-label {
  margin: 0 0 .5rem;
  color: var(--navy-800);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.intro h1 {
  margin: 0;
  max-width: 760px;
  color: var(--navy-950);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.intro-copy {
  max-width: 760px;
  margin: 1rem 0 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}
.intro-meta { display: flex; flex-wrap: wrap; gap: .55rem; }
.intro-meta span {
  padding: .38rem .65rem;
  border: 1px solid #ccd6e2;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #445166;
  font-size: .74rem;
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}
.form-guide { position: static; }
.guide-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(5,28,61,.06);
}
.guide-card h2 { margin: 0 0 1rem; color: var(--navy-950); font-size: 1.15rem; }
.guide-card ol { margin: 0; padding-left: 1.25rem; color: #445166; font-size: .88rem; }
.guide-card li + li { margin-top: .6rem; }
.privacy-note {
  margin-top: 1.25rem;
  padding: 1rem;
  border-left: 3px solid var(--gold-500);
  background: var(--gold-100);
  font-size: .8rem;
}
.privacy-note strong { color: var(--navy-950); }
.privacy-note p { margin: .3rem 0 0; color: #5a4b21; }
.benefit-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(5,28,61,.06);
}
.benefit-card h2 {
  margin: 0 0 .75rem;
  color: var(--navy-950);
  font-size: 1.15rem;
  line-height: 1.3;
}
.benefit-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.form-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-heading {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.form-heading h2 { margin: 0; color: var(--navy-950); font-size: 1.55rem; }
.form-heading > p { margin: 0; color: var(--muted); font-size: .76rem; }
.form-heading > p span, label b, .choice-title b, .consent-block b { color: var(--danger); }
.progress-wrap { padding: 1rem 1.75rem; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; }
.progress-copy strong { color: var(--navy-900); }
.progress-track { height: 5px; margin-top: .55rem; overflow: hidden; border-radius: 999px; background: #dce3ec; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--gold-500); transition: width .2s ease; }

#partner-form { padding: 0 1.75rem 1.75rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-section { margin: 0; padding: 2rem 0; border: 0; border-bottom: 1px solid var(--line); }
.form-section legend {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  color: var(--navy-950);
  font-size: 1.08rem;
  font-weight: 900;
}
.form-section legend span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: white;
  font-size: .7rem;
}
.section-note { max-width: 700px; margin: .55rem 0 1.25rem; color: var(--muted); font-size: .82rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field.full { grid-column: 1 / -1; }
.field label, .choice-title {
  display: block;
  margin-bottom: .42rem;
  color: #263449;
  font-size: .82rem;
  font-weight: 800;
}
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]), .field select {
  width: 100%;
  min-height: 46px;
  padding: .68rem .78rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
.field input::placeholder { color: #929cad; }
.field input:focus, .field select:focus, .choice-row label:focus-within, .consent-block label:focus-within,
.primary-button:focus-visible, .secondary-button:focus-visible, .icon-button:focus-visible {
  outline: 0;
  border-color: #0d5ba6;
  box-shadow: 0 0 0 4px var(--focus);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field > small:not(.field-error), .upload-copy small { display: block; margin-top: .35rem; color: var(--muted); font-size: .72rem; }
.field-error { display: none; margin-top: .35rem; color: var(--danger); font-size: .74rem; font-weight: 700; }
.field-error:not(:empty) { display: block; }

.upload-field { position: relative; }
.upload-field > label:not(.upload-copy) { margin-bottom: .42rem; }
.upload-field input[type="file"] {
  position: absolute;
  left: .1rem;
  bottom: .1rem;
  width: 1px;
  height: 1px;
  opacity: .01;
}
.upload-copy {
  display: block;
  margin: 0;
  min-height: 86px;
  padding: 1rem;
  border: 1px dashed #99a9bd;
  border-radius: var(--radius-sm);
  background: #f9fbfd;
  cursor: pointer;
}
.upload-copy strong { display: block; color: var(--navy-800); font-size: .85rem; }
.upload-field input:focus + .upload-copy { border-color: #0d5ba6; box-shadow: 0 0 0 4px var(--focus); }
.upload-field.has-file .upload-copy { border-style: solid; border-color: #58a886; background: var(--success-soft); }

.choice-group { margin-top: 1.25rem; }
.choice-group:first-of-type { margin-top: 0; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.choice-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-row label {
  min-height: 48px;
  margin: 0;
  padding: .72rem .8rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #344158;
  font-size: .8rem;
  font-weight: 750;
  cursor: pointer;
}
.choice-row label:has(input:checked) { border-color: var(--navy-800); background: #edf5fd; color: var(--navy-900); }
.choice-row input, .inline-check input, .consent-block input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--navy-800);
}
.commitment-list { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.inline-check { display: flex !important; align-items: center; gap: .55rem; margin: 0 0 .55rem !important; color: var(--muted) !important; font-weight: 600 !important; cursor: pointer; }

.consent-block { margin: 1.5rem 0; padding: 1rem; border: 1px solid #c8d2df; border-radius: var(--radius-sm); background: #f8fafc; }
.consent-block > label { display: flex; align-items: flex-start; gap: .7rem; color: #39475c; font-size: .8rem; cursor: pointer; }
.consent-block input { margin-top: .18rem; }
.form-status { display: none; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 700; }
.form-status.error { display: block; border: 1px solid #efb8b3; background: var(--danger-soft); color: var(--danger); }
.form-status.info { display: block; border: 1px solid #a9c8e8; background: #eef6ff; color: var(--navy-800); }
.primary-button, .secondary-button, .icon-button {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 850;
  cursor: pointer;
}
.primary-button {
  min-height: 50px;
  padding: .75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--navy-900);
  color: #fff;
}
#partner-form > .primary-button { width: 100%; justify-content: space-between; padding-inline: 1.25rem; }
.primary-button:hover { background: var(--navy-800); }
.primary-button:disabled { cursor: wait; opacity: .65; }
.secondary-button { min-height: 44px; padding: .65rem 1rem; border-color: var(--line-strong); background: #fff; color: var(--navy-900); }
.secondary-button:hover { background: var(--surface-soft); }
.submit-note { margin: .55rem 0 0; text-align: center; color: var(--muted); font-size: .7rem; }

.success-panel { padding: 3rem 1.75rem; text-align: center; }
.success-mark { display: grid; width: 3.3rem; height: 3.3rem; margin: 0 auto 1rem; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 1.5rem; font-weight: 900; }
.success-panel h2 { margin: 0 auto; max-width: 620px; color: var(--navy-950); }
.success-panel > p:not(.eyebrow) { color: var(--muted); }
.partner-id { display: block; width: fit-content; margin: 1.3rem auto 1rem; padding: .65rem 1.2rem; border: 1px solid #e4c15c; border-radius: var(--radius-sm); background: var(--gold-100); color: var(--navy-950); font-size: clamp(1.35rem, 4vw, 2rem); letter-spacing: .12em; }

dialog { width: min(720px, calc(100% - 1.5rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius-md); box-shadow: 0 28px 90px rgba(0,0,0,.32); }
dialog::backdrop { background: rgba(3, 18, 39, .72); backdrop-filter: blur(3px); }
.review-card { margin: 0; }
.review-header { position: sticky; z-index: 1; top: 0; padding: 1.25rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); background: #fff; }
.review-header h2 { margin: 0; color: var(--navy-950); font-size: 1.25rem; }
.icon-button { width: 2.4rem; height: 2.4rem; flex: 0 0 auto; background: var(--surface-soft); color: var(--navy-950); font-size: 1.4rem; }
.review-content { padding: 1.25rem 1.4rem; }
.review-section + .review-section { margin-top: 1.25rem; }
.review-section h3 { margin: 0 0 .55rem; color: var(--navy-900); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.review-list { margin: 0; border-top: 1px solid var(--line); }
.review-item { padding: .65rem 0; display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.review-item dt { color: var(--muted); font-size: .75rem; }
.review-item dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: .8rem; font-weight: 700; }
.review-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.review-photo { margin: 0; }
.review-photo img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.review-photo figcaption { margin-top: .35rem; color: var(--muted); font-size: .68rem; }
.review-actions { position: sticky; bottom: 0; padding: 1rem 1.4rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: .65rem; border-top: 1px solid var(--line); background: #fff; }

footer { padding: 2rem 1rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; background: var(--navy-950); color: #b9c8da; font-size: .72rem; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .form-guide { position: static; }
  .guide-card ol { columns: 2; column-gap: 2rem; }
  .privacy-note { break-inside: avoid; }
}

@media (max-width: 640px) {
  .header-inner, .page-shell { width: min(100% - 1rem, 1180px); }
  .partner-logos-inner { width: min(100% - 1rem, 1180px); }
  .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
  .header-inner { min-height: 66px; }
  .brand img { width: 40px; height: 40px; }
  .secure-label { display: none; }
  .page-shell { padding: 2rem 0 3rem; }
  .intro { padding-inline: .25rem; }
  .intro h1 { font-size: 2.2rem; }
  .intro-meta span { font-size: .68rem; }
  .guide-card { padding: 1.1rem; }
  .guide-card ol { columns: 1; }
  .form-panel { border-radius: var(--radius-md); }
  .form-heading, .progress-wrap { padding-inline: 1rem; }
  .form-heading { align-items: start; }
  .form-heading > p { max-width: 80px; text-align: right; }
  #partner-form { padding-inline: 1rem; }
  .field-grid, .choice-row.three { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .choice-row { gap: .5rem; }
  .review-item { grid-template-columns: 1fr; gap: .15rem; }
  .review-photos { grid-template-columns: 1fr; }
  .review-photo { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: .65rem; }
  .review-photo img { aspect-ratio: 1; }
  .review-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
