/* ============================================================
   Broker Wallet — StyleSheet.css
   Warm Parchment Editorial Design System · Light Theme Only
   ============================================================ */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  /* Colors */
  --ColorParchmentCream: #fdf9f4;
  --ColorStarWhite: #ffffff;
  --ColorDustSand: #f9efe4;
  --ColorMoonSilver: #ecedef;
  --ColorShadeInk: #2d2f34;
  --ColorShadeCharcoal: #3f434a;
  --ColorShadeSlate: #5e646e;
  --ColorShadeDusk: #6a707c;
  --ColorBorderMist: #d9dde6;
  --ColorEmberOrange: #f67748;
  --ColorEmberDeep: #e2602f;
  --ColorVerificationGreen: #479a53;
  --ColorVerificationDeep: #35773f;
  --ColorMintWash: #eef6ee;

  /* Typography */
  --FontDisplay: "Lora", "Georgia", "Times New Roman", serif;
  --FontBody: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --FontMonospace: ui-monospace, "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;

  /* Spacing */
  --SpacingSection: clamp(72px, 9vw, 112px);
  --SpacingSectionHeader: clamp(40px, 6vw, 64px);
  --SpacingCardPadding: clamp(28px, 4vw, 40px);

  /* Radii */
  --RadiusCard: 32px;
  --RadiusProductCard: 18px;
  --RadiusSmallCard: 12px;
  --RadiusPill: 999px;


  /* Layout */
  --PageMaxWidth: 1200px;
  --PagePadding: clamp(20px, 4vw, 32px);
  --HeaderHeight: 64px;

  /* Motion */
  --MotionFast: 150ms ease;
  --MotionMedium: 200ms ease;
}

/* ============================================================
   Base And Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--HeaderHeight) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background-color: var(--ColorParchmentCream);
  color: var(--ColorShadeCharcoal);
  font-family: var(--FontBody);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

svg {
  display: block;
}

em {
  font-style: italic;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

::selection {
  background-color: rgba(246, 119, 72, 0.24);
  color: var(--ColorShadeInk);
}

/* ============================================================
   Focus Visibility
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--ColorShadeInk);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  border-radius: var(--RadiusPill);
}

[tabindex="-1"]:focus {
  outline: none;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.Container {
  width: min(100% - (var(--PagePadding) * 2), var(--PageMaxWidth));
  margin-inline: auto;
}

.VisuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.SkipLink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 24px;
  background-color: var(--ColorShadeInk);
  color: var(--ColorParchmentCream);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--RadiusPill);
  transform: translateY(-200%);
}

.SkipLink:focus {
  transform: translateY(0);
}

.Section {
  padding-block: var(--SpacingSection);
}

/* ============================================================
   Section Header Pattern
   ============================================================ */
.SectionHeader {
  max-width: 760px;
  margin-bottom: var(--SpacingSectionHeader);
}

.Eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ColorShadeSlate);
  margin-bottom: 18px;
}

.EyebrowTick {
  display: inline-block;
  width: 22px;
  height: 2px;
  background-color: var(--ColorEmberOrange);
  border-radius: 2px;
  flex-shrink: 0;
}

.SectionTitle {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(1.8rem, 2.4vw + 0.9rem, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ColorShadeInk);
  text-wrap: balance;
}

.SectionTitle em {
  font-style: italic;
  font-weight: 500;
}

.SectionLede {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
  line-height: 1.6;
  color: var(--ColorShadeSlate);
  max-width: 66ch;
}

/* ============================================================
   Buttons
   ============================================================ */
.PrimaryButton,
.DarkButton,
.OutlinedButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--RadiusPill);
  padding: 16px 30px;
  min-height: 48px;
  transition: background-color var(--MotionFast), color var(--MotionFast), border-color var(--MotionFast), transform var(--MotionFast);
}

.PrimaryButton {
  background-color: var(--ColorEmberOrange);
  color: var(--ColorShadeInk);
}

.PrimaryButton:hover {
  background-color: var(--ColorEmberDeep);
}

.PrimaryButton:active {
  transform: translateY(1px);
}

.DarkButton {
  background-color: var(--ColorShadeInk);
  color: var(--ColorParchmentCream);
  padding: 13px 24px;
  min-height: 44px;
  font-size: 0.95rem;
}

.DarkButton:hover {
  background-color: var(--ColorShadeCharcoal);
}

.OutlinedButton {
  border: 2px solid var(--ColorShadeInk);
  color: var(--ColorShadeInk);
  padding: 14px 28px;
  background-color: transparent;
}

.OutlinedButton:hover {
  background-color: var(--ColorDustSand);
}

/* ============================================================
   Tag Chips
   ============================================================ */
.TagRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.TagChip {
  display: inline-flex;
  align-items: center;
  background-color: var(--ColorDustSand);
  color: var(--ColorShadeCharcoal);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--RadiusPill);
  padding: 8px 16px;
  white-space: nowrap;
}

/* ============================================================
   Inline Links
   ============================================================ */
.InlineLink {
  color: var(--ColorShadeInk);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ColorBorderMist);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--MotionFast);
}

.InlineLink:hover {
  text-decoration-color: var(--ColorEmberOrange);
}

/* ============================================================
   Site Header
   ============================================================ */

.SiteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(253, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--MotionMedium);
}

.SiteHeader.IsScrolled {
  border-bottom-color: var(--ColorMoonSilver);
}

/* Announcement Bar: Sits Above The Navigation Inside The Sticky Header */
.AnnouncementBar {
  display: grid;
  grid-template-rows: 1fr;
  background-color: var(--ColorDustSand);
  border-bottom: 1px solid var(--ColorMoonSilver);
  transition: grid-template-rows var(--MotionMedium), border-color var(--MotionMedium);
}

.SiteHeader.IsScrolled .AnnouncementBar {
  grid-template-rows: 0fr;
  border-bottom-color: transparent;
}

.AnnouncementClip {
  overflow: hidden;
}

.AnnouncementInner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 4px;
}

.AnnouncementText {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ColorShadeCharcoal);
  min-width: 0;
}

.AnnouncementDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ColorEmberOrange);
  flex-shrink: 0;
}

.AnnouncementLink {
  color: var(--ColorShadeInk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.AnnouncementDismiss {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--RadiusPill);
  color: var(--ColorShadeSlate);
  transition: background-color var(--MotionFast), color var(--MotionFast);
}

.AnnouncementDismiss:hover {
  background-color: var(--ColorParchmentCream);
  color: var(--ColorShadeInk);
}

.HeaderInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--HeaderHeight);
  position: relative;
}

.BrandWordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ColorShadeInk);
}

.BrandMark {
  flex-shrink: 0;
}

.BrandName {
  font-family: "IBM Plex Sans", var(--FontBody);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.PrimaryNavigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}

.NavigationList {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.NavigationLink {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ColorShadeCharcoal);
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--MotionFast), border-color var(--MotionFast);
}

.NavigationLink:hover {
  color: var(--ColorShadeInk);
}

.NavigationLink.IsActive {
  color: var(--ColorShadeInk);
  border-bottom-color: var(--ColorEmberOrange);
}

/* Mobile Menu Button */
.MobileMenuButton {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 2px solid var(--ColorShadeInk);
  border-radius: var(--RadiusPill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ColorShadeInk);
  min-height: 44px;
}

.MobileMenuIcon {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.MobileMenuIcon span {
  display: block;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--MotionMedium), opacity var(--MotionMedium);
}

.MobileMenuButton[aria-expanded="true"] .MobileMenuIcon span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.MobileMenuButton[aria-expanded="true"] .MobileMenuIcon span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================================================
   Hero Section
   ============================================================ */

.HeroSection {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 104px);
  overflow: hidden;
}

/* Subtle Dot Grid Texture */
.HeroSection::before {
  content: "";
  position: absolute;
  inset: 0 0 40% 0;
  background-image: radial-gradient(var(--ColorShadeInk) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.045;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 85%);
}

.HeroStack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.HeroEyebrow {
  justify-content: center;
}

.HeroHeadline {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(2.45rem, 5vw + 1rem, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ColorShadeInk);
  text-wrap: balance;
  margin-bottom: 26px;
}

.AnnotatedPhrase {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.AnnotatedPhrase em {
  font-style: italic;
  font-weight: 500;
}

.ScribbleUnderline {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.22em;
  overflow: visible;
  pointer-events: none;
}

.ScribbleUnderline path {
  fill: none;
  stroke: var(--ColorEmberOrange);
  stroke-width: 2.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.HeroLede {
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.6;
  color: var(--ColorShadeSlate);
  max-width: 640px;
  margin-bottom: 30px;
}

.HeroTags {
  justify-content: center;
  margin-bottom: 36px;
}

.HeroActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.HeroFinePrint {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ColorShadeDusk);
}

/* Hero Entrance Choreography */
@media (prefers-reduced-motion: no-preference) {
  @keyframes FadeRiseIn {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .HeroEyebrow,
  .HeroHeadline,
  .HeroLede,
  .HeroTags,
  .HeroActions,
  .HeroFinePrint,
  .HeroVisualization,
  .FactsStrip {
    animation: FadeRiseIn 620ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  .HeroHeadline { animation-delay: 70ms; }
  .HeroLede { animation-delay: 140ms; }
  .HeroTags { animation-delay: 210ms; }
  .HeroActions { animation-delay: 280ms; }
  .HeroFinePrint { animation-delay: 340ms; }
  .HeroVisualization { animation-delay: 380ms; }
  .FactsStrip { animation-delay: 480ms; }

  @keyframes DrawScribble {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }

  .ScribbleUnderline path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: DrawScribble 680ms ease-out 700ms forwards;
  }

  .ScribbleUnderline path + path {
    animation-delay: 940ms;
    animation-duration: 520ms;
  }
}

/* ============================================================
   Hero Product Visualization
   ============================================================ */

.HeroVisualization {
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
}

.ConsoleFrame {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  overflow: hidden;
}

.ConsoleHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ColorMoonSilver);
  background-color: #fdfdfd;
}

.ConsoleBrand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ColorShadeInk);
}

.ConsoleNetworks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.NetworkStatus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ColorShadeSlate);
  font-variant-numeric: tabular-nums;
}

.StatusDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ColorVerificationGreen);
  flex-shrink: 0;
}

.ConsoleBody {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  padding: clamp(18px, 3vw, 28px);
}

.ConsolePanel {
  background-color: #fdfdfd;
  border: 1px solid var(--ColorMoonSilver);
  border-radius: var(--RadiusSmallCard);
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ConsoleArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--ColorShadeSlate);
}

.PanelLabel {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
}

.PanelDivider {
  height: 1px;
  background-color: var(--ColorMoonSilver);
  margin-block: 4px;
}

.CustomerIdentity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.CustomerAvatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--ColorDustSand);
  color: var(--ColorShadeInk);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.CustomerText {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.CustomerName {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ColorShadeInk);
}

.CustomerMeta {
  font-size: 0.78rem;
  color: var(--ColorShadeSlate);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.FieldLabel {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
}

.MonospaceValue {
  font-family: var(--FontMonospace);
  font-size: 0.85rem;
  color: var(--ColorShadeInk);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.StatePill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  background-color: var(--ColorMintWash);
  color: var(--ColorVerificationDeep);
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: var(--RadiusPill);
  padding: 5px 12px;
  white-space: nowrap;
}

.StatePillQuiet {
  background-color: var(--ColorDustSand);
  color: var(--ColorShadeCharcoal);
}

.DepositAmount {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ColorShadeInk);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.DepositUnit {
  font-family: var(--FontBody);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ColorShadeSlate);
}

.DepositMeta {
  font-size: 0.82rem;
  color: var(--ColorShadeSlate);
}

.ExplorerLink {
  font-family: var(--FontMonospace);
  font-size: 0.78rem;
  color: var(--ColorShadeCharcoal);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.WebhookTarget {
  font-family: var(--FontMonospace);
  font-size: 0.8rem;
  color: var(--ColorShadeInk);
}

.WebhookResult {
  font-size: 0.8rem;
  color: var(--ColorShadeSlate);
}

.StatusOk {
  color: var(--ColorVerificationDeep);
  font-weight: 700;
}

.LedgerList {
  display: flex;
  flex-direction: column;
}

.LedgerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ColorShadeSlate);
  padding-block: 6px;
  border-bottom: 1px dashed var(--ColorMoonSilver);
}

.LedgerRow:last-child {
  border-bottom: none;
}

.LedgerAmount {
  font-family: var(--FontMonospace);
  font-size: 0.8rem;
  color: var(--ColorShadeInk);
  font-variant-numeric: tabular-nums;
}

.LedgerSweep {
  color: var(--ColorVerificationDeep);
  font-weight: 600;
}

/* Product Facts Strip */
.FactsStrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--ColorMoonSilver);
}

.FactItem {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  text-align: center;
  padding-inline: 12px;
}

.FactItem + .FactItem {
  border-left: 1px solid var(--ColorMoonSilver);
}

.FactValue {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  color: var(--ColorShadeInk);
  line-height: 1.1;
}

.FactLabel {
  font-size: 0.85rem;
  color: var(--ColorShadeSlate);
  line-height: 1.4;
}

/* ============================================================
   Card Grids And Feature Cards
   ============================================================ */

.CardGrid {
  display: grid;
  gap: 20px;
}

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

.FourColumns {
  grid-template-columns: repeat(4, 1fr);
}

.FeatureCard {
  background-color: var(--ColorDustSand);
  border-radius: var(--RadiusCard);
  padding: var(--SpacingCardPadding);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.CardIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  color: var(--ColorShadeInk);
  margin-bottom: 4px;
}

.CardTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--ColorShadeInk);
}

.CardBody {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ColorShadeSlate);
}

/* ============================================================
   Problem Section
   ============================================================ */

.GapStatement {
  margin-top: 28px;
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: baseline;
}

.GapKicker {
  font-family: var(--FontDisplay);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ColorShadeInk);
  white-space: nowrap;
}

.GapText {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ColorShadeCharcoal);
  max-width: 72ch;
}

/* ============================================================
   Overview Section And Core Promise
   ============================================================ */

.PromiseBand {
  margin-top: clamp(44px, 6vw, 64px);
  background-color: var(--ColorDustSand);
  border: 2px solid var(--ColorEmberOrange);
  border-radius: var(--RadiusCard);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.PromiseKicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ColorShadeSlate);
  margin-bottom: 16px;
}

.PromiseTitle {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.25;
  color: var(--ColorShadeInk);
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}

.PromiseTitle em {
  font-style: italic;
}

.PromiseBody {
  margin-top: 20px;
  font-size: 1.0325rem;
  line-height: 1.68;
  color: var(--ColorShadeCharcoal);
  max-width: 66ch;
  margin-inline: auto;
}

/* ============================================================
   How It Works
   ============================================================ */

.StepList {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: StepCounter;
}

.StepCard {
  background-color: var(--ColorDustSand);
  border-radius: 22px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.StepNumber {
  font-family: var(--FontDisplay);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ColorShadeDusk);
}

.StepTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ColorShadeInk);
}

.StepBody {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ColorShadeSlate);
}

/* Product Workflow Diagram */
.FlowDiagram {
  margin-top: clamp(36px, 5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: clamp(24px, 4vw, 36px);
}

.FlowNode {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  background-color: #fdfdfd;
  border: 1px solid var(--ColorMoonSilver);
  border-radius: var(--RadiusSmallCard);
  padding: 14px 18px;
  min-width: 132px;
}

.FlowNodeTreasury {
  border-color: var(--ColorShadeInk);
}

.FlowNodeTitle {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ColorShadeInk);
}

.FlowNodeMeta {
  font-size: 0.74rem;
  color: var(--ColorShadeSlate);
}

.FlowArrow {
  display: inline-flex;
  color: var(--ColorShadeSlate);
  padding: 0 2px;
}

/* ============================================================
   Zero-Custody Architecture
   ============================================================ */

.BoundaryDiagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.BoundaryPanel {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.BoundaryKicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
}

.BoundaryTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ColorShadeInk);
}

.BoundaryList {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.BoundaryList li {
  position: relative;
  padding: 11px 0 11px 24px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ColorShadeCharcoal);
  border-bottom: 1px solid var(--ColorMoonSilver);
}

.BoundaryList li:last-child {
  border-bottom: none;
}

.BoundaryList li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 12px;
  height: 2px;
  background-color: var(--ColorShadeInk);
  border-radius: 2px;
}

.BoundaryFootnote {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--FontDisplay);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ColorShadeSlate);
}

.BoundaryDivider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block: 12px;
}

.BoundaryDividerLine {
  flex: 1;
  width: 0;
  border-left: 2px dashed var(--ColorBorderMist);
}

.BoundaryDividerLabel {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
  white-space: nowrap;
}

/* Architecture Principles */
.PrincipleRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(44px, 6vw, 64px);
}

.PrincipleItem {
  border-top: 2px solid var(--ColorShadeInk);
  padding-top: 20px;
}

.PrincipleTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ColorShadeInk);
  margin-bottom: 8px;
}

.PrincipleBody {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ColorShadeSlate);
}

/* ============================================================
   Capability Deep-Dive
   ============================================================ */

.CapabilityRow {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 72px);
}

.CapabilityRow:first-of-type {
  margin-top: 0;
}

.CapabilityRowReversed .CapabilityText {
  grid-column: 2;
  grid-row: 1;
}

.CapabilityRowReversed .CapabilityEvidence {
  grid-column: 1;
  grid-row: 1;
}

.CapabilityTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.6vw + 0.8rem, 1.8rem);
  color: var(--ColorShadeInk);
  margin-bottom: 14px;
}

.CapabilityBody {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ColorShadeSlate);
  margin-bottom: 20px;
}

.CapabilityList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.CapabilityList li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ColorShadeCharcoal);
  font-weight: 500;
}

.CapabilityList li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background-color: var(--ColorEmberOrange);
  border-radius: 2px;
}

/* Evidence Cards */
.EvidenceCard {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: clamp(20px, 3vw, 28px);
}

.EvidenceHeader {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ColorMoonSilver);
  margin-bottom: 6px;
}

.EvidenceRows {
  display: flex;
  flex-direction: column;
}

.EvidenceRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 11px;
  border-bottom: 1px solid var(--ColorMoonSilver);
  font-size: 0.9rem;
  color: var(--ColorShadeCharcoal);
}

.EvidenceRow:last-child {
  border-bottom: none;
}

.EvidenceFootnote {
  padding-top: 12px;
  border-top: 1px solid var(--ColorMoonSilver);
  font-size: 0.8rem;
  color: var(--ColorShadeDusk);
}

/* ============================================================
   Supported Networks
   ============================================================ */

.NetworkGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.NetworkCard {
  background-color: var(--ColorDustSand);
  border-radius: var(--RadiusCard);
  padding: var(--SpacingCardPadding);
}

.NetworkCardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.NetworkName {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  color: var(--ColorShadeInk);
}

.NetworkChip {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  font-weight: 600;
}

.NetworkSpecList {
  display: flex;
  flex-direction: column;
}

.NetworkSpec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid rgba(45, 47, 52, 0.08);
}

.NetworkSpec:last-child {
  border-bottom: none;
}

.NetworkSpec dt {
  font-size: 0.92rem;
  color: var(--ColorShadeSlate);
}

.NetworkSpec dd {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ColorShadeInk);
  text-align: right;
}

.TestnetCallout {
  margin-top: 24px;
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: clamp(28px, 4vw, 40px);
}

.TestnetTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ColorShadeInk);
  margin-bottom: 10px;
}

.TestnetBody {
  font-size: 1rem;
  line-height: 1.66;
  color: var(--ColorShadeSlate);
  max-width: 86ch;
}

/* ============================================================
   Security
   ============================================================ */

.SecurityGroupTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ColorShadeInk);
  margin: clamp(36px, 5vw, 52px) 0 22px;
}

.SecurityGroupTitle:first-of-type {
  margin-top: 0;
}

.SecurityGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.SecurityItem {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: 26px;
}

.SecurityItemTitle {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ColorShadeInk);
  margin-bottom: 8px;
}

.SecurityItemBody {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ColorShadeSlate);
}

.ResponsibilityNote {
  margin-top: clamp(36px, 5vw, 52px);
  background-color: var(--ColorDustSand);
  border-radius: var(--RadiusCard);
  padding: clamp(28px, 5vw, 48px);
}

.ResponsibilityTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ColorShadeInk);
  margin-bottom: 10px;
}

.ResponsibilityBody {
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--ColorShadeCharcoal);
  max-width: 80ch;
}

/* ============================================================
   Administrative Control Center
   ============================================================ */

.ConsoleCard {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ConsoleCard .CardTitle {
  font-size: 1.15rem;
}

.ConsoleCard .CardBody {
  font-size: 0.93rem;
}

.WorkerStrip {
  margin-top: 28px;
  background-color: var(--ColorDustSand);
  border-radius: var(--RadiusCard);
  padding: clamp(24px, 4vw, 36px);
}

.WorkerStripLabel {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
  margin-bottom: 16px;
}

.WorkerList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.WorkerChip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusPill);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ColorShadeInk);
}

.WorkerRole {
  font-weight: 400;
  color: var(--ColorShadeSlate);
}

/* ============================================================
   REST API Integration
   ============================================================ */

.IntegrationTags {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.CodeGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.CodeBlock {
  background-color: var(--ColorShadeInk);
  border-radius: var(--RadiusProductCard);
  overflow: hidden;
  min-width: 0;
}

.CodeBlockHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(253, 249, 244, 0.12);
}

.CodeBlockTitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ColorParchmentCream);
}

.CodeBlockMeta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.MethodChip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ColorParchmentCream);
  background-color: rgba(253, 249, 244, 0.12);
  border-radius: var(--RadiusPill);
  padding: 4px 10px;
}

.CopyButton {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ColorParchmentCream);
  border: 1px solid rgba(253, 249, 244, 0.32);
  border-radius: var(--RadiusPill);
  padding: 7px 16px;
  min-height: 32px;
  transition: background-color var(--MotionFast), border-color var(--MotionFast), color var(--MotionFast);
}

.CopyButton:hover {
  background-color: rgba(253, 249, 244, 0.1);
}

.CopyButton:focus-visible {
  outline-color: var(--ColorParchmentCream);
}

.CopyButton.IsCopied {
  color: #bff0c8;
  border-color: rgba(191, 240, 200, 0.5);
}

.CopyButton.HasFailed {
  color: #f6c4ad;
  border-color: rgba(246, 196, 173, 0.5);
}

.CodeBlock pre {
  margin: 0;
  padding: 22px 24px 26px;
  overflow-x: auto;
  font-family: var(--FontMonospace);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #f2ede5;
  -webkit-overflow-scrolling: touch;
}

.CodeBlock pre:focus-visible {
  outline: 3px solid var(--ColorParchmentCream);
  outline-offset: -3px;
  border-radius: 0;
}

.CodeBlock code {
  font-family: inherit;
}

/* Syntax Tokens For The Code Examples */
.CodeTokenCommand {
  color: var(--ColorEmberOrange);
  font-weight: 600;
}

.CodeTokenFlag {
  color: #e8c07a;
}

.CodeTokenKey {
  color: #f6a889;
}

.CodeTokenString {
  color: #bff0c8;
}

/* Api Trait Row */
.ApiTraitRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(36px, 5vw, 52px);
}

.ApiTrait {
  border-top: 2px solid var(--ColorShadeInk);
  padding-top: 18px;
}

.ApiTraitTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.14rem;
  color: var(--ColorShadeInk);
  margin-bottom: 8px;
}

.ApiTraitBody {
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--ColorShadeSlate);
}

/* ============================================================
   Technology Stack
   ============================================================ */

.StackLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.StackTable {
  background-color: var(--ColorDustSand);
  border-radius: var(--RadiusCard);
  padding: var(--SpacingCardPadding);
}

.StackList {
  display: flex;
  flex-direction: column;
}

.StackRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 15px;
  border-bottom: 1px solid rgba(45, 47, 52, 0.08);
}

.StackRow:last-child {
  border-bottom: none;
}

.StackRow dt {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ColorShadeInk);
  white-space: nowrap;
}

.StackRow dd {
  font-size: 0.94rem;
  color: var(--ColorShadeSlate);
  text-align: right;
}

.StackPrinciplesTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ColorShadeInk);
  margin-bottom: 18px;
}

.PrincipleList {
  display: flex;
  flex-direction: column;
}

.PrincipleList li {
  padding-block: 13px;
  border-bottom: 1px solid var(--ColorMoonSilver);
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ColorShadeSlate);
}

.PrincipleList li:last-child {
  border-bottom: none;
}

.PrincipleList strong {
  color: var(--ColorShadeInk);
  font-weight: 600;
}

/* ============================================================
   Use Cases
   ============================================================ */

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

.UseCaseCard {
  background-color: var(--ColorDustSand);
  border: 2px solid transparent;
  border-radius: var(--RadiusCard);
  padding: var(--SpacingCardPadding);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.UseCaseCardHighlighted {
  border-color: var(--ColorEmberOrange);
}

.UseCaseKicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
}

.ScopeNote {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--ColorMoonSilver);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ColorShadeSlate);
  max-width: 84ch;
}

/* ============================================================
   Deployment Journey
   ============================================================ */

.JourneyList {
  display: flex;
  flex-direction: column;
}

.JourneyStep {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--ColorMoonSilver);
}

.JourneyStep:first-child {
  border-top: 1px solid var(--ColorMoonSilver);
}

.JourneyNumber {
  font-family: var(--FontDisplay);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  color: var(--ColorShadeDusk);
}

.JourneyTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ColorShadeInk);
  margin-bottom: 4px;
}

.JourneyBody {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ColorShadeSlate);
  max-width: 72ch;
}

.JourneyBadge {
  justify-self: end;
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusPill);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ColorShadeCharcoal);
  white-space: nowrap;
}

/* ============================================================
   Frequently Asked Questions
   ============================================================ */

.FaqList {
  max-width: 860px;
  border-top: 1px solid var(--ColorMoonSilver);
}

.FaqItem {
  border-bottom: 1px solid var(--ColorMoonSilver);
}

.FaqHeading {
  margin: 0;
}

.FaqTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ColorShadeInk);
  min-height: 56px;
  transition: color var(--MotionFast);
}

.FaqTrigger:hover {
  color: var(--ColorShadeCharcoal);
}

.FaqChevron {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ColorShadeInk);
  border-bottom: 2px solid var(--ColorShadeInk);
  transform: rotate(45deg);
  transition: transform var(--MotionMedium);
  margin-right: 4px;
}

.FaqTrigger[aria-expanded="true"] .FaqChevron {
  transform: rotate(225deg);
  margin-top: 6px;
}

.FaqPanel p {
  padding: 0 4px 26px;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ColorShadeSlate);
  max-width: 70ch;
}

/* ============================================================
   Final Technical CTA
   ============================================================ */

.ContactPanel {
  background-color: var(--ColorDustSand);
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.ContactTitle {
  max-width: 18ch;
}

.ContactLede {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.66;
  color: var(--ColorShadeSlate);
  max-width: 58ch;
}

.ContactActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ContactActions .OutlinedButton:hover {
  background-color: var(--ColorStarWhite);
}

.ContactAddress {
  margin-top: 22px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ColorShadeSlate);
  max-width: 52ch;
}

.ContactAsideTitle {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ColorShadeInk);
  margin-bottom: 6px;
}

/* Contact Form: All Fields Carry Placeholders; Submission Hands Off To Mailto */
.ContactFormCard {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 14px;
  align-content: start;
}

.FormField {
  display: grid;
  gap: 6px;
}

.FormLabel {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ColorShadeInk);
}

.FormInput {
  min-height: 44px;
  padding: 10px 12px;
  background-color: var(--ColorParchmentCream);
  color: var(--ColorShadeInk);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusSmallCard);
  font: inherit;
  font-size: 0.875rem;
  transition: border-color var(--MotionFast), background-color var(--MotionFast);
}

.FormInput::placeholder {
  color: var(--ColorShadeDusk);
}

.FormInput:hover {
  background-color: var(--ColorStarWhite);
}

.FormInput:focus-visible {
  outline: 3px solid var(--ColorShadeInk);
  outline-offset: 2px;
  border-radius: var(--RadiusSmallCard);
}

.FormTextarea {
  min-height: 108px;
  resize: vertical;
}

.FormStatusNote {
  min-height: 1.4em;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ColorShadeSlate);
}

/* ============================================================
   Site Footer
   ============================================================ */

.SiteFooter {
  border-top: 1px solid var(--ColorMoonSilver);
  padding-block: clamp(48px, 6vw, 72px) 36px;
  background-color: var(--ColorParchmentCream);
}

.FooterGrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 56px);
}

.FooterWordmark .BrandName {
  font-size: 1.15rem;
}

.FooterDescription {
  margin-top: 16px;
  font-size: 0.93rem;
  line-height: 1.64;
  color: var(--ColorShadeSlate);
  max-width: 42ch;
}

.FooterNetworks {
  margin-top: 18px;
}

/* Map Link And Social Icons In The Footer Brand Column */
.FooterMapLink {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ColorShadeCharcoal);
  white-space: nowrap;
  transition: color var(--MotionFast);
}

.FooterMapLink:hover {
  color: var(--ColorShadeInk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.FooterMapLink svg {
  flex-shrink: 0;
}

.FooterSocialRow {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.SocialLink {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--ColorShadeCharcoal);
  transition: color var(--MotionFast);
}

.SocialLink:hover {
  color: var(--ColorShadeInk);
}

.FooterColumnTitle {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
  margin-bottom: 16px;
}

.FooterLinkList {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.FooterLink {
  display: inline-block;
  font-size: 0.93rem;
  color: var(--ColorShadeCharcoal);
  padding-block: 5px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--MotionFast), color var(--MotionFast);
}

.FooterLink:hover {
  color: var(--ColorShadeInk);
  text-decoration-color: var(--ColorEmberOrange);
}

.FooterContactNote {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ColorShadeSlate);
  margin-bottom: 16px;
  max-width: 32ch;
}

.FooterCta {
  font-size: 0.9rem;
  padding: 12px 22px;
  min-height: 44px;
}

.FooterAddress {
  margin-top: 16px;
}

.FooterResponsibility {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--ColorMoonSilver);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ColorShadeDusk);
  max-width: 78ch;
}

.BrokerSetupMark {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.FooterLegal {
  margin-top: 20px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ColorShadeDusk);
  max-width: 90ch;
}

.FooterBottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ColorMoonSilver);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
}

.FooterCopyright {
  font-size: 0.82rem;
  color: var(--ColorShadeDusk);
}

/* ============================================================
   Console Preview
   ============================================================ */
.ConsoleShowcase {
  background-color: var(--ColorStarWhite);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusProductCard);
  overflow: hidden;
}

.ConsoleShowcaseHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ColorMoonSilver);
  background-color: #fdfdfd;
}

.ConsoleFrameGrid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.ConsoleSidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  border-right: 1px solid var(--ColorMoonSilver);
  background-color: var(--ColorDustSand);
}

.ConsoleNavItem {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--RadiusSmallCard);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ColorShadeSlate);
  text-align: left;
  transition: background-color var(--MotionFast), color var(--MotionFast);
}

.ConsoleNavItem:hover {
  background-color: var(--ColorStarWhite);
  color: var(--ColorShadeInk);
}

.ConsoleNavItem.IsCurrent {
  background-color: var(--ColorEmberOrange);
  color: var(--ColorShadeInk);
}

.ConsoleMain {
  padding: 20px 24px;
  min-width: 0;
}

.ConsolePane {
  display: grid;
  gap: 12px;
  align-content: start;
}

.ConsoleKpiRow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ConsoleKpi {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background-color: var(--ColorDustSand);
  border-radius: var(--RadiusSmallCard);
  min-width: 0;
}

.ConsoleKpiLabel {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ColorShadeDusk);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ConsoleKpiValue {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ColorShadeInk);
}

.ConsoleKpiMeta {
  font-size: 0.8rem;
  color: var(--ColorShadeSlate);
}

.ConsoleWorkerList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ConsolePane .EvidenceRows {
  display: grid;
  gap: 8px;
}

.ConsolePane .EvidenceRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background-color: #fdfdfd;
  border: 1px solid var(--ColorMoonSilver);
  border-radius: var(--RadiusSmallCard);
  font-size: 0.92rem;
  color: var(--ColorShadeSlate);
  transition: border-color var(--MotionFast);
}

.ConsolePane .EvidenceRow:hover {
  border-color: var(--ColorEmberOrange);
}

.ConsolePane .EvidenceFootnote {
  font-size: 0.82rem;
  color: var(--ColorShadeDusk);
}

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

.ConsoleSweepActions .EvidenceFootnote {
  margin-top: 0;
}

.ConsoleShowcaseCaption {
  padding: 12px 24px;
  border-top: 1px solid var(--ColorMoonSilver);
  background-color: #fdfdfd;
  font-size: 0.82rem;
  color: var(--ColorShadeDusk);
}

@media (max-width: 899px) {
  .ConsoleFrameGrid {
    grid-template-columns: 1fr;
  }

  .ConsoleSidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--ColorMoonSilver);
  }

  .ConsoleNavItem {
    width: auto;
    border: 1px solid var(--ColorMoonSilver);
    border-radius: var(--RadiusPill);
    font-size: 0.85rem;
    background-color: var(--ColorStarWhite);
  }

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

/* ============================================================
   Scroll To Top
   ============================================================ *//* ============================================================
   Scroll To Top
   ============================================================ */
.ScrollTopButton {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background-color: var(--ColorStarWhite);
  color: var(--ColorShadeInk);
  border: 1px solid var(--ColorBorderMist);
  border-radius: var(--RadiusPill);
  cursor: pointer;
  transition: background-color var(--MotionFast), transform var(--MotionFast);
}

.ScrollTopButton:hover {
  background-color: var(--ColorDustSand);
  transform: translateY(-1px);
}

/* ============================================================
   Page Rail
   ============================================================ */

.PageRail {
  display: none;
}

@media (min-width: 90rem) and (pointer: fine) {
  .PageRail {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    z-index: 90;
    display: grid;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--MotionMedium), transform var(--MotionMedium);
  }

  .PageRail.IsVisible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
  }

  .RailLink {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-block: 2px;
    min-height: 12px;
  }

  .RailTick {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: var(--RadiusPill);
    background-color: var(--ColorBorderMist);
    transition: background-color var(--MotionFast), transform var(--MotionFast);
  }

  .RailLabel {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    opacity: 0;
    transform: translate(4px, -50%);
    padding: 4px 12px;
    background-color: var(--ColorStarWhite);
    border: 1px solid var(--ColorBorderMist);
    border-radius: var(--RadiusPill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ColorShadeCharcoal);
    white-space: nowrap;
    pointer-events: none;
    transition: opacity var(--MotionFast), transform var(--MotionFast);
  }

  .RailLink:hover .RailLabel,
  .RailLink:focus-visible .RailLabel {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .RailLink:hover .RailTick {
    background-color: var(--ColorShadeSlate);
  }

  .RailLink.IsActive .RailTick {
    background-color: var(--ColorShadeInk);
    transform: scaleX(1.5);
    transform-origin: right center;
  }
}

/* ============================================================
   Reveal-On-Scroll Animation
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .JsEnabled .Reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 460ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .JsEnabled .Reveal.IsVisible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* Laptop */
@media (max-width: 1024px) {
  .FourColumns {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

/* Tablet And Below — Mobile Navigation */
@media (max-width: 899px) {
  .MobileMenuButton {
    display: inline-flex;
  }

  .PrimaryNavigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background-color: var(--ColorParchmentCream);
    border-bottom: 1px solid var(--ColorMoonSilver);
    padding: 12px clamp(20px, 5vw, 44px) 24px;
  }

  .JsEnabled .PrimaryNavigation {
    display: none;
  }

  .JsEnabled .PrimaryNavigation.IsOpen {
    display: flex;
  }

  .NavigationList {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .NavigationLink {
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--ColorMoonSilver);
  }

  .NavigationLink.IsActive {
    border-bottom-color: var(--ColorEmberOrange);
  }

  .HeaderCta {
    margin-top: 12px;
    justify-content: center;
  }

  /* Hero Console Stacks Vertically */
  .ConsoleBody {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ConsoleArrow {
    padding: 6px 0;
  }

  .ConsoleArrow svg {
    transform: rotate(90deg);
  }

  /* Two-Column Layouts Collapse */
  .CapabilityRow,
  .CapabilityRowReversed {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .CapabilityRowReversed .CapabilityText {
    grid-column: 1;
    grid-row: 1;
  }

  .CapabilityRowReversed .CapabilityEvidence {
    grid-column: 1;
    grid-row: 2;
  }

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

  .BoundaryDivider {
    flex-direction: row;
    padding-block: 4px;
    gap: 14px;
  }

  .BoundaryDividerLine {
    width: auto;
    border-left: none;
    border-top: 2px dashed var(--ColorBorderMist);
  }

  .BoundaryDividerLabel {
    writing-mode: horizontal-tb;
  }

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

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

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

  .PrincipleRow,
  .ApiTraitRow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  /* Flow Diagram Becomes Vertical */
  .FlowDiagram {
    flex-direction: column;
    align-items: stretch;
  }

  .FlowNode {
    min-width: 0;
  }

  .FlowArrow {
    justify-content: center;
    padding: 2px 0;
  }

  .FlowArrow svg {
    transform: rotate(90deg);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .StepList {
    grid-template-columns: 1fr;
  }

  .StepCard {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
  }

  .StepCard .StepNumber {
    flex-shrink: 0;
    min-width: 34px;
  }

  .StepCard .StepBody {
    flex-basis: 100%;
  }

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

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

  .GapStatement {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .JourneyStep {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    row-gap: 12px;
  }

  .JourneyBadge {
    grid-column: 2;
    justify-self: start;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .FourColumns,
  .UseCaseGrid {
    grid-template-columns: 1fr;
  }

  .FactsStrip {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .FactItem {
    padding-inline: 10px;
  }

  .FactItem:nth-child(3) {
    border-left: none;
  }

  .HeroActions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
  }

  .ContactActions {
    flex-direction: column;
    align-items: stretch;
  }

  .FooterGrid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .FooterBottom {
    flex-direction: column;
  }

  .CodeBlockHeader {
    flex-wrap: wrap;
  }
}

/* Narrow Mobile */
@media (max-width: 380px) {
  .Container {
    width: calc(100% - 36px);
  }

  .FactsStrip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .FactItem {
    border-left: none !important;
  }

  .FactItem + .FactItem {
    border-top: 1px solid var(--ColorMoonSilver);
    padding-top: 20px;
  }

  .TagChip {
    font-size: 0.8rem;
    padding: 7px 13px;
  }

  .MobileMenuLabel {
    display: none;
  }
}

/* ============================================================
   Reduced Motion Safety Net
   ============================================================ */

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