@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --bg: #f7f6f1;
  --bg-tint: #eef2fb;
  --surface: #ffffff;
  --surface-2: #f2f0e9;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e1d7;
  --line-strong: #cfc9bb;
  --accent: #1e3a8a;
  --accent-hover: #172e6e;
  --accent-soft: #e6ebfa;
  --accent-ink: #ffffff;
  --gold: #b45309;
  --danger: #a42a1d;
  --danger-soft: #fbe9e6;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 1px 2px rgba(17, 24, 39, 0.04), 0 18px 44px -26px rgba(17, 24, 39, 0.3);
  --shadow-paper: 0 1px 3px rgba(17, 24, 39, 0.08), 0 18px 40px -22px rgba(17, 24, 39, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

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

.container-inner {
  max-width: 820px;
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-small {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 9px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.btn-ghost:hover {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--accent);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-mark .mark {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex-shrink: 0;
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.main-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-cta {
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 64px 46px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -180px -8% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  opacity: 0.95;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 54px;
  align-items: center;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.8vw, 4.7rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero .lead {
  margin-top: 19px;
}

.hero-search {
  max-width: 520px;
  margin-top: 24px;
}

.hero-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
}

.hero-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero-list {
  display: flex;
  flex-direction: column;
}

.hero-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.hero-list a:last-child {
  border-bottom: 0;
}

.hero-list a:hover {
  color: var(--accent);
}

.hero-list a > span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-list a > strong {
  flex: 1;
  font-weight: 600;
}

.hero-list a svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* Sections */

.section {
  padding-block: 50px;
}

.section-tinted {
  border-block: 1px solid var(--line);
  background: var(--bg-tint);
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.08;
}

.section-head p:not(.eyebrow) {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Search */

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-box svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14.5px;
}

.search-box input::placeholder {
  color: var(--muted);
}

.page-search {
  max-width: 480px;
  margin-top: 22px;
}

/* Doc cards */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.doc-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.doc-tag {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.doc-card h3 {
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.doc-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.55;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}

.doc-link svg {
  width: 14px;
  height: 14px;
}

.doc-count {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* Categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 46px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.category-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-count {
  color: var(--muted);
  font-size: 12px;
}

.category-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.category-arrow svg {
  width: 17px;
  height: 17px;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon svg {
  width: 17px;
  height: 17px;
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Page head */

.breadcrumbs {
  padding-top: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: var(--line-strong);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.page-head {
  padding-block: 26px 12px;
}

.page-head h1 {
  max-width: 24ch;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.page-head .lead {
  margin-top: 14px;
}

.updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
}

/* Document layout */

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.doc-form-card,
.doc-preview-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.doc-preview-card {
  background: var(--surface-2);
}

.doc-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.doc-form-head h2 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
}

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

.field {
  min-width: 0;
}

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

.field > label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  outline: none;
  font-size: 13.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-help {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.input-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
}

.input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-wrap input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.input-wrap input:focus {
  box-shadow: none;
}

.input-prefix,
.input-suffix {
  flex-shrink: 0;
  padding-inline: 9px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.input-prefix {
  padding-right: 0;
}

.input-suffix {
  padding-left: 0;
}

.field-check {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.16s ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s ease;
}

.switch input:checked + .switch-track {
  background: var(--accent);
}

.switch input:checked + .switch-track::after {
  transform: translateX(16px);
}

.switch-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.privacy-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10.5px;
}

/* Preview */

.preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.preview-head .eyebrow {
  margin-bottom: 1px;
}

.preview-note {
  color: var(--muted);
  font-size: 10.5px;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.paper-wrap {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 4px 0 8px;
}

.paper {
  width: 100%;
  max-width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 16mm 15mm;
  border: 1px solid #e8e4da;
  background: #fff;
  color: #000;
  box-shadow: var(--shadow-paper);
  font-family: "Times New Roman", Times, serif;
  font-size: 11.5pt;
  line-height: 1.5;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.paper * {
  box-sizing: border-box;
}

.paper h1,
.paper h2,
.paper h3 {
  font-family: "Times New Roman", Times, serif;
  color: #000;
  letter-spacing: 0;
}

.paper p {
  margin: 0 0 9pt;
}

.paper .muted {
  color: #666;
}

.letter-head {
  display: flex;
  justify-content: space-between;
  gap: 16pt;
  margin-bottom: 18pt;
  padding-bottom: 8pt;
  border-bottom: 1.5pt solid #000;
}

.letter-sender {
  display: flex;
  flex-direction: column;
  font-size: 10pt;
  line-height: 1.4;
}

.letter-sender strong {
  font-size: 12pt;
  margin-bottom: 2pt;
}

.letter-date {
  font-size: 10.5pt;
  text-align: right;
  white-space: nowrap;
}

.doc-recipient {
  display: flex;
  flex-direction: column;
  margin: 14pt 0;
  font-size: 11pt;
  line-height: 1.4;
}

.doc-subject {
  margin: 12pt 0;
  font-weight: 700;
}

.doc-salutation {
  margin-bottom: 8pt;
}

.doc-body {
  text-align: justify;
}

.doc-body p {
  margin-bottom: 9pt;
}

.doc-closing {
  margin-top: 22pt;
  text-align: right;
}

.doc-closing > p {
  margin-bottom: 4pt;
}

.doc-signature {
  text-align: center;
  display: inline-block;
  min-width: 150pt;
}

.stamp-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80pt;
  height: 50pt;
  margin: 0 auto 6pt;
  border: 1pt dashed #777;
  font-size: 7.5pt;
  line-height: 1.2;
  color: #555;
}

.sign-space {
  height: 50pt;
}

.sign-name {
  font-weight: 700;
  margin: 2pt 0 0;
}

.sign-title {
  font-size: 9.5pt;
  margin: 0;
}

.doc-title {
  text-align: center;
  font-size: 14pt;
  font-weight: 700;
  margin: 4pt 0 2pt;
  text-transform: uppercase;
}

.doc-subtitle {
  text-align: center;
  font-size: 10pt;
  margin-bottom: 14pt;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 9pt 0;
  font-size: 10pt;
}

.doc-table th,
.doc-table td {
  border: 1pt solid #888;
  padding: 4pt 6pt;
  vertical-align: top;
  text-align: left;
}

.doc-table th {
  background: #f0f0f0;
  font-weight: 700;
}

.doc-table .num {
  text-align: right;
  white-space: nowrap;
}

.identity-table th {
  width: 32%;
  background: #f7f7f7;
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  gap: 20pt;
  padding-bottom: 10pt;
  border-bottom: 2pt solid #000;
}

.invoice-head .invoice-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 24pt;
  font-weight: 700;
  letter-spacing: 2pt;
}

.invoice-number {
  font-size: 10pt;
  margin-top: 2pt;
}

.invoice-meta {
  text-align: right;
  font-size: 10pt;
}

.invoice-meta p {
  margin: 0 0 3pt;
}

.invoice-meta span {
  display: block;
  font-size: 8pt;
  text-transform: uppercase;
  color: #666;
}

.invoice-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18pt;
  margin: 14pt 0;
  font-size: 10.5pt;
}

.invoice-parties h2,
.invoice-note h2 {
  font-size: 8pt;
  text-transform: uppercase;
  letter-spacing: 1pt;
  color: #666;
  margin-bottom: 3pt;
}

.invoice-totals {
  width: 58%;
  margin-left: auto;
  font-size: 10.5pt;
}

.invoice-totals p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 3pt 0;
  border-bottom: 0.5pt solid #ddd;
}

.invoice-totals .grand {
  margin-top: 3pt;
  padding-top: 6pt;
  border-top: 1.5pt solid #000;
  font-size: 12pt;
}

.terbilang {
  font-size: 9.5pt;
  margin-top: 8pt;
}

.invoice-note {
  margin-top: 12pt;
  font-size: 10pt;
}

.receipt {
  border: 1.5pt solid #000;
  padding: 18pt;
}

.receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5pt solid #000;
  padding-bottom: 8pt;
  margin-bottom: 12pt;
}

.receipt-head .receipt-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 18pt;
  letter-spacing: 2pt;
}

.receipt-row {
  display: flex;
  gap: 12pt;
  margin-bottom: 8pt;
  font-size: 11pt;
}

.receipt-row > span {
  width: 110pt;
  flex-shrink: 0;
  color: #555;
}

.receipt-row .amount {
  font-size: 14pt;
}

.receipt-terbilang {
  margin: 0 0 14pt 122pt;
  font-size: 9.5pt;
  color: #444;
}

.receipt-sign {
  margin-top: 22pt;
  text-align: right;
  font-size: 10.5pt;
}

.receipt-sign p {
  margin-bottom: 3pt;
}

.receipt-sign .sign-space {
  height: 44pt;
}

/* CV */

.cv-ats {
  font-size: 10.5pt;
}

.cv-head {
  margin-bottom: 12pt;
}

.cv-head .cv-name {
  font-size: 22pt;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2pt;
}

.cv-title {
  font-size: 12pt;
  color: #333;
  margin-bottom: 3pt;
}

.cv-contact {
  font-size: 9.5pt;
  color: #444;
}

.cv-ats section {
  margin-top: 11pt;
}

.cv-ats h2,
.cv-main h2,
.cv-side h2 {
  font-size: 9.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1pt;
  border-bottom: 1pt solid #000;
  padding-bottom: 2pt;
  margin-bottom: 6pt;
}

.cv-entry {
  margin-bottom: 8pt;
}

.cv-entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12pt;
}

.cv-entry-head span {
  font-size: 9pt;
  color: #555;
  white-space: nowrap;
}

.cv-entry-sub {
  font-size: 9.5pt;
  color: #333;
  margin-bottom: 2pt;
}

.cv-entry p {
  margin: 2pt 0 0;
  font-size: 9.5pt;
}

.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4pt;
}

.cv-skills span {
  border: 0.7pt solid #777;
  border-radius: 2pt;
  padding: 1pt 5pt;
  font-size: 9pt;
}

.cv-modern {
  display: grid;
  grid-template-columns: 33% 67%;
  min-height: 240mm;
  padding: 0;
  font-size: 10pt;
}

.cv-side {
  background: #1e3a8a;
  color: #fff;
  padding: 16pt 13pt;
}

.cv-side h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
  margin-top: 15pt;
}

.cv-side ul {
  margin: 0;
  padding-left: 14pt;
  font-size: 9.5pt;
}

.cv-side li {
  margin-bottom: 2pt;
}

.cv-side p {
  font-size: 9.5pt;
  margin-bottom: 3pt;
  word-break: break-word;
}

.cv-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62pt;
  height: 62pt;
  margin: 0 auto 14pt;
  border: 2pt solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 26pt;
  font-weight: 700;
}

.cv-main {
  padding: 18pt 18pt 16pt;
}

.cv-modern .cv-head {
  border-bottom: 1.5pt solid #000;
  padding-bottom: 8pt;
}

.cv-modern .cv-head .cv-name {
  font-size: 20pt;
}

.cv-main section {
  margin-top: 12pt;
}

.cv-main h2 {
  border-bottom-color: #999;
}

.cv-main .cv-entry-head span {
  color: #555;
}

/* Agreement */

.agreement {
  font-size: 10.5pt;
}

.agreement h1 {
  text-align: center;
  font-size: 13.5pt;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 2pt;
}

.agreement .doc-subtitle {
  text-align: center;
  margin-bottom: 14pt;
}

.agreement-parties {
  margin: 8pt 0 10pt 18pt;
  padding: 0;
}

.agreement-parties li {
  margin-bottom: 5pt;
}

.agreement-table th {
  width: 30%;
}

.agreement h2 {
  font-size: 10.5pt;
  font-weight: 700;
  margin: 12pt 0 4pt;
}

.agreement-clauses {
  margin: 0 0 10pt 18pt;
  padding: 0;
}

.agreement-clauses li {
  margin-bottom: 4pt;
}

.agreement-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24pt;
  margin-top: 20pt;
  text-align: center;
}

.agreement-signatures p {
  margin-bottom: 2pt;
}

/* Info, prose, FAQ */

.info-section {
  padding-top: 44px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 34px;
  align-items: start;
}

.two-col h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.prose {
  color: var(--ink-soft);
}

.prose p {
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.note-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.note-card h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
  font-size: 0.88rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.reading {
  max-width: 840px;
}

.reading .prose h2 {
  margin: 30px 0 8px;
  font-size: 1.5rem;
}

.faq-section {
  padding-block: 42px;
}

.faq-list {
  max-width: 840px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 16px 40px 16px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 72ch;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Ads */

.ad {
  margin-block: 26px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.ad-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ad-native-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  overflow: hidden;
}

.ad-native-body:empty::before {
  content: "Ruang iklan";
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-banner {
  max-width: 250px;
  margin-inline: auto;
}

.ad-banner-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}

.ad-banner-body:empty::before {
  content: "Ruang iklan";
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--surface-2);
  text-align: left;
}

.sponsor-card strong {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
}

.sponsor-card span {
  color: var(--muted);
  font-size: 12px;
}

.ad-banner .sponsor-card {
  align-items: center;
  padding: 20px 14px;
  text-align: center;
}

/* Footer */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-tint);
  padding-top: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand p {
  max-width: 44ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand .footer-note {
  font-size: 11.5px;
  opacity: 0.86;
}

.footer-col h2 {
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  padding-block: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 32px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

/* 404 */

.notfound {
  padding-block: 76px 58px;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}

.notfound .lead {
  margin: 12px auto 0;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1 {
    max-width: 17ch;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding-block: 10px;
  }

  .brand {
    order: 1;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 2px 4px;
    overflow: visible;
  }

  .main-nav a {
    padding: 5px 8px;
    font-size: 12.5px;
  }

  .hero {
    padding-block: 38px 28px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10.5vw, 3.1rem);
  }

  .section {
    padding-block: 38px;
  }

  .page-head {
    padding-block: 22px 10px;
  }

  .doc-form-card,
  .doc-preview-card {
    padding: 18px;
  }

  .ad-banner {
    max-width: 100%;
  }

  .ad-banner-body {
    min-height: 0;
  }

  .paper {
    padding: 12mm 10mm;
    font-size: 10pt;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 18px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

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

  .category-card {
    padding: 14px 30px 14px 13px;
  }

  .category-name {
    font-size: 0.94rem;
  }

  .preview-head {
    align-items: stretch;
  }

  .preview-actions {
    width: 100%;
  }

  .preview-actions .btn {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .invoice-parties,
  .agreement-signatures,
  .cv-modern {
    display: block;
  }

  .cv-side {
    margin-bottom: 0;
  }

  .doc-table {
    font-size: 9pt;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body {
    background: #fff !important;
  }

  body * {
    visibility: hidden;
  }

  .paper,
  .paper * {
    visibility: visible;
  }

  .paper {
    position: absolute;
    left: 0;
    top: 0;
    width: 210mm;
    max-width: none;
    min-height: 297mm;
    margin: 0;
    padding: 20mm;
    border: 0;
    box-shadow: none;
    font-size: 11.5pt;
  }

  .paper-wrap {
    padding: 0;
    overflow: visible;
  }

  .cv-modern {
    min-height: 257mm;
  }
}

/* CV template gallery */

.template-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.template-choice {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.template-choice:hover {
  border-color: var(--accent);
}

.template-choice.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.template-choice strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
}

.template-choice small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.35;
}

.template-swatch {
  display: block;
  height: 22px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1e3a8a 30%, #fff 30%) border-box;
}

.swatch-ats {
  background: repeating-linear-gradient(180deg, #fff 0 4px, #d8d8d8 4px 5px);
}

.swatch-modern {
  background: linear-gradient(90deg, #1e3a8a 0 32%, #fff 32% 100%);
}

.swatch-eksekutif {
  background: linear-gradient(90deg, #1e3a8a 0 18%, #fff 18% 100%);
  box-shadow: inset 0 -4px 0 #b48a3c;
}

.swatch-kreatif {
  background: linear-gradient(90deg, #c2410c 0 8%, #132b4f 8% 100%);
}

.swatch-minimalis {
  background: linear-gradient(180deg, #fff 0 72%, #111 72% 76%, #fff 76% 100%);
}

.swatch-klasik {
  background: linear-gradient(180deg, #fff 0 70%, #111 70% 73%, #fff 73% 76%, #999 76% 78%, #fff 78% 100%);
}

/* Generated CV templates */

.cv {
  font-size: 10.5pt;
  color: #000;
}

.cv .cv-name {
  font-family: "Times New Roman", Times, serif;
  font-size: 22pt;
  font-weight: 700;
  line-height: 1.1;
}

.cv .cv-title {
  font-size: 11.5pt;
  color: #333;
}

.cv .cv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2pt 10pt;
  margin-top: 3pt;
  font-size: 9pt;
  color: #444;
}

.cv .cv-contact span {
  white-space: nowrap;
}

.cv section {
  margin-top: 11pt;
}

.cv section > h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 9.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1pt;
  border-bottom: 1pt solid #000;
  padding-bottom: 2pt;
  margin-bottom: 6pt;
}

.cv .cv-plain-list {
  margin: 0;
  padding-left: 14pt;
  font-size: 9.5pt;
}

.cv .cv-plain-list li {
  margin-bottom: 2pt;
}

.cv .cv-skill-line {
  font-size: 10pt;
  margin: 0;
}

.cv-eksekutif {
  font-family: Georgia, "Times New Roman", serif;
}

.cv-exec-head {
  display: flex;
  align-items: center;
  gap: 14pt;
  padding-bottom: 10pt;
  border-bottom: 2.5pt solid #b48a3c;
}

.cv-exec-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58pt;
  height: 58pt;
  flex-shrink: 0;
  border: 2pt solid #b48a3c;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-size: 23pt;
  font-weight: 700;
}

.cv-exec-identity {
  flex: 1;
}

.cv-eksekutif .cv-name {
  font-size: 24pt;
  color: #1e3a8a;
  line-height: 1.05;
}

.cv-eksekutif .cv-title {
  margin-top: 2pt;
  color: #8a6a2f;
  font-size: 11pt;
  font-style: italic;
}

.cv-eksekutif .cv-contact {
  margin-top: 5pt;
  font-size: 8.8pt;
}

.cv-exec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 16pt;
  margin-top: 12pt;
}

.cv-exec-side {
  padding-left: 12pt;
  border-left: 1pt solid #d8c9a8;
}

.cv-eksekutif section > h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #8a6a2f;
  border-bottom-color: #d8c9a8;
}

.cv-eksekutif .cv-entry-head span {
  color: #777;
}

.cv-kreatif {
  font-family: Arial, Helvetica, sans-serif;
}

.cv-creative-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12pt;
  padding: 15pt 16pt;
  border-left: 6pt solid #c2410c;
  background: #132b4f;
  color: #fff;
}

.cv-kreatif .cv-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25pt;
  font-weight: 800;
  line-height: 1.02;
  color: #fff;
  letter-spacing: -0.5pt;
}

.cv-kreatif .cv-title {
  margin-top: 3pt;
  color: #f4c7a8;
  font-size: 10.5pt;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cv-creative-contact {
  display: flex;
  flex-direction: column;
  gap: 1pt;
  flex-shrink: 0;
  font-size: 8.3pt;
  line-height: 1.4;
  color: #e8eef8;
  text-align: right;
}

.cv-creative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 16pt;
  margin-top: 14pt;
}

.cv-kreatif aside {
  padding-left: 12pt;
  border-left: 1pt solid #e4ded4;
}

.cv-kreatif section {
  margin-top: 12pt;
}

.cv-kreatif section > h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: #132b4f;
  border-bottom: 0;
  border-left: 3pt solid #c2410c;
  padding-left: 7pt;
  letter-spacing: 0.8pt;
}

.cv-kreatif .cv-entry {
  position: relative;
  margin-bottom: 8pt;
  padding-left: 9pt;
  border-left: 1pt solid #e8c9b8;
}

.cv-kreatif .cv-entry::before {
  content: "";
  position: absolute;
  left: -2.7pt;
  top: 3pt;
  width: 4.2pt;
  height: 4.2pt;
  border-radius: 50%;
  background: #c2410c;
}

.cv-kreatif .cv-entry-head span {
  color: #777;
}

.cv-kreatif .cv-skills span {
  border-color: #c2410c;
  background: #fff7f2;
  color: #7c2d12;
}

.cv-minimalis {
  font-family: Arial, Helvetica, sans-serif;
}

.cv-min-head {
  padding-bottom: 12pt;
  border-bottom: 2pt solid #111;
}

.cv-minimalis .cv-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26pt;
  font-weight: 800;
  letter-spacing: -0.8pt;
  line-height: 1.03;
}

.cv-minimalis .cv-title {
  margin-top: 2pt;
  font-size: 10.5pt;
  color: #555;
}

.cv-minimalis .cv-contact {
  margin-top: 7pt;
  font-size: 8.7pt;
  color: #555;
}

.cv-minimalis section {
  margin-top: 14pt;
}

.cv-minimalis section > h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  letter-spacing: 2pt;
  color: #777;
  border-bottom: 0;
  padding-bottom: 0;
}

.cv-minimalis .cv-entry {
  margin-bottom: 9pt;
}

.cv-minimalis .cv-entry-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10pt;
}

.cv-minimalis .cv-entry-head span {
  color: #777;
}

.cv-klasik {
  font-family: Georgia, "Times New Roman", serif;
}

.cv-classic-head {
  padding-bottom: 9pt;
  text-align: center;
}

.cv-klasik .cv-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24pt;
  font-weight: 700;
  letter-spacing: 1pt;
}

.cv-klasik .cv-title {
  margin-top: 1pt;
  font-size: 10.5pt;
  font-style: italic;
  color: #444;
}

.cv-klasik .cv-contact {
  justify-content: center;
  margin-top: 5pt;
  font-size: 8.8pt;
}

.cv-classic-rule {
  margin-top: 9pt;
  border-top: 3pt double #111;
}

.cv-klasik section {
  margin-top: 13pt;
}

.cv-klasik section > h2 {
  font-size: 9pt;
  letter-spacing: 1.5pt;
  text-align: center;
  border-bottom: 0.7pt solid #999;
}

.cv-klasik .cv-entry-head span {
  color: #666;
}

.cv-klasik .cv-skill-line {
  text-align: center;
}

@media (max-width: 560px) {
  .template-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field-hidden {
  display: none !important;
}
