/* Spur study 01; shared with connector marketing's approved semantic palette. */
:root {
  --bg: #06070c;
  --surface: #10131c;
  --surface-raised: #171c28;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --quiet: #818999;
  --blue: #2b84ff;
  --blue-button: #1768d8;
  --blue-text: #88b8ff;
  --green: #64dfa0;
  --red: #ff9caa;
  --amber: #f4cf8a;
  --border: #292e3a;
  --border-strong: #626d81;
  --button-hover: #2070dc;
  --field-bg: #0a0d14;
  --info-bg: #152136;
  --warning-bg: #292315;
  --error-bg: #261a23;
  --success-bg: #10271e;
  --on-blue: #fff;
  --backdrop: #000b;
  --font:
    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica,
    Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
a {
  color: var(--blue-text);
  text-underline-offset: 4px;
}
button,
input,
textarea {
  border-radius: 8px;
}
:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 {
  font-size: 45px;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 19px;
}
p {
  margin: 0 0 18px;
}
small,
.fine {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-text);
  font-weight: 600;
  margin-bottom: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1224px;
  margin: auto;
  min-height: 82px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  filter: brightness(0) invert(1);
  width: 20px;
  height: 27px;
}
.brand span {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.085em;
}
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-actions > a {
  font-size: 13px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.account-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  max-width: 1048px;
  padding: 72px 32px 100px;
  margin: auto;
  align-items: start;
  min-height: 680px;
}
.account-story {
  padding-top: 19px;
}
.account-story > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  max-width: 345px;
}
.progress {
  padding: 0;
  list-style: none;
  margin: 39px 0;
}
.progress li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
}
.progress li > span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.progress li[aria-current='step'] {
  color: var(--ink);
}
.progress li[aria-current='step'] > span {
  color: var(--blue-text);
  border-color: var(--blue);
  background: var(--info-bg);
}
.task-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 32px;
  border-radius: 14px;
  min-width: 0;
}
.task-card > section > p {
  color: var(--muted);
  font-size: 14px;
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin: -10px 0 29px;
}
.tabs button {
  border: 0;
  background: transparent;
  min-height: 44px;
  color: var(--muted);
  border-radius: 0;
  font-size: 13px;
  border-bottom: 2px solid transparent;
}
.tabs button[aria-current='page'] {
  border-color: var(--blue);
  color: var(--ink);
}
.field {
  margin: 20px 0;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}
.field .helper {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--field-bg);
  color: var(--ink);
  min-height: 48px;
  padding: 12px;
  font-size: 16px;
  min-width: 0;
}
input[aria-invalid='true'] {
  border-color: var(--red);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 66px;
}
.password-toggle {
  position: absolute;
  right: 3px;
  top: 2px;
  min-height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  background: var(--blue-button);
  color: var(--on-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}
.button:hover:not(:disabled) {
  background: var(--button-hover);
}
.button.secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.button.secondary:hover:not(:disabled) {
  background: var(--surface-raised);
}
.button.quiet {
  background: transparent;
  color: var(--muted);
}
.button.quiet:hover:not(:disabled) {
  background: var(--surface-raised);
  color: var(--ink);
}
.button.danger {
  background: var(--error-bg);
  border-color: var(--red);
  color: var(--red);
}
.button.small {
  min-height: 44px;
  font-size: 12px;
  padding: 9px 13px;
}
.button.full {
  width: 100%;
}
.stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.inline-actions > * {
  flex: 1;
}
.form-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 6px 0 16px;
}
.text-button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--blue-text);
  font-size: 13px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 17px 0 0;
}
.divider {
  border-top: 1px solid var(--border);
  padding-top: 23px;
  margin-top: 26px;
}
.notice {
  font-size: 13px;
  padding: 13px 15px;
  margin: 18px 0;
  border: 1px solid var(--border-strong);
  background: var(--info-bg);
  border-radius: 8px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.notice.error {
  color: var(--red);
  background: var(--error-bg);
  border-color: var(--red);
}
.notice.success {
  color: var(--green);
  background: var(--success-bg);
}
.notice.warning {
  color: var(--amber);
  background: var(--warning-bg);
}
.notice:empty {
  display: none;
}
.callout {
  padding: 21px;
  background: var(--field-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 24px 0;
}
.callout p:last-child {
  margin: 0;
}
.key-display {
  border: 1px dashed var(--blue-text);
  background: var(--field-bg);
  padding: 18px;
  margin: 24px 0 12px;
  font:
    15px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
  min-height: 64px;
}
.key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.key-actions > * {
  flex: 1;
}
.key-list {
  margin-top: 24px;
}
.key-row {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.key-row strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.key-row code {
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--muted);
  display: block;
  overflow-wrap: anywhere;
}
.key-state {
  font-size: 12px;
  color: var(--green);
}
.key-state.inactive {
  color: var(--muted);
}
.account-danger {
  border-top: 1px solid var(--border);
  margin-top: 34px;
  padding-top: 26px;
}
.danger-link {
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 8px 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copy-box {
  background: var(--field-bg);
  border: 1px solid var(--border-strong);
  padding: 18px;
  border-radius: 8px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.setup-prompt {
  white-space: pre-wrap;
  margin-block: 12px;
}
.setup-steps {
  padding-left: 22px;
}
.setup-steps li + li {
  margin-top: 12px;
}
.prompt-details {
  margin-bottom: 18px;
}
.prompt-details summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 10px;
  color: var(--blue-text);
}
.site-footer {
  max-width: 1160px;
  margin: auto;
  padding: 30px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 25px;
}
dialog {
  width: min(470px, calc(100% - 32px));
  max-height: calc(100% - 40px);
  overflow: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 28px;
}
dialog::backdrop {
  background: var(--backdrop);
}
dialog p {
  font-size: 14px;
  color: var(--muted);
}
dialog textarea {
  font:
    14px/1.65 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  min-height: 130px;
}
dialog h2 {
  font-size: 26px;
}
.success-mark {
  color: var(--green);
  font-size: 28px;
  margin: 0 0 14px;
}
.reset-intro {
  margin-top: 15px;
}
@media (max-width: 800px) {
  .account-layout {
    gap: 38px;
    padding-top: 52px;
  }
  .account-story h1 {
    font-size: 39px;
  }
  .task-card {
    padding: 25px;
  }
  .header-actions {
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .nav-wrap {
    min-height: 72px;
    padding: 0 22px;
  }
  .header-actions > a {
    display: none;
  }
  .account-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 35px 22px 64px;
    min-height: 0;
  }
  .account-story {
    padding-top: 0;
  }
  .account-story h1 {
    font-size: 35px;
  }
  .account-story h1 br {
    display: none;
  }
  .account-story > p:not(.eyebrow) {
    max-width: none;
  }
  .progress {
    display: flex;
    gap: 14px;
    margin: 25px 0 0;
    flex-wrap: wrap;
  }
  .progress li {
    font-size: 11px;
    gap: 7px;
    margin: 0;
  }
  .progress li > span {
    width: 20px;
    height: 20px;
  }
  .task-card {
    padding: 25px;
  }
  .site-footer {
    padding: 26px 22px;
  }
  .eyebrow {
    margin-bottom: 14px;
  }
}
@media (max-width: 360px) {
  .nav-wrap {
    padding: 0 17px;
  }
  .account-layout {
    padding-left: 17px;
    padding-right: 17px;
  }
  .task-card {
    padding: 21px 18px;
  }
  .account-story h1 {
    font-size: 32px;
  }
  .progress {
    gap: 10px;
  }
  .progress li {
    font-size: 10px;
  }
  .progress li > span {
    width: 18px;
    height: 18px;
  }
  .button {
    padding-left: 13px;
    padding-right: 13px;
  }
  .key-row {
    grid-template-columns: 1fr;
  }
  .key-row .button {
    justify-self: start;
  }
  .site-footer {
    padding: 25px 17px;
  }
  dialog {
    padding: 23px;
  }
  .key-actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.nav-wrap > a:not(.brand) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
