:root {
  color-scheme: light;
  --shield-bg: #eef3eb;
  --shield-panel: #fbf7ee;
  --shield-ink: #12313c;
  --shield-muted: #5e6a65;
  --shield-sage: #8fa79d;
  --shield-copper: #c28a43;
  --shield-mint: #d8e6dd;
  --shield-line: rgba(18, 49, 60, 0.16);
  --shield-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(18, 49, 60, 0.04) 1px, transparent 1px) 0 0 /
      64px 64px,
    linear-gradient(rgba(18, 49, 60, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--shield-bg);
  color: var(--shield-ink);
  font-family: "Red Hat Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(194, 138, 67, 0.18);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(145deg, rgba(194, 138, 67, 0.14), transparent 32%),
    linear-gradient(315deg, rgba(18, 49, 60, 0.1), transparent 42%);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(194, 138, 67, 0.46);
  outline-offset: 4px;
}

section,
header {
  scroll-margin-top: 94px;
}

.shield-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-140%);
  border: 1px solid var(--shield-ink);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  background: var(--shield-panel);
  color: var(--shield-ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.26s var(--shield-ease);
}

.shield-skip:focus {
  transform: translateY(0);
}

.shield-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.shield-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--shield-line);
  padding: 1rem max(20px, calc((100vw - 1180px) / 2));
  background: rgba(238, 243, 235, 0.92);
  backdrop-filter: blur(18px);
}

.shield-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.64rem;
  color: var(--shield-ink);
  text-decoration: none;
}

.shield-brand span {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  border: 2px solid var(--shield-ink);
  border-radius: 50%;
  background: var(--shield-copper);
}

.shield-brand span::after {
  position: absolute;
  inset: 0.38rem;
  border-radius: 50%;
  background: var(--shield-panel);
  content: "";
}

.shield-brand strong {
  font-family: "Red Hat Display", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
}

.shield-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
}

.shield-links a,
.shield-link {
  color: var(--shield-muted);
  font-weight: 800;
  text-decoration-color: transparent;
  text-underline-offset: 0.3rem;
  transition:
    color 0.22s var(--shield-ease),
    text-decoration-color 0.22s var(--shield-ease);
}

.shield-links a:hover,
.shield-link:hover {
  color: var(--shield-ink);
  text-decoration-color: var(--shield-copper);
}

.shield-menu {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--shield-line);
  border-radius: 6px;
  background: var(--shield-panel);
  cursor: pointer;
}

.shield-menu span {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 5px auto;
  background: var(--shield-ink);
  transition:
    transform 0.24s var(--shield-ease),
    opacity 0.24s var(--shield-ease);
}

.shield-hero {
  padding: 6rem 0 5.5rem;
}

.shield-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.08fr);
  gap: 4rem;
  align-items: center;
}

.shield-kicker {
  margin: 0 0 1rem;
  color: var(--shield-copper);
  font-family: "Fragment Mono", Consolas, monospace;
  font-size: 0.78rem;
}

.shield-hero h1,
.shield-studio h2,
.shield-section-head h2,
.shield-method h2,
.shield-contact h2 {
  margin: 0;
  font-family: "Red Hat Display", "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 0.98;
  text-wrap: balance;
}

.shield-hero h1 {
  max-width: 11ch;
  font-size: 4.7rem;
}

.shield-hero p,
.shield-studio-copy p,
.shield-contact p {
  max-width: 60ch;
  color: var(--shield-muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.shield-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
  margin-top: 2rem;
}

.shield-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  border: 1px solid var(--shield-ink);
  border-radius: 6px;
  padding: 0.84rem 1.05rem;
  background: var(--shield-ink);
  color: var(--shield-panel);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(18, 49, 60, 0.18);
  transition:
    transform 0.25s var(--shield-ease),
    background-color 0.25s var(--shield-ease),
    box-shadow 0.25s var(--shield-ease);
}

.shield-button:hover {
  transform: translateY(-2px);
  background: #0d252e;
  box-shadow: 0 22px 42px rgba(18, 49, 60, 0.22);
}

.shield-button:active {
  transform: translateY(0) scale(0.985);
}

.shield-lens {
  position: relative;
  margin: 0;
}

.shield-lens img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--shield-line);
  border-radius: 8px;
  box-shadow: 18px 18px 0 rgba(143, 167, 157, 0.26);
}

.shield-lens figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  min-width: 12rem;
  border: 1px solid rgba(18, 49, 60, 0.18);
  border-radius: 6px;
  padding: 0.9rem;
  background: rgba(251, 247, 238, 0.92);
  color: var(--shield-ink);
  backdrop-filter: blur(12px);
}

.shield-lens span,
.shield-score span {
  color: var(--shield-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.shield-lens strong {
  font-family: "Red Hat Display", "Segoe UI", sans-serif;
  font-size: 3rem;
  line-height: 0.9;
}

.shield-studio {
  padding: 6rem 0;
  background: #12313c;
  color: var(--shield-panel);
}

.shield-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(450px, 1fr);
  gap: 4rem;
  align-items: start;
}

.shield-studio .shield-kicker {
  color: #d9a65c;
}

.shield-studio h2,
.shield-section-head h2,
.shield-method h2,
.shield-contact h2 {
  font-size: 3.3rem;
}

.shield-studio-copy p {
  color: #d9e2df;
}

.shield-control-panel {
  display: grid;
  gap: 1.05rem;
  border: 1px solid rgba(251, 247, 238, 0.22);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(251, 247, 238, 0.08);
}

.shield-control-panel label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #eff5f1;
  font-weight: 800;
}

.shield-control-panel label span {
  color: #d9a65c;
  font-family: "Fragment Mono", Consolas, monospace;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.shield-control-panel input[type="range"] {
  width: 100%;
  accent-color: var(--shield-copper);
}

.shield-score {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 1px;
  margin-top: 0.7rem;
  background: rgba(251, 247, 238, 0.16);
}

.shield-score > div,
.shield-score > p {
  margin: 0;
  padding: 1rem;
  background: #12313c;
}

.shield-score strong {
  display: block;
  margin-top: 0.3rem;
  font-family: "Red Hat Display", "Segoe UI", sans-serif;
  font-size: 2.3rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.shield-score p {
  grid-column: 1 / -1;
  color: #d9e2df;
  line-height: 1.55;
}

.shield-compare {
  padding: 6.5rem 0;
  background: var(--shield-panel);
}

.shield-section-head {
  max-width: 770px;
  margin-bottom: 2rem;
}

.shield-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--shield-line);
  border-radius: 8px;
  background: #fffdf7;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

caption {
  padding: 1rem;
  color: var(--shield-muted);
  text-align: left;
  font-weight: 800;
}

th,
td {
  border-top: 1px solid var(--shield-line);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--shield-copper);
  font-family: "Fragment Mono", Consolas, monospace;
  font-size: 0.78rem;
}

tbody th {
  font-family: "Red Hat Display", "Segoe UI", sans-serif;
  font-size: 1.25rem;
}

td {
  color: var(--shield-muted);
  line-height: 1.55;
}

.shield-method {
  padding: 6.5rem 0;
  background: var(--shield-bg);
}

.shield-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 3.5rem;
}

.shield-method ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--shield-line);
}

.shield-method li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  background: var(--shield-bg);
}

.shield-method li span {
  color: var(--shield-copper);
  font-family: "Fragment Mono", Consolas, monospace;
}

.shield-method strong {
  font-family: "Red Hat Display", "Segoe UI", sans-serif;
  font-size: 1.22rem;
}

.shield-method p {
  margin: 0;
  color: var(--shield-muted);
  line-height: 1.55;
}

.shield-contact {
  padding: 6rem 0;
  background: #d8e6dd;
}

.shield-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(390px, 0.82fr);
  gap: 3.5rem;
  align-items: start;
}

.shield-form {
  display: grid;
  gap: 0.78rem;
  border: 1px solid var(--shield-ink);
  border-radius: 8px;
  padding: 1.15rem;
  background: var(--shield-panel);
  box-shadow: 12px 12px 0 rgba(18, 49, 60, 0.12);
}

.shield-form label {
  color: var(--shield-muted);
  font-weight: 800;
}

.shield-form input,
.shield-form select {
  min-width: 0;
  border: 1px solid rgba(18, 49, 60, 0.22);
  border-radius: 5px;
  padding: 0.9rem 1rem;
  background: #fffdf8;
  color: var(--shield-ink);
  transition:
    border-color 0.22s var(--shield-ease),
    box-shadow 0.22s var(--shield-ease);
}

.shield-form input:focus-visible,
.shield-form select:focus-visible {
  border-color: var(--shield-copper);
  box-shadow: 0 0 0 4px rgba(194, 138, 67, 0.16);
}

.shield-error {
  min-height: 1.4rem;
  margin: 0.1rem 0;
  color: #8b3f1f;
  font-weight: 900;
}

.shield-footer {
  border-top: 1px solid var(--shield-line);
  padding: 1.4rem 0 2rem;
  background: var(--shield-panel);
  color: var(--shield-muted);
}

.shield-footer .shield-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.shield-footer p {
  max-width: 560px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .shield-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .shield-menu {
    display: inline-grid;
    place-items: center;
  }

  .shield-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--shield-line);
    border-radius: 8px;
    padding: 1rem;
    background: var(--shield-panel);
  }

  .shield-links.is-open {
    display: flex;
  }

  .shield-hero-grid,
  .shield-studio-grid,
  .shield-method-grid,
  .shield-contact-grid {
    grid-template-columns: 1fr;
  }

  .shield-lens {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .shield-wrap {
    width: min(100% - 28px, 1180px);
  }

  .shield-hero,
  .shield-studio,
  .shield-compare,
  .shield-method,
  .shield-contact {
    padding: 4rem 0;
  }

  .shield-hero h1 {
    font-size: 3.25rem;
  }

  .shield-studio h2,
  .shield-section-head h2,
  .shield-method h2,
  .shield-contact h2 {
    font-size: 2.45rem;
  }

  .shield-score,
  .shield-method li,
  .shield-footer .shield-wrap {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  th,
  td {
    display: block;
  }

  tbody tr {
    border-top: 1px solid var(--shield-line);
    padding: 0.85rem 0;
  }

  tbody th,
  tbody td {
    border-top: 0;
    padding: 0.35rem 1rem;
  }

  tbody td {
    display: grid;
    grid-template-columns: 8.2rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  tbody td::before {
    color: var(--shield-copper);
    font-family: "Fragment Mono", Consolas, monospace;
    font-size: 0.72rem;
  }

  tbody td:nth-of-type(1)::before {
    content: "Common gap";
  }

  tbody td:nth-of-type(2)::before {
    content: "Agency review";
  }

  tbody td:nth-of-type(3)::before {
    content: "Decision cue";
  }

  .shield-score > p {
    grid-column: auto;
  }

  .shield-control-panel label {
    display: grid;
  }

  .shield-lens img,
  .shield-form {
    box-shadow: none;
  }

  .shield-footer .shield-wrap {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
