:root {
  color-scheme: light;
  --ink: #132019;
  --muted: #627067;
  --line: #dfe6e0;
  --paper: #f6f8f4;
  --surface: #ffffff;
  --green: #276a43;
  --green-dark: #173f2b;
  --teal: #15736c;
  --gold: #b98518;
  --blue: #315f91;
  --shadow: 0 22px 60px rgba(25, 46, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-link img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #07100b;
}

.brand-link strong,
.brand-link small {
  display: block;
}

.brand-link small {
  margin-top: 2px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--green-dark);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  min-height: min(650px, calc(100vh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 18px;
  padding: clamp(28px, 6vw, 72px);
  color: #f8fff9;
  border-radius: 8px;
  overflow: hidden;
}

.legal-band {
  background:
    linear-gradient(90deg, rgba(12, 31, 22, 0.92), rgba(25, 91, 61, 0.84)),
    url("/assets/logo-koperasi.jpeg") right 8% center / min(420px, 50vw) no-repeat,
    #143c29;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c463;
}

h1,
h2,
h3,
p,
strong {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: #d7eadb;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  background: var(--green);
  color: #ffffff;
}

.primary-button:hover {
  background: var(--green-dark);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(11, 24, 18, 0.76);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: #c8dccd;
}

.hero-panel strong {
  display: block;
  margin: 10px 0;
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.section,
.verification-note {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.identity-grid,
.registry-grid,
.document-list,
.business-list,
.split {
  display: grid;
  gap: 14px;
}

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

.info-card,
.registry-grid div,
.legal-detail {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.span-2 {
  grid-column: span 2;
}

.info-card span,
.registry-grid span,
.document-list span,
.contact-row span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.info-card strong,
.registry-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  line-height: 1.45;
}

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

.legal-detail h2 {
  margin-bottom: 18px;
}

.legal-detail.highlight {
  border-color: rgba(49, 95, 145, 0.28);
  background: #f5f9fc;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
}

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

.registry-grid div {
  border-top: 4px solid var(--teal);
}

.registry-grid div:nth-child(2) {
  border-top-color: var(--gold);
}

.registry-grid div:nth-child(3) {
  border-top-color: var(--blue);
}

.business-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-list span {
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 16px;
  color: #ffffff;
  background: var(--green-dark);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.business-list span:nth-child(2) {
  background: var(--teal);
}

.business-list span:nth-child(3) {
  background: var(--blue);
}

.business-list span:nth-child(4) {
  background: #6d5715;
}

.document-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.document-list a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.document-list a:hover {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgba(39, 106, 67, 0.12);
}

.document-list strong {
  line-height: 1.28;
}

.document-list small {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-card {
  display: grid;
  gap: 10px;
}

.contact-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.contact-row strong {
  display: block;
  margin-top: 6px;
}

.full {
  width: 100%;
}

.verification-note {
  background: #fff8e7;
  border-color: rgba(185, 133, 24, 0.34);
}

.verification-note p {
  margin: 8px 0 0;
  color: #5d512d;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  nav a {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .hero {
    min-height: auto;
    padding: 24px;
  }

  .hero-actions,
  .identity-grid,
  .document-list,
  .business-list {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .identity-grid,
  .document-list,
  .business-list {
    display: grid;
  }

  .span-2 {
    grid-column: auto;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
