/* Global Literacy Publishing — editorial call
   Palette derived from the GLP logo: deep navy, bright blue, warm gold. */

:root {
  --navy: #12294a;
  --navy-2: #1f3864;
  --blue: #2e75b6;
  --blue-soft: #e8f1fb;
  --gold: #c9a227;
  --ink: #1b2432;
  --muted: #5b6779;
  --line: #dfe5ee;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 41, 74, .06), 0 8px 24px rgba(18, 41, 74, .06);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; letter-spacing: -.01em; }
.brand-text small { font-size: 12px; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 9px 16px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--blue); }

@media (max-width: 780px) {
  .nav { gap: 14px; }
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(46, 117, 182, .18), transparent 60%),
    radial-gradient(700px 380px at 5% 0%, rgba(201, 162, 39, .14), transparent 55%),
    linear-gradient(180deg, #f2f6fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 72px 24px 56px; max-width: 900px; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); font-weight: 700;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--navy);
}
.lede { margin: 0 0 26px; font-size: clamp(16px, 1.7vw, 19px); color: #33415a; max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #cbd6e6; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-link { background: none; color: var(--muted); padding: 12px 6px; }
.btn-link:hover { color: var(--navy); text-decoration: underline; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none; margin: 0; padding: 0;
  font-size: 14px; color: var(--muted);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* ---------- sections ---------- */
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg); }
.section-apply { background: linear-gradient(180deg, #eef4fb 0%, #ffffff 100%); }
h2 {
  margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.02em; color: var(--navy);
}
.section-lede { margin: 0 0 30px; color: var(--muted); max-width: 70ch; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  box-shadow: 0 1px 1px rgba(18, 41, 74, .03);
}
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; color: var(--navy); }
.card p { margin: 0; color: #3c4a5f; font-size: 15px; }

/* positions */
.position header { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.position ul { margin: 10px 0 12px; padding-left: 18px; color: #3c4a5f; font-size: 14.5px; }
.position li { margin-bottom: 4px; }
.tag {
  flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-soft); padding: 4px 9px; border-radius: 999px;
}
.req { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.position-note { background: linear-gradient(180deg, #fffdf5, #fff); border-color: #eadfb8; }
.text-link { font-weight: 600; font-size: 14.5px; }

/* journals */
.journal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.abbr {
  font-weight: 800; letter-spacing: .04em; color: var(--navy);
  font-size: 14px; background: #eef2f8; padding: 5px 10px; border-radius: 8px;
}
.chip { font-size: 12px; color: #6b5a12; background: #fdf6df; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.scope { font-size: 14.5px; color: #3c4a5f; }
.meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
.journal-note { background: var(--bg); }

/* checklists */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  color: #33415a; font-size: 15px;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 6px; height: 3px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; position: relative;
}
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- form ---------- */
.form {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow);
}
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend {
  font-weight: 700; color: var(--navy); font-size: 15px;
  padding: 0; margin-bottom: 14px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: #33415a; }
input, select, textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid #cfd8e6; border-radius: 9px;
  background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 117, 182, .15);
}
input:invalid:not(:placeholder-shown), select:invalid, textarea:invalid:not(:placeholder-shown) {
  border-color: #d9776a;
}
textarea { resize: vertical; min-height: 96px; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #33415a; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-error {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
  background: #fdecea; border: 1px solid #f5c6c0; color: #a33; font-size: 14px;
}

.success { border-color: #bfe3c9; background: #f3fbf5; }
.success h3 { color: #14532d; }
.success p { font-size: 15px; }
.success strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }

.summary {
  margin-top: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
}
.summary h3 { margin: 0 0 12px; color: var(--navy); font-size: 18px; }
.summary pre {
  white-space: pre-wrap; word-break: break-word;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.55; color: #223047; margin: 0 0 16px;
}

/* ---------- uploads ---------- */
.field-note {
  margin: 0 0 16px; font-size: 13.5px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.uploads { display: grid; gap: 14px; margin-bottom: 18px; }

.upload {
  border: 1px dashed #c3cfe2; border-radius: 12px;
  padding: 16px; background: #fbfdff;
}
.upload-label {
  display: grid; gap: 4px; cursor: pointer;
}
.upload-title { font-weight: 700; color: var(--navy); font-size: 15px; }
.upload-hint { font-size: 13px; color: var(--muted); line-height: 1.5; }
.upload-button {
  justify-self: start; margin-top: 10px;
  display: inline-block; padding: 8px 16px; border-radius: 8px;
  background: #fff; border: 1px solid #cbd6e6;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
}
.upload-label:hover .upload-button { border-color: var(--blue); color: var(--blue); }

.upload-preview {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.upload-preview img {
  width: 84px; height: 104px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
}
.file-name { margin: 0; font-size: 13px; color: #33415a; word-break: break-word; }

.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-size: 13px;
}
.btn-small { padding: 2px 4px; font-size: 12.5px; }

.attachments {
  border: 1px solid #eadfb8; background: #fffdf5; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 18px;
}
.attachments h4 { margin: 0 0 8px; font-size: 14px; color: #6b5a12; }
.attachments ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #4b4330; }
.attachments li { margin-bottom: 3px; word-break: break-word; }

.position-footnote {
  margin: 22px 0 0; font-size: 14px; color: var(--muted);
  border-left: 3px solid var(--gold); padding-left: 14px;
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px;
}
details[open] { box-shadow: var(--shadow); }
summary {
  cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15.5px;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #cdd8ea; padding: 40px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
/* Logo berwarna (heksagon biru + teks navy): jangan diputihkan paksa — teks navy
   akan hilang di footer navy. Tampilkan utuh di atas chip putih agar kontras. */
.site-footer img { background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; color: #a9b8d1; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; text-align: right; }
.footer-links a { color: #e6edf8; }
.footer-links span { color: #93a5c2; font-size: 13px; }
@media (max-width: 620px) { .footer-links { text-align: left; } }

/* print */
@media print {
  .site-header, .hero-actions, .form, #apply, .site-footer { display: none; }
  body { color: #000; }
}

/* Journal card links (added 11 Nov 2026) */
.journal-link { color: inherit; text-decoration: none; }
.journal-link:hover { color: var(--accent, #2e75b6); text-decoration: underline; }
