/* WorldGEO document pages — additive styles for the static text pages
   (pricing, credentials, service landings, insights, help centre).
   Loaded only by pages generated by wg2026/build_expansion.py; it never
   overrides the SPA shell rules in styles.css / about.css. */

.wg-table-wrap {
  margin: 26px 0 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.wg-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
}

.wg-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.wg-table th,
.wg-table td {
  text-align: left;
  vertical-align: top;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wg-table th {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.wg-table td:first-child {
  color: #fff;
  font-weight: 600;
}

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

.wg-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.wg-bluf {
  font-size: 16.5px;
  line-height: 1.6;
  color: #fff;
  border-left: 2px solid rgba(255, 255, 255, 0.75);
  padding: 2px 0 2px 18px;
  margin: 4px 0 20px;
}

.wg-note {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left-width: 3px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13.5px;
  line-height: 1.6;
}

.wg-note h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.wg-note-warn { border-left-color: #ff5a3c; }
.wg-note-ok { border-left-color: #38d39f; }
.wg-note p:last-child { margin-bottom: 0; }

.wg-steps {
  list-style: none;
  margin: 24px 0 8px;
  padding: 0;
  counter-reset: wgstep;
}

.wg-steps li {
  position: relative;
  padding: 0 0 22px 54px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  margin-left: 16px;
}

.wg-steps li:last-child { border-left-color: transparent; padding-bottom: 4px; }

.wg-steps li::before {
  counter-increment: wgstep;
  content: counter(wgstep, decimal-leading-zero);
  position: absolute;
  left: -17px;
  top: -2px;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #050608;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
}

.wg-steps h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #fff;
}

.wg-steps p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }

.wg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  margin: 24px 0 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.wg-cards article {
  background: #050608;
  padding: 20px 20px 18px;
}

.wg-cards h3 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.wg-cards p { margin: 0; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.76); }

.wg-faq { margin: 18px 0 0; }

.wg-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
}

.wg-faq details:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

.wg-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.wg-faq summary::-webkit-details-marker { display: none; }
.wg-faq summary::before { content: "+"; color: rgba(255, 255, 255, 0.5); font-weight: 400; }
.wg-faq details[open] summary::before { content: "–"; }
.wg-faq .wg-faq-a { margin: 10px 0 0 24px; font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.78); }
.wg-faq .wg-faq-a strong { color: #fff; }

.wg-form {
  margin: 28px 0 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.wg-form h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #fff;
}

.wg-form > p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.76); }

.wg-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 12px;
}

.wg-form label { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 6px; }

.wg-form input,
.wg-form select,
.wg-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  border-radius: 0;
}

.wg-form input:focus,
.wg-form select:focus,
.wg-form textarea:focus { outline: 1px solid rgba(255, 255, 255, 0.65); border-color: transparent; }

.wg-form textarea { min-height: 96px; resize: vertical; }

.wg-form .wg-form-wide { grid-column: 1 / -1; }

.wg-form button {
  margin-top: 16px;
  padding: 13px 26px;
  background: #fff;
  color: #050608;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.wg-form button:disabled { opacity: 0.55; cursor: default; }

.wg-form-status { margin: 12px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); min-height: 18px; }
.wg-form-status[data-state="ok"] { color: #38d39f; }
.wg-form-status[data-state="error"] { color: #ff7a5c; }

.wg-meta-line {
  margin: 6px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.wg-toc { margin: 20px 0 4px; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.wg-toc li { margin: 0 0 8px; font-size: 13px; break-inside: avoid; }
.wg-toc a { color: rgba(255, 255, 255, 0.82); }

.wg-pill {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 720px) {
  .wg-toc { columns: 1; }
  .wg-bluf { font-size: 15px; }
}

.wg-step-label {
  display: inline-block;
  margin-right: 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
