:root {
  --blue: #0b5cab;
  --blue-dark: #063f78;
  --green: #237b45;
  --text: #333;
  --muted: #6d7680;
  --light: #f7f7f7;
  --border: #dddddd;
  --white: #ffffff;
  --surface: #ffffff;
  --header: rgba(255, 255, 255, 0.97);
  --shadow: rgba(0, 0, 0, 0.08);
  --chat: #f6f8fb;
  --warning: #d9f26a;
  --chat-header: #1f4f87;
  --chat-header-text: #ffffff;
  --chat-header-muted: rgba(255, 255, 255, 0.82);
  --focus: #f4c542;
}

:root[data-theme="dark"] {
  --blue: #6fb1ff;
  --blue-dark: #2e76c2;
  --green: #74d98f;
  --text: #e9eef5;
  --muted: #a9b5c2;
  --light: #111820;
  --border: #344252;
  --white: #18212b;
  --surface: #111820;
  --header: rgba(13, 19, 27, 0.97);
  --shadow: rgba(0, 0, 0, 0.36);
  --chat: #0d131b;
  --warning: #d9f26a;
  --chat-header: #1c3657;
  --chat-header-text: #f6fbff;
  --chat-header-muted: #c8d5e2;
  --focus: #f4c542;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  transition: background 220ms ease, color 220ms ease;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 7%;
  background: var(--header);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

nav a,
.nav-link {
  min-height: 38px;
  padding: 8px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.cart-badge {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  color: #101820;
  background: var(--warning);
  border: 1px solid #101820;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.site-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-meta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--border) 74%, transparent);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.header-meta b {
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.header-meta a {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  padding: 5px 9px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--blue));
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.control-button {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.control-button[aria-pressed="true"] {
  color: #101820;
  background: var(--warning);
  border-color: var(--warning);
}

nav a:hover,
.nav-link:hover,
nav a.active {
  color: var(--blue);
}

.button,
.product button,
.window-close {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.product button:hover,
.window-close:hover {
  background: var(--blue-dark);
}

.secondary-button {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
}

.secondary-button:hover {
  color: #fff;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero {
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 12%, var(--surface)) 0%, var(--surface) 100%);
}

.ticker-tape {
  display: flex;
  gap: 30px;
  overflow: hidden;
  padding: 8px 0;
  color: #101820;
  background: var(--warning);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-tape span {
  animation: tape-slide 10s linear infinite;
}

.hero-slide {
  display: grid;
  width: min(1120px, 86%);
  min-height: 430px;
  margin: 0 auto;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 36px;
}

.hero-slide img {
  width: min(100%, 340px);
  justify-self: center;
  object-fit: contain;
  animation: executive-float 7s ease-in-out infinite;
}

.hero h1 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 22px;
}

.hero-strip {
  display: grid;
  width: min(1120px, 86%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 0 46px;
}

.hero-strip article,
.feature-grid article,
.services-list article,
.team-grid article,
.testimonial-grid article,
.form-box,
.cart-panel,
.product {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-strip article:hover,
.feature-grid article:hover,
.services-list article:hover,
.testimonial-grid article:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
}

.hero-strip article {
  min-height: 150px;
  padding: 24px;
}

.hero-strip h2,
.section h2 {
  color: var(--text);
}

.hero-strip h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.section {
  width: min(1120px, 86%);
  margin: 0 auto;
  padding: 70px 0;
}

.robot-section.section {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: clamp(24px, 4vw, 42px);
}

.section + .section {
  border-top: 1px solid var(--border);
}

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

.left-heading {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.contact-section h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.robot-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px var(--shadow);
}

.robot-section h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.robot-section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-grid article,
.testimonial-grid article {
  padding: 24px;
}

.feature-grid h3,
.services-list h3,
.team-grid h3,
.testimonial-grid h3,
.form-box h3,
.contact-section h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
}

.services-section {
  width: 100%;
  max-width: none;
  background: var(--light);
  border-top: 0;
}

.services-section .section-heading,
.services-list {
  width: min(1120px, 86%);
  margin-right: auto;
  margin-left: auto;
}

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

.services-list article {
  padding: 24px;
}

.inline-button {
  margin-top: 8px;
}

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

.team-grid article {
  padding: 20px;
  text-align: center;
}

.team-grid img {
  display: grid;
  width: 170px;
  height: 170px;
  margin: 0 auto 14px;
  object-fit: contain;
  background: color-mix(in srgb, var(--blue) 10%, var(--surface));
  border-radius: 50%;
}

.team-grid p {
  margin: 0;
  color: var(--muted);
}

.testimonials-section {
  background: #fff;
}

.testimonial-grid p {
  color: var(--muted);
}

.testimonial-grid small {
  color: var(--muted);
}

.holdings-hero {
  display: grid;
  width: min(1120px, 86%);
  margin: 34px auto 0;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 34px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px var(--shadow);
}

.holdings-hero h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.holdings-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.fund-fee-copy {
  margin-top: 14px !important;
  padding: 12px 14px;
  color: var(--text) !important;
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 35%, var(--border));
  border-radius: 6px;
  font-weight: 700;
}

.holdings-hero img {
  width: min(100%, 280px);
  justify-self: center;
  object-fit: contain;
  animation: executive-float 7s ease-in-out infinite;
}

.fund-cycle-exhibit {
  display: grid;
  width: min(1120px, 86%);
  margin: 18px auto 0;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  align-items: center;
  gap: 24px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px var(--shadow);
}

.fund-cycle-exhibit .section-heading {
  margin: 0;
}

.fund-cycle-exhibit .section-heading p:last-child {
  max-width: 360px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.fund-cycle-card {
  margin: 0;
  padding: clamp(10px, 2vw, 16px);
  background:
    linear-gradient(135deg, rgba(205, 130, 210, 0.14), transparent 34%),
    #1c1f25;
  border: 1px solid color-mix(in srgb, var(--purple) 36%, #2b2f38);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.fund-cycle-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

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

.holdings-shell {
  width: min(1120px, 86%);
  margin: 0 auto;
  padding: 58px 0 18px;
}

.candidates-shell {
  padding-bottom: 70px;
}

.vault-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.vault-summary article,
.asset-card,
.candidate-card,
.ledger-state {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px var(--shadow);
}

.vault-summary article {
  padding: 18px;
}

.vault-summary span,
.asset-status,
dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.vault-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.1;
}

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

.asset-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.asset-card img,
.candidate-card img,
.asset-placeholder {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: color-mix(in srgb, var(--blue) 9%, var(--surface));
  border: 1px solid var(--border);
}

.asset-placeholder {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
}

.asset-card h3,
.candidate-card h3,
.ledger-state h3 {
  margin: 5px 0 4px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.asset-card p,
.candidate-card p,
.ledger-state p {
  margin: 0;
  color: var(--muted);
}

.asset-card dl,
.candidate-card dl {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
}

.asset-card dd,
.candidate-card dd {
  margin: 2px 0 0;
  color: var(--text);
  font-weight: 800;
}

.text-link {
  grid-column: 1 / -1;
  min-height: 34px;
  color: var(--blue);
  font-weight: 800;
}

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

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.candidate-card {
  display: grid;
  min-height: 92px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.candidate-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
  box-shadow: 0 8px 22px var(--shadow);
}

.candidate-card img,
.candidate-card .asset-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 7px;
  object-fit: cover;
}

.candidate-body {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.candidate-card h3 {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.candidate-metrics span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: var(--muted);
  background: color-mix(in srgb, var(--blue) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--blue));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.candidate-metrics b {
  color: var(--text);
  font-size: 13px;
}

.ledger-state {
  grid-column: 1 / -1;
  padding: 24px;
}

.careers-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.careers-section .section-heading {
  margin: 0;
  text-align: left;
}

.form-box {
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.form-note {
  min-height: 23px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 42px;
}

.contact-section p {
  color: var(--muted);
}

.shop-window {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: clamp(12px, 3vw, 30px);
  background: rgba(18, 31, 47, 0.7);
}

.shop-window.is-open {
  display: grid;
  place-items: center;
  animation: fade-in 160ms ease-out;
}

.shop-shell {
  width: min(1120px, 100%);
  max-height: min(860px, calc(100dvh - 24px));
  overflow: hidden;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

.window-close {
  min-width: 36px;
  min-height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  font-size: 22px;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  max-height: calc(100dvh - 86px);
  overflow: auto;
}

.shop-products {
  padding: 26px;
}

.shop-products h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 34px;
}

.shop-products > p {
  max-width: 720px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.product {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
}

.product img {
  display: block;
  width: 100%;
  height: 128px;
  margin-bottom: 14px;
  object-fit: contain;
}

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

.product.cart-pop {
  animation: cart-pop 500ms ease;
}

.product b {
  margin: auto 0 14px;
  color: var(--green);
  font-size: 20px;
}

.cart-panel {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--chat);
  border-left: 1px solid var(--border);
  box-shadow: none;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.empty-cart {
  padding: 12px;
  background: var(--surface);
  border: 1px dashed #b9c3cf;
  color: var(--muted);
}

.cart-line {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.cart-line span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.qty-controls {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.qty-controls button {
  min-height: 34px;
  padding: 0;
  border-radius: 3px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cart-total strong {
  color: var(--green);
}

.checkout {
  width: 100%;
}

.fee-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--border));
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

footer {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 28px;
  padding: 46px 7% 30px;
  color: #dbe7f5;
  background: #243447;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 90;
  display: none;
  width: min(390px, calc(100vw - 28px));
}

.chat-widget.is-open {
  display: block;
}

.chat-widget.main-chat {
  position: static;
  display: block;
  width: 100%;
  justify-self: stretch;
}

.chat-widget.main-chat:not(.is-open) {
  display: none;
}

.chat-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 18px 44px var(--shadow);
  animation: chat-enter 180ms ease-out;
}

.main-chat .chat-panel {
  min-height: 470px;
  animation: none;
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: var(--chat-header-text);
  background: var(--chat-header);
  border-bottom: 1px solid color-mix(in srgb, var(--chat-header) 70%, #000);
}

.chat-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: color-mix(in srgb, var(--chat-header) 84%, #fff);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2));
}

.chat-topbar h2,
.chat-topbar p {
  margin: 0;
}

.chat-topbar h2 {
  color: var(--chat-header-text);
  font-size: 20px;
  line-height: 1.1;
}

.chat-topbar p {
  color: var(--chat-header-muted);
  font-size: 13px;
  font-weight: 700;
}

.chat-messages {
  display: grid;
  max-height: 340px;
  gap: 10px;
  overflow: auto;
  padding: 14px;
  background: var(--chat);
}

.main-chat .chat-messages {
  min-height: 320px;
  max-height: 460px;
}

.chat-line {
  max-width: 86%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 4px;
}

.chat-line.user {
  justify-self: end;
  background: color-mix(in srgb, var(--blue) 16%, var(--surface));
}

.chat-line span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.chat-line p {
  margin: 0;
  color: var(--text);
}

.chat-line.pending p::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  animation: typing-dots 900ms steps(4, end) infinite;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.chat-form input {
  min-height: 44px;
}

.chat-form button {
  min-width: 72px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes tape-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-220px);
  }
}

@keyframes executive-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.6deg);
  }
}

@keyframes button-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--warning) 45%, transparent);
  }
  50% {
    box-shadow: 0 0 0 7px transparent;
  }
}

@keyframes cart-pop {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  45% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes chat-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes typing-dots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75%,
  100% {
    content: "...";
  }
}

footer h2,
footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

footer p,
footer a {
  color: #dbe7f5;
}

footer a {
  display: block;
  margin: 4px 0;
  text-decoration: none;
}

footer form {
  display: flex;
  gap: 8px;
}

footer input {
  min-width: 0;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-slide,
  .hero-strip,
  .feature-grid,
  .services-list,
  .team-grid,
  .testimonial-grid,
  .holdings-hero,
  .fund-cycle-exhibit,
  .vault-summary,
  .holdings-grid,
  .candidate-grid,
  .careers-section,
  .contact-section,
  .shop-layout,
    footer {
    grid-template-columns: 1fr;
  }

  .site-controls {
    width: 100%;
  }

  .header-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .robot-section {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .robot-section .main-chat {
    order: -1;
  }

  .asset-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .asset-card img,
  .asset-card .asset-placeholder {
    width: 80px;
    height: 80px;
  }

  .hero-slide {
    gap: 22px;
    text-align: center;
  }

  .shop-layout {
    max-height: calc(100dvh - 86px);
  }

  .cart-panel {
    position: static;
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 18px;
  }

  nav {
    gap: 10px 14px;
  }

  nav a,
  .nav-link {
    font-size: 13px;
  }

  .hero-slide,
  .hero-strip,
  .section,
  .holdings-hero,
  .fund-cycle-exhibit,
  .holdings-shell,
  .services-section .section-heading,
  .services-list {
    width: min(100% - 32px, 1120px);
  }

  .robot-section.section {
    margin-top: 18px;
    margin-bottom: 20px;
    padding: 16px;
  }

  .hero h1 {
    font-size: 46px;
  }

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

  footer form {
    flex-direction: column;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-avatar {
    width: 46px;
    height: 46px;
  }

  .chat-form button {
    min-height: 44px;
  }
}

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