:root {
  --bg: #0b231f;
  --bg-soft: #12352f;
  --bg-card: #183d36;
  --bg-dark: #061512;
  --text: #efe5c8;
  --text-strong: #fff4cf;
  --text-muted: #b2a988;
  --border: rgba(191, 170, 105, 0.38);
  --border-dark: #b8a15e;
  --gold: #c7aa5a;
  --gold-bright: #ead288;
  --teal: #2e7467;
  --teal-light: #6fb9a7;
  --ink: #04100e;
  --white: #fff8dc;
  --font-mono: "Share Tech Mono", monospace;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-data: "Space Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(46, 116, 103, 0.45), transparent 38%),
    linear-gradient(180deg, #09201c 0%, #0b231f 46%, #061512 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(6, 21, 18, 0.88);
  border-bottom: 2px solid var(--border-dark);
  backdrop-filter: blur(18px);
}

.nav-logo,
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(234, 210, 136, 0.2));
}

.brand-mark {
  width: 28px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.brand-mark i {
  display: block;
  width: 7px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-bright), #8c7a44);
  transform: rotate(42deg);
  box-shadow: 0 0 18px rgba(234, 210, 136, 0.25);
}

.brand-mark i:first-child,
.brand-mark i:last-child {
  height: 13px;
  opacity: 0.78;
}

.brand-mark.small {
  width: 22px;
  height: 18px;
}

.brand-mark.small i {
  width: 5px;
  height: 18px;
}

.brand-mark.small i:first-child,
.brand-mark.small i:last-child {
  height: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-links .nav-cta {
  padding: 9px 15px;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 700;
}

.nav-links .nav-cta:hover {
  color: var(--ink);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.hero {
  min-height: calc(100vh - 72px);
  padding-top: 58px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--border-dark);
}

.hero-art {
  position: absolute;
  inset: 58px 0 0;
  opacity: 0.98;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-image:
    url("assets/hermes-bank-banner.png");
  background-size: cover;
  background-position: center;
  filter: blur(12px) saturate(1.04);
  transform: scale(1.04);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(6, 21, 18, 0.86), rgba(6, 21, 18, 0.5) 48%, rgba(6, 21, 18, 0.76)),
    linear-gradient(180deg, rgba(6, 21, 18, 0.1), rgba(6, 21, 18, 0.94)),
    url("assets/hermes-bank-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid-bg,
.cta-band-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(191, 170, 105, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 170, 105, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.34;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(6, 21, 18, 0.96));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 88px 40px 64px;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
}

.hero-label,
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-label::before,
.section-eyebrow::before {
  content: "//";
  color: var(--border-dark);
}

.hero-title {
  margin-bottom: 24px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(40px, 5.35vw, 72px);
  font-weight: 400;
  line-height: 1.08;
}

.line-accent {
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(234, 210, 136, 0.24);
}

.hero-sub {
  max-width: 520px;
  margin-bottom: 38px;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary,
.btn-secondary,
.btn-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 12px 28px;
  border: 2px solid var(--gold);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
}

.btn-primary {
  gap: 10px;
  color: var(--ink);
  background: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  color: var(--text-strong);
  background: rgba(6, 21, 18, 0.34);
}

.btn-secondary:hover {
  background: rgba(199, 170, 90, 0.12);
}

.card-console {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-card-image {
  display: block;
  width: min(680px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.42));
}

.card-preview-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 21, 18, 0.92), rgba(13, 42, 37, 0.94)),
    url("assets/hermes-bank-banner.png");
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid var(--border-dark);
}

.card-preview-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(191, 170, 105, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 170, 105, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}

.card-preview-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: center;
}

.card-stack {
  position: relative;
  min-height: 430px;
  perspective: 1100px;
}

.agent-card {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: 0;
  width: min(640px, 96%);
  aspect-ratio: 1.62;
  padding: 42px 48px;
  border: 1.5px solid rgba(234, 210, 136, 0.76);
  border-radius: 26px;
  background:
    linear-gradient(112deg, rgba(255, 244, 207, 0.18), transparent 30%),
    radial-gradient(circle at 58% 34%, rgba(58, 126, 112, 0.48), transparent 38%),
    radial-gradient(circle at 22% 80%, rgba(0, 0, 0, 0.5), transparent 34%),
    linear-gradient(145deg, #12473d 0%, #092923 48%, #061611 100%);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.58),
    0 2px 0 rgba(234, 210, 136, 0.72),
    inset 0 0 0 1px rgba(255, 244, 207, 0.22),
    inset 0 -18px 42px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transform: rotate(3.2deg) translateZ(0);
  transform-origin: 54% 48%;
}

.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(26deg, transparent 0 42%, rgba(234, 210, 136, 0.22) 42.2%, transparent 42.7% 100%),
    linear-gradient(107deg, transparent 0 55%, rgba(234, 210, 136, 0.18) 55.2%, transparent 55.7% 100%),
    linear-gradient(151deg, transparent 0 62%, rgba(234, 210, 136, 0.13) 62.2%, transparent 62.7% 100%),
    radial-gradient(circle at 18% 28%, rgba(234, 210, 136, 0.22) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 72%, rgba(234, 210, 136, 0.18) 0 1px, transparent 1.5px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 18px 18px, 22px 22px;
  opacity: 0.54;
  z-index: 0;
}

.agent-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 244, 207, 0.16);
  border-radius: 21px;
  pointer-events: none;
  z-index: 0;
}

.card-laurel {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 47%;
  width: 44%;
  max-width: 300px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter:
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 10px rgba(234, 210, 136, 0.22))
    sepia(0.18)
    saturate(1.04)
    brightness(1.08);
}

.card-chip {
  position: absolute;
  z-index: 2;
  top: 118px;
  left: 62px;
  width: 72px;
  height: 55px;
  margin: 0;
  border: 1px solid rgba(4, 16, 14, 0.6);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 31%, rgba(4, 16, 14, 0.42) 32%, rgba(4, 16, 14, 0.42) 34%, transparent 35%, transparent 65%, rgba(4, 16, 14, 0.42) 66%, rgba(4, 16, 14, 0.42) 68%, transparent 69%),
    linear-gradient(180deg, transparent 31%, rgba(4, 16, 14, 0.42) 32%, rgba(4, 16, 14, 0.42) 34%, transparent 35%, transparent 65%, rgba(4, 16, 14, 0.42) 66%, rgba(4, 16, 14, 0.42) 68%, transparent 69%),
    linear-gradient(145deg, #f7dfa0, #9b762e 72%);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 244, 207, 0.7);
}

.card-chip::before,
.card-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(4, 16, 14, 0.28);
}

.card-chip::before {
  top: 13px;
}

.card-chip::after {
  top: 26px;
}

.contactless {
  position: absolute;
  z-index: 2;
  left: 108px;
  top: 123px;
  width: 34px;
  height: 38px;
}

.contactless i {
  position: absolute;
  top: 4px;
  left: 0;
  width: 26px;
  height: 30px;
  border-right: 3px solid rgba(255, 244, 207, 0.84);
  border-radius: 50%;
}

.contactless i:nth-child(2) {
  left: 7px;
}

.contactless i:nth-child(3) {
  left: 14px;
}

.card-number {
  position: relative;
  z-index: 2;
  margin-top: 46px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.card-bottom {
  margin-top: 68px;
  color: rgba(239, 229, 200, 0.66);
  text-transform: none;
}

.card-rail {
  position: absolute;
  z-index: 2;
  inset: auto 54px 48px auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.card-rail span {
  color: rgba(239, 229, 200, 0.42);
  font-size: 12px;
}

.card-rail b {
  color: rgba(234, 210, 136, 0.9);
  font-family: Arial, sans-serif;
  font-size: 58px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.8;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.48);
}

.terminal-window {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  overflow: hidden;
  border: 2px solid var(--border-dark);
  background: rgba(255, 248, 220, 0.93);
  box-shadow: 8px 8px 0 var(--ink);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-dark);
}

.terminal-titlebar span:last-child {
  flex: 1;
  color: rgba(239, 229, 200, 0.62);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pixel-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex: 0 0 auto;
}

.pixel-dot.red {
  background: #b16652;
}

.pixel-dot.yellow {
  background: #d3b45b;
}

.pixel-dot.green {
  background: #5aa889;
}

.terminal-body {
  min-height: 292px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.96), rgba(236, 225, 186, 0.96)),
    radial-gradient(circle at 80% 0%, rgba(199, 170, 90, 0.2), transparent 36%);
}

.terminal-line {
  display: flex;
  gap: 10px;
  color: #102b26;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
}

.terminal-line.indent {
  padding-left: 24px;
}

.prompt,
.success {
  color: #1e7464;
}

.label {
  color: #6c6249;
  font-size: 12px;
}

.cursor {
  width: 9px;
  height: 15px;
  display: inline-block;
  margin-left: 2px;
  vertical-align: middle;
  background: var(--teal);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.network-strip {
  border-bottom: 2px solid var(--border-dark);
  background: rgba(6, 21, 18, 0.66);
}

.platforms-bar {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.platforms-label {
  min-width: max-content;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.platform-chip {
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 248, 220, 0.04);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-chip:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-divider {
  border: none;
  border-top: 2px solid var(--border-dark);
}

.section-title {
  margin-bottom: 16px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}

.section-sub {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.how-grid,
.features-layout,
.pricing-grid,
.faq-list {
  margin-top: 48px;
  border: 2px solid var(--border-dark);
  background: rgba(6, 21, 18, 0.22);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.how-step {
  position: relative;
  padding: 36px 32px;
  border-right: 2px solid var(--border-dark);
}

.how-step:last-child {
  border-right: none;
}

.how-step::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -16px;
  padding: 2px 4px;
  color: var(--gold);
  background: var(--bg);
  font-size: 20px;
  transform: translateY(-50%);
}

.how-step:last-child::after {
  display: none;
}

.how-step-num {
  display: block;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.glyph {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 2px solid var(--gold);
  background:
    linear-gradient(90deg, transparent 46%, var(--gold) 48%, var(--gold) 52%, transparent 54%),
    linear-gradient(180deg, transparent 46%, var(--gold) 48%, var(--gold) 52%, transparent 54%);
  box-shadow: inset 0 0 0 8px rgba(199, 170, 90, 0.12);
}

.glyph-card {
  border-radius: 3px;
  background:
    linear-gradient(180deg, transparent 34%, var(--gold) 36%, var(--gold) 42%, transparent 44%),
    linear-gradient(90deg, transparent 18%, var(--gold) 20%, var(--gold) 32%, transparent 34%);
}

.glyph-relay {
  transform: rotate(45deg);
}

.how-step h3,
.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.how-step p,
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.features-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  padding: 36px 32px;
  border-right: 2px solid var(--border-dark);
  border-bottom: 2px solid var(--border-dark);
}

.feature-card:nth-child(2n) {
  border-right: none;
}

.feature-card:nth-child(n + 3) {
  border-bottom: none;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 3px 8px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: rgba(199, 170, 90, 0.13);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--border-dark);
  background: rgba(255, 248, 220, 0.035);
}

.pricing-card:last-child {
  border-right: none;
}

.pricing-card.featured {
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(234, 210, 136, 0.98), rgba(145, 127, 71, 0.96)),
    url("assets/hermes-bank-banner.png");
}

.pricing-tier {
  display: block;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card.featured .pricing-tier,
.pricing-card.featured .pricing-period,
.pricing-card.featured .pricing-features li {
  color: rgba(4, 16, 14, 0.78);
}

.pricing-price {
  margin-bottom: 4px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
}

.pricing-card.featured .pricing-price {
  color: var(--ink);
}

.pricing-period {
  display: block;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 12px;
}

.pricing-divider {
  margin-bottom: 24px;
  border: none;
  border-top: 1.5px solid var(--border);
}

.pricing-card.featured .pricing-divider {
  border-color: rgba(4, 16, 14, 0.28);
}

.pricing-features {
  flex: 1;
  margin-bottom: 32px;
  list-style: none;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
}

.pricing-features li::before {
  content: "▸";
  flex: 0 0 auto;
  color: var(--gold-bright);
  font-size: 10px;
}

.pricing-card.featured .pricing-features li {
  border-color: rgba(4, 16, 14, 0.2);
}

.pricing-card.featured .pricing-features li::before {
  color: var(--ink);
}

.btn-pricing {
  width: 100%;
  color: var(--text-strong);
  background: transparent;
}

.btn-pricing:hover,
.pricing-card.featured .btn-pricing {
  color: var(--ink);
  background: var(--gold);
}

.pricing-card.featured .btn-pricing {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--text-strong);
}

.pricing-card.featured .btn-pricing:hover {
  background: rgba(4, 16, 14, 0.82);
}

.agent-access-section {
  position: relative;
}

.agent-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 42px;
  border: 2px solid var(--border-dark);
  background: rgba(6, 21, 18, 0.26);
}

.agent-access-card {
  min-height: 220px;
  padding: 32px;
  border-right: 2px solid var(--border-dark);
}

.agent-access-card:last-child {
  border-right: none;
}

.agent-access-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.agent-access-card h3 {
  margin-bottom: 12px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
}

.agent-access-card p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.agent-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  border-bottom: 1.5px solid var(--border-dark);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  color: var(--text-strong);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 15px;
  text-align: left;
}

.faq-q .arrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-style: normal;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .arrow {
  transform: rotate(90deg);
}

.faq-a {
  display: none;
  padding: 20px 28px 24px;
  border-top: 1.5px dashed var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--border-dark);
  border-bottom: 2px solid var(--border-dark);
  background:
    linear-gradient(90deg, rgba(6, 21, 18, 0.96), rgba(11, 35, 31, 0.88)),
    url("assets/hermes-bank-banner.png");
  background-size: cover;
  background-position: center;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  max-width: 640px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}

.cta-band-sub {
  max-width: 560px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--border-dark);
}

.footer-top {
  max-width: 1220px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1.5px solid var(--border);
}

.footer-tagline {
  max-width: 310px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.dashboard-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(6, 21, 18, 0.84), rgba(6, 21, 18, 0.96)),
    url("assets/hermes-bank-banner.png");
  background-size: cover;
  background-position: center top;
}

.dashboard-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 112px 40px 80px;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 36px;
}

.dashboard-title {
  max-width: 760px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.12;
}

.dashboard-sub {
  max-width: 560px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.dashboard-ledger {
  min-width: 260px;
  padding: 20px 22px;
  border: 2px solid var(--border-dark);
  background: rgba(6, 21, 18, 0.74);
  box-shadow: 5px 5px 0 rgba(4, 16, 14, 0.9);
}

.dashboard-ledger span,
.panel-kicker,
.field span,
.crypto-box span,
.issued-data dt {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-ledger strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 400;
}

.dashboard-ledger small,
.crypto-box small,
.balance-card small {
  display: block;
  margin-top: 4px;
  color: rgba(239, 229, 200, 0.52);
  font-size: 13px;
}

.balance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.balance-card {
  min-height: 126px;
  padding: 18px;
  border: 1.5px solid var(--border-dark);
  background:
    linear-gradient(180deg, rgba(9, 32, 28, 0.86), rgba(6, 21, 18, 0.92)),
    linear-gradient(90deg, rgba(199, 170, 90, 0.08), transparent 58%);
}

.balance-card span {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.balance-card strong {
  display: block;
  margin-top: 14px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.issue-panel,
.issued-panel {
  border: 2px solid var(--border-dark);
  background:
    linear-gradient(180deg, rgba(9, 32, 28, 0.94), rgba(6, 21, 18, 0.96));
  box-shadow: 8px 8px 0 rgba(4, 16, 14, 0.72);
}

.issue-panel {
  padding: 24px;
}

.issued-panel {
  min-height: 594px;
  padding: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1.5px solid var(--border);
}

.panel-head strong {
  color: var(--gold-bright);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--border);
  background: rgba(4, 16, 14, 0.6);
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 0 12px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold-bright);
}

.crypto-box {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  margin: 4px 0 18px;
  border: 1.5px dashed var(--border-dark);
  background: rgba(199, 170, 90, 0.08);
}

.crypto-box strong {
  display: block;
  margin-top: 5px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
}

.dashboard-submit {
  width: 100%;
}

.issued-tabs {
  display: flex;
  gap: 8px;
  min-height: 42px;
  margin-bottom: 22px;
  overflow-x: auto;
}

.issued-tab {
  min-width: 92px;
  height: 38px;
  border: 1.5px solid var(--border);
  background: rgba(4, 16, 14, 0.48);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issued-tab.active,
.issued-tab:hover {
  border-color: var(--gold-bright);
  color: var(--ink);
  background: var(--gold);
}

.issued-empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  text-align: center;
  color: var(--text-muted);
}

.issued-empty[hidden] {
  display: none;
}

.issued-empty img {
  width: min(440px, 80%);
  opacity: 0.55;
  filter: grayscale(0.15);
}

.issued-empty p {
  max-width: 360px;
  margin-top: 20px;
}

.issued-detail {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
}

.issued-detail[hidden] {
  display: none;
}

.issued-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border: 1.5px solid var(--border);
  background: rgba(4, 16, 14, 0.34);
}

.issued-card-art img {
  width: min(500px, 96%);
  height: auto;
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.36));
}

.issued-data {
  padding: 22px;
  border-left: 2px solid var(--border-dark);
}

.issued-status {
  display: inline-block;
  padding: 5px 10px;
  margin-bottom: 16px;
  border: 1px solid #69b994;
  color: #9ee4be;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.issued-data h2 {
  margin-bottom: 22px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 400;
}

.issued-data dl {
  display: grid;
  gap: 12px;
}

.issued-data dl div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.issued-data dd {
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.transactions-panel {
  margin-top: 28px;
  padding: 24px;
  border: 2px solid var(--border-dark);
  background:
    linear-gradient(180deg, rgba(9, 32, 28, 0.92), rgba(6, 21, 18, 0.96));
  box-shadow: 8px 8px 0 rgba(4, 16, 14, 0.72);
}

.tx-table-wrap {
  overflow-x: auto;
}

.tx-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.tx-table th,
.tx-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(199, 170, 90, 0.24);
  text-align: left;
  white-space: nowrap;
}

.tx-table th {
  color: var(--gold-bright);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tx-table tr:last-child td {
  border-bottom: none;
}

.tx-status {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid rgba(239, 229, 200, 0.22);
  color: var(--text-strong);
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tx-status.confirmed,
.tx-status.delivered {
  border-color: rgba(105, 185, 148, 0.72);
  color: #9ee4be;
}

.agent-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 112px 40px 80px;
}

.agent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 2px solid var(--border-dark);
}

.agent-token-card {
  padding: 22px;
  border: 2px solid var(--border-dark);
  background:
    linear-gradient(180deg, rgba(9, 32, 28, 0.88), rgba(6, 21, 18, 0.96));
  box-shadow: 6px 6px 0 rgba(4, 16, 14, 0.72);
}

.agent-token-card span {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-token-card strong {
  display: block;
  margin-top: 12px;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 400;
}

.agent-token-card small {
  display: block;
  margin-top: 6px;
  color: rgba(239, 229, 200, 0.52);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.agent-panel {
  min-width: 0;
  padding: 24px;
  border: 2px solid var(--border-dark);
  background:
    linear-gradient(180deg, rgba(9, 32, 28, 0.92), rgba(6, 21, 18, 0.96));
  box-shadow: 7px 7px 0 rgba(4, 16, 14, 0.66);
}

.agent-panel.wide {
  grid-column: 1 / -1;
}

.agent-panel p,
.agent-steps li {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.agent-panel pre {
  overflow-x: auto;
  margin-top: 18px;
  padding: 18px;
  border: 1.5px solid var(--border);
  background: rgba(4, 16, 14, 0.66);
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.72;
}

.agent-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.agent-steps {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.docs-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 112px 40px 80px;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  padding: 18px;
  border: 2px solid var(--border-dark);
  background: rgba(6, 21, 18, 0.82);
  box-shadow: 5px 5px 0 rgba(4, 16, 14, 0.72);
}

.docs-sidebar-title {
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-sidebar a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid rgba(199, 170, 90, 0.16);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.docs-sidebar a:hover {
  color: var(--gold-bright);
}

.docs-book {
  min-width: 0;
}

.docs-hero {
  padding-bottom: 34px;
  border-bottom: 2px solid var(--border-dark);
}

.docs-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.docs-status-row span {
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 248, 220, 0.04);
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-section {
  padding: 40px 0;
  border-bottom: 2px solid var(--border-dark);
}

.docs-section:last-child {
  border-bottom: none;
}

.docs-section-kicker {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-section h2 {
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}

.docs-section p,
.docs-section li {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
}

.docs-section p {
  max-width: 820px;
  margin-bottom: 18px;
}

.docs-section ol,
.docs-section ul {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin: 18px 0;
  padding-left: 22px;
}

.docs-section pre {
  overflow-x: auto;
  margin: 22px 0;
  padding: 20px;
  border: 1.5px solid var(--border);
  background:
    linear-gradient(180deg, rgba(4, 16, 14, 0.72), rgba(4, 16, 14, 0.9));
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.72;
  box-shadow: 5px 5px 0 rgba(4, 16, 14, 0.62);
}

.docs-callout {
  max-width: 820px;
  margin: 22px 0;
  padding: 18px 20px;
  border: 2px solid var(--border-dark);
  color: var(--text-strong);
  background:
    linear-gradient(90deg, rgba(199, 170, 90, 0.16), rgba(9, 32, 28, 0.78));
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.docs-table {
  width: 100%;
  max-width: 900px;
  margin: 22px 0;
  overflow-x: auto;
  border-collapse: collapse;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.docs-table th,
.docs-table td {
  padding: 14px 12px;
  border: 1px solid rgba(199, 170, 90, 0.22);
  text-align: left;
  vertical-align: top;
}

.docs-table th {
  color: var(--gold-bright);
  background: rgba(199, 170, 90, 0.08);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-nav {
    padding: 0 22px;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 88px 24px 64px;
  }

  .card-preview-copy {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .card-stack {
    min-height: 410px;
  }

  .agent-card {
    top: 44px;
    right: 0;
    width: min(580px, 96%);
    transform: rotate(2deg) translateZ(0);
  }

  .how-grid,
  .features-layout,
  .pricing-grid,
  .agent-access-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .how-step,
  .feature-card,
  .agent-access-card,
  .pricing-card {
    border-right: none;
    border-bottom: 2px solid var(--border-dark);
  }

  .how-step:last-child,
  .feature-card:last-child,
  .agent-access-card:last-child,
  .pricing-card:last-child {
    border-bottom: none;
  }

  .feature-card:nth-child(n + 3) {
    border-bottom: 2px solid var(--border-dark);
  }

  .how-step::after {
    display: none;
  }

  .section {
    padding: 58px 24px;
  }

  .platforms-bar {
    padding: 20px 24px;
    flex-wrap: wrap;
    gap: 18px;
  }

  .dashboard-shell {
    padding: 96px 24px 60px;
  }

  .agent-shell {
    padding: 96px 24px 60px;
  }

  .dashboard-hero,
  .dashboard-grid,
  .balance-grid,
  .agent-hero,
  .agent-grid,
  .issued-detail {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    display: grid;
  }

  .dashboard-ledger {
    min-width: 0;
  }

  .issued-data {
    border-left: none;
    border-top: 2px solid var(--border-dark);
  }

  .docs-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 96px 24px 60px;
  }

  .docs-sidebar {
    position: relative;
    top: auto;
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 14px;
  }

  .docs-sidebar-title {
    min-width: max-content;
    margin: 0;
    align-self: center;
  }

  .docs-sidebar a {
    min-width: max-content;
    border-bottom: none;
    padding: 6px 0;
  }
}

@media (max-width: 620px) {
  .hero-art {
    min-height: 220px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-actions,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .agent-card {
    padding: 26px;
    border-radius: 18px;
  }

  .card-stack {
    min-height: 280px;
  }

  .card-chip {
    top: 74px;
    left: 34px;
    width: 46px;
    height: 35px;
    border-radius: 7px;
  }

  .card-laurel {
    width: 38%;
  }

  .card-rail {
    inset: auto 30px 30px auto;
  }

  .card-rail b {
    font-size: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .crypto-box {
    display: grid;
  }

  .issued-data dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .issued-card-art {
    min-height: 240px;
  }

  .docs-section {
    padding: 32px 0;
  }

  .docs-section h2 {
    font-size: 28px;
  }

  .docs-section pre,
  .docs-callout {
    padding: 16px;
  }

  .docs-table {
    display: block;
    overflow-x: auto;
  }

  .agent-panel,
  .agent-token-card {
    box-shadow: none;
  }

  .agent-panel pre {
    max-width: 100%;
  }
}
