/* Heimdall Bot responsive website
   Theme: white page background, charcoal panels, metallic silver and red 3D headings.
*/

@font-face {
  font-family: "HeimdallDisplay";
  src: url("../fonts/archivo-black.regular.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HeimdallAccent";
  src: url("../fonts/Bangers-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #ffffff;
  --page-soft: #f3f4f6;
  --ink: #101114;
  --panel: #070708;
  --panel-2: #141518;
  --panel-3: #202227;
  --white: #ffffff;
  --muted: #d6d8dc;
  --silver: #cfd1d4;
  --red: #d8000d;
  --red-bright: #ff242c;
  --red-dark: #650005;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 45px rgba(10, 12, 16, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: "HeimdallDisplay", Impact, Haettenschweiler, "Arial Black", sans-serif;
  --accent-font: "HeimdallAccent", "Arial Black", Impact, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% -120px, rgba(216, 0, 13, 0.08), transparent 360px),
    var(--page);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 700;
  box-shadow: var(--shadow);
}

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

/* Header and navigation */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), transparent 34%),
    linear-gradient(180deg, #202227 0%, #0b0c0e 64%, #050506 100%);
  border-top: 5px solid var(--red);
  border-bottom: 2px solid #8d0007;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.12),
    0 7px 22px rgba(0,0,0,.28);
  backdrop-filter: none;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-family: var(--display-font);
  font-size: clamp(1.1rem, 2vw, 1.46rem);
  letter-spacing: 0.055em;
  background: linear-gradient(180deg, #ffebeb 0%, #ff3138 22%, #b80008 55%, #ff333a 73%, #680005 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.35px #5a0004;
  text-shadow: 0 1px 0 #fff, 0 2px 0 #7d0006;
}

.brand-tag {
  margin-top: 6px;
  color: #bfc3c8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 9px;
  color: #f2f3f4;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255,255,255,.09);
  color: #ffffff;
  outline: none;
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(180deg, #ef222a, #9a0007);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.42), 0 4px 10px rgba(145,0,8,.24);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid #cfd2d6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 23px;
  height: 3px;
  border-radius: 99px;
  background: #18191c;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span {
  position: relative;
  margin: auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Shared metallic styling */

.metal-title {
  display: block;
  max-width: 100%;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(3rem, 8vw, 6.25rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: .008em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  background-color: #92989f;
  background-image: linear-gradient(
    180deg,
    #737a82 0%,
    #eef1f3 10%,
    #9ba1a7 20%,
    #343a41 33%,
    #d8dcdf 46%,
    #626970 58%,
    #f1f3f4 70%,
    #858c93 81%,
    #2f353b 92%,
    #aeb4ba 100%
  );
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: #aeb3b9;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.45px #1d2024;
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 #ffffff,
    0 2px 0 #8e949a,
    0 4px 0 #30343a,
    0 7px 10px rgba(0, 0, 0, .82);
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.52))
    drop-shadow(0 4px 2px rgba(0,0,0,.52));
}

.metal-title.small {
  font-size: clamp(2.65rem, 7vw, 5.2rem);
}

.red-metal {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .008em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background-color: #b90009;
  background-image: linear-gradient(
    180deg,
    #ffe7e8 0%,
    #ff5960 8%,
    #f20a16 23%,
    #a80009 42%,
    #ff3b44 58%,
    #c0000a 73%,
    #760006 88%,
    #3a0003 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: #c5000b;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.65px #f5f6f7;
  paint-order: stroke fill;
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 #272a2e)
    drop-shadow(0 3px 0 #5a0005)
    drop-shadow(0 6px 6px rgba(0,0,0,.68));
}

.red-metal.compact {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: #d9dce0;
  font-family: var(--display-font);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000;
}

.section-head .eyebrow {
  color: #8f0007;
  text-shadow: 0 1px 0 #fff;
}

.muted {
  color: var(--muted);
}

/* Black metallic panels */

.panel {
  position: relative;
  overflow: hidden;
  border: 2px solid #d1000b;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), transparent 28%),
    linear-gradient(180deg, #111215, #050506 54%, #0e0f12);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -1px 0 rgba(255,255,255,.08),
    0 0 0 4px #2e3035,
    0 0 0 6px #dedfe1,
    var(--shadow);
}

.panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 28, 38, .12), transparent 24%),
    linear-gradient(115deg, transparent 0 55%, rgba(255,255,255,.035) 55% 58%, transparent 58% 100%);
}

.panel > * {
  position: relative;
  z-index: 1;
}

/* Home hero */

.hero {
  padding: clamp(34px, 6vw, 72px) 0 42px;
}

.hero-panel {
  padding: clamp(28px, 5vw, 62px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff3038, #830006);
  content: "";
}

.hero-subtitle {
  max-width: 740px;
  margin: 23px 0 0;
  color: #fff;
  font-size: clamp(1.22rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
}

.hero-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #d9dadd;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-emblem {
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-emblem img {
  width: min(100%, 390px);
  filter: drop-shadow(0 20px 22px rgba(0,0,0,.75)) drop-shadow(0 0 18px rgba(255,0,12,.16));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  border-color: #ff454c;
  background: linear-gradient(180deg, #f42a31, #970007);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.5), 0 8px 18px rgba(178,0,10,.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.5), 0 12px 24px rgba(178,0,10,.42);
}

.button-secondary {
  border-color: #d8dadd;
  background: linear-gradient(180deg, #fff, #bcbfc4);
  color: #16171a;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #7e8185, 0 8px 18px rgba(0,0,0,.24);
}

/* Home sections */

.section {
  padding: clamp(28px, 5vw, 58px) 0;
}

.section-soft {
  background: linear-gradient(180deg, #f7f7f8, #eceef0);
  border-block: 1px solid #d7dade;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head p {
  margin: 0;
  color: #4e5157;
  font-size: 1.05rem;
}

.section-head .red-metal + p {
  margin-top: 10px;
}

.feature-panel {
  padding: clamp(24px, 4vw, 42px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  min-height: 100%;
  padding: 24px 20px 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #23252a, #0b0c0e 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.card-number {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 16px;
  border: 1px solid #ff4249;
  border-radius: 7px;
  background: linear-gradient(180deg, #e31d26, #700005);
  color: #fff;
  font-family: var(--display-font);
  font-size: .82rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.45);
}

.card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.17rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: #d5d7db;
}

.split-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(25px, 5vw, 48px);
}

.split-panel p {
  color: #d7d9dd;
}

.notice {
  margin-top: 20px;
  padding: 16px 17px;
  border-left: 5px solid var(--red-bright);
  border-radius: 0 10px 10px 0;
  background: rgba(255,255,255,.08);
  color: #f5f5f5;
}

.notice strong {
  color: #f1f2f4;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.35fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(25px, 4vw, 42px);
}

.cta-panel p {
  margin: 9px 0 0;
  color: #d8dade;
}

/* Legal pages */

.page-hero {
  padding: clamp(32px, 6vw, 70px) 0 30px;
}

.page-hero .panel {
  padding: clamp(28px, 5vw, 54px);
}

.page-hero p {
  max-width: 850px;
  margin: 18px 0 0;
  color: #d9dbdf;
  font-size: 1.06rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: #d8dbe0;
  font-size: .88rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding-bottom: clamp(46px, 7vw, 82px);
}

.legal-toc {
  position: sticky;
  top: 103px;
  max-height: calc(100vh - 126px);
  overflow: auto;
  padding: 20px;
  border: 2px solid #c9000a;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #1b1c20, #070708);
  color: #fff;
  box-shadow: 0 0 0 3px #34363b, 0 0 0 5px #d8d9dc, var(--shadow);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  color: #f1f2f4;
  font-family: var(--display-font);
  font-size: .93rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: #e7e8eb;
  font-size: .89rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: rgba(255,255,255,.1);
  color: #fff;
  outline: none;
}

.legal-content {
  padding: clamp(23px, 4vw, 46px);
  border: 2px solid #c9000a;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 24%),
    linear-gradient(180deg, #17181b, #060607 18%, #0b0c0e);
  color: #fff;
  box-shadow: 0 0 0 4px #313338, 0 0 0 6px #dcdddf, var(--shadow);
}

.legal-content section {
  scroll-margin-top: 105px;
}

.legal-content section + section {
  margin-top: 38px;
  padding-top: 33px;
  border-top: 1px solid rgba(255,255,255,.17);
}

.legal-content h2 {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 15px;
  font-family: var(--display-font);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .006em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background-color: #b90009;
  background-image: linear-gradient(
    180deg,
    #ffe7e8 0%,
    #ff5960 8%,
    #f20a16 23%,
    #a80009 42%,
    #ff3b44 58%,
    #c0000a 73%,
    #760006 88%,
    #3a0003 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: #c5000b;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.35px #f5f6f7;
  paint-order: stroke fill;
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 #272a2e)
    drop-shadow(0 3px 0 #5a0005)
    drop-shadow(0 5px 5px rgba(0,0,0,.72));
}

.legal-content h3 {
  margin: 24px 0 9px;
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.08rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: #f0f1f3;
}

.legal-content p {
  margin: 0 0 15px;
}

.legal-content ul,
.legal-content ol {
  margin: 11px 0 16px;
  padding-left: 1.45rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: #f1f2f4;
  font-weight: 800;
  text-underline-offset: 3px;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: #ffffff;
}

.definition,
.contact-box {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: #202126;
}

.contact-box p:last-child,
.definition:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  padding: 40px 0 18px;
  background: #070708;
  color: #fff;
  border-top: 5px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: var(--display-font);
  font-size: 1.35rem;
  letter-spacing: .05em;
}

.footer-copy {
  max-width: 760px;
  margin: 13px 0 0;
  color: #c9cbd0;
  font-size: .9rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 5px;
}

.footer-links a {
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #f0f1f3;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: #1d1e22;
  color: #f1f2f4;
  outline: none;
}

.copyright {
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #9fa2a8;
  font-size: .82rem;
}

/* Mobile-safe width protection */
main,
section,
article,
header,
footer,
nav,
.panel,
.hero-grid > *,
.split-panel > *,
.cta-panel > *,
.legal-layout > *,
.card,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

.legal-content a,
.notice,
.notice span,
.footer-copy,
.contact-box,
.definition,
.page-meta,
.site-nav a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Responsive behaviour */

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header {
    background:
      linear-gradient(180deg, rgba(255,255,255,.07), transparent 34%),
      linear-gradient(180deg, #202227 0%, #0b0c0e 64%, #050506 100%);
    border-bottom: 2px solid #8d0007;
    box-shadow:
      inset 0 -1px 0 rgba(255,255,255,.12),
      0 7px 22px rgba(0,0,0,.28);
    backdrop-filter: none;
  }

  .brand-name {
    background-image: linear-gradient(
      180deg,
      #fff5f5 0%,
      #ff5a60 16%,
      #c0000a 43%,
      #ff3139 61%,
      #7a0006 84%,
      #2d0002 100%
    );
    -webkit-text-stroke: .45px #f4f5f6;
    text-shadow:
      0 1px 0 #620005,
      0 2px 0 #1c1d20,
      0 3px 5px rgba(0,0,0,.65);
  }

  .nav-toggle {
    border: 1px solid #bfc2c6;
    background:
      linear-gradient(180deg, rgba(255,255,255,.12), transparent 42%),
      linear-gradient(180deg, #292b30, #090a0c);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.22),
      inset 0 -2px 0 rgba(0,0,0,.72),
      0 4px 10px rgba(0,0,0,.28);
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    background: #f0f1f2;
    box-shadow: 0 1px 0 #5d6268;
  }

  .js .site-nav {
    display: none;
  }

  .site-nav,
  .js .site-nav[data-open="true"] {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 9px 0 14px;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .js .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    color: #f2f3f4;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255,255,255,.09);
    color: #ffffff;
  }

  .site-nav a[aria-current="page"] {
    background: linear-gradient(180deg, #ef222a, #850006);
    color: #fff;
  }

  .site-nav a {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    order: -1;
  }

  .hero-emblem img {
    width: min(68vw, 300px);
  }

  .hero-panel {
    text-align: center;
  }

  .hero-kicker,
  .actions {
    justify-content: center;
  }

  .hero-subtitle,
  .hero-lead {
    margin-inline: auto;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: .96rem;
    line-height: 1.58;
  }

  .container {
    width: calc(100% - 24px);
    max-width: var(--container);
  }

  .site-header {
    border-top-width: 4px;
  }

  .brand-name {
    font-size: .96rem;
    letter-spacing: .035em;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-panel,
  .page-hero .panel {
    padding: 22px 15px;
  }

  .panel,
  .legal-content {
    border-radius: 20px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      0 0 0 2px #2e3035,
      0 0 0 3px #dedfe1,
      0 12px 28px rgba(10,12,16,.2);
  }

  .metal-title {
    font-size: clamp(2.05rem, 10.5vw, 3rem);
    line-height: 1;
    letter-spacing: 0;
    background-image: linear-gradient(
      180deg,
      #697078 0%,
      #eef1f3 12%,
      #8d949b 24%,
      #2d3339 37%,
      #d5d9dc 50%,
      #596067 63%,
      #edf0f2 76%,
      #747b82 88%,
      #30363c 100%
    );
    -webkit-text-stroke-width: 1px;
    text-shadow:
      0 1px 0 #ffffff,
      0 2px 0 #777d83,
      0 3px 0 #25292e,
      0 5px 7px rgba(0, 0, 0, .82);
  }

  .metal-title.small {
    font-size: clamp(1.85rem, 8.8vw, 2.55rem);
  }

  .red-metal,
  .red-metal.compact {
    font-size: clamp(1.42rem, 7vw, 2rem);
    line-height: 1.08;
    -webkit-text-stroke-width: 1.15px;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .split-panel,
  .cta-panel {
    padding: 22px 17px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .legal-content {
    padding: 21px 15px;
  }

  .legal-content h2 {
    font-size: clamp(1.18rem, 5.8vw, 1.55rem);
    line-height: 1.16;
    -webkit-text-stroke-width: 1px;
  }

  .legal-content section + section {
    margin-top: 30px;
    padding-top: 27px;
  }

  .page-meta {
    display: grid;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 18px);
  }

  .nav-wrap {
    gap: 6px 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    width: 44px;
  }

  .brand-name {
    font-size: .86rem;
  }

  .hero-panel,
  .page-hero .panel,
  .feature-panel,
  .split-panel,
  .cta-panel,
  .legal-content {
    padding-inline: 13px;
  }

  .metal-title {
    font-size: clamp(1.9rem, 10vw, 2.35rem);
  }

  .metal-title.small {
    font-size: clamp(1.72rem, 8.3vw, 2.1rem);
  }

  .red-metal,
  .red-metal.compact {
    font-size: clamp(1.28rem, 6.6vw, 1.65rem);
  }

  .legal-content h2 {
    font-size: clamp(1.08rem, 5.4vw, 1.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .container {
    width: 100%;
  }

  .page-hero {
    padding: 0 0 18px;
  }

  .page-hero .panel,
  .legal-content {
    padding: 0;
    border: 0;
    background: #fff;
    color: #000;
    box-shadow: none;
  }

  .metal-title,
  .legal-content h2 {
    background: none;
    color: #000;
    -webkit-text-stroke: 0;
    text-shadow: none;
  }

  .page-hero p,
  .page-meta,
  .legal-content p,
  .legal-content li {
    color: #000;
  }

  .legal-content section {
    break-inside: avoid;
  }
}
