/* LSP Logistik Insan Prima — first iteration, no external asset dependencies */
:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #172a43;
  background: #fff;
  --ink: #172a43;
  --line: #e1e8f0;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 3px solid #e3a542;
  outline-offset: 4px;
}
.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: #fff;
  color: #102b4e;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8edf3;
  position: relative;
  z-index: 2;
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #102b4e;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0d355b;
  color: #e6b359;
  font-size: 26px;
  font-weight: 900;
}
.brand-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}
.brand-text strong {
  display: block;
  font-size: 17px;
}
.brand-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #68798b;
  margin-top: 5px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
}
.main-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: #42536a;
}
.main-nav a:hover,
.main-nav a.active {
  color: #096a9e;
}
.main-nav .nav-contact {
  background: #0c3154;
  color: #fff;
  border-radius: 8px;
  padding: 11px 16px;
}
.main-nav .nav-contact:hover,
.main-nav .nav-contact.active {
  color: #fff;
  background: #15517b;
}
.hero {
  background: radial-gradient(
    circle at 78% 40%,
    #164d74 0%,
    #0d3256 35%,
    #0a2544 80%
  );
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  min-height: 575px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}
.hero-copy {
  padding: 80px 0;
}
.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #cfa15c;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #e8ba6d;
}
.hero h1 {
  font-size: clamp(40px, 4.7vw, 67px);
  line-height: 1.13;
  letter-spacing: -0.045em;
  margin: 25px 0;
}
.hero h1 span {
  color: #e6b66d;
}
.hero-copy > p:not(.hero-note) {
  max-width: 530px;
  color: #c6d5e4;
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  padding: 14px 22px;
  border-radius: 8px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: #e5ad56;
  color: #172a43;
}
.button-primary:hover {
  background: #f2c57f;
}
.button-outline {
  border: 1px solid #718da8;
  color: #fff;
}
.button-dark {
  background: #123b5e;
  color: #fff;
}
.hero-note {
  font-size: 12px;
  color: #9cb3c9;
  margin-top: 30px;
}
.hero-visual {
  height: 410px;
  position: relative;
  display: grid;
  place-items: center;
}
.visual-orbit {
  position: absolute;
  border: 1px solid rgba(171, 207, 236, 0.18);
  border-radius: 50%;
  width: 350px;
  height: 350px;
}
.orbit-two {
  width: 460px;
  height: 460px;
}
.visual-label {
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background: linear-gradient(145deg, #255d82, #102e50);
  border: 1px solid #507d9b;
  box-shadow: 0 24px 80px #03152c99;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: 0.18em;
  font-size: 20px;
}
.visual-label strong {
  font-size: 29px;
  color: #e7b66d;
}
.visual-label small {
  font-size: 12px;
}
.visual-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffffff35;
  background: #ffffffed;
  color: #1d3855;
  padding: 17px 20px;
  border-radius: 13px;
  box-shadow: 0 14px 40px #061b34aa;
  font-size: 13px;
  line-height: 1.4;
}
.visual-card strong {
  font-size: 16px;
}
.visual-card-main {
  top: 42px;
  right: 0;
}
.visual-card-small {
  bottom: 44px;
  left: 0;
}
.visual-icon {
  display: grid;
  place-items: center;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  background: #e7f4ee;
  color: #18805d;
  font-size: 24px;
}
.small-square {
  width: 35px;
  height: 35px;
  background: #e8b66a;
  border-radius: 9px;
}
.section {
  padding: 90px 0;
}
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 45px;
}
.section h2 {
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin: 13px 0 16px;
  color: #102e4d;
}
.section p {
  color: #607186;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  border: 1px solid #e6ebf0;
  border-radius: 14px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 8px 30px #0c274808;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eaf3f9;
  color: #14618c;
  font-weight: 850;
}
.feature-card h3 {
  margin: 24px 0 8px;
  font-size: 20px;
  color: #142f4c;
}
.feature-card p {
  font-size: 14px;
  min-height: 72px;
}
.feature-card a {
  display: inline-block;
  color: #086c9d;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  margin-top: 10px;
}
.process-preview {
  background: #f0f5f9;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.process-grid > div > p {
  max-width: 470px;
  margin-bottom: 30px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #d7e2ec;
}
.steps li:last-child {
  border: 0;
}
.steps li > span {
  font-size: 24px;
  color: #d4a054;
  font-weight: 850;
}
.steps strong {
  font-size: 18px;
  color: #163451;
}
.steps p {
  font-size: 14px;
  margin: 5px 0 0;
}
.cta-section {
  padding: 70px 0;
}
.cta-box {
  border-radius: 18px;
  background: #103454;
  color: #fff;
  padding: 45px 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.cta-box h2 {
  color: #fff;
  margin: 10px 0;
}
.cta-box p {
  color: #c4d3df;
  margin: 0;
}
.cta-box .button {
  flex-shrink: 0;
}
.site-footer {
  background: #081f38;
  color: #fff;
  padding: 65px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 55px;
}
.footer-grid strong {
  display: block;
  margin-bottom: 16px;
}
.footer-grid p,
.footer-grid a {
  color: #aebfd0;
  font-size: 13px;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  margin: 8px 0;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #ffffff20;
  margin-top: 50px;
  padding: 20px 0;
  font-size: 12px;
  color: #8ca3b9;
}
.page-section {
  padding: 95px 0;
  min-height: 52vh;
}
.page-section h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.2;
  color: #102e4d;
  margin: 0 0 20px;
}
.page-section p {
  color: #607186;
  max-width: 700px;
}
@media (max-width: 950px) {
  .nav-wrap {
    align-items: flex-start;
    padding: 18px 0;
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    gap: 15px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 75px 0 15px;
  }
  .hero-visual {
    height: 330px;
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .visual-orbit {
    width: 270px;
    height: 270px;
  }
  .orbit-two {
    width: 340px;
    height: 340px;
  }
  .visual-label {
    width: 200px;
    height: 200px;
  }
  .process-grid {
    gap: 40px;
  }
}
@media (max-width: 650px) {
  .container {
    width: min(100% - 32px, 1160px);
  }
  .main-nav a {
    font-size: 12px;
  }
  .main-nav .nav-contact {
    padding: 7px 10px;
  }
  .hero-copy {
    padding: 64px 0 20px;
  }
  .hero-visual {
    height: 275px;
  }
  .visual-orbit {
    width: 210px;
    height: 210px;
  }
  .orbit-two {
    width: 275px;
    height: 275px;
  }
  .visual-label {
    width: 165px;
    height: 165px;
    font-size: 15px;
  }
  .visual-label strong {
    font-size: 22px;
  }
  .visual-card {
    padding: 10px;
    font-size: 10px;
  }
  .visual-card strong {
    font-size: 12px;
  }
  .visual-card-main {
    right: 0;
    top: 10px;
  }
  .visual-card-small {
    left: 0;
    bottom: 10px;
  }
  .section {
    padding: 60px 0;
  }
  .feature-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-card p {
    min-height: 0;
  }
  .cta-box {
    padding: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer {
    padding-top: 45px;
  }
  .footer-grid {
    gap: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

/* Internal management forms */
.admin-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.admin-form label {
  display: grid;
  gap: 7px;
  font-weight: 650;
  font-size: 14px;
  color: #193955;
}
.admin-form input,
.admin-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bdcbd8;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #172a43;
}
.admin-form input:focus,
.admin-form select:focus {
  outline: 3px solid #b5d9f0;
  outline-offset: 1px;
}
.admin-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin: 24px 0;
}
.admin-table th,
.admin-table td {
  padding: 13px;
  border-bottom: 1px solid #e1e8ef;
  white-space: nowrap;
}
.admin-table th {
  background: #eff5fa;
  color: #163451;
}

.brand-logo {
  width: auto;
  max-width: 150px;
  height: 50px;
  object-fit: contain;
}
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bdcbd8;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #172a43;
}

/* Management dashboard */
.dashboard-page {
  background: #f4f7fb;
  padding: 55px 0 85px;
}
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.dashboard-heading h1 {
  margin: 6px 0 8px;
}
.dashboard-heading p {
  margin: 0;
}
.dashboard-role {
  border: 1px solid #d7e3ef;
  background: #fff;
  color: #184365;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 750;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dashboard-stat {
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 5px 20px #102d4808;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dashboard-stat > span {
  font-size: 14px;
  color: #607186;
  font-weight: 650;
}
.dashboard-stat strong {
  font-size: 42px;
  line-height: 1.2;
  color: #103454;
}
.dashboard-stat small {
  font-size: 12px;
  color: #708198;
}
.dashboard-section-title {
  margin: 42px 0 18px;
  font-size: 23px;
  color: #102e4d;
}
.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dashboard-action {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 15px;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 14px;
  padding: 20px 45px 20px 20px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.dashboard-action:hover {
  transform: translateY(-2px);
  border-color: #a5c4db;
}
.dashboard-action-icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #eaf3f9;
  color: #14618c;
  border-radius: 12px;
  font-size: 22px;
}
.dashboard-action strong {
  font-size: 15px;
  color: #163451;
}
.dashboard-action small {
  font-size: 12px;
  color: #607186;
}
.dashboard-action-arrow {
  position: absolute;
  right: 20px;
  top: calc(50% - 13px);
  font-size: 20px;
  color: #32779f;
}
.dashboard-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.dashboard-panel {
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 15px;
  padding: 24px;
  min-width: 0;
}
.dashboard-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.dashboard-panel-heading h2 {
  margin: 0;
  color: #153651;
  font-size: 19px;
}
.dashboard-panel-heading a {
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  color: #14618c;
}
.dashboard-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf1f5;
  padding: 15px 0;
}
.dashboard-list-item:last-child {
  border-bottom: 0;
}
.dashboard-list-item > div {
  min-width: 0;
}
.dashboard-list-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: #183b59;
  font-size: 14px;
}
.dashboard-list-item small {
  display: block;
  color: #8191a1;
  font-size: 12px;
  margin-top: 3px;
}
.dashboard-status {
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.dashboard-status.is-published {
  color: #18714d;
  background: #e6f5ed;
}
.dashboard-status.is-draft {
  color: #8a621e;
  background: #fff3d8;
}
.dashboard-empty {
  font-size: 14px;
}
.dashboard-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
}
.dashboard-bottom > a {
  font-weight: 700;
  text-decoration: none;
  color: #195b83;
}
.dashboard-logout {
  border: 1px solid #c8d5e1;
  background: #fff;
  color: #173c5d;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
@media (max-width: 700px) {
  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .dashboard-actions,
  .dashboard-recent-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-page {
    padding: 35px 0 60px;
  }
}

/* WYSIWYG editing and sanitized article content */
.rich-field {
  display: grid;
  gap: 8px;
}
.rich-field > label {
  font-weight: 650;
  color: #193955;
  font-size: 14px;
}
.rich-editor {
  background: #fff;
}
.rich-editor .ql-toolbar {
  border-radius: 9px 9px 0 0;
  border-color: #bdcbd8;
}
.rich-editor .ql-container {
  border-radius: 0 0 9px 9px;
  border-color: #bdcbd8;
  font: inherit;
}
.rich-editor .ql-editor {
  min-height: 200px;
  font-size: 15px;
  line-height: 1.7;
}
.rich-editor-input {
  width: 100%;
  min-height: 130px;
  border: 1px solid #bdcbd8;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}
.rich-editor-hidden {
  display: none;
}
.rich-content {
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.rich-content h2,
.rich-content h3 {
  color: #102e4d;
  margin: 1.4em 0 0.5em;
}
.rich-content p {
  max-width: none;
  margin: 0.8em 0;
}
.rich-content ul,
.rich-content ol {
  padding-left: 1.6em;
}
.rich-content blockquote {
  border-left: 4px solid #d8a65b;
  padding-left: 18px;
  color: #52677b;
}
.rich-content a {
  color: #096a9e;
  text-decoration: underline;
}

/* Public frontend design system */
:root {
  --ink: #102e4d;
  --muted: #607186;
  --line: #e2e9f0;
  --soft: #f3f7fa;
  --accent: #d7a45c;
}
button,
input,
textarea,
select {
  font: inherit;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #d7a45c;
  outline-offset: 3px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #dce5ed;
  border-radius: 9px;
  padding: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: #173b5c;
  margin: 4px 0;
}
.nav-dropdown {
  position: relative;
}
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 225px;
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 10px;
  padding: 9px;
  box-shadow: 0 16px 40px #102e4d20;
  z-index: 20;
}
.nav-submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
}
.nav-submenu a:hover {
  background: #f1f6fa;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  display: block;
}
.inner-hero {
  background: linear-gradient(120deg, #0b2949, #174e73);
  color: #fff;
  padding: 60px 0 70px;
}
.inner-hero h1 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.15;
  max-width: 850px;
  letter-spacing: -0.035em;
  margin: 15px 0;
}
.inner-hero p {
  font-size: 17px;
  color: #cbdce9;
  max-width: 750px;
  margin: 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #b5cada;
  margin-bottom: 25px;
}
.breadcrumbs a {
  text-decoration: none;
  color: #fff;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 35px;
  align-items: start;
}
.content-main > h2 {
  font-size: 32px;
  color: var(--ink);
}
.content-main > p {
  max-width: 800px;
}
.info-panel,
.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px #0c274808;
}
.info-panel h2,
.info-panel h3,
.side-panel h3 {
  margin-top: 0;
  color: var(--ink);
}
.info-panel p,
.side-panel p {
  max-width: none;
}
.side-panel a {
  display: block;
  color: #086c9d;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #e8edf3;
  padding: 12px 0;
}
.side-panel a:last-child {
  border-bottom: 0;
}
.check-list {
  padding-left: 20px;
  line-height: 2;
}
.empty-panel {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.empty-panel p {
  margin: 0 auto 24px;
  max-width: 650px;
}
.empty-icon {
  font-size: 50px;
  color: #d2a35e;
  display: block;
  margin-bottom: 10px;
}
.error-code {
  display: block;
  font-size: 90px;
  line-height: 1;
  color: #d2a35e;
  font-weight: 850;
}
.notice-panel {
  background: #f2f7fa;
  border-left: 4px solid #d2a35e;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 35px;
  color: #24445f;
}
.process-timeline {
  list-style: none;
  max-width: 850px;
  padding: 0;
  margin: 0 auto 50px;
}
.process-timeline li {
  display: flex;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.process-timeline li > span {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: #eaf3f9;
  color: #14618c;
  font-weight: 850;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.process-timeline h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 23px;
}
.process-timeline p {
  margin: 0;
}
.process-timeline a {
  display: inline-block;
  margin-top: 10px;
  color: #086c9d;
  font-weight: 750;
}
.faq-wrap {
  max-width: 850px;
}
.faq-wrap details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 22px;
  margin-bottom: 13px;
  background: #fff;
}
.faq-wrap summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 750;
  color: var(--ink);
}
.faq-wrap details p {
  padding-bottom: 18px;
  max-width: none;
  margin: 0;
}
.faq-cta {
  background: #f1f6fa;
  padding: 30px;
  border-radius: 14px;
  margin-top: 35px;
}
.faq-cta h2 {
  margin: 0;
  color: var(--ink);
}
.faq-cta p {
  margin-bottom: 20px;
}
.section-soft {
  background: #f2f6fa;
}
.scheme-code {
  font-size: 12px;
  font-weight: 800;
  color: #14618c;
  letter-spacing: 0.07em;
}
.pagination-wrap {
  margin-top: 30px;
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
}
.article-placeholder {
  height: 170px;
  background: linear-gradient(125deg, #0c3154, #1b6487);
  color: #e6b66d;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 850;
  letter-spacing: 0.2em;
}
.article-date {
  display: block;
  margin-top: 16px;
  color: #607186;
}
.article-detail {
  max-width: 850px;
}
.back-link,
.article-end a {
  color: #14618c;
  font-weight: 750;
  text-decoration: none;
}
.article-cover {
  width: 100%;
  border-radius: 15px;
  margin: 25px 0;
}
.article-lead {
  font-size: 20px !important;
  font-weight: 650;
  color: #24445f !important;
  max-width: none !important;
}
.article-end {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-card h3 a {
  font-size: inherit;
  color: inherit;
}
.article-card h3 {
  margin-top: 10px;
}
.article-card p {
  min-height: 0;
}
@media (max-width: 1050px) {
  .nav-toggle {
    display: block;
  }
  .nav-wrap {
    flex-direction: row;
    align-items: center;
    min-height: 75px;
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 15px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav > a,
  .nav-dropdown > a {
    display: block;
    padding: 12px 8px;
  }
  .nav-submenu {
    display: block;
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: #f3f7fa;
    margin: 0 0 6px 10px;
    padding: 4px;
  }
  .nav-submenu a {
    padding: 9px 12px;
  }
  .nav-contact {
    text-align: center;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .inner-hero {
    padding: 35px 0 45px;
  }
  .inner-hero p {
    font-size: 15px;
  }
  .page-section {
    padding: 55px 0;
  }
  .info-panel,
  .side-panel {
    padding: 22px;
  }
  .process-timeline li {
    gap: 15px;
  }
  .process-timeline li > span {
    flex-basis: 45px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  .process-timeline h2 {
    font-size: 19px;
  }
  .article-placeholder {
    height: 130px;
  }
  .faq-cta {
    padding: 22px;
  }
}

/* Managed public directories */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.directory-grid .info-panel {
  margin-bottom: 0;
}
.directory-grid .empty-panel {
  grid-column: 1/-1;
}
.directory-grid .info-panel h2 {
  font-size: 22px;
  margin: 12px 0;
}
.directory-grid .info-panel > a:not(.button) {
  color: #086c9d;
  text-decoration: none;
  font-weight: 750;
}
.faq-wrap details .rich-content {
  padding: 0 0 18px;
}
.faq-wrap details .rich-content p {
  padding: 0;
  margin: 0 0 12px;
}
@media (max-width: 700px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-form-card {
  margin-top: 30px;
}
.contact-form {
  display: grid;
  gap: 17px;
  margin-top: 22px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #173b59;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bfcedb;
  border-radius: 9px;
  background: #fff;
  color: #172a43;
  font: inherit;
  font-weight: 400;
}
.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.contact-disclaimer {
  font-size: 12px !important;
  color: #687e91 !important;
  margin: 0;
}
.contact-errors {
  padding: 14px 18px;
  color: #902d25;
  background: #fff1ef;
  border: 1px solid #efc5bd;
  border-radius: 9px;
}
.contact-success {
  padding: 14px 18px;
  color: #126047;
  background: #e7f7ef;
  border: 1px solid #bce3d0;
  border-radius: 9px;
}
.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Sticky public navigation and back-to-top control */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(12, 39, 72, 0.06);
}
html {
  scroll-padding-top: 100px;
}
.scroll-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #0c3154;
  color: #fff;
  box-shadow: 0 8px 24px rgba(12, 39, 72, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: #15517b;
}
.scroll-to-top:focus-visible {
  outline: 3px solid #e3a542;
  outline-offset: 4px;
}
.scroll-to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 650px) {
  .scroll-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
  html {
    scroll-padding-top: 85px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-to-top {
    transition: none;
  }
}

/* Patched MIT-licensed Trix rich-text editor */
.rich-editor trix-editor {
  min-height: 210px;
  border: 1px solid #bdcbd8;
  border-radius: 0 0 9px 9px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.75;
  background: #fff;
}
.rich-editor trix-toolbar .trix-button-group {
  border-color: #bdcbd8;
}
.rich-editor trix-toolbar .trix-button {
  border-color: #bdcbd8;
}
.rich-editor trix-toolbar [data-trix-attribute="code"],
.rich-editor trix-toolbar [data-trix-action="attachFiles"] {
  display: none;
}
.rich-editor .rich-editor-hidden {
  display: none;
}


/* Configurable theme: keep these overrides after the base styles. */
.brand,
.brand-text strong,
.section h2,
.page-section h1,
.feature-card h3 {
  color: var(--brand-primary);
}
.brand-mark,
.main-nav .nav-contact,
.button-dark,
.scroll-to-top {
  background: var(--brand-primary);
  color: var(--brand-primary-ink);
}
.hero {
  background: radial-gradient(
    circle at 78% 40%,
    color-mix(in srgb, var(--brand-primary) 78%, white) 0%,
    var(--brand-primary) 48%,
    color-mix(in srgb, var(--brand-primary) 70%, black) 100%
  );
}
.eyebrow,
.section-kicker,
.hero h1 span,
.visual-label strong {
  color: var(--brand-secondary);
}
.eyebrow-dot,
.small-square {
  background: var(--brand-secondary);
}
.button-primary {
  background: var(--brand-secondary);
  color: var(--brand-secondary-ink);
}
.button-primary:hover {
  background: color-mix(in srgb, var(--brand-secondary) 84%, white);
  color: var(--brand-secondary-ink);
}
.main-nav a:hover,
.main-nav a.active,
.feature-card a,
.directory-grid .info-panel > a:not(.button) {
  color: var(--brand-primary);
}
.main-nav .nav-contact:hover,
.main-nav .nav-contact.active,
.scroll-to-top:hover {
  background: color-mix(in srgb, var(--brand-primary) 80%, black);
  color: var(--brand-primary-ink);
}
.cta-box,
.site-footer {
  background: color-mix(in srgb, var(--brand-primary) 76%, black);
}
.steps li > span {
  color: var(--brand-accent);
}


/* CTA text must stay readable on a configurable dark brand background.
   This is intentionally more specific than the global .section h2/p theme rules. */
.section .cta-box h2 {
  color: #fff;
}
.section .cta-box p {
  color: #e2e8f3;
}
.section .cta-box .section-kicker {
  color: var(--brand-secondary);
}

/* Responsive affiliation strip, above the footer on all public pages */
.affiliations-section {
  padding: 58px 0 65px;
  background: #f8fafc;
  border-top: 1px solid #e6ebf2;
}
.affiliations-heading {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 650px;
}
.affiliations-eyebrow {
  display: block;
  color: #576a80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.affiliations-heading h2 {
  color: #172a43;
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.25;
  margin: 9px 0;
}
.affiliations-heading p {
  color: #607186;
  font-size: 14px;
  margin: 0;
}
.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.affiliation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  gap: 4px;
}
.affiliation-logo-link {
  display: flex;
  width: 100%;
  height: 100px;
  padding: 17px 20px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  margin-bottom: 6px;
}
a.affiliation-logo-link {
  transition: border-color .2s, box-shadow .2s;
}
a.affiliation-logo-link:hover,
a.affiliation-logo-link:focus-visible {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 18px rgba(12, 39, 72, .08);
}
.affiliation-logo-link img {
  display: block;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.affiliation-name {
  color: #263b54;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.affiliation-relationship {
  color: #66788c;
  font-size: 11px;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .affiliations-section { padding: 42px 0 48px; }
  .affiliations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .affiliation-logo-link { height: 86px; padding: 12px; }
  .affiliation-logo-link img { max-height: 58px; }
}


/* Theme coverage for secondary pages, navigation and content.
   Light surfaces use brand colors; dark hero surfaces use readable light text. */
.inner-hero {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--brand-primary) 82%, black),
    color-mix(in srgb, var(--brand-primary) 68%, black)
  );
  color: #fff;
}
.inner-hero h1 {
  color: #fff;
}
.inner-hero p {
  color: #e2e8f3;
}
.inner-hero .section-kicker {
  color: color-mix(in srgb, var(--brand-secondary) 80%, white);
}
.inner-hero .breadcrumbs {
  color: #d1dced;
}
.inner-hero .breadcrumbs a {
  color: #fff;
}
.main-nav > a:not(.nav-contact),
.main-nav .nav-dropdown > a {
  color: var(--brand-primary);
}
.main-nav > a:not(.nav-contact):hover,
.main-nav > a:not(.nav-contact).active,
.main-nav .nav-dropdown > a:hover,
.main-nav .nav-dropdown > a.active {
  color: var(--brand-primary);
  text-decoration: underline;
  text-decoration-color: var(--brand-secondary);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.main-nav .nav-submenu {
  background: #fff;
}
.main-nav .nav-submenu a {
  color: var(--brand-primary);
  text-decoration: none;
}
.main-nav .nav-submenu a:hover,
.main-nav .nav-submenu a:focus-visible {
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 9%, white);
}
.content-main > h2,
.info-panel h2,
.info-panel h3,
.side-panel h3,
.rich-content h2,
.rich-content h3,
.process-timeline h2,
.faq-cta h2,
.steps strong {
  color: var(--brand-primary);
}
.side-panel a,
.rich-content a,
.process-timeline a,
.back-link,
.article-end a,
.scheme-code,
.directory-grid .info-panel > a:not(.button) {
  color: var(--brand-primary);
}
.feature-icon,
.process-timeline li > span {
  background: color-mix(in srgb, var(--brand-primary) 9%, white);
  color: var(--brand-primary);
}
.rich-content blockquote,
.notice-panel {
  border-left-color: var(--brand-secondary);
}
.article-placeholder {
  background: linear-gradient(
    125deg,
    var(--brand-primary),
    color-mix(in srgb, var(--brand-primary) 75%, white)
  );
  color: #fff;
}
.section:not(.cta-section) .section-kicker,
.page-section .section-kicker {
  color: color-mix(in srgb, var(--brand-secondary) 65%, #172a43);
}
/* Keep contrast on the dark homepage hero and CTA. */
.hero h1,
.hero-copy > p,
.hero .hero-note {
  color: #fff;
}
.hero .eyebrow,
.hero h1 span {
  color: color-mix(in srgb, var(--brand-secondary) 80%, white);
}
.section .cta-box h2 {
  color: #fff;
}
.section .cta-box p {
  color: #e2e8f3;
}
.section .cta-box .section-kicker {
  color: color-mix(in srgb, var(--brand-secondary) 80%, white);
}
@media (max-width: 1050px) {
  .main-nav .nav-submenu {
    background: color-mix(in srgb, var(--brand-primary) 5%, white);
  }
}

/* UI audit: keyboard accessibility and consistent content tokens. */
html {
  scroll-padding-top: 24px;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--brand-secondary, #e5ad56);
  outline-offset: 3px;
}
.main-nav .nav-submenu a:focus-visible {
  background: color-mix(in srgb, var(--brand-primary) 9%, white);
  color: var(--brand-primary);
}
.main-nav .nav-submenu a[aria-current="page"] {
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 9%, white);
  font-weight: 800;
}
.rich-content {
  overflow-wrap: anywhere;
}
.rich-content img,
.article-detail img {
  max-width: 100%;
  height: auto;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
