﻿:root {
  --brand-blue: #11408f;
  --brand-blue-bright: #2d7ff9;
  --brand-blue-soft: #e1ecff;
  --brand-navy: #0d1b2a;
  --brand-text: #11213a;
  --brand-muted: #667690;
  --brand-line: rgba(17, 33, 58, 0.08);
  --brand-surface: rgba(255, 255, 255, 0.82);
  --brand-surface-strong: #ffffff;
  --brand-surface-soft: #f7faff;
  --brand-shadow: 0 26px 70px rgba(17, 33, 58, 0.12);
  --brand-radius-xl: 30px;
  --brand-radius-lg: 22px;
  --brand-radius-md: 16px;
  --brand-success: #1f9d58;
  --brand-warning: #f2b705;
  --brand-danger: #e5484d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--brand-text);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.ghost-button,
.ghost-action,
.primary-action,
.panel-link {
  border: 0;
  cursor: pointer;
}

.ghost-button,
.ghost-action {
  padding: 12px 14px;
  border-radius: 14px;
  background: #edf2f8;
  color: var(--brand-muted);
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.primary-action {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-bright));
  color: white;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.person-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-blue-soft), white);
  color: var(--brand-blue);
  font-weight: 800;
}

.ghost-button:hover,
.ghost-action:hover {
  transform: translateY(-1px);
  background: #e6eef9;
  color: var(--brand-blue);
  box-shadow: 0 14px 28px rgba(17, 33, 58, 0.08);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(17, 64, 143, 0.22);
  filter: saturate(1.03);
}

.ghost-button:active,
.ghost-action:active,
.primary-action:active {
  transform: translateY(0);
}

.pio-branded {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pio-branded > * {
  position: relative;
  z-index: 1;
}

.pio-branded::before {
  content: "";
  position: absolute;
  inset: auto -42px -42px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 127, 249, 0.12), rgba(45, 127, 249, 0));
  pointer-events: none;
  z-index: 0;
}

.pio-branded::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 92px;
  height: 24px;
  background: url("./assets/piologo.png") no-repeat center / contain;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(0.05) saturate(0.9);
}

.pio-branded--soft::after {
  width: 82px;
  opacity: 0.11;
}

.pio-branded--strong::after {
  width: 112px;
  height: 30px;
  opacity: 0.18;
}

.pio-branded--topbar::after {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 88px;
}

@media (max-width: 720px) {
  .pio-branded::after,
  .pio-branded--strong::after,
  .pio-branded--soft::after,
  .pio-branded--topbar::after {
    width: 64px;
    height: 18px;
    top: 14px;
    right: 14px;
    transform: none;
    opacity: 0.1;
  }

  .pio-branded::before {
    width: 120px;
    height: 120px;
    inset: auto -30px -30px auto;
  }
}
