:root {
  --ink: #111827;
  --muted: #66758b;
  --line: #e3e9f2;
  --soft: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --blue: #3465e8;
  --green: #54b883;
  --amber: #f4c64f;
  --red: #ef6b6b;
  --violet: #7c5cff;
  --teal: #0f9f8f;
  --panel: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, .08);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, .06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfcff 0, var(--soft) 42%, #eef3f8 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a,
button,
input,
select,
textarea {
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(52, 101, 232, .24);
  outline-offset: 2px;
}

@keyframes rolesift-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rolesift-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rolesift-soft-pop {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-in {
  animation: rolesift-fade-in .24s ease both;
}

.animate-slide-up,
.soft-enter {
  animation: rolesift-fade-up .34s ease both;
}

.interactive-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.interactive-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

body {
  animation: rolesift-fade-in .24s ease both;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #253244;
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.top-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow: visible;
  scrollbar-width: none;
}

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

.nav-link,
.nav-login,
.nav-trigger {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 13px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}

.nav-link:hover,
.nav-login:hover,
.nav-trigger:hover {
  background: #edf2f7;
  color: var(--ink);
}

.nav-trigger {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-login {
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
}

.nav-link.active,
.nav-login.active,
.nav-trigger.active {
  background: var(--ink);
  color: #fff;
}

.nav-group {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 210px;
  display: grid;
  gap: 4px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px) scale(.98);
  transform-origin: top right;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 9px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .16);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-group.is-open .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-dropdown a {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 9px;
  padding: 0 10px;
  color: #405066;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: #f1f5f9;
  color: var(--ink);
  outline: 0;
}

.nav-dropdown a.active-sub {
  background: var(--ink);
  color: #fff;
  outline: 0;
}

.profile-menu .nav-dropdown {
  width: 255px;
}

.profile-dropdown {
  gap: 6px;
}

.account-summary {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding: 4px 8px 10px;
}

.account-summary strong,
.account-summary span,
.account-summary small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-summary strong {
  font-size: 13px;
}

.account-summary span {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.account-summary small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.profile-dropdown button {
  min-height: 34px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #405066;
  padding: 0 10px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.profile-dropdown button:hover,
.profile-dropdown button:focus {
  background: #f1f5f9;
  color: var(--ink);
  outline: 0;
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}

main > .section,
.hero,
.pricing-hero,
.auth-wall,
.login-panel,
.dashboard-head,
.setup-progress,
.setup-card,
.guide-hero {
  animation: rolesift-fade-up .38s ease both;
}

main > .section:nth-of-type(2) {
  animation-delay: .04s;
}

main > .section:nth-of-type(3) {
  animation-delay: .08s;
}

main > .section:nth-of-type(4) {
  animation-delay: .12s;
}

.hero-copy > * {
  animation: rolesift-fade-up .42s ease both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: .04s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: .08s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: .12s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: .16s;
}

.hero-copy > *:nth-child(6) {
  animation-delay: .2s;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(rgba(18, 26, 42, .88), rgba(18, 26, 42, .92)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  max-width: 680px;
  padding: 48px 30px;
}

.graduate-hero {
  background:
    linear-gradient(rgba(15, 23, 42, .76), rgba(17, 24, 39, .9)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=80");
  background-position: center 38%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 13px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(84, 184, 131, .16);
  color: #cdf8de;
  font-size: 12px;
  font-weight: 900;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d8dee9;
  font-size: 17px;
  line-height: 1.65;
}

.hero .hero-note {
  max-width: 610px;
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin-top: 28px;
}

.stats div {
  min-height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 10px;
}

.stats span {
  display: block;
  font-size: 28px;
  font-weight: 900;
}

.stats small {
  max-width: 110px;
  color: #b9c2d0;
  font-size: 13px;
  line-height: 1.25;
}

.hero-actions,
.setup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.setup-actions.compact-actions {
  grid-column: 1 / -1;
  margin-top: 4px;
  gap: 8px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: #fff;
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .13);
}

.button:active:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(1px) scale(.99);
  box-shadow: 0 5px 14px rgba(15, 23, 42, .1);
}

.button:disabled,
.button[aria-disabled="true"] {
  transform: none;
  box-shadow: none;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badges span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .12);
  color: #e8edf5;
  font-size: 12px;
  font-weight: 800;
}

.section {
  margin-top: 30px;
}

.value-grid,
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.value-grid article,
.domain-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.value-grid article:hover,
.domain-grid article:hover,
.steps article:hover,
.example-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.value-grid strong,
.domain-grid h3 {
  display: block;
  margin: 0 0 7px;
  font-size: 16px;
}

.value-grid p,
.domain-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.domain-grid small {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef8f4;
  color: #18724d;
  font-size: 11px;
  font-weight: 900;
}

.domain-grid .featured-domain {
  border-color: #90e0b7;
  background: #f1fff7;
}

.scan-types-section {
  padding: 4px 0;
}

.scan-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.scan-type-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.scan-type-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.scan-type-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #54b883, #3465e8);
}

.scan-type-grid small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: #eef8f4;
  color: #18724d;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
}

.scan-type-grid h3 {
  margin: 13px 0 8px;
  font-size: 18px;
}

.scan-type-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-head h2,
.chrome-copy h2 {
  margin: 0 0 7px;
  font-size: 28px;
  line-height: 1.1;
}

.section-head h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.section-head p,
.chrome-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.example-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.example-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.example-body {
  padding: 14px;
}

.example-body h3,
.example-body p {
  margin: 0;
}

.example-body h3 {
  font-size: 15px;
}

.example-body > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.verdict-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  padding: 13px;
  border-radius: var(--radius-md);
  border: 1px solid #b9efd1;
  background: #effdf5;
}

.verdict-box.caution {
  border-color: #f7dc82;
  background: #fff9e8;
}

.verdict-box.miss {
  border-color: #fecaca;
  background: #fff5f5;
}

.verdict-box strong {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .05em;
}

.verdict-box p {
  margin-top: 7px;
  color: #405066;
  font-size: 12px;
  line-height: 1.45;
}

.verdict-box small {
  display: block;
  margin-top: 7px;
  color: #66758a;
  font-size: 11px;
  font-weight: 800;
}

.verdict-box b {
  font-size: 30px;
}

.score-row {
  display: grid;
  grid-template-columns: 92px 1fr 28px;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: #526176;
  font-size: 12px;
}

.score-row i {
  height: 6px;
  border-radius: 999px;
  background: #edf1f6;
  overflow: hidden;
}

.score-row i span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.flag-list,
.question-list,
.result-summary-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.flag-list span,
.question-list span,
.result-summary-list div {
  display: block;
  border-radius: 9px;
  background: #f7f9fc;
  padding: 8px;
  color: #46566d;
  font-size: 12px;
}

.result-summary-list span {
  display: block;
  color: #708096;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-summary-list p {
  margin: 4px 0 0;
  color: #46566d;
  font-size: 12px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.steps article {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}

.steps h3 {
  margin: 14px 0 7px;
  font-size: 15px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.chrome-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  margin-top: 30px;
  border-radius: var(--radius-lg);
  background: #111827;
  color: #fff;
  padding: 22px;
}

.chrome-copy p,
.chrome-copy li {
  color: #d2d9e5;
}

.chrome-copy ol {
  margin: 18px 0;
  padding-left: 22px;
  line-height: 1.8;
}

code {
  border-radius: 5px;
  background: rgba(15, 23, 42, .08);
  padding: 2px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92em;
}

.chrome-panel code {
  background: rgba(255, 255, 255, .09);
  color: #e6edf7;
}

.tabs {
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.tab-buttons button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fc;
  color: #526176;
  font-weight: 900;
  cursor: pointer;
}

.tab-buttons button.active {
  border-color: #111827;
  background: #fff;
  color: #111827;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: rolesift-fade-up .2s ease both;
}

.public-pricing-panel h3 {
  margin: 0 0 8px;
}

.price-note {
  border-top: 1px solid var(--line);
  margin: 12px 0 0;
  padding-top: 12px;
  color: #66758b;
  font-size: 12px;
  line-height: 1.45;
}

.price-note.error {
  color: #b42318;
}

.price-note a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plan-action {
  width: 100%;
  margin-top: 14px;
  border: 0;
  cursor: pointer;
}

.pricing-grid .button.primary {
  background: var(--ink);
  color: #fff;
}

.pricing-grid .featured .button.primary {
  background: #fff;
  color: var(--ink);
}

.pricing-grid .button.secondary.light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.pricing-grid .button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.pricing-grid article.current-plan-card {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, .18);
}

.pricing-grid article.blocked-plan-card {
  opacity: .78;
}

.pricing-grid article.upgrade-plan-card {
  border-color: #a7b6ce;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: end;
  border-radius: var(--radius-lg);
  background: #111827;
  color: #fff;
  padding: 34px;
}

.pricing-hero h1,
.pricing-hero p {
  margin: 0;
}

.pricing-hero h1 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: .98;
}

.pricing-hero p {
  max-width: 710px;
  margin-top: 16px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.55;
}

.pricing-summary {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
  padding: 16px;
}

.pricing-summary strong {
  font-size: 28px;
}

.pricing-summary span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.pricing-page-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 18px;
  padding: 20px;
}

.tab-panel h3 {
  margin: 0 0 10px;
}

.install-steps,
.credit-list {
  display: grid;
  gap: 9px;
}

.install-steps div,
.credit-list div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
}

.install-steps span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}

.pricing-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.pricing-grid .featured {
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 20px 42px rgba(15, 23, 42, .18);
}

.pricing-grid h3,
.pricing-grid strong,
.pricing-grid span,
.pricing-grid small {
  display: block;
}

.pricing-grid h3 {
  margin: 5px 0;
  font-size: 16px;
}

.pricing-grid strong {
  font-size: 30px;
}

.pricing-grid small,
.pricing-grid span,
.credit-list span {
  color: #7b8799;
  font-size: 12px;
}

.pricing-grid em {
  display: block;
  margin-top: 9px;
  color: #8b98aa;
  font-size: 11px;
  line-height: 1.4;
  font-style: normal;
}

.featured small,
.featured span,
.featured em {
  color: #cbd5e1;
}

.internal-plan-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credit-list div {
  grid-template-columns: 1fr auto;
}

.credit-list span {
  grid-column: 1;
}

.credit-list b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #111827;
}

.unit-economics {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.unit-economics h4 {
  margin: 0;
  font-size: 13px;
}

.unit-economics div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  background: #f8fafc;
}

.unit-economics strong {
  font-size: 12px;
}

.unit-economics span {
  color: #526176;
  font-size: 12px;
  line-height: 1.45;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.check-grid label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 12px;
  color: #405066;
  font-size: 13px;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 16px 40px;
  color: var(--muted);
  font-size: 13px;
}

footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.setup-shell {
  max-width: 720px;
}

.setup-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.setup-progress span {
  display: grid;
  place-items: center;
  min-height: 66px;
  border-radius: var(--radius-md);
  background: #e9eef6;
  color: #78869a;
  font-weight: 900;
}

.setup-progress .active {
  background: #111827;
  color: #fff;
}

.setup-progress .complete {
  background: #dcfce7;
  color: #166534;
}

.setup-progress small {
  font-size: 11px;
}

.setup-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.setup-card h1 {
  margin: 0 0 8px;
}

.setup-card p {
  color: var(--muted);
  line-height: 1.55;
}

.setup-complete-card {
  display: grid;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 14px;
}

.feature-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.feature-grid p {
  margin: 0;
  font-size: 13px;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.input-label {
  display: grid;
  gap: 6px;
  color: #48566b;
  font-size: 12px;
  font-weight: 900;
}

.input-label input,
.input-label select,
.input-label textarea,
.setup-card input,
.setup-card select {
  width: 100%;
  border: 1px solid #d8e0eb;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font: 600 14px/1.3 inherit;
}

.drop-zone {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 150px;
  margin: 20px 0;
  border: 2px dashed #dbe3ed;
  border-radius: var(--radius-md);
  color: #7b8799;
}

.drop-zone span {
  color: #c2cad6;
  font-weight: 900;
}

.drop-zone strong {
  color: #334155;
}

.setup-card textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  resize: vertical;
  font: 500 14px/1.55 inherit;
}

.setup-save-status {
  margin: 0 0 14px;
}

.extracted-profile-card {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cv-upload-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #d8e2ef;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
  margin: 14px 0 12px;
  box-shadow: var(--shadow-soft);
}

.cv-upload-copy h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.cv-upload-copy p {
  margin: 0 0 8px;
}

.cv-upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cv-picker-button {
  cursor: pointer;
}

.cv-paste-panel {
  border: 1px solid #d8e2ef;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
  margin: 12px 0 16px;
  box-shadow: var(--shadow-soft);
}

.cv-paste-panel .input-label {
  margin-top: 0;
}

.cv-paste-panel .input-label span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.cv-paste-panel textarea {
  min-height: 220px;
}

.cv-pdf-fallback {
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  background: #fff7f7;
  padding: 14px;
  margin-bottom: 14px;
}

.cv-pdf-fallback h2 {
  margin: 0 0 6px;
  color: #991b1b;
  font-size: 18px;
}

.cv-pdf-fallback p {
  margin: 0;
  color: #475569;
}

.consent-panel {
  margin: 16px 0;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  background: #eff6ff;
  padding: 16px;
}

.consent-panel h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.consent-panel p {
  margin: 0 0 10px;
}

.extracted-profile-card h2 {
  margin: 0 0 6px;
}

.consent-check {
  margin-top: 14px;
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 13px;
  line-height: 1.45;
}

.consent-check input {
  width: auto;
  margin-top: 2px;
}

.setup-page .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.setup-page .button.primary {
  color: #fff;
  background: #111827;
}

.guide-shell {
  max-width: 920px;
}

.guide-hero {
  border-radius: var(--radius-lg);
  background: #111827;
  color: #fff;
  padding: 30px;
}

.guide-hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.05;
}

.guide-hero p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #d3dae6;
  line-height: 1.6;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.guide-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
}

.guide-grid span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}

.guide-grid h2 {
  margin: 12px 0 7px;
  font-size: 16px;
}

.guide-grid p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 18px;
  margin-bottom: 18px;
}

.guide-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.guide-card li {
  margin: 7px 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-shell {
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auth-shell-single {
  max-width: 560px;
  grid-template-columns: 1fr;
}

.login-panel,
.auth-wall,
.dashboard-head,
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.login-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
}

.login-panel[hidden] {
  display: none;
}

.developer-login-panel {
  border-color: #cbd5e1;
}

.login-panel .eyebrow,
.auth-wall .eyebrow,
.dashboard-head .eyebrow {
  background: #ecfdf4;
  color: #18724d;
}

.login-panel h1,
.auth-wall h1,
.dashboard-head h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
}

.login-panel p,
.auth-wall p,
.dashboard-head p,
.dashboard-card p,
.privacy-line {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.auth-safety-note {
  display: grid;
  gap: 4px;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  background: #f0fdf4;
  padding: 12px;
  color: #166534;
  font-size: 13px;
  line-height: 1.45;
}

.auth-safety-note strong {
  color: #14532d;
}

.auth-form,
.inline-login,
.plan-editor {
  display: grid;
  gap: 12px;
}

.auth-form label,
.inline-login label,
.plan-editor label {
  display: grid;
  gap: 6px;
  color: #48566b;
  font-size: 12px;
  font-weight: 900;
}

.auth-form input,
.inline-login input,
.plan-editor input,
.plan-editor select,
.plan-editor textarea {
  width: 100%;
  border: 1px solid #d8e0eb;
  border-radius: var(--radius-md);
  padding: 11px 12px;
  color: var(--ink);
  font: 600 14px/1.3 inherit;
  background: #fff;
}

.plan-editor textarea {
  min-height: 96px;
  resize: vertical;
}

.auth-form button,
.inline-login button,
.plan-editor button,
.secondary-control {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.auth-form button:disabled,
.inline-login button:disabled,
.secondary-control:disabled {
  cursor: wait;
  opacity: .62;
}

.secondary-control,
.button.secondary.light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.primary.dark {
  background: var(--ink);
  color: #fff;
}

.button.danger {
  border: 1px solid rgba(207, 63, 63, .25);
  background: #fff5f5;
  color: var(--red);
}

.privacy-controls p {
  color: var(--muted);
  line-height: 1.55;
}

.privacy-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.privacy-action-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 14px;
}

.privacy-action-grid h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.privacy-action-grid p {
  min-height: 58px;
  margin: 0 0 12px;
  font-size: 13px;
}

.guide-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.guide-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.status-line {
  min-height: 20px;
  margin: 0;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  transition: color .18s ease, opacity .18s ease;
}

.status-line.success {
  color: #15803d;
  animation: rolesift-soft-pop .24s ease both;
}

.status-line.error {
  color: #b91c1c;
  animation: rolesift-soft-pop .24s ease both;
}

.auth-switch {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.developer-access-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  min-height: 32px;
  border: 1px solid #d8e0eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #526176;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
  padding: 0 11px;
  font: 900 11px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.developer-access-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.dashboard-shell {
  max-width: 1180px;
}

.auth-wall {
  padding: 28px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  margin-bottom: 16px;
}

.dashboard-head h1 {
  overflow-wrap: anywhere;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.profile-setup-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.profile-setup-callout h2 {
  margin: 4px 0 6px;
}

.profile-setup-callout p {
  max-width: 720px;
  margin: 0 0 8px;
  color: var(--muted);
}

.profile-setup-callout small {
  color: var(--muted);
  font-weight: 800;
}

.metric-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.metric-grid article:hover,
.dashboard-card:hover,
.privacy-action-grid article:hover,
.guide-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.metric-grid span {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.metric-grid small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.dashboard-card {
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dashboard-card.wide {
  grid-column: span 2;
}

.dashboard-card h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.decision-list,
.stack-list,
.action-list,
.insight-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.decision-list div,
.stack-list div,
.action-list label {
  border: 1px solid #edf1f6;
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 10px;
}

.decision-list div,
.stack-list div,
.action-list label,
.funnel div,
.privacy-action-grid article,
.guide-grid article {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.decision-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
}

.decision-list strong {
  font-size: 13px;
}

.decision-list span {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
}

.decision-list b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  border-radius: 999px;
  padding: 5px 8px;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
}

.decision-list b.apply {
  background: var(--green);
}

.decision-list b.maybe {
  background: #3465e8;
}

.decision-list b.skip {
  background: #64748b;
}

.decision-list b.risky {
  background: var(--red);
}

.insight-list {
  padding-left: 18px;
  color: #526176;
  font-size: 13px;
  line-height: 1.55;
}

.empty-state,
.dashboard-note {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 14px;
  color: #526176;
  font-size: 13px;
  line-height: 1.5;
  animation: rolesift-fade-up .24s ease both;
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}

.empty-state p {
  margin: 0;
}

.mini-chart {
  height: 160px;
  display: flex;
  align-items: end;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 12px;
}

.mini-chart span {
  display: block;
  flex: 1;
  min-height: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(#54b883, #3465e8);
}

.stack-list div {
  display: flex;
  justify-content: space-between;
  color: #526176;
  font-size: 13px;
}

.score-ring {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(var(--green) 0 var(--score, 74%), #edf1f6 var(--score, 74%) 100%);
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
}

.score-ring small {
  font-size: 12px;
  color: var(--muted);
}

.admin-meta {
  display: grid;
  gap: 7px;
  justify-items: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-filter-grid label {
  display: grid;
  gap: 6px;
  color: #48566b;
  font-size: 12px;
  font-weight: 900;
}

.admin-filter-grid select,
.admin-filter-grid input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e0eb;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  font: 800 13px/1.3 inherit;
}

.admin-csv-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.admin-csv-actions .dashboard-note {
  flex: 1;
}

.admin-distribution {
  display: grid;
  gap: 12px;
}

.admin-distribution div {
  display: grid;
  gap: 6px;
}

.admin-distribution span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #526176;
  font-size: 13px;
}

.admin-distribution strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-distribution meter {
  width: 100%;
  height: 9px;
}

.admin-distribution small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  vertical-align: top;
  border-bottom: 1px solid #edf1f6;
  padding: 11px 10px;
  text-align: left;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #48566b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small,
.muted-cell {
  margin-top: 3px;
  color: var(--muted);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: #edf2f7;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-badge.apply {
  background: #dcfce7;
  color: #166534;
}

.admin-badge.maybe {
  background: #dbeafe;
  color: #1d4ed8;
}

.admin-badge.skip {
  background: #f1f5f9;
  color: #334155;
}

.admin-badge.changed {
  background: #fef3c7;
  color: #92400e;
}

.admin-badge.same {
  background: #f1f5f9;
  color: #475569;
}

.admin-summary-details {
  max-width: 260px;
}

.admin-summary-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.admin-summary-details p,
.admin-summary-details ul {
  margin: 8px 0 0;
  color: #526176;
  line-height: 1.45;
}

.admin-summary-details ul {
  padding-left: 17px;
}

.admin-feedback-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-feedback-list li {
  border: 1px solid #edf1f6;
  border-radius: var(--radius-md);
  background: #f8fafc;
  padding: 12px;
}

.admin-feedback-list strong,
.admin-feedback-list span {
  display: block;
}

.admin-feedback-list span,
.admin-feedback-list p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-feedback-list p {
  margin: 8px 0 0;
}

.action-list label {
  display: flex;
  gap: 9px;
  color: #405066;
  font-size: 13px;
  line-height: 1.45;
}

.funnel {
  display: grid;
  gap: 10px;
}

.funnel div {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 0 12px;
}

.funnel span {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(52, 101, 232, .12);
}

.funnel strong,
.funnel b {
  position: relative;
  z-index: 1;
  font-size: 13px;
}

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

.plan-editor fieldset {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin: 0;
  padding: 12px;
}

.plan-editor legend {
  padding: 0 5px;
  font-size: 12px;
  font-weight: 900;
}

.plan-editor button {
  width: 100%;
}

.feedback-form label,
.feedback-form fieldset,
.feedback-form button {
  grid-column: 1 / -1;
}

/* Premium public marketing pages */
.landing-page {
  --landing-ink: #0b1020;
  --landing-muted: #5d687b;
  --landing-line: rgba(96, 112, 141, .18);
  --landing-card: rgba(255, 255, 255, .78);
  --landing-card-solid: #ffffff;
  --landing-blue: #315cff;
  --landing-cyan: #20c7d3;
  --landing-green: #1bbf75;
  --landing-amber: #f4b63f;
  background:
    radial-gradient(circle at 10% 0%, rgba(49, 92, 255, .13), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(32, 199, 211, .14), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 46%, #ffffff 100%);
}

.landing-main {
  max-width: 1220px;
  padding-top: 22px;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  gap: 34px;
  align-items: center;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.7)),
    radial-gradient(circle at 72% 15%, rgba(49, 92, 255, .2), transparent 30%),
    radial-gradient(circle at 96% 74%, rgba(27, 191, 117, .16), transparent 28%);
  box-shadow: 0 32px 90px rgba(15, 23, 42, .12);
  padding: clamp(28px, 5vw, 58px);
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .5;
  pointer-events: none;
}

.hero-glow-a {
  top: -170px;
  right: 18%;
  background: rgba(49, 92, 255, .24);
}

.hero-glow-b {
  right: -160px;
  bottom: -150px;
  background: rgba(32, 199, 211, .22);
}

.landing-hero-copy,
.hero-product-stage {
  position: relative;
  z-index: 1;
}

.landing-eyebrow,
.landing-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border: 1px solid rgba(49, 92, 255, .14);
  border-radius: 999px;
  background: rgba(49, 92, 255, .08);
  color: #2448d8;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.landing-hero h1 {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--landing-ink);
  font-size: clamp(44px, 7vw, 78px);
  line-height: .94;
  letter-spacing: 0;
}

.landing-hero-copy > p {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--landing-muted);
  font-size: 18px;
  line-height: 1.7;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.landing-page .button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
}

.landing-page .button.primary {
  border-color: #0b1020;
  background: #0b1020;
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .18);
}

.landing-page .button.secondary {
  border-color: rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.72);
  color: #172033;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-trust-row span,
.logo-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: #44546a;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.hero-product-stage {
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 520px;
}

.product-window,
.dashboard-mini-card,
.benefit-grid article,
.tier-card-grid article,
.modern-steps article,
.trust-grid article,
.dashboard-showcase {
  border: 1px solid var(--landing-line);
  background: var(--landing-card);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .11);
}

.scan-preview-card {
  width: min(100%, 500px);
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(1.2deg);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255,255,255,.82);
  padding: 0 16px;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
}

.window-top span:nth-child(2) {
  background: #f4b63f;
}

.window-top span:nth-child(3) {
  background: #1bbf75;
}

.window-top b {
  margin-left: auto;
  color: #64748b;
  font-size: 12px;
}

.job-row,
.verdict-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.job-row small,
.verdict-preview span,
.insight-stack span,
.dashboard-mini-card span {
  display: block;
  color: #708096;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.job-row strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 16px;
}

.job-row em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef4ff;
  color: #315cff;
  padding: 7px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.verdict-preview {
  margin: 0 18px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eafff4, #f7fffb);
  border: 1px solid #b7efd4;
}

.verdict-preview strong {
  display: block;
  margin-top: 6px;
  color: #0c6b42;
  font-size: 28px;
}

.verdict-preview b {
  color: #0b1020;
  font-size: 46px;
}

.verdict-preview small {
  color: #7b8799;
  font-size: 14px;
}

.insight-stack {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.insight-stack div {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  padding: 13px;
}

.insight-stack p,
.dashboard-mini-card p {
  margin: 5px 0 0;
  color: #46566d;
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-mini-card {
  width: min(86%, 310px);
  justify-self: start;
  margin: -72px 0 0 14px;
  border-radius: 24px;
  padding: 18px;
  transform: rotate(-3deg);
}

.dashboard-mini-card strong {
  display: block;
  margin-top: 4px;
  color: var(--landing-ink);
  font-size: 34px;
}

.mini-bars {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.mini-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #315cff 74%, #e8eef8 74%);
}

.mini-bars i:nth-child(2) {
  background: linear-gradient(90deg, #1bbf75 58%, #e8eef8 58%);
}

.mini-bars i:nth-child(3) {
  background: linear-gradient(90deg, #f4b63f 42%, #e8eef8 42%);
}

.logo-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}

.landing-section {
  margin-top: 74px;
}

.landing-section-head {
  max-width: 760px;
}

.landing-section-head.center {
  margin: 0 auto;
  text-align: center;
}

.landing-section-head.center .landing-kicker {
  margin: 0 auto;
}

.landing-section-head h2,
.landing-final-cta h2,
.dashboard-showcase h2 {
  margin: 14px 0 0;
  color: var(--landing-ink);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.landing-section-head p,
.landing-final-cta p,
.dashboard-showcase p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.65;
}

.benefit-grid,
.tier-card-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.benefit-grid article,
.tier-card-grid article,
.modern-steps article,
.trust-grid article {
  border-radius: 24px;
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.benefit-grid article:hover,
.tier-card-grid article:hover,
.modern-steps article:hover,
.trust-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .14);
}

.icon-chip {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #0b1020;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.benefit-grid h3,
.tier-card-grid h3,
.modern-steps h3,
.trust-grid h3 {
  margin: 16px 0 8px;
  color: var(--landing-ink);
  font-size: 19px;
}

.benefit-grid p,
.tier-card-grid p,
.modern-steps p,
.trust-grid p,
.tier-card-grid span {
  margin: 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.55;
}

.tier-card-grid small {
  display: inline-flex;
  border-radius: 999px;
  background: #eef4ff;
  color: #315cff;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.tier-card-grid .featured-tier {
  color: #fff;
  background: linear-gradient(145deg, rgba(11,16,32,.96), rgba(36,57,102,.94));
  border-color: rgba(255,255,255,.16);
}

.tier-card-grid .featured-tier h3,
.tier-card-grid .featured-tier p,
.tier-card-grid .featured-tier span {
  color: #fff;
}

.tier-card-grid .featured-tier span {
  color: #cbd5e1;
}

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

.modern-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.modern-steps span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #315cff, #20c7d3);
  color: #fff;
  font-weight: 900;
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 0%, rgba(32, 199, 211, .18), transparent 36%),
    #0b1020;
  color: #fff;
  padding: clamp(24px, 4vw, 40px);
}

.dashboard-showcase h2,
.dashboard-showcase p {
  color: #fff;
}

.dashboard-showcase p {
  color: #cbd5e1;
}

.dashboard-showcase .landing-kicker {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.16);
  color: #dbeafe;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-metrics article {
  min-height: 130px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  padding: 18px;
}

.dashboard-metrics strong {
  display: block;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.dashboard-metrics span {
  display: block;
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

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

.landing-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 5%, rgba(49, 92, 255, .18), transparent 32%),
    linear-gradient(135deg, #ffffff, #eef5ff);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 28px 72px rgba(15, 23, 42, .1);
  padding: clamp(24px, 4vw, 42px);
}

.motion-ready [data-animate] {
  opacity: 0;
  transform: translateY(16px);
}

.motion-ready [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .62s ease, transform .62s ease;
}

.feature-landing-head .eyebrow {
  background: #eef4ff;
  color: #315cff;
}

.rc-hero-v2 {
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  min-height: 690px;
}

.rc-hero-v2 .landing-hero-copy > p {
  font-size: 19px;
}

.rc-hero-v2 .scan-preview-card {
  transform: rotate(.7deg);
}

.metric-strip-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.metric-strip-v2 article {
  min-height: 210px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  padding: 22px;
}

.metric-strip-v2 strong {
  display: block;
  color: var(--landing-ink);
  font-size: clamp(42px, 7vw, 64px);
  line-height: .88;
}

.metric-strip-v2 span {
  display: block;
  max-width: 220px;
  margin-top: 12px;
  color: #172033;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
}

.metric-strip-v2 p {
  margin: 12px 0 0;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.5;
}

.metric-strip-v2 small {
  display: block;
  margin-top: 10px;
  color: #7b8799;
  font-size: 11px;
  line-height: 1.35;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.compare-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 20px 58px rgba(15, 23, 42, .08);
  padding: 24px;
}

.compare-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #cbd5e1;
}

.before-card::before {
  background: linear-gradient(90deg, #f97316, #facc15);
}

.after-card::before {
  background: linear-gradient(90deg, #1bbf75, #20c7d3);
}

.compare-card span {
  display: inline-flex;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.after-card span {
  background: #e8fff4;
  color: #0c6b42;
}

.compare-card h3 {
  margin: 18px 0 14px;
  color: var(--landing-ink);
  font-size: 25px;
}

.compare-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  position: relative;
  padding-left: 26px;
  color: #46566d;
  font-size: 14px;
  line-height: 1.45;
}

.compare-card li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.after-card li::before {
  background: #1bbf75;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.home-pricing-grid article {
  display: grid;
  align-content: start;
  min-height: 278px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  padding: 20px;
}

.home-pricing-grid span {
  color: #315cff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-pricing-grid h3 {
  margin: 12px 0 8px;
  color: var(--landing-ink);
  font-size: 18px;
}

.home-pricing-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--landing-ink);
  font-size: 34px;
  line-height: 1;
}

.home-pricing-grid p,
.home-pricing-grid small {
  margin: 0;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-pricing-grid small {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

.home-pricing-grid .featured-plan-card {
  background: linear-gradient(145deg, rgba(11,16,32,.96), rgba(36,57,102,.94));
  color: #fff;
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 28px 72px rgba(15, 23, 42, .2);
}

.home-pricing-grid .featured-plan-card span,
.home-pricing-grid .featured-plan-card h3,
.home-pricing-grid .featured-plan-card strong,
.home-pricing-grid .featured-plan-card p,
.home-pricing-grid .featured-plan-card small {
  color: #fff;
}

.home-pricing-grid .featured-plan-card small {
  color: #cbd5e1;
}

.pricing-section-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.trust-grid a {
  color: #172033;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .landing-hero,
  .dashboard-showcase,
  .landing-final-cta {
    grid-template-columns: 1fr;
  }

  .rc-hero-v2,
  .metric-strip-v2,
  .compare-grid,
  .home-pricing-grid {
    grid-template-columns: 1fr;
  }

  .landing-final-cta {
    display: grid;
  }

  .hero-product-stage {
    min-height: auto;
    justify-items: stretch;
  }

  .scan-preview-card,
  .dashboard-mini-card {
    width: 100%;
    transform: none;
  }

  .dashboard-mini-card {
    justify-self: stretch;
    margin: 14px 0 0;
  }

  .benefit-grid,
  .tier-card-grid,
  .product-example-grid,
  .modern-steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .example-grid,
  .split,
  .chrome-panel,
  .auth-shell,
  .dashboard-grid,
  .domain-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .check-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .scan-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-card.wide {
    grid-column: auto;
  }

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

  .profile-setup-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .cv-upload-panel {
    grid-template-columns: 1fr;
  }

  .cv-upload-actions {
    justify-content: flex-start;
  }

  .plan-editor {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .top-nav {
    min-height: 52px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    flex-wrap: wrap;
  }

  .brand {
    flex: 0 0 auto;
    gap: 7px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .top-nav nav {
    width: 100%;
    justify-content: flex-start;
    max-width: 100%;
    overflow: visible;
  }

  .nav-link,
  .nav-login,
  .nav-trigger {
    min-height: 31px;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-dropdown {
    left: 0;
    right: auto;
    width: 190px;
  }

  .profile-menu .nav-dropdown {
    left: 50%;
    right: auto;
    width: min(255px, calc(100vw - 20px));
    transform: translate(-50%, -2px);
  }

  .profile-menu.is-open .nav-dropdown {
    transform: translate(-50%, 0);
  }

  main {
    padding: 16px 12px 36px;
  }

  .landing-main {
    padding-top: 12px;
  }

  .landing-hero {
    min-height: auto;
    border-radius: 24px;
    padding: 24px 16px;
  }

  .rc-hero-v2 {
    min-height: auto;
  }

  .landing-hero h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .landing-hero-copy > p {
    font-size: 15px;
    line-height: 1.6;
  }

  .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-page .button {
    width: 100%;
  }

  .job-row,
  .verdict-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-section,
  .landing-final-cta {
    margin-top: 48px;
  }

  .landing-section-head h2,
  .landing-final-cta h2,
  .dashboard-showcase h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .metric-strip-v2 article,
  .compare-card,
  .home-pricing-grid article {
    min-height: auto;
    border-radius: 22px;
    padding: 18px;
  }

  .hero {
    min-height: 480px;
  }

  .hero-copy {
    padding: 26px 18px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero p {
    font-size: 14px;
    line-height: 1.55;
  }

  .stats {
    gap: 8px;
    margin-top: 18px;
  }

  .stats div {
    min-height: 88px;
    padding: 10px 6px;
  }

  .stats span {
    font-size: 22px;
  }

  .stats small {
    font-size: 11px;
  }

  .hero-actions,
  .setup-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .setup-grid {
    grid-template-columns: 1fr;
  }

  .button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .badges span {
    min-height: 25px;
    padding: 0 9px;
    font-size: 11px;
  }

  .section-head h2,
  .chrome-copy h2 {
    font-size: 23px;
  }

  .pricing-hero {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .pricing-grid,
  .setup-progress,
  .feature-grid,
  .metric-grid,
  .scan-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .scan-type-grid {
    grid-template-columns: 1fr;
  }

  .privacy-action-grid {
    grid-template-columns: 1fr;
  }

  .internal-plan-grid {
    grid-template-columns: 1fr;
  }

  .unit-economics div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .guide-hero {
    padding: 22px;
  }

  .dashboard-head {
    display: grid;
  }

  .admin-meta {
    justify-items: start;
    text-align: left;
  }

  .admin-filter-grid,
  .admin-csv-actions {
    grid-template-columns: 1fr;
  }

  .admin-csv-actions {
    display: grid;
  }

  .login-panel,
  .auth-wall,
  .dashboard-head,
  .dashboard-card {
    padding: 16px;
  }

  .decision-list div {
    grid-template-columns: 1fr;
  }

  .decision-list b,
  .decision-list span {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  body,
  [data-animate],
  main > .section,
  .hero,
  .hero-copy > *,
  .pricing-hero,
  .auth-wall,
  .login-panel,
  .dashboard-head,
  .setup-progress,
  .setup-card,
  .guide-hero {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
