:root {
  --white: #ffffff;
  --ghost: #f5f7fb;
  --primary: #3964ff;
  --primary-dark: #1b3fcf;
  --slate-900: #111827;
  --slate-700: #374151;
  --slate-500: #6b7280;
  --slate-200: #e5e7eb;
  --accent: #ff6b6b;
  --shadow-soft: 0 20px 45px rgba(17, 24, 39, 0.08);
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--slate-900);
  background-color: var(--ghost);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--ghost);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.75rem);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.brand img {
  width: 32px;
  height: 32px;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 5.5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 6vw, 5rem) 4rem;
  width: min(1150px, 100%);
  margin: 0 auto;
  z-index: 1;
}

.page::before {
  content: "";
  position: absolute;
  inset: -120px -12vw 0;
  background: radial-gradient(circle at top right, rgba(79, 142, 244, 0.15), transparent 55%),
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.12), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.cta {
  font: inherit;
  font-weight: 600;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cta.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 15px 30px rgba(57, 100, 255, 0.24);
}

.cta.primary:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.cta.ghost {
  background: rgba(17, 24, 39, 0.06);
  color: var(--slate-900);
}

.cta.ghost:hover {
  background: rgba(17, 24, 39, 0.1);
}

.cta.wide {
  width: 100%;
  justify-content: center;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.1rem;
}

.hero-copy .support {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.75);
}

.hero-copy h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.25rem, 5vw, 3.375rem);
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(57, 100, 255, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.support {
  color: var(--slate-700);
  margin: 0;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.hero-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.hero-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(57, 100, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate-500);
  font-size: 0.95rem;
}

.pill {
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 600;
}

.situational {
  background: rgba(255, 217, 130, 0.22);
  color: #b88300;
}

.behavioral {
  background: rgba(231, 219, 255, 0.45);
  color: #5f3dc4;
}

.technical {
  background: rgba(182, 234, 255, 0.4);
  color: #0b7285;
}

.culture {
  background: rgba(255, 205, 210, 0.35);
  color: #c62828;
}

.reflection {
  background: rgba(209, 250, 229, 0.5);
  color: #1b6f4f;
}

.prompt {
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0;
}

.answer-area {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.answer-area textarea {
  resize: none;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 1rem 1.1rem;
  font: inherit;
  background: rgba(245, 247, 251, 0.7);
  color: var(--slate-500);
}

.answer-area textarea:focus {
  outline: 2px solid var(--primary);
  background: var(--white);
}

/* Homepage setup */
.setup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.8rem, 5vw, 2.75rem);
  display: grid;
  gap: 1.35rem;
  border: 1px solid rgba(17, 24, 39, 0.05);
  position: relative;
  overflow: hidden;
  width: min(980px, 100%);
  margin: 0 auto;
}

.setup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.setup > * {
  position: relative;
  z-index: 1;
}

.setup h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.setup .support {
  color: var(--slate-600);
  max-width: 42ch;
  line-height: 1.6;
}

.setup-form {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  width: 100%;
}

.setup-form .field {
  display: grid;
  gap: 0.55rem;
}

.setup-form label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.setup-form input:not([type="checkbox"]),
.setup-form textarea,
.setup-form select {
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 0.95rem 1rem;
  font: inherit;
  background: rgba(248, 250, 252, 0.75);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.setup-form input:not([type="checkbox"]):focus,
.setup-form textarea:focus,
.setup-form select:focus {
  outline: none;
  border-color: rgba(26, 115, 232, 0.5);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
  background: var(--white);
}

.setup-form textarea {
  min-height: 120px;
  resize: vertical;
}

.setup-form .field.inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
}

.setup-form .field.inline > div {
  display: grid;
  gap: 0.45rem;
}

.setup-form .field.inline > div:last-child {
  justify-self: end;
}

.search-input {
  position: relative;
}

.search-input input {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 0.95rem 1rem;
  font: inherit;
  background: rgba(248, 250, 252, 0.75);
}

.search-input input:focus {
  outline: 2px solid rgba(26, 115, 232, 0.25);
  background: var(--white);
}

.search-suggestions::-webkit-scrollbar {
  width: 6px;
}

.search-suggestions::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 999px;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  margin: 0.35rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
}

.search-suggestions li {
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-suggestions li:hover {
  background: rgba(241, 245, 249, 0.6);
}

.search-suggestions li span {
  display: block;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.role-browse {
  position: relative;
  display: grid;
  gap: 0.6rem;
}

.chip-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(248, 250, 252, 0.65);
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.78);
  cursor: pointer;
  transition: border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: left;
}

.chip-toggle svg {
  transition: transform 0.18s ease;
  color: rgba(15, 23, 42, 0.45);
}

.chip-toggle:hover {
  background: rgba(26, 115, 232, 0.12);
  border-color: rgba(26, 115, 232, 0.35);
  box-shadow: 0 15px 30px rgba(26, 115, 232, 0.12);
}

.role-browse.is-open .chip-toggle svg {
  transform: rotate(180deg);
}

.role-chips {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: var(--white);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
  max-height: 260px;
  overflow-y: auto;
  z-index: 22;
}

.role-chips[hidden] {
  display: none;
}

.chip-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.55);
  margin: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(248, 250, 252, 0.75);
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  background: rgba(26, 115, 232, 0.12);
  border-color: rgba(26, 115, 232, 0.4);
}

.chip:focus-visible {
  outline: 2px solid rgba(26, 115, 232, 0.55);
  outline-offset: 2px;
}

.chip.is-active {
  background: rgba(57, 100, 255, 0.18);
  border-color: rgba(57, 100, 255, 0.35);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.upload {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(17, 24, 39, 0.16);
  background: rgba(248, 250, 252, 0.65);
}

.upload input[type="file"] {
  display: none;
}

.upload span {
  flex: 1;
  color: var(--slate-500);
}

.upload button {
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(17, 24, 39, 0.04);
  padding: 0.6rem 1rem;
  font: inherit;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.upload button:hover {
  background: rgba(26, 115, 232, 0.12);
  border-color: rgba(26, 115, 232, 0.25);
  transform: translateY(-1px);
}

.toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.toggle input {
  display: none;
}

.toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.15);
  position: relative;
  transition: background 0.2s ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-track {
  background: rgba(26, 115, 232, 0.45);
}

.toggle input:checked + .toggle-track::after {
  transform: translate(16px, -50%);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.2rem, 4vw, 2rem);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(17, 24, 39, 0.05);
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57, 100, 255, 0.08), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.6;
}

.cta-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2rem);
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(57, 100, 255, 0.12);
  pointer-events: none;
}

.cta-panel h2 {
  margin: 0;
}

.cta-panel .support {
  color: var(--slate-600);
  max-width: 44ch;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 0.85rem 1.2rem;
  font: inherit;
  background: rgba(248, 250, 252, 0.7);
}

.cta-form input:focus {
  outline: 2px solid rgba(57, 100, 255, 0.25);
  background: var(--white);
}

.cta-form .cta {
  box-shadow: 0 12px 24px rgba(57, 100, 255, 0.25);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.4rem, 5vw, 2.2rem) clamp(1.5rem, 6vw, 3.5rem);
  color: var(--slate-500);
  font-size: 0.92rem;
  background: var(--white);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.footer nav {
  display: inline-flex;
  gap: 1.25rem;
}

.footer a {
  color: inherit;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--primary);
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.icon {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  color: var(--slate-900);
  font-weight: 600;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(17, 24, 39, 0.02);
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.icon:hover {
  border-color: rgba(17, 24, 39, 0.18);
}

.icon .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.45);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(255, 107, 107, 0);
  }
}

.icon.recording {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.35);
  color: var(--accent);
}

.icon.recording .dot {
  background: var(--accent);
  animation-duration: 0.9s;
}

.feedback-panel {
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(17, 24, 39, 0.02);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.5rem;
  position: static;
  overflow: visible;
}

.feedback-panel h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feedback-panel p {
  margin: 0;
  color: var(--slate-700);
  white-space: pre-line;
}

.feedback-panel pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  color: rgba(31, 41, 55, 0.75);
  font-size: 0.88rem;
  line-height: 1.6;
  font-style: italic;
}

.feedback-panel pre::before {
  content: "\201C";
  position: absolute;
  left: -0.65rem;
  top: -0.1rem;
  font-size: 1.3rem;
  color: rgba(26, 115, 232, 0.45);
  font-style: normal;
}

.question-groups {
  display: grid;
  gap: 0.6rem;
}

.group-header {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font: inherit;
  color: var(--slate-600);
}

.group-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.group-list {
  list-style: none;
  margin: 0;
  padding: 0 1rem 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 12px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.timeline-item:hover {
  background: rgba(15, 23, 42, 0.04);
}

.timeline-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--slate-600);
}

.timeline-item.is-active {
  background: rgba(26, 115, 232, 0.12);
  color: var(--slate-800);
}

.timeline-item.is-active p {
  color: inherit;
}

.timeline-item.is-complete p {
  color: #166534;
}

.question-group.is-collapsed .group-list {
  display: none;
}

.warmup-footer {
  padding: clamp(1.2rem, 4vw, 2rem) clamp(1.6rem, 6vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.warmup-footer .footer-actions {
  display: flex;
  gap: 1rem;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (min-width: 960px) {
  .setup {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .setup h2,
  .setup .support {
    grid-column: 1 / 2;
  }

  .setup-form {
    grid-column: 2 / 3;
    align-self: stretch;
  }
}

@media (min-width: 640px) {
  .setup-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setup-form .field:nth-child(3) {
    grid-column: span 2;
  }

  .setup-form .field.inline {
    grid-column: span 2;
  }

  .setup-form button {
    grid-column: span 2;
    justify-self: start;
    max-width: 320px;
  }
}

@media (max-width: 540px) {
  .topbar {
    padding-inline: 1rem;
  }

  .cta {
    padding-inline: 1.15rem;
  }

  .hero-preview {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .setup {
    padding: clamp(1.5rem, 6vw, 2.3rem);
  }

  .setup .support {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .setup {
    gap: 1.1rem;
  }

  .chip-toggle {
    padding: 0.7rem 0.9rem;
  }

  .role-chips {
    position: static;
    max-height: 220px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    margin-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  .setup-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .setup-form .field.inline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .upload {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .upload button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-preview {
    order: -1;
    max-width: min(420px, 90%);
    justify-self: start;
  }

  .hero-copy {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 1rem clamp(1rem, 5vw, 1.6rem);
    flex-direction: column;
    gap: 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1.1;
  }

  .hero-copy .support {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-preview {
    padding: clamp(1.25rem, 6vw, 1.6rem);
    border-radius: 20px;
    align-self: stretch;
  }

  .answer-area textarea {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: clamp(1.2rem, 6vw, 1.8rem);
  }

  .setup {
    padding: clamp(1.4rem, 6vw, 2rem);
  }

  .setup-form .field.inline {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .setup-form .field.inline > div:last-child {
    justify-self: start;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-panel form {
    width: 100%;
  }
}

/* Dashboard */
.dashboard {
  background: var(--ghost);
}

.dashboard-shell {
  display: grid;
  gap: clamp(1.5rem, 5vw, 2.75rem);
  padding: clamp(1.75rem, 6vw, 3.5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.summary-banner {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.6rem);
  display: grid;
  gap: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.summary-copy h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  color: var(--slate-900);
}

.summary-copy h1 span {
  color: var(--primary-dark);
}

.summary-copy p {
  color: var(--slate-600);
  max-width: 50ch;
}

.summary-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0;
}

.summary-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta.primary.subtle {
  background: var(--slate-900);
  box-shadow: none;
}

.cta.primary.subtle:hover {
  background: #0f172a;
}

.text-link {
  color: var(--slate-600);
  font-weight: 500;
}

.text-link:hover {
  color: var(--primary-dark);
}

.summary-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.summary-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.45rem;
}

.summary-card h3 {
  margin: 0;
  font-size: 1.65rem;
  color: var(--slate-900);
}

.summary-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.summary-note {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.content-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.content-primary,
.content-secondary {
  display: grid;
  gap: 1.5rem;
}

.panel-simple {
  background: var(--white);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--slate-800);
}

.session-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.session-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.95rem;
  color: var(--slate-700);
}

.session-items li:last-child {
  border-bottom: none;
}

.session-items li strong {
  display: block;
  font-size: 1rem;
  color: var(--slate-900);
}

.session-items li span {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.session-items li .session-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.session-items li .session-meta a {
  color: var(--primary);
}

.session-items li.empty {
  color: var(--slate-500);
  justify-content: center;
}

.checklist {
  counter-reset: steps;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  counter-increment: steps;
  padding-left: 2.2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.checklist li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--slate-600);
}

.checklist span {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 0.35rem;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  left: 0;
  top: 0.55rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--slate-700);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .summary-banner {
    padding: 1.4rem;
  }

  .summary-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .cta-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .cta-panel form {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 1rem clamp(1rem, 5vw, 1.6rem);
    flex-direction: column;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .hero-preview {
    max-width: min(420px, 100%);
  }

  .cta-panel form {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .page {
    padding: clamp(1.2rem, 6vw, 1.8rem);
    gap: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    line-height: 1.12;
  }

  .hero-copy .support {
    font-size: 0.96rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .setup {
    padding: clamp(1.4rem, 6vw, 2rem);
  }

  .setup-form .field.inline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-panel form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-preview {
    padding: clamp(1.2rem, 6vw, 1.6rem);
    border-radius: 18px;
  }

  .feature-card {
    max-width: 100%;
  }
}


/* Profile page */
.profile-page {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.4), transparent 420px), var(--ghost);
}

.profile-topbar .cta.ghost.active {
  background: rgba(57, 100, 255, 0.12);
  color: var(--primary);
}

.profile-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(1.8rem, 4.8vw, 3.2rem) clamp(1.2rem, 5vw, 3.25rem) 4rem;
  display: grid;
  gap: clamp(2.2rem, 5vw, 3rem);
}

.profile-hero {
  position: relative;
}

.profile-hero-card {
  position: relative;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.profile-cover {
  height: clamp(150px, 25vw, 220px);
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.75));
}

.profile-body {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1.7rem, 4.6vw, 3rem) clamp(2.1rem, 5vw, 3.1rem);
  margin-top: -clamp(4.6rem, 12vw, 6rem);
}

.profile-identity {
  display: flex;
  align-items: flex-end;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.profile-avatar {
  width: clamp(80px, 14vw, 110px);
  height: clamp(80px, 14vw, 110px);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.95), rgba(29, 78, 216, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
  border: 4px solid var(--white);
}

.profile-headline {
  margin: 0 0 0.35rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: rgba(15, 23, 42, 0.92);
  font-weight: 600;
}

.profile-location {
  margin: 0;
  color: rgba(71, 85, 105, 0.82);
  font-size: 0.95rem;
}

.profile-summary {
  margin: 0;
  max-width: 68ch;
  color: rgba(30, 41, 59, 0.82);
  line-height: 1.65;
}

.profile-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: rgba(15, 23, 42, 0.75);
  font-size: 0.82rem;
}

.profile-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.profile-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.95rem;
}

.profile-metric {
  background: rgba(248, 250, 252, 0.9);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(209, 213, 219, 0.6);
  display: grid;
  gap: 0.35rem;
}

.profile-metric strong {
  font-size: 1.5rem;
  color: var(--slate-900);
}

.metric-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(100, 116, 139, 0.78);
}

.profile-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 3vw, 2.6rem);
}

.profile-column {
  display: grid;
  gap: 1.6rem;
}

.profile-panel {
  background: var(--white);
  border-radius: 22px;
  padding: 1.75rem clamp(1.4rem, 4vw, 1.95rem);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1.25rem;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.78);
  margin: 0 0 0.4rem;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.3rem;
  color: rgba(15, 23, 42, 0.95);
}

.panel-stat {
  font-size: 0.86rem;
  color: rgba(100, 116, 139, 0.85);
}

.activity-list,
.feedback-list,
.coverage-list,
.growth-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.activity-list {
  position: relative;
  padding-left: 1.6rem;
}

.activity-list::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.4rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.4), rgba(148, 163, 184, 0.05));
}

.activity-list li {
  position: relative;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.activity-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-list li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--primary);
  left: -1.1rem;
  top: 0.35rem;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.activity-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.activity-main strong {
  font-size: 1.04rem;
  color: rgba(15, 23, 42, 0.92);
}

.activity-main span {
  color: rgba(100, 116, 139, 0.85);
  font-size: 0.9rem;
}

.activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(71, 85, 105, 0.75);
}

.activity-meta a {
  color: var(--primary);
  font-weight: 600;
}

.feedback-quote {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(15, 23, 42, 0.88);
  line-height: 1.55;
}

.feedback-question {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(100, 116, 139, 0.88);
}

.feedback-date {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.95);
}

.coverage-list li {
  display: grid;
  gap: 0.45rem;
}

.coverage-label span {
  font-weight: 600;
  color: rgba(30, 41, 59, 0.85);
}

.coverage-bar {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.85);
  overflow: hidden;
}

.coverage-bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(165, 180, 252, 0.75));
}

.coverage-list strong {
  font-size: 0.86rem;
  color: rgba(30, 41, 59, 0.72);
}

.growth-list strong {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.92);
}

.growth-list p {
  margin: 0;
  color: rgba(71, 85, 105, 0.85);
  line-height: 1.5;
}

.profile-panel .empty {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.82);
  color: rgba(100, 116, 139, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.5);
  text-align: center;
}

@media (max-width: 960px) {
  .profile-content {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    padding: 1.6rem 1.4rem;
  }
}

@media (max-width: 720px) {
  .profile-body {
    margin-top: -4.2rem;
    padding: 1.6rem 1.4rem 2.2rem;
  }

  .profile-identity {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.8rem;
  }

  .profile-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-metrics {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .activity-list {
    padding-left: 1.1rem;
  }

  .activity-list::before {
    left: 0.4rem;
  }

  .activity-list li::before {
    left: -1.3rem;
  }
}

