:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --text: #161719;
  --muted: #5b5d61;
  --line: #ddd8ca;
  --green: #063b6d;
  --green-strong: #022b52;
  --blue: #0e5f9f;
  --amber: #d6b32f;
  --violet: #52628e;
  --red: #9b351f;
  --shadow: 0 18px 45px rgba(6, 59, 109, 0.09);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 32px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand img {
  width: auto;
  min-width: 38px;
  max-width: 150px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.brand span {
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a,
.nav button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover,
.nav a.active,
.nav button:hover {
  color: var(--text);
  background: #eee9da;
}

.nav .nav-cta {
  color: #fff;
  background: var(--green);
}

.nav .nav-cta:hover {
  color: #fff;
  background: var(--green-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--text);
  box-shadow: 0 6px 0 var(--text), 0 -6px 0 var(--text);
}

.hero {
  min-height: calc(100vh - 142px);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(247, 245, 239, 0.98) 0%, rgba(247, 245, 239, 0.9) 44%, rgba(247, 245, 239, 0.5) 72%, rgba(247, 245, 239, 0.24) 100%), url("/assets/publishing-visual.svg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: 84px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
}

.hero h1 {
  max-width: 720px;
  margin: 20px 0 18px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #383b40;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  color: #fff;
  background: var(--green);
  font-weight: 750;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--green-strong);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.button.secondary:hover {
  background: #fff;
}

.button.ghost {
  color: var(--green);
  background: transparent;
  border-color: var(--line);
}

.button.danger {
  background: var(--red);
}

.button.small {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 40px;
}

.stat-pill {
  padding: 14px 16px;
  border: 1px solid rgba(6, 59, 109, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(6, 59, 109, 0.06);
}

.stat-pill strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.stat-pill span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.band {
  padding: 70px 0;
}

.band.white {
  background: #fff;
}

.band.soft {
  background: #eef3f7;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.page-title p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.metric-card,
.testimonial,
.admin-card,
.message-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.service-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.service-card:nth-child(2) .service-mark {
  background: var(--blue);
}

.service-card:nth-child(3) .service-mark {
  background: var(--amber);
}

.service-card h3,
.testimonial h3,
.admin-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.service-card p,
.testimonial p,
.admin-card p {
  color: var(--muted);
  line-height: 1.66;
}

.feature-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 9px;
  color: #333631;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.workflow-step {
  min-height: 190px;
  padding: 24px;
  background: #fff;
}

.workflow-step strong {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow-step h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.testimonial {
  padding: 24px;
}

.quote {
  color: #2f332e;
  font-size: 17px;
  line-height: 1.68;
}

.person {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.info-panel {
  border-left: 4px solid var(--green);
  padding: 20px 0 20px 22px;
}

.info-panel h2,
.info-panel h3 {
  margin: 0 0 10px;
}

.info-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-lines {
  display: grid;
  gap: 12px;
}

.contact-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-line strong {
  color: var(--green);
}

.form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  min-width: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #30332f;
  font-size: 14px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd7cf;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(6, 59, 109, 0.12);
}

.field small {
  color: var(--muted);
  line-height: 1.45;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #b9c4b8;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.site-footer {
  padding: 44px 0;
  background: #071f38;
  color: #f5f7f3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer p,
.site-footer a {
  color: #c7cec4;
  line-height: 1.7;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 268px 1fr;
  background: #f4f2ea;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.admin-sidebar .brand {
  margin-bottom: 24px;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a,
.admin-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  padding: 11px 12px;
  text-align: left;
  font-weight: 750;
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-nav button:hover {
  color: var(--text);
  background: #eee9da;
}

.admin-main {
  min-width: 0;
  padding: 26px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 30px;
}

.admin-topbar p {
  margin: 6px 0 0;
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 32px;
}

.admin-card {
  padding: 20px;
}

.table-wrap {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #3f433e;
  background: #f3f0e7;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.badge.diproses {
  background: var(--blue);
}

.badge.selesai {
  background: var(--green);
}

.badge.ditolak {
  background: var(--red);
}

.badge.baru {
  background: var(--amber);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 9px 13px;
  font-weight: 750;
}

.tab.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.message-list {
  display: grid;
  gap: 14px;
}

.message-item {
  padding: 18px;
}

.message-item.unread {
  border-color: rgba(6, 59, 109, 0.35);
}

.message-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.message-item h3 {
  margin: 10px 0 6px;
}

.message-item p {
  color: #343934;
  line-height: 1.65;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: #171916;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: var(--red);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #f7f5ef 0%, #e9f0f6 100%);
}

.login-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.login-card .brand {
  margin-bottom: 22px;
}

.login-card h1 {
  margin: 0 0 8px;
}

.login-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.stack {
  display: grid;
  gap: 16px;
}

.mt {
  margin-top: 24px;
}

.muted {
  color: var(--muted);
}

.brand-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
  min-width: 0;
}

.brand-preview img {
  width: auto;
  max-width: 180px;
  height: 58px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-preview strong,
.brand-preview span {
  display: block;
}

.brand-preview span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 16px;
  }

  .nav {
    gap: 3px;
  }

  .nav a,
  .nav button {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero h1 {
    max-width: 640px;
    font-size: clamp(44px, 7vw, 72px);
  }

  .hero p {
    max-width: 580px;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #f7f5ef;
    box-shadow: 0 18px 36px rgba(6, 59, 109, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav button {
    border-radius: var(--radius);
  }

  .hero {
    min-height: auto;
    background-position: center right 28%;
    background-image: linear-gradient(90deg, rgba(247, 245, 239, 0.98) 0%, rgba(247, 245, 239, 0.9) 60%, rgba(247, 245, 239, 0.7) 100%), url("/assets/publishing-visual.svg");
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero-stats,
  .grid.three,
  .grid.two,
  .workflow,
  .split,
  .footer-grid,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

  .admin-sidebar .brand {
    margin-bottom: 14px;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-main {
    padding: 18px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 24px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    max-width: calc(100vw - 88px);
  }

  .brand img {
    max-width: 118px;
    height: 36px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .nav {
    top: 66px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-content {
    padding: 56px 0;
  }

  .hero {
    background-image: linear-gradient(180deg, #f7f5ef 0%, #edf3f6 100%);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .band {
    padding: 52px 0;
  }

  .form-wrap,
  .service-card,
  .admin-card,
  .login-card {
    padding: 18px;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 14px;
  }

  .admin-topbar h1 {
    font-size: 24px;
  }

  table {
    min-width: 680px;
  }

  .contact-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .brand-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-preview img {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  :root {
    --container: min(100vw - 18px, 1120px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .page-hero {
    padding: 52px 0 34px;
  }

  .section-head h2,
  .page-title h1 {
    font-size: 28px;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 11px;
  }
}
