:root {
  --orange: #fd7700;
  --orange-soft: rgba(253, 119, 0, 0.12);
  --blue: #0072b1;
  --blue-mid: #1b5687;
  --blue-deep: #003e73;
  --blue-ink: #052445;
  --white: #ffffff;
  --page-bg: #f7fbff;
  --page-text: #0b2340;
  --page-soft: rgba(5, 36, 69, 0.72);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-card: rgba(255, 255, 255, 0.9);
  --border-soft: rgba(0, 114, 177, 0.12);
  --border-strong: rgba(0, 62, 115, 0.16);
  --shadow-sm: 0 10px 24px rgba(0, 62, 115, 0.08);
  --shadow-md: 0 18px 40px rgba(0, 62, 115, 0.12);
  --shadow-lg: 0 28px 65px rgba(0, 62, 115, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shell: min(1160px, calc(100% - clamp(2.75rem, 5vw, 4.5rem)));
  --font-body: "Aptos", "Segoe UI", "Calibri", sans-serif;
  --font-display: "Bahnschrift", "Aptos Display", "Trebuchet MS", sans-serif;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 114, 177, 0.12), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(253, 119, 0, 0.14), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(27, 86, 135, 0.12), transparent 24%),
    linear-gradient(180deg, #fafdff 0%, #f4f8fd 56%, #eef4fb 100%);
  color: var(--page-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 75% 80%, rgba(0, 114, 177, 0.08), transparent 28%),
    radial-gradient(circle at 24% 28%, rgba(253, 119, 0, 0.08), transparent 24%);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}

body::after {
  inset: 6%;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      135deg,
      rgba(0, 114, 177, 0.025) 0 1px,
      transparent 1px 24px
    );
  opacity: 0.38;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

p {
  margin: 0;
  color: var(--page-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.eyebrow::before {
  content: "";
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}

.site-header {
  position: sticky;
  top: 0.35rem;
  z-index: 50;
  padding: 0.45rem 0 1.75rem;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  will-change: transform, opacity;
}

.header-shell,
.app-nav__shell,
.footer-shell,
.footer-bottom,
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 255, 0.88));
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  will-change: transform, opacity;
}

.header-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease;
  will-change: transform, opacity;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--page-text);
  text-align: left;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease;
  will-change: transform, opacity;
}

.brand-lockup__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  box-shadow: 0 12px 22px rgba(0, 114, 177, 0.12);
}

.brand-lockup__text {
  display: grid;
  gap: 0.12rem;
}

.brand-lockup__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.brand-accent-ciber {
  color: var(--orange);
}

.brand-word-joined {
  display: inline-block;
  white-space: nowrap;
}

.brand-lockup__meta {
  font-size: 0.77rem;
  font-weight: 600;
  color: rgba(5, 36, 69, 0.6);
}

.app-nav {
  position: sticky;
  top: 5.85rem;
  z-index: 45;
  padding: 0.2rem 0 0.85rem;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  will-change: transform, opacity;
}

body.chrome-hidden .site-header {
  transform: translateY(-0.9rem);
  opacity: 0;
  pointer-events: none;
}

body.chrome-hidden .header-shell {
  transform: translateY(-0.45rem);
}

body.chrome-hidden .brand-lockup,
body.chrome-hidden .header-tabs {
  transform: translateY(-0.5rem);
  opacity: 0;
}

.app-nav__shell {
  padding: 0.85rem 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  will-change: transform, opacity;
}

.nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nav-home__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(5, 36, 69, 0.45);
}

.nav-pill,
.nav-chip,
.context-pill,
.answer-pill,
.action-button,
.result-chip,
.control-jump,
.share-button {
  border: 0;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

body.chrome-hidden .header-tabs .nav-pill {
  transform: translateY(-0.4rem) scale(0.985);
  opacity: 0;
}

.nav-pill,
.control-jump,
.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: rgba(245, 250, 255, 0.9);
  color: rgba(5, 36, 69, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-pill:hover,
.control-jump:hover,
.nav-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 114, 177, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: var(--blue-deep);
}

.nav-pill.is-active,
.control-jump.is-active,
.nav-chip.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 14px 24px rgba(0, 114, 177, 0.18);
}

.nav-progress {
  display: grid;
  gap: 0.85rem;
}

.nav-progress__rail {
  width: 100%;
  height: 0.72rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 62, 115, 0.08), rgba(0, 114, 177, 0.12));
}

.nav-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transition: width 220ms ease;
}

.nav-progress__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.nav-progress__row::-webkit-scrollbar {
  display: none;
}

.nav-divider {
  width: 1px;
  height: 2rem;
  flex: 0 0 auto;
  background: rgba(0, 62, 115, 0.1);
}

.control-jump {
  min-width: 2.6rem;
  padding-inline: 0.8rem;
  border-radius: 16px;
}

.app-main {
  padding-bottom: 3rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0.12rem 0 0.12rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0.08rem auto auto 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 1.5rem));
  height: calc(100% - 1rem);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 255, 0.88)),
    linear-gradient(135deg, rgba(0, 114, 177, 0.03), rgba(253, 119, 0, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 10px 24px rgba(8, 37, 68, 0.06),
    0 28px 56px rgba(0, 62, 115, 0.12),
    0 42px 84px rgba(0, 62, 115, 0.08);
  z-index: -1;
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.82;
  pointer-events: none;
}

.hero-lines svg {
  width: 100%;
  height: 100%;
}

.hero-line {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
  animation: line-flow 16s linear infinite;
}

.hero-line.line-1 { stroke: rgba(0, 62, 115, 0.55); }
.hero-line.line-2 { stroke: rgba(0, 114, 177, 0.58); animation-duration: 14s; }
.hero-line.line-3 { stroke: rgba(27, 86, 135, 0.46); animation-duration: 18s; }
.hero-line.line-4 { stroke: rgba(253, 119, 0, 0.52); animation-duration: 15s; }
.hero-line.line-5 { stroke: rgba(0, 114, 177, 0.32); animation-duration: 20s; }

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(1.2rem, 2.4vw, 1.9rem);
  align-items: center;
  min-height: clamp(21rem, 45svh, 26.5rem);
  padding: 0.75rem clamp(1.1rem, 2.8vw, 1.9rem) 0.75rem;
}

.hero-copy {
  display: grid;
  gap: 0.78rem;
  max-width: 38rem;
  align-self: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
  color: var(--blue-deep);
  text-wrap: balance;
}

.hero-copy h1 > span {
  display: block;
}

.hero-copy h1 > .brand-word-joined {
  color: var(--blue-deep);
}

.hero-copy h1 > .brand-word-joined .brand-accent-ciber {
  color: var(--orange);
}

.hero-copy h1 > span:last-child {
  color: var(--blue-deep);
}

.hero-copy p {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  max-width: 37rem;
}

.hero-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-frameworks span,
.footer-pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 114, 177, 0.1);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.hero-actions,
.hero-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-share__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(5, 36, 69, 0.56);
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  padding: 0.68rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 114, 177, 0.1);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.share-button:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 119, 0, 0.28);
}

.hero-brand {
  position: relative;
  min-height: 15.5rem;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
}

.hero-brand__halo,
.hero-brand__halo::before,
.hero-brand__halo::after {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-brand__halo {
  width: min(20rem, 100%);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle, rgba(0, 114, 177, 0.18) 0%, rgba(0, 114, 177, 0) 68%);
}

.hero-brand__halo::before {
  content: "";
  width: 86%;
  height: 86%;
  border: 1px solid rgba(0, 114, 177, 0.14);
  animation: pulse-ring 7s ease-in-out infinite;
}

.hero-brand__halo::after {
  content: "";
  width: 60%;
  height: 60%;
  border: 1px solid rgba(253, 119, 0, 0.22);
  animation: pulse-ring 5.8s ease-in-out infinite reverse;
}

.hero-brand__plate {
  position: relative;
  width: min(18rem, 84%);
  padding: clamp(0.72rem, 1vw, 0.95rem);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 58px rgba(0, 62, 115, 0.16);
  animation: hero-float 7s ease-in-out infinite;
}

.hero-brand__plate img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-brand__corner {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 114, 177, 0.14);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.hero-brand__corner i {
  color: var(--orange);
}

.hero-brand__corner.is-top {
  top: 1rem;
  right: 0.5rem;
}

.hero-brand__corner.is-bottom {
  bottom: 1.5rem;
  left: 0.5rem;
}

.marquee-band {
  padding: 0.8rem 0 1.35rem;
}

.marquee-frame {
  width: var(--shell);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.6rem 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 247, 255, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 177, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--orange);
}

.support-section,
.context-section,
.disclaimer-section,
.screen-section {
  padding-top: 1.05rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.support-panel,
.context-panel,
.disclaimer-panel,
.control-header,
.risk-panel,
.question-card,
.results-summary,
.result-panel,
.mapping-panel {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.88));
  box-shadow: var(--shadow-sm);
}

.support-panel {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  display: grid;
  gap: 0.7rem;
}

.support-panel__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 114, 177, 0.18), rgba(255, 255, 255, 0.86));
  color: var(--blue-deep);
  font-size: 1.35rem;
}

.support-panel h3 {
  font-size: 1.02rem;
  color: var(--blue-deep);
}

.context-panel,
.disclaimer-panel,
.mapping-panel {
  padding: 1.5rem;
  border-radius: 28px;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  color: var(--blue-deep);
}

.section-heading p {
  max-width: 44rem;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.context-pill {
  width: 100%;
  display: grid;
  gap: 0.65rem;
  padding: 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 114, 177, 0.1);
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
}

.context-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 119, 0, 0.24);
  box-shadow: var(--shadow-sm);
}

.context-pill.is-active {
  background: linear-gradient(145deg, rgba(0, 62, 115, 0.96), rgba(0, 114, 177, 0.86));
  color: var(--white);
  box-shadow: 0 24px 42px rgba(0, 62, 115, 0.24);
}

.context-pill.is-active p,
.context-pill.is-active .context-pill__note,
.context-pill.is-active .context-pill__title {
  color: rgba(255, 255, 255, 0.94);
}

.context-pill__icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(0, 114, 177, 0.12);
  color: var(--blue-deep);
  font-size: 1.25rem;
}

.context-pill.is-active .context-pill__icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.context-pill__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.context-pill__note {
  font-size: 0.82rem;
  color: rgba(5, 36, 69, 0.55);
}

.context-footer,
.screen-actions,
.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.difficulty-panel {
  width: 100%;
  display: grid;
  gap: 0.9rem;
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 114, 177, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.86));
  box-shadow: var(--shadow-sm);
}

.difficulty-panel__copy {
  display: grid;
  gap: 0.35rem;
}

.difficulty-panel__copy h3 {
  font-size: 1.04rem;
  color: var(--blue-deep);
}

.difficulty-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.difficulty-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.78rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 114, 177, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(5, 36, 69, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.difficulty-chip i {
  color: var(--blue-mid);
}

.difficulty-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 119, 0, 0.24);
  box-shadow: var(--shadow-sm);
}

.difficulty-chip.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-color: transparent;
  box-shadow: 0 16px 28px rgba(0, 114, 177, 0.2);
}

.difficulty-chip.is-active i {
  color: rgba(255, 255, 255, 0.92);
}

.difficulty-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 114, 177, 0.08);
  border: 1px solid rgba(0, 114, 177, 0.12);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.difficulty-mode-badge i {
  color: var(--orange);
}

.difficulty-mode-badge--result {
  margin-top: 0.35rem;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.action-button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 18px 28px rgba(0, 114, 177, 0.22);
}

.action-button--primary:hover {
  transform: translateY(-2px);
}

.action-button--secondary {
  border: 1px solid rgba(0, 114, 177, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--blue-deep);
}

.action-button--secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 119, 0, 0.2);
}

.action-button--ghost {
  border: 1px solid rgba(0, 62, 115, 0.12);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(5, 36, 69, 0.7);
}

.action-button--print {
  color: var(--white);
  background: linear-gradient(135deg, #d85b00, var(--orange));
}

.legal-note {
  font-size: 0.8rem;
  max-width: 42rem;
}

.disclaimer-panel {
  display: grid;
  gap: 0.8rem;
}

.disclaimer-panel strong {
  color: var(--blue-deep);
}

.screen-section {
  width: var(--shell);
  margin-inline: auto;
}

.control-header {
  padding: 1.4rem;
  border-radius: 30px;
  display: grid;
  gap: 1rem;
}

.control-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
}

.control-header__top > img,
.control-header__top > .control-brand-mini {
  display: none !important;
}

.control-header__top > :not(:first-child) {
  display: none !important;
}

.control-header__top picture,
.control-header__top svg,
.control-header__top img {
  display: none !important;
}

.control-header__eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(5, 36, 69, 0.5);
}

.control-header__lead {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.control-badge {
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 20px 30px rgba(0, 62, 115, 0.16);
  flex: 0 0 auto;
}

.control-header__title {
  display: grid;
  gap: 0.35rem;
}

.control-header__title h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--blue-deep);
}

.control-header__title p {
  max-width: 46rem;
}

.risk-panel {
  margin-top: 1rem;
  padding: 1.35rem;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 236, 0.92));
}

.risk-panel__title {
  color: #b03e00;
}

.mitre-list,
.result-chip-list,
.framework-grid,
.mapping-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mitre-list span,
.result-chip,
.mapping-chip-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.mitre-list span {
  background: rgba(253, 119, 0, 0.12);
  color: #a34700;
}

.impact-line {
  margin-top: 0.9rem;
  font-size: 0.84rem;
}

.question-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.question-card {
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  display: grid;
  gap: 0.95rem;
}

.question-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.question-card__index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(5, 36, 69, 0.46);
}

.question-card p {
  font-size: 1rem;
  color: var(--page-text);
}

.question-card__hint {
  font-size: 0.82rem !important;
  color: rgba(5, 36, 69, 0.56) !important;
}

.answer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.answer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 177, 0.1);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(5, 36, 69, 0.7);
}

.answer-pill:hover {
  transform: translateY(-1px);
}

.answer-pill[data-tone="yes"].is-active {
  color: #0a6848;
  background: rgba(18, 179, 118, 0.16);
  border-color: rgba(18, 179, 118, 0.28);
}

.answer-pill[data-tone="partial"].is-active {
  color: #a34f00;
  background: rgba(253, 119, 0, 0.14);
  border-color: rgba(253, 119, 0, 0.26);
}

.answer-pill[data-tone="no"].is-active {
  color: #a31d29;
  background: rgba(208, 55, 79, 0.14);
  border-color: rgba(208, 55, 79, 0.26);
}

.screen-counter {
  font-size: 0.83rem;
  font-weight: 700;
  color: rgba(5, 36, 69, 0.54);
}

.results-shell {
  display: grid;
  gap: 1rem;
}

.results-summary {
  padding: 1.5rem;
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.score-orb {
  --score: 0;
  --score-color: var(--blue);
  position: relative;
  width: 13rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
}

.score-orb::before,
.score-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.score-orb::before {
  background:
    radial-gradient(circle closest-side, var(--page-bg) 72%, transparent 73%),
    conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(0, 62, 115, 0.08) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82), var(--shadow-sm);
}

.score-orb::after {
  inset: 1rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(235, 244, 255, 0.9));
  box-shadow: inset 0 0 0 1px rgba(0, 114, 177, 0.08);
}

.score-orb__value {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}

.score-orb__value strong {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--blue-deep);
}

.score-orb__value span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(5, 36, 69, 0.5);
}

.results-summary__copy {
  display: grid;
  gap: 0.8rem;
}

.summary-level {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-level--critical {
  color: #982032;
  background: rgba(208, 55, 79, 0.14);
  border-color: rgba(208, 55, 79, 0.2);
}

.summary-level--low {
  color: #a34f00;
  background: rgba(253, 119, 0, 0.14);
  border-color: rgba(253, 119, 0, 0.24);
}

.summary-level--medium {
  color: #0b5e92;
  background: rgba(0, 114, 177, 0.14);
  border-color: rgba(0, 114, 177, 0.24);
}

.summary-level--high {
  color: #0a6848;
  background: rgba(18, 179, 118, 0.16);
  border-color: rgba(18, 179, 118, 0.26);
}

.results-context {
  display: grid;
  gap: 0.2rem;
}

.result-chip-list {
  margin-top: 0.25rem;
}

.result-chip {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 114, 177, 0.1);
  color: var(--blue-deep);
}

.result-chip--critical {
  background: rgba(208, 55, 79, 0.1);
  border-color: rgba(208, 55, 79, 0.18);
}

.result-chip--low {
  background: rgba(253, 119, 0, 0.12);
  border-color: rgba(253, 119, 0, 0.2);
}

.result-chip--medium {
  background: rgba(0, 114, 177, 0.12);
  border-color: rgba(0, 114, 177, 0.2);
}

.result-chip--high {
  background: rgba(18, 179, 118, 0.12);
  border-color: rgba(18, 179, 118, 0.2);
}

.results-list {
  display: grid;
  gap: 0.85rem;
}

.result-panel {
  border-radius: 24px;
  overflow: hidden;
}

.result-panel__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.result-panel__toggle:hover {
  background: rgba(255, 255, 255, 0.34);
}

.result-score {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.result-panel__title {
  display: grid;
  gap: 0.22rem;
}

.result-panel__title strong {
  font-size: 1rem;
  color: var(--blue-deep);
}

.result-panel__title span {
  font-size: 0.82rem;
}

.result-panel__caret {
  color: rgba(5, 36, 69, 0.44);
  transition: transform var(--transition);
}

.result-panel.is-open .result-panel__caret {
  transform: rotate(180deg);
}

.result-panel__body {
  display: none;
  padding: 0 1.2rem 1.15rem;
  border-top: 1px solid rgba(0, 114, 177, 0.08);
}

.result-panel.is-open .result-panel__body {
  display: grid;
  gap: 1.1rem;
}

.result-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(5, 36, 69, 0.56);
}

.result-bullet-list {
  display: grid;
  gap: 0.65rem;
}

.result-bullet {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.result-bullet i {
  margin-top: 0.15rem;
  color: var(--orange);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.framework-card {
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 114, 177, 0.08);
}

.framework-card strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.framework-card span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: var(--page-soft);
}

.mapping-panel {
  overflow: hidden;
}

.mapping-panel__head {
  padding-bottom: 1rem;
}

.mapping-scroll {
  overflow-x: auto;
}

.mapping-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.mapping-table thead tr {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
}

.mapping-table th,
.mapping-table td {
  padding: 0.9rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.mapping-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.48);
}

.mapping-table tbody tr:nth-child(odd) {
  background: rgba(247, 251, 255, 0.72);
}

.mapping-table tbody tr:hover {
  background: rgba(0, 114, 177, 0.08);
}

.mapping-table td:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-deep);
}

.mapping-footnote {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 114, 177, 0.08);
  font-size: 0.84rem;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 244, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.footer-brand__logo {
  width: clamp(5rem, 11vw, 8rem);
  height: auto;
  object-fit: contain;
}

.footer-brand__copy {
  display: grid;
  gap: 0.45rem;
}

.footer-brand__copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--blue-deep);
}

.footer-meta {
  display: grid;
  gap: 1rem;
}

.footer-meta__group {
  display: grid;
  gap: 0.65rem;
}

.footer-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-note {
  max-width: 38rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0 0.2rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(5, 36, 69, 0.56);
}

.fade-in {
  animation: page-enter 540ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

@media (max-width: 1080px) {
  .hero-shell,
  .results-summary,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }

  .support-grid,
  .context-grid,
  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 0.4rem;
  }

  .app-nav {
    top: 5.6rem;
  }

  .header-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .header-tabs {
    justify-content: flex-start;
  }

  .hero::after {
    width: calc(100% - 1rem);
    inset: 0.6rem auto auto 50%;
  }

  .hero-shell {
    padding: 1.4rem 0 2.2rem;
    gap: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 11vw, 3.6rem);
  }

  .support-grid,
  .context-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .difficulty-selector {
    grid-template-columns: 1fr;
  }

  .context-footer,
  .screen-actions,
  .results-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .screen-counter {
    text-align: center;
  }

  .control-header__lead,
  .control-header__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-panel__toggle {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .result-panel__caret {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .site-header,
  .app-nav,
  .site-footer,
  .hero-share,
  .results-actions,
  .context-footer .action-button--secondary,
  .screen-actions button,
  .no-print {
    display: none !important;
  }

  body::before,
  body::after,
  .hero-lines,
  .hero-brand__corner,
  .marquee-band {
    display: none !important;
  }

  .hero::after,
  .support-panel,
  .context-panel,
  .disclaimer-panel,
  .control-header,
  .risk-panel,
  .question-card,
  .results-summary,
  .result-panel,
  .mapping-panel {
    box-shadow: none !important;
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
  }

  .result-panel__body {
    display: grid !important;
  }

  .app-main {
    padding: 0;
  }

  .screen-section,
  .section-shell {
    width: 100%;
  }
}

@keyframes aurora-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(-1.5%, 2.5%, 0) rotate(-0.4deg) scale(1.03);
  }
  100% {
    transform: translate3d(2.5%, -1.8%, 0) rotate(0.6deg) scale(1.06);
  }
}

@keyframes line-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.7;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header-tabs {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.header-tabs__primary,
.header-tabs__account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.header-tabs__account {
  justify-content: flex-end;
}

.session-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(0, 62, 115, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.session-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 62, 115, 0.12);
}

.session-pill--accent {
  background: linear-gradient(135deg, #003e73, #1a72ab);
  border-color: transparent;
  color: #fff;
}

.session-pill--warning {
  background: rgba(253, 119, 0, 0.12);
  border-color: rgba(253, 119, 0, 0.2);
  color: #a24e00;
}

.session-pill--ghost {
  background: rgba(235, 244, 255, 0.84);
  color: #56728d;
}

.context-footer--stacked {
  display: grid;
  gap: 1.25rem;
}

.account-banner,
.result-persistence,
.auth-shell,
.account-shell {
  padding: 1.35rem 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 62, 115, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 249, 255, 0.92));
  box-shadow: 0 18px 42px rgba(0, 62, 115, 0.08);
}

.account-banner {
  display: grid;
  gap: 0.7rem;
}

.account-banner h3,
.result-persistence strong,
.attempt-card__head strong {
  color: var(--brand-ink);
}

.account-banner p,
.result-persistence p,
.attempt-card__meta {
  margin: 0;
  color: #56728d;
}

.account-banner__actions,
.result-persistence__actions,
.attempt-card__actions,
.auth-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.account-banner--success,
.result-persistence--success {
  background: linear-gradient(145deg, rgba(231, 250, 241, 0.96), rgba(244, 255, 250, 0.92));
  border-color: rgba(5, 150, 105, 0.18);
}

.account-banner--warning,
.result-persistence--warning {
  background: linear-gradient(145deg, rgba(255, 247, 239, 0.96), rgba(255, 250, 245, 0.92));
  border-color: rgba(253, 119, 0, 0.16);
}

.result-persistence {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.result-persistence > i {
  font-size: 1.2rem;
  color: #fd7700;
}

.auth-page,
.account-screen {
  padding-top: 1.25rem;
}

.auth-shell,
.account-shell {
  display: grid;
  gap: 1.25rem;
}

.auth-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.auth-form,
.filter-grid {
  display: grid;
  gap: 1rem;
}

.auth-form label,
.filter-grid label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.auth-form input,
.filter-grid input,
.filter-grid select {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 62, 115, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--page-text);
  font: inherit;
}

.auth-form input:focus,
.filter-grid input:focus,
.filter-grid select:focus {
  outline: none;
  border-color: rgba(0, 114, 177, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 114, 177, 0.12);
}

.auth-feedback {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  margin: 0;
  font-weight: 600;
}

.auth-feedback--error {
  background: rgba(220, 38, 38, 0.1);
  color: #982032;
}

.auth-feedback--info {
  background: rgba(0, 114, 177, 0.1);
  color: #0b5e92;
}

.auth-feedback--warning {
  background: rgba(253, 119, 0, 0.12);
  color: #a34f00;
}

.captcha-shell {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 62, 115, 0.12);
  background: linear-gradient(145deg, rgba(247, 251, 255, 0.98), rgba(255, 255, 255, 0.94));
}

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

.captcha-shell__head strong {
  color: var(--brand-ink);
}

.captcha-shell__head span,
.captcha-shell__note {
  margin: 0;
  color: #56728d;
  font-size: 0.94rem;
}

.captcha-slot {
  min-height: 78px;
}

.auth-debug-code {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(253, 119, 0, 0.22);
  background: linear-gradient(145deg, rgba(255, 248, 241, 0.98), rgba(255, 239, 224, 0.94));
  color: #8f3c00;
}

.auth-debug-code strong {
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.18em;
  color: #fd7700;
}

.auth-debug-code p {
  margin: 0;
}

.action-button:disabled,
.session-pill:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  pointer-events: none;
}

.attempt-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 62, 115, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(0, 62, 115, 0.07);
}

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

.attempt-card__head p {
  margin: 0.25rem 0 0;
  color: #56728d;
}

.empty-state {
  display: grid;
  gap: 0.35rem;
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px dashed rgba(0, 62, 115, 0.18);
  background: rgba(255, 255, 255, 0.84);
}

.empty-state strong {
  color: var(--brand-ink);
}

.empty-state p {
  margin: 0;
  color: #56728d;
}

.result-panel__toggle.is-static {
  cursor: default;
}

.result-bullet--stack {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}

.result-answer-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.result-answer-tag--yes {
  background: rgba(5, 150, 105, 0.14);
  color: #0a6848;
}

.result-answer-tag--partial {
  background: rgba(253, 119, 0, 0.14);
  color: #a34f00;
}

.result-answer-tag--no {
  background: rgba(220, 38, 38, 0.12);
  color: #982032;
}

.result-answer-tag--empty {
  background: rgba(0, 62, 115, 0.08);
  color: #486782;
}

@media (max-width: 900px) {
  .header-tabs {
    justify-content: center;
  }

  .header-tabs__primary,
  .header-tabs__account {
    justify-content: center;
  }

  .result-persistence {
    grid-template-columns: 1fr;
  }

  .attempt-card__head {
    flex-direction: column;
  }
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100%, calc(100% - 2rem));
  }

  body::after {
    inset: 3.5%;
    border-radius: 36px;
  }

  .hero-shell,
  .results-summary,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-block: 1.25rem 1.75rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-brand {
    width: 100%;
    min-height: 13rem;
  }

  .hero-brand__plate {
    width: min(16.5rem, 100%);
  }

  .support-grid,
  .context-grid,
  .framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-persistence {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-brand {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100%, calc(100% - 1.5rem));
  }

  .site-header {
    top: 0.25rem;
    padding-bottom: 1rem;
  }

  .app-nav {
    top: 5rem;
    padding-bottom: 0.7rem;
  }

  .header-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  .brand-lockup {
    width: 100%;
  }

  .header-tabs,
  .header-tabs__account {
    justify-content: flex-start;
    width: 100%;
  }

  .app-nav__shell {
    padding: 0.7rem 0.8rem;
  }

  .nav-progress {
    gap: 0.7rem;
  }

  .nav-progress__row {
    gap: 0.45rem;
    scroll-padding-inline: 0.4rem;
  }

  .nav-pill,
  .control-jump,
  .nav-chip {
    min-height: 2.55rem;
    padding-inline: 0.88rem;
    font-size: 0.8rem;
  }

  .hero::after {
    width: calc(100% - 0.75rem);
    height: calc(100% - 0.4rem);
    border-radius: 30px;
  }

  .hero-shell {
    gap: 1.25rem;
    padding-inline: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 8vw, 4.1rem);
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .support-panel,
  .context-panel,
  .mapping-panel,
  .control-header,
  .risk-panel,
  .question-card,
  .results-summary,
  .result-panel,
  .auth-shell,
  .account-shell,
  .result-persistence {
    border-radius: 22px;
  }

  .context-panel,
  .mapping-panel,
  .control-header,
  .risk-panel,
  .results-summary,
  .auth-shell,
  .account-shell {
    padding: 1.15rem;
  }

  .question-card {
    padding: 1rem;
  }

  .screen-actions,
  .results-actions,
  .context-footer {
    gap: 0.8rem;
  }

  .screen-actions > *,
  .results-actions > * {
    flex: 1 1 14rem;
  }

  .control-header__lead {
    align-items: flex-start;
  }

  .control-header__title h1 {
    font-size: clamp(1.65rem, 6vw, 2.35rem);
  }

  .question-card__meta {
    align-items: flex-start;
  }

  .answer-row {
    gap: 0.55rem;
  }

  .answer-pill {
    flex: 1 1 calc(50% - 0.55rem);
  }

  .results-summary {
    gap: 1rem;
    justify-items: start;
  }

  .score-orb {
    width: 11.5rem;
    margin-inline: 0;
  }

  .result-panel__toggle {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .result-panel__caret {
    display: none;
  }

  .result-panel__body {
    padding: 0 1rem 1rem;
  }

  .footer-shell {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .footer-bottom {
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100%, calc(100% - 1rem));
  }

  body::after {
    inset: 0.9rem;
    border-radius: 24px;
    opacity: 0.22;
  }

  .site-header {
    padding-bottom: 0.8rem;
  }

  .app-nav {
    top: 6.35rem;
  }

  .brand-lockup {
    gap: 0.7rem;
  }

  .brand-lockup__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 14px;
  }

  .brand-lockup__name {
    font-size: 1rem;
  }

  .header-tabs__account {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .session-pill {
    width: 100%;
    min-height: 2.7rem;
    padding-inline: 0.9rem;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 0;
  }

  .hero::after {
    width: calc(100% - 0.35rem);
    border-radius: 24px;
  }

  .hero-lines {
    opacity: 0.45;
  }

  .hero-shell {
    padding: 1rem 0.85rem 1.35rem;
  }

  .hero-copy {
    gap: 0.7rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
    line-height: 1.02;
  }

  .hero-frameworks span,
  .footer-pill-list span,
  .result-chip,
  .mitre-list span,
  .mapping-chip-list span {
    min-height: 1.9rem;
    padding: 0.38rem 0.68rem;
    font-size: 0.7rem;
  }

  .hero-actions,
  .account-banner__actions,
  .result-persistence__actions,
  .attempt-card__actions,
  .auth-form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .action-button,
  .answer-pill {
    width: 100%;
  }

  .marquee-band {
    padding-bottom: 1rem;
  }

  .marquee-frame {
    border-radius: 22px;
    padding: 0.45rem 0;
  }

  .support-grid,
  .context-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .support-panel {
    padding: 0.95rem 1rem;
  }

  .section-heading {
    gap: 0.42rem;
    margin-bottom: 0.9rem;
  }

  .section-heading h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .difficulty-panel {
    padding: 0.95rem;
  }

  .difficulty-selector {
    grid-template-columns: 1fr;
  }

  .difficulty-chip {
    justify-content: flex-start;
  }

  .control-header,
  .risk-panel,
  .question-card,
  .results-summary,
  .result-panel,
  .mapping-panel,
  .auth-shell,
  .account-shell {
    padding: 1rem;
  }

  .control-header__lead,
  .control-header__top,
  .question-card__meta,
  .footer-brand {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .control-badge {
    width: 3.65rem;
    height: 3.65rem;
    border-radius: 18px;
    font-size: 1.15rem;
  }

  .control-header__title h1 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .answer-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .answer-pill {
    justify-content: flex-start;
  }

  .screen-actions,
  .results-actions,
  .context-footer,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .screen-counter {
    text-align: left;
  }

  .results-summary {
    justify-items: stretch;
  }

  .score-orb {
    width: 9.75rem;
    margin-inline: auto;
  }

  .score-orb__value strong {
    font-size: 1.9rem;
  }

  .result-panel__toggle {
    padding: 0.95rem 1rem;
    gap: 0.8rem;
  }

  .result-score {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 14px;
    font-size: 0.82rem;
  }

  .framework-card {
    padding: 0.8rem;
  }

  .mapping-table {
    min-width: 760px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-brand__logo {
    width: 4.8rem;
  }

  .footer-brand__copy h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }
}

@media (max-width: 420px) {
  .header-shell,
  .app-nav__shell,
  .support-panel,
  .context-panel,
  .mapping-panel,
  .control-header,
  .risk-panel,
  .question-card,
  .results-summary,
  .result-panel,
  .auth-shell,
  .account-shell,
  .result-persistence,
  .footer-shell {
    border-radius: 18px;
  }

  .header-shell {
    padding: 0.7rem;
  }

  .header-tabs__account {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-inline: 0.72rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 12vw, 2.6rem);
  }

  .hero-brand__plate {
    width: min(14rem, 100%);
    padding: 0.65rem;
    border-radius: 22px;
  }

  .hero-frameworks,
  .result-chip-list,
  .mitre-list,
  .mapping-chip-list,
  .footer-pill-list {
    gap: 0.45rem;
  }

  .nav-pill,
  .control-jump,
  .nav-chip {
    min-height: 2.35rem;
    padding-inline: 0.72rem;
    font-size: 0.76rem;
  }

  .context-pill,
  .difficulty-panel,
  .support-panel,
  .question-card,
  .risk-panel {
    padding: 0.9rem;
  }

  .section-heading h2,
  .control-header__title h1 {
    text-wrap: pretty;
  }

  .captcha-shell {
    padding: 0.85rem;
  }

  .captcha-slot {
    min-height: 86px;
    overflow-x: auto;
  }
}
