/* Small presentation-only refinements. Preserve branding, routes and behavior. */
:root {
  --muted: #5C5C66;
  --surface-shadow: 0 3px 16px rgb(13 14 20 / 4%);
}
::selection { background: #DAD8FF; color: #0d0e14; }
.header { background: rgb(244 243 239 / 55%); }
.header nav a:hover { color: var(--ember-deep); }
.header nav a.active:after { height: 3px; border-radius: 3px 3px 0 0; }
.header-actions { gap: 14px; }
.hero-copy > p { max-width: 430px; }
.hero-actions .button { box-shadow: 0 4px 12px rgb(79 70 255 / 16%); }
.hero-actions .text-link { min-height: 44px; }
.central-mark img { box-shadow: 0 18px 55px rgb(79 70 255 / 21%); }
.chain-float { border-color: #E3E2DC; box-shadow: 0 8px 24px rgb(13 14 20 / 6%); }
.principles { background: rgb(244 243 239 / 40%); }
.steps-grid, .form-card, .launch-summary, .bridge-panel, .explore-controls {
  box-shadow: var(--surface-shadow);
}
.steps-grid article { padding-top: 30px; padding-bottom: 34px; }
.step-number { color: #5C5C66; font-size: 11.5px; }
.steps-grid p { font-size: 14px; line-height: 1.8; }
.bottom-cta { box-shadow: 0 8px 24px rgb(79 70 255 / 10%); }
.card-heading .number { background: #F6F5F1; font-weight: 600; }
.form-card label { color: #5C5C66; font-size: 13px; }
.form-card input::placeholder, .form-card textarea::placeholder,
.bridge-panel input::placeholder { color: #5C5C66; }
.form-card input:not([type=radio]):not([type=range]):not([type=checkbox]):not([type=file]),
.form-card textarea, .bridge-panel input:not([type=checkbox]) {
  transition: border-color .18s, box-shadow .18s;
}
.form-card input:focus-visible, .form-card textarea:focus-visible,
.bridge-panel input:focus-visible {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgb(79 70 255 / 10%);
}
.chain-option { transition: border-color .18s, background .18s; }
.chain-option:hover { border-color: #ABABB3; }
.chain-option:has(input:checked) { box-shadow: inset 0 0 0 1px var(--ember); }
.upload:hover, .upload:focus-within { border-color: var(--ember); background: #EDECE7; }
.tabs button.active, .destination-filter button.active { box-shadow: inset 0 0 0 1px #E3E2DC; }
.directory-empty { border-style: solid; border-color: var(--line); }
.directory-empty p { line-height: 1.8; }
.docs-sidebar nav > a:hover { background: #EDECE7; color: var(--ember-deep); }
.docs-sidebar nav > a.active { font-weight: 600; }
.doc-content p, .doc-content li { color: #5C5C66; }
.doc-content h2 { scroll-margin-top: 24px; }
.button:disabled:hover { transform: none; box-shadow: none; }

@media (max-width: 760px) {
  .header-actions { gap: 8px; }
  .header nav { background: var(--paper); }
  .header-actions .button { min-height: 40px; }
  .hero-copy > p { font-size: 14px; }
  .steps-grid article { padding: 24px; }
  .steps-grid p { font-size: 13px; }
  .form-card input:not([type=radio]):not([type=range]):not([type=checkbox]):not([type=file]),
  .form-card textarea, .bridge-panel #receiver, .directory-search input {
    font-size: 16px; /* Avoid automatic input zoom on iOS. */
  }
  .destination-filter button { min-height: 40px; }
  .docs-sidebar nav > a { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .chain-option, .form-card input, .form-card textarea, .bridge-panel input { transition: none; }
}
