:root {
  color-scheme: dark;
  --ink: #ecf8f7;
  --muted: #b9d2d0;
  --line: rgba(128, 232, 216, 0.22);
  --panel: rgba(10, 48, 55, 0.88);
  --panel-strong: #0b3940;
  --accent: #6ee7d2;
  --accent-2: #9ce9ff;
  --warning: #ffe09c;
  --page: #061c28;
}

* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(41, 140, 151, 0.30), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(21, 108, 89, 0.25), transparent 34rem),
    var(--page);
  font: 400 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.human-trust-layer-page .site-main,
body.human-trust-layer-page .entry,
body.human-trust-layer-page .entry-content,
body.human-trust-layer-page .wp-block-post-content,
body.human-trust-layer-page .wp-site-blocks > main {
  width: 100%; max-width: none; margin: 0; padding: 0;
}
body.human-trust-layer-page .htl-shell { max-width: 1180px; }
body.human-trust-layer-page .entry-content > .htl-shell { margin-inline: auto; }
a { color: var(--accent-2); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--warning); outline-offset: 4px; }
.htl-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 72px; }
.htl-preview-bar {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  margin-bottom: 18px; padding: 12px 16px; border: 1px solid rgba(255, 224, 156, .35);
  border-radius: 16px; background: rgba(75, 54, 16, .32); color: #ffedc0; font-size: .88rem;
}
.htl-brand { color: var(--ink); font-weight: 750; letter-spacing: .04em; text-decoration: none; }
.htl-preview-bar > p:empty { display: none; }
.htl-language { display: flex; gap: 8px; }
.htl-language button {
  min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  background: transparent; color: var(--ink); font: inherit; cursor: pointer;
}
.htl-language button[aria-pressed="true"] { color: #052821; background: var(--accent); border-color: var(--accent); font-weight: 750; }
.htl-hero {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 24px; padding: clamp(28px, 5vw, 68px); border: 1px solid var(--line);
  border-radius: 30px; background: linear-gradient(135deg, rgba(21, 93, 113, .90), rgba(8, 71, 59, .90));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}
.htl-kicker { margin: 0 0 14px; color: var(--accent); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: .76rem; }
.htl-hero h1 { max-width: 16ch; margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.htl-deck { max-width: 68ch; margin: 24px 0 0; color: #d7ebe9; font-size: clamp(1.04rem, 2vw, 1.3rem); }
.htl-trust-card { align-self: end; padding: 24px; border: 1px solid rgba(110, 231, 210, .34); border-radius: 22px; background: rgba(3, 31, 35, .58); }
.htl-trust-card strong { display: block; margin-bottom: 10px; font-size: 1.4rem; line-height: 1.15; }
.htl-trust-card p { margin: 0; color: var(--muted); }
.htl-main { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; margin-top: 28px; }
.htl-article { padding: clamp(24px, 5vw, 58px); border: 1px solid var(--line); border-radius: 26px; background: var(--panel); }
.htl-article h2 { margin: 2.2em 0 .55em; font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -.035em; }
.htl-article p, .htl-article li { color: #d6e7e5; }
.htl-article li + li { margin-top: .75em; }
.htl-article strong { color: white; }
.htl-side { display: grid; align-content: start; gap: 16px; }
.htl-side section, .htl-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(8, 42, 48, .84); }
.htl-side h2, .htl-card h2, .htl-card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.htl-side p, .htl-card p { margin: 0; color: var(--muted); }
.htl-status { display: inline-flex; margin-bottom: 12px; padding: 5px 9px; border: 1px solid rgba(255, 224, 156, .45); border-radius: 999px; color: var(--warning); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.htl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.htl-button { display: inline-flex; min-height: 46px; align-items: center; padding: 11px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 750; }
.htl-button--primary { color: #042b25; background: var(--accent); border-color: var(--accent); }
.htl-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.htl-three .htl-card { min-height: 170px; }
.htl-footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
[hidden] { display: none !important; }
@media (max-width: 1100px) {
  .htl-hero, .htl-main { grid-template-columns: 1fr; }
  .htl-trust-card { align-self: auto; }
}
@media (max-width: 640px) {
  .htl-three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .htl-shell { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .htl-preview-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 6px 10px; padding: 10px 12px;
  }
  .htl-brand { grid-column: 1 / -1; line-height: 1.3; }
  .htl-preview-bar > span { min-width: 0; font-size: .82rem; line-height: 1.35; }
  .htl-language { justify-self: end; }
  .htl-hero { gap: 18px; border-radius: 22px; padding: 24px 18px; }
  .htl-hero h1 { max-width: none; font-size: clamp(2.125rem, 9.2vw, 2.5rem); line-height: 1.04; }
  .htl-deck { margin-top: 18px; }
  .htl-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .htl-button { width: 100%; min-height: 48px; justify-content: center; text-align: center; }
  .htl-trust-card { padding: 20px; }
  .htl-article { border-radius: 22px; padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
