/* Procyon Custody Ltd — deliberately plain. */

:root {
  --ink: #1d2320;
  --muted: #5b625e;
  --green: #1f3d31;
  --green-dark: #173026;
  --green-light: #e9eee9;
  --brass: #9a7b3f;
  --brass-light: #cdbf9c;
  --paper: #fbfaf6;
  --rule: #d6d3c8;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--green);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand:hover { color: #fff; }
.brand svg { width: 36px; height: 36px; }
.brand-name {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.brand-name small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--brass-light);
}
.site-header .lang {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 3px 8px;
}
.site-header .lang:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Menu bar */
.site-nav {
  background: var(--green-dark);
  border-bottom: 3px solid var(--brass);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 10px 16px;
  color: #e6e3d8;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav li:first-child a { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.site-nav a:hover { background: var(--green); color: #fff; }
.site-nav a.active { background: var(--brass); color: #fff; }

/* Page: content + sidebar */
.page {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  padding-top: 36px;
  padding-bottom: 48px;
}

.crumbs {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.content h1 {
  font-weight: normal;
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--green);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.content h2 {
  font-weight: normal;
  font-size: 1.25rem;
  color: var(--green);
  margin: 34px 0 12px;
}
.content h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--brass);
  margin-right: 10px;
  vertical-align: middle;
}
.content p { margin: 0 0 14px; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.objet {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  margin: 0;
  font-style: italic;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px dotted var(--rule);
  padding-top: 14px;
  margin-top: 30px !important;
}

ul.plain,
ol.plain {
  margin: 0 0 14px;
  padding-left: 22px;
}
ul.plain li,
ol.plain li { margin-bottom: 6px; }
ul.plain li::marker { color: var(--brass); }

.partner-logo { height: auto; }

/* Tables */
table.index,
table.details {
  border-collapse: collapse;
  width: 100%;
}
table.index th,
table.index td,
table.details th,
table.details td {
  text-align: left;
  vertical-align: top;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
}
table.index th {
  width: 180px;
  font-weight: normal;
  padding-right: 16px;
}
table.details th {
  width: 190px;
  font-weight: normal;
  color: var(--muted);
}

.todo {
  color: #a33;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

/* FAQ */
dl.faq { margin: 0; }
dl.faq dt {
  font-weight: bold;
  margin-top: 22px;
}
dl.faq dt:first-child { margin-top: 0; }
dl.faq dd {
  margin: 6px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px dotted var(--rule);
}

/* Sidebar */
.sidebar .box {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--green);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}
.sidebar .box-plain {
  border-top: 1px solid var(--rule);
  text-align: center;
}
.sidebar h4 {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
}
.sidebar p { margin: 0 0 8px; }
.sidebar img { max-width: 100%; height: auto; }
table.facts { border-collapse: collapse; width: 100%; }
table.facts th,
table.facts td {
  text-align: left;
  vertical-align: top;
  padding: 5px 0;
  border-bottom: 1px dotted var(--rule);
}
table.facts tr:last-child th,
table.facts tr:last-child td { border-bottom: 0; }
table.facts th {
  font-weight: normal;
  color: var(--muted);
  padding-right: 8px;
  width: 44%;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  background: #f3f1ea;
  padding: 24px 0 32px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
}
.site-footer p { margin: 0 0 6px; }
.footer-links { margin-bottom: 12px !important; }
.footer-links a { color: var(--muted); }

@media (max-width: 760px) {
  .page {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .brand-name { font-size: 1.05rem; }
  .site-nav a { padding: 9px 11px; }
  .content h1 { font-size: 1.55rem; }
  table.index th,
  table.index td { display: block; width: auto; }
  table.index th { border-bottom: 0; padding-bottom: 0; }
  table.details th { width: 120px; }
}
