/* Brand styles shared by the Next.js landing and the static questionnaire. */
:root {
  --semantiq-bg: #f7fafc;
  --semantiq-ink: #10233b;
  --semantiq-muted: #4e657c;
  --semantiq-line: rgb(16 35 59 / 12%);
  --semantiq-control-line: rgb(16 35 59 / 22%);
  --semantiq-accent: #05a7e0;
  --semantiq-action: #057cab;
  --semantiq-action-hover: #075f83;
  --semantiq-action-radius: 9px;
  --semantiq-action-weight: 800;
  --semantiq-panel-radius: 12px;
  --semantiq-focus: 2px solid var(--semantiq-action);
  --semantiq-focus-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--semantiq-action);
}

:focus-visible {
  outline: var(--semantiq-focus);
  outline-offset: var(--semantiq-focus-offset);
}

#site-header .brand-name,
.onboarding-theme .brand__word {
  color: var(--semantiq-action);
}

.semantiq-brand-ai {
  color: var(--semantiq-ink);
}

.semantiq-brand-signature,
.onboarding-theme .brand__signature {
  color: oklch(70.4% 0.04 256.788);
  opacity: 0.75;
}

.semantiq-brand-re,
.onboarding-theme .brand__re {
  color: var(--semantiq-accent);
  font-weight: 600;
}

.semantiq-brand-ml,
.onboarding-theme .brand__ml {
  color: #0f172a;
  font-weight: 600;
}

.btn-primary,
.onboarding-theme
  .app.app--light
  :is(.button--primary, .summary-demo__primary) {
  background: var(--semantiq-action);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover,
.onboarding-theme
  .app.app--light
  :is(.button--primary, .summary-demo__primary):hover:not(:disabled) {
  background: var(--semantiq-action-hover);
  box-shadow: none;
}

.btn-primary {
  border-radius: 7px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost,
.onboarding-theme
  .app.app--light
  :is(
    .button--secondary,
    .button--ghost,
    .back-button,
    .home-button,
    .done-home,
    .summary-demo__effect
  ) {
  background: transparent;
  color: var(--semantiq-ink);
  border: 1px solid var(--semantiq-control-line);
}

.btn-ghost {
  border-radius: 7px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-ghost:hover,
.onboarding-theme
  .app.app--light
  :is(
    .button--secondary,
    .button--ghost,
    .back-button,
    .home-button,
    .done-home,
    .summary-demo__effect
  ):hover:not(:disabled) {
  background: rgb(15 23 42 / 4%);
  border-color: rgb(15 23 42 / 18%);
}
