:root {
  --accent: #ff6347;
  --accent-dark: #e5533d;
  --ink: #050505;
  --muted: #5f6368;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --line: #ececec;
  --dark: #050505;
  --font: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", Manrope, Inter, sans-serif;
}

/* 2026-06-04 final shell pass: keep Audit dashboards close to the Internal/SB Admin feel. */
:root {
  --audit-admin-blue: #4e73df;
  --audit-admin-blue-dark: #224abe;
  --audit-admin-bg: #f8f9fc;
  --audit-admin-border: #e3e6f0;
  --audit-admin-text: #2e3445;
  --audit-admin-muted: #858796;
}

.audit-app-body .account-workspace { background: var(--audit-admin-bg) !important; color: var(--audit-admin-text) !important; }
.audit-app-body .account-sidebar,
.dev-nav { background: #050505 !important; border-right: 1px solid rgba(255,255,255,.08) !important; box-shadow: none !important; }
.audit-app-body .account-side-logo,
.dev-nav .brand {
  color: #fff !important;
  font-size: 1.02rem !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}
.audit-app-body .account-side-logo span,
.dev-nav .brand span,
.dev-nav .brand-mark { color: var(--accent) !important; }
.audit-app-body .account-side-kicker {
  margin: 20px 0 8px !important;
  color: rgba(255,255,255,.55) !important;
  font-size: .67rem !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}
.audit-app-body .account-sidebar nav small {
  color: rgba(255,255,255,.42) !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  margin: 22px 0 7px !important;
}
.audit-app-body .account-sidebar nav a,
.dev-nav a:not(.brand),
.dev-nav button {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: rgba(255,255,255,.74) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  font-size: .88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.audit-app-body .account-sidebar nav a::before,
.dev-nav a:not(.brand)::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.25) !important;
  box-shadow: none !important;
}
.audit-app-body .account-sidebar nav a:hover,
.audit-app-body .account-sidebar nav a.is-active,
.dev-nav a:not(.brand):hover,
.dev-nav a:not(.brand).is-active {
  background: rgba(255,255,255,.11) !important;
  color: #fff !important;
}
.audit-app-body .account-sidebar nav a.is-active {
  border-left: 4px solid var(--audit-admin-blue) !important;
  padding-left: 10px !important;
}
.audit-app-body .account-sidebar nav a.is-active::before,
.dev-nav a:not(.brand).is-active::before { background: var(--audit-admin-blue) !important; }
.audit-app-body .account-sidebar nav a.is-locked { opacity: .72 !important; pointer-events: auto !important; }
.audit-app-body .account-sidebar nav a.is-locked::after {
  content: "Locked" !important;
  margin-left: auto !important;
  color: rgba(255,255,255,.55) !important;
  font-size: .58rem !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.audit-app-body .account-sidebar-signout button,
.dev-nav button {
  width: 100% !important;
  justify-content: center !important;
  background: var(--accent) !important;
  color: #111 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.audit-app-body .account-topbar,
.dev-topbar {
  min-height: 72px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--audit-admin-border) !important;
  box-shadow: 0 .15rem 1.75rem rgba(58,59,69,.12) !important;
}
.audit-app-body .account-topbar-title strong,
.dev-topbar strong { color: var(--audit-admin-text) !important; font-size: .92rem !important; }
.audit-app-body .account-topbar-title span,
.dev-topbar span,
.audit-app-body .account-profile-trigger small { color: var(--audit-admin-muted) !important; }
.audit-app-body .account-profile-trigger {
  border: 1px solid var(--audit-admin-border) !important;
  background: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 .15rem 1rem rgba(58,59,69,.08) !important;
}
.audit-app-body .account-profile-avatar { background: #111 !important; color: #fff !important; }
.audit-app-body .account-main,
.dev-main { background: var(--audit-admin-bg) !important; }
.audit-app-body .account-hero-card,
.audit-app-body .account-stats article,
.audit-app-body .account-lock-card,
.audit-app-body .account-history,
.audit-app-body .account-billing-strip article,
.dev-panel,
.dev-card,
.dev-table,
.dev-main article {
  background: #fff !important;
  border: 1px solid var(--audit-admin-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 .15rem 1.75rem rgba(58,59,69,.09) !important;
}
.audit-app-body .account-stats article,
.audit-app-body .account-billing-strip article { border-left: .25rem solid var(--audit-admin-blue) !important; }
.audit-app-body .eyebrow,
.dev-main .eyebrow { color: var(--accent) !important; letter-spacing: .16em !important; }
.audit-app-body .account-hero-card h1,
.audit-app-body .account-lock-card h2,
.dev-main h1,
.dev-main h2 { color: var(--audit-admin-text) !important; letter-spacing: -.045em !important; }
.audit-app-body .password-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: stretch !important;
  max-width: 760px !important;
}
.audit-app-body .password-field button { min-width: 88px !important; border-radius: 10px !important; box-shadow: none !important; }

@media (max-width: 980px) {
  .audit-nav-toggle {
    width: 46px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 0 !important;
  }
  .audit-nav-toggle span {
    width: 28px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 99px !important;
    background: #111 !important;
    display: block !important;
  }
  .audit-nav-toggle span + span { margin-top: 6px !important; }
  .audit-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg) !important; }
  .audit-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0 !important; }
  .audit-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) !important; }
  nav[data-audit-nav] {
    inset: 80px auto 0 28% !important;
    width: 72% !important;
    min-height: calc(100dvh - 80px) !important;
    max-height: calc(100dvh - 80px) !important;
    padding: 34px 28px !important;
    background: #fff !important;
    color: #111 !important;
    border-left: 1px solid #ececec !important;
    border-top: 1px solid #ececec !important;
    box-shadow: -28px 0 70px rgba(0,0,0,.2) !important;
  }
  body.nav-open::before {
    content: "" !important;
    position: fixed !important;
    inset: 80px 72% 0 0 !important;
    z-index: 95 !important;
    background: rgba(5,5,5,.42) !important;
    backdrop-filter: blur(2px) !important;
  }
  nav[data-audit-nav]::before { content: "" !important; display: none !important; }
  nav[data-audit-nav] a {
    min-height: 58px !important;
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    padding: 0 !important;
    background: transparent !important;
    color: #222 !important;
    justify-content: flex-start !important;
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    font-weight: 760 !important;
    letter-spacing: -.03em !important;
  }
  nav[data-audit-nav] a::before,
  nav[data-audit-nav] a::after { content: none !important; display: none !important; }
  nav[data-audit-nav] .nav-cta {
    justify-content: center !important;
    min-height: 56px !important;
    margin-top: 24px !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
    color: #111 !important;
    border: 0 !important;
  }
  .audit-app-body .account-sidebar {
    width: min(86vw, 310px) !important;
    transform: translateX(-105%) !important;
    top: 0 !important;
    min-height: 100dvh !important;
    z-index: 160 !important;
  }
  .audit-app-body .account-sidebar.is-open { transform: translateX(0) !important; }
  .audit-app-body .account-topbar { position: sticky !important; top: 0 !important; z-index: 80 !important; }
  .audit-app-body .account-sidebar-toggle {
    display: grid !important;
    border: 1px solid var(--audit-admin-border) !important;
    background: #fff !important;
    border-radius: 8px !important;
  }
  .audit-app-body .account-profile-menu { margin-left: auto !important; }
}

/* Editorial articles and scoring refresh */
.articles-editorial,
.article-reading,
.scoring-page {
  background: #fff;
}

.article-index-hero,
.scoring-hero {
  max-width: 980px;
  margin: 0 auto 56px;
  text-align: center;
}

.article-index-hero h1,
.scoring-hero h1 {
  max-width: 940px;
  margin-inline: auto;
}

.article-index-hero .lead,
.scoring-hero .lead {
  max-width: 760px;
  margin-inline: auto;
}

.article-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  gap: 32px;
  align-items: end;
  padding: 38px 0;
  border-top: 2px solid #111;
  border-bottom: 1px solid #ddd;
}

.article-feature-image,
.article-row-image,
.article-hero-image {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #e2e2e2;
  background: #fff;
}

.article-feature-image img,
.article-row-image img,
.article-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article-feature-image {
  min-height: 260px;
}

.article-row-image {
  min-height: 160px;
}

.article-hero-image {
  margin: 30px auto 0;
  max-width: 980px;
  aspect-ratio: 16 / 9;
}

.article-feature-row span,
.article-row-kicker span,
.article-reading-hero .eyebrow {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.article-feature-row h2 {
  max-width: 920px;
  margin: 12px 0 14px;
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  line-height: .95;
}

.article-feature-row p {
  max-width: 720px;
  color: #5f6368;
  font-size: 1.08rem;
}

.article-meta-line,
.article-author-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.article-meta-line i,
.article-author-strip i {
  color: #6f7379;
  font-style: normal;
}

.article-topic-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 24px 0 8px;
}

.article-topic-strip a {
  flex: 0 0 auto;
  color: #111;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.article-topic-strip a:hover {
  background: #111;
  color: #fff;
}

.article-index-list {
  margin-top: 28px;
  border-top: 1px solid #ddd;
}

.article-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 38px;
  padding: 34px 0;
  border-bottom: 1px solid #ddd;
}

.article-row.has-image {
  grid-template-columns: 220px minmax(0, 250px) minmax(0, 1fr);
}

.article-row-kicker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-row-kicker small {
  color: #6f7379;
  font-weight: 700;
}

.article-row-main {
  display: block;
  color: #111;
  text-decoration: none;
}

.article-row-main h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.4vw, 3rem);
  line-height: 1;
}

.article-row-main p {
  max-width: 820px;
  color: #5f6368;
  font-size: 1.03rem;
}

.article-row-main strong {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
}

.article-row-main:hover h2 {
  color: var(--accent);
}

.article-reading-hero {
  max-width: 1040px;
  margin: 0 auto 50px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: #111;
  font-weight: 900;
  text-decoration: none;
}

.article-reading-hero h1 {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: .9;
}

.article-author-strip {
  justify-content: center;
}

.article-author-strip img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ddd;
}

.article-author-strip div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.article-reading-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 820px);
  justify-content: center;
  gap: 64px;
}

.article-reading-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  border-top: 3px solid #111;
  padding-top: 22px;
}

.article-reading-aside span {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.article-body {
  color: #171717;
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.8;
}

.article-body h2 {
  margin: 54px 0 18px;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1;
}

.article-body p,
.article-body li {
  color: #34373b;
}

.article-body ul {
  padding-left: 22px;
}

.article-next-step {
  max-width: 980px;
  margin: 72px auto 0;
  padding: 38px 0;
  border-top: 2px solid #111;
}

.score-model-board {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
  margin-top: 28px;
}

.score-model-core {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  color: #fff;
  background: #111;
  border-radius: 34px;
}

.score-model-core span,
.expert-plan-summary span {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.score-model-core strong {
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: .85;
}

.score-weight-list {
  display: grid;
  gap: 14px;
}

.score-weight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.score-weight-row span {
  display: block;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .75rem;
}

.score-weight-row strong {
  display: block;
  margin: 5px 0;
  font-size: 1.15rem;
}

.score-weight-row p {
  max-width: 740px;
  color: #60656b;
}

.score-weight-row em {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #111;
  background: var(--accent);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.score-weight-row i {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  background: #ececec;
  border-radius: 99px;
}

.score-weight-row i b {
  display: block;
  height: 100%;
  width: calc(var(--weight) * 1%);
  background: #111;
  border-radius: inherit;
  animation: scoreFill .9s ease both;
}

@keyframes scoreFill {
  from { width: 0; }
}

.scoring-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 70px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.scoring-principles article {
  padding: 34px 0;
}

.scoring-principles span {
  color: var(--accent);
  font-weight: 900;
}

.scoring-principles h2 {
  margin: 10px 0;
}

.pricing-page .page-kicker-grid {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
  grid-template-columns: 1fr;
}

.pricing-page .page-kicker-grid .lead {
  margin-inline: auto;
}

.expert-plan-generate,
.expert-plan-board {
  max-width: 1180px;
  margin-inline: auto;
}

.expert-plan-generate {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 30px;
  color: #fff;
  background: #111;
  border-radius: 28px;
}

.expert-plan-generate strong,
.expert-plan-generate span {
  display: block;
}

.expert-plan-generate button {
  border: 0;
  border-radius: 999px;
  padding: 16px 22px;
  color: #111;
  background: var(--accent);
  font-weight: 900;
}

.expert-plan-board {
  display: grid;
  gap: 24px;
}

.expert-plan-summary {
  padding: 30px;
  color: #fff;
  background: #111;
  border-radius: 28px;
}

.expert-plan-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expert-plan-focus article,
.expert-plan-next {
  padding: 26px;
  border: 1px solid #ddd;
  border-radius: 24px;
  background: #fff;
}

.expert-plan-focus article span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #111;
  background: var(--accent);
  font-weight: 900;
}

.dev-title-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.dev-table-card {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 22px;
}

.dev-table {
  width: 100%;
  border-collapse: collapse;
}

.dev-table th,
.dev-table td {
  padding: 18px;
  border-bottom: 1px solid #eef0f5;
  text-align: left;
  vertical-align: top;
}

.dev-table td small {
  display: block;
  margin-top: 4px;
  color: #7b8090;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: #111;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.article-editor-form textarea {
  width: 100%;
}

@media (max-width: 900px) {
  .article-feature-row,
  .article-row,
  .article-reading-grid,
  .score-model-board,
  .scoring-principles,
  .expert-plan-focus {
    grid-template-columns: 1fr;
  }

  .article-reading-aside {
    position: static;
  }

  .expert-plan-generate,
  .dev-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .score-model-core {
    min-height: 240px;
  }
}

/* Final mobile/public/admin polish pass. */
.audit-nav-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
}

.audit-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: #111;
  transform-origin: center;
}

.audit-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.audit-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.audit-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 991px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 89;
    background: rgba(5,5,5,.48);
  }

  nav[data-audit-nav] {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 90;
    display: flex;
    width: min(76vw, 360px);
    height: 100vh;
    flex-direction: column;
    gap: 0;
    padding: 92px 30px 30px;
    border-left: 1px solid #e6e6e6;
    background: #fff;
    box-shadow: -30px 0 80px rgba(0,0,0,.22);
    transform: translateX(105%);
    transition: transform .24s ease;
  }

  nav[data-audit-nav].is-open {
    transform: translateX(0);
  }

  nav[data-audit-nav]::before {
    content: "Navigation";
    position: absolute;
    top: 34px;
    left: 30px;
    color: var(--accent);
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  nav[data-audit-nav] a,
  nav[data-audit-nav] .nav-cta {
    display: block;
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    background: transparent;
    color: #202433;
    box-shadow: none;
    font-size: clamp(1.45rem, 5vw, 2rem);
    font-weight: 850;
    line-height: 1.15;
    text-align: left;
    text-decoration: none;
  }

  nav[data-audit-nav] a::before,
  nav[data-audit-nav] a::after,
  nav[data-audit-nav] .nav-cta::before,
  nav[data-audit-nav] .nav-cta::after {
    display: none !important;
    content: none !important;
  }

  nav[data-audit-nav] a:hover,
  nav[data-audit-nav] a:focus {
    color: var(--accent);
    background: transparent;
    transform: none;
  }
}

@media (max-width: 700px) {
  .articles-editorial,
  .article-reading {
    background: #fff !important;
    color: #111;
  }

  .article-feature-row,
  .article-row-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
    background: #fff;
  }

  .article-feature-image,
  .article-row-image,
  .article-hero-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    background: #f4f4f4;
  }

  .article-feature-row h2,
  .article-index-hero h1,
  .article-reading-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.9rem);
  }
}

.dev-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: 72px minmax(0, 1fr);
  min-height: 100vh;
  background: #f3f5f9;
}

.dev-nav {
  grid-row: 1 / span 2;
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  width: 260px;
  height: 100vh;
  flex-direction: column;
  overflow-y: auto;
  gap: 6px;
  padding: 18px 16px;
  background: #050505;
  color: #fff;
  box-shadow: none;
}

.dev-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
}

.dev-nav .brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #050505;
}

.dev-nav a:not(.brand),
.dev-nav button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 850;
  text-decoration: none;
}

.dev-nav a:not(.brand)::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}

.dev-nav a:not(.brand):hover {
  background: #1c1c1c;
  color: #fff;
}

.dev-nav form {
  margin-top: auto;
}

.dev-nav button {
  justify-content: center;
  width: 100%;
  background: var(--accent);
  color: #050505;
}

.dev-topbar {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid #dfe3ec;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20,24,40,.05);
}

.dev-main {
  grid-column: 2;
  grid-row: 2;
  padding: 28px;
  background: #f3f5f9;
}

.dev-main h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.dev-grid article,
.dev-panel,
.settings-section {
  border: 1px solid #dfe3ec;
  border-left: 4px solid #4e73df;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(20,24,40,.06);
}

.dev-install {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #4e73df;
  border-radius: 6px;
  color: #4e73df;
  font-weight: 800;
  text-decoration: none;
}

.dev-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid #dfe3ec;
}

.dev-user-copy {
  color: #6e7486;
  font-size: .9rem;
  font-weight: 800;
}

.dev-user-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #141827;
  color: #fff;
  font-weight: 950;
}

.dev-sidebar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #dfe3ec;
  border-radius: 10px;
  background: #fff;
}

.dev-sidebar-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: #111;
}

@media (max-width: 900px) {
  .dev-shell {
    display: block;
  }

  .dev-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 330px);
    transform: translateX(-105%);
    transition: transform .24s ease;
  }

  .dev-nav.is-open {
    transform: translateX(0);
  }

  .dev-topbar {
    justify-content: space-between;
    padding: 0 16px;
  }

  .dev-sidebar-toggle {
    display: grid;
  }

  .dev-main {
    padding: 18px 14px 40px;
  }

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.js body {
  animation: pageIn .28s ease-out both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 76px);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.045em;
  font-size: 1.05rem;
}

.brand-word { color: var(--accent); }
.brand-divider { width: 1px; height: 18px; background: #dcdcdc; }

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .9rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
  color: var(--ink);
}

nav a:hover {
  color: var(--accent);
}

.audit-nav-toggle {
  display: none;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #111;
  font-weight: 950;
  cursor: pointer;
}
.audit-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111;
  transition: transform .22s ease, opacity .22s ease;
}
.audit-nav-toggle span + span { margin-top: 5px; }
.audit-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.audit-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.audit-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta,
.button-link,
.button,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(255,99,71,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta:hover,
.button-link:hover,
.button:hover,
.footer-cta:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 20px 42px rgba(255,99,71,.26);
}

.button.primary {
  background: var(--accent);
}

.button-secondary {
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.error-shell {
  min-height: 62vh;
  display: grid;
  align-content: center;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.report-download {
  margin-top: 1.25rem;
}

.audit-hero {
  min-height: calc(100vh - 81px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(34px, 5vw, 70px);
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at top right, rgba(255,99,71,.08), transparent 34%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2V6h4V4H6zM36 4v-4h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E"),
    #fff;
}

.hero-copy {
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 950;
}

h1,
h2,
h3,
p { margin-top: 0; }

.audit-hero h1,
.page-shell h1 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 950;
}

.lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.audit-form {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 34px;
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.07);
}

.audit-form > label:not(.check-row) {
  display: block;
  margin: 8px 14px 10px;
  color: #111;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #e8e8e8;
  border-radius: 22px;
  padding: 18px 20px;
  font: inherit;
  font-size: 1.04rem;
  outline: none;
}

.input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,99,71,.12);
}

.input-row button {
  border: 0;
  border-radius: 22px;
  padding: 0 28px;
  background: var(--accent);
  color: #000;
  font-weight: 950;
  cursor: pointer;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 13px 14px 4px !important;
  color: #6b7280;
  font-size: .88rem;
}

.form-error {
  margin: 0 0 10px;
  border-radius: 18px;
  background: #fff3ee;
  color: #7a1f10;
  padding: 12px 14px;
  font-weight: 800;
}

.trust-row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  padding: 9px 13px;
  color: #444;
  font-size: .86rem;
  font-weight: 800;
}

.audit-preview {
  position: relative;
  width: min(760px, 100%);
  max-width: 760px;
  justify-self: center;
}

.preview-window {
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.10);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid #efefef;
  color: #7a7a7a;
  font-weight: 850;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.window-bar span:nth-child(2) { background: #111; }
.window-bar span:nth-child(3) { background: #d9d9d9; margin-right: 10px; }

.preview-body {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.score-panel {
  border-radius: 28px;
  background: #080808;
  color: #fff;
  padding: 28px;
  min-height: 280px;
  display: grid;
  align-content: end;
}

.score-panel small {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.score-panel strong {
  display: block;
  margin: 18px 0 10px;
  font-size: clamp(4.8rem, 9vw, 7rem);
  line-height: .8;
  letter-spacing: -.08em;
}

.score-panel p {
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.5;
}

.metric-list {
  display: grid;
  align-content: center;
  gap: 18px;
}

.metric-list div {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px 12px;
  align-items: center;
}

.metric-list span {
  color: #222;
  font-weight: 900;
}

.metric-list i {
  grid-column: 1 / 2;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eeeeee;
}

.metric-list b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.metric-list strong {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  justify-self: end;
}

.insight-ticket {
  position: absolute;
  right: -28px;
  bottom: -34px;
  max-width: 290px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e9e9e9;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.13);
}

.insight-ticket span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 950;
}

.insight-ticket p {
  margin: 8px 0 0;
  color: #333;
  font-weight: 750;
  line-height: 1.45;
}

.audit-band {
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: 32px;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 76px);
  background: #080808;
  color: #fff;
}

.audit-band span {
  color: var(--accent);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 950;
}

.audit-band p {
  margin: 0;
  max-width: 950px;
  font-size: clamp(1.75rem, 3.3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 950;
}

.section,
.page-shell,
.report-hero,
.preview-grid {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 76px);
}

.section-head {
  max-width: 1120px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 950;
}

.steps-list,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps-list article,
.benefit-grid article {
  border-top: 2px solid #111;
  padding-top: 24px;
}

.steps-list span,
.benefit-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .16em;
}

.steps-list h3,
.benefit-grid h3,
.checks-list h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.steps-list p,
.benefit-grid p,
.checks-list p,
.decision-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.checks-section { background: var(--soft); }

.checks-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 42px;
  border-top: 1px solid #ddd;
}

.checks-list article {
  padding: 26px 0;
  border-bottom: 1px solid #ddd;
}

.decision-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.decision-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 950;
}

.decision-copy {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.decision-copy a {
  display: inline-flex;
  margin-top: 8px;
  color: #000;
  font-weight: 950;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}

.report-hero {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: #080808;
  color: #fff;
}

.site-title-row { display: flex; align-items: center; gap: 16px; }
.site-title-row h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; margin: 0; }
.favicon { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 6px; }
.report-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.report-pills span {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 850;
}

.fresh-scan-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.fresh-scan-form button {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 12px 18px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.fresh-scan-form button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.fresh-scan-form small {
  max-width: 520px;
  color: rgba(255,255,255,.66);
  font-weight: 750;
  line-height: 1.45;
}

.fresh-scan-form small strong {
  color: #fff;
}

.score-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: conic-gradient(var(--accent) calc(var(--score) * 1%), #2a2a2a 0);
  box-shadow: inset 0 0 0 18px #080808;
  flex: 0 0 auto;
}

.score-ring strong { font-size: 3.4rem; line-height: .9; }

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 24px;
}

.screenshot-frame,
.insight-panel,
.history-list a,
.method-list article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.screenshot-frame {
  min-height: 480px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px),
    #f7f7f4;
  background-size: 26px 26px;
  padding: 0;
}
.screenshot-frame img {
  width: 100%;
  height: min(68vh, 680px);
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 28px;
  background: #fff;
}
.screenshot-placeholder { min-height: 480px; display: grid; place-items: center; align-content: center; text-align: center; padding: 30px; }
.insight-panel { padding: 28px; }
.issue { border-top: 1px solid var(--line); padding: 20px 0; }
.issue span,
.module-score { color: var(--accent); font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .14em; }
.issue a { font-weight: 950; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }

.preview-brief {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--soft);
  padding: 20px;
}

.preview-brief span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.preview-brief p {
  margin: 10px 0;
  color: #111;
  font-weight: 850;
  line-height: 1.55;
}

.preview-brief small {
  color: var(--muted);
  font-weight: 800;
}

.unlock-card {
  margin-top: 24px;
  border-radius: 26px;
  background: #080808;
  color: #fff;
  padding: 26px;
}
.unlock-card span,
.locked-list span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 950;
}
.unlock-card h2 { margin: 10px 0 12px; font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.04em; }
.unlock-card p { color: rgba(255,255,255,.72); line-height: 1.6; }
.unlock-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.unlock-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 900;
}
.unlock-form input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 15px 16px;
  font: inherit;
  outline: none;
}
.unlock-form input::placeholder { color: rgba(255,255,255,.42); }
.unlock-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,99,71,.16); }
.unlock-form button {
  border: 0;
  border-radius: 16px;
  min-height: 52px;
  background: var(--accent);
  color: #111;
  font-weight: 950;
  cursor: pointer;
}
.tiny-note {
  color: #555 !important;
  font-size: .95rem;
  font-weight: 800;
}

.score-snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.score-snapshot article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: #fff;
}
.score-snapshot div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  font-weight: 950;
}
.score-snapshot span { color: var(--accent); }
.score-snapshot i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}
.score-snapshot b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.evidence-section {
  background: #fff;
}

.evidence-section .section-head p:last-child {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.evidence-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--soft);
  padding: 24px;
}

.evidence-panel > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.evidence-panel article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.evidence-panel article:first-of-type {
  border-top: 0;
}

.evidence-panel strong {
  font-weight: 950;
}

.evidence-panel em {
  font-style: normal;
  color: #111;
  font-weight: 950;
}

.evidence-panel i {
  grid-column: 1 / -1;
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e2e2;
}

.evidence-panel b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.metric-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.report-delivery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.report-delivery-strip span,
.report-delivery-strip strong {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
}

.report-delivery-strip span {
  background: #111;
  color: #fff;
}

.report-delivery-strip strong {
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
}

.locked-report-section {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  background: var(--soft);
}
.locked-copy h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.locked-copy p { color: var(--muted); line-height: 1.7; }
.locked-list {
  display: grid;
  gap: 14px;
}
.locked-list article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 22px;
}
.locked-list article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7));
  pointer-events: none;
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.page-hero-note {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  padding: 26px;
  box-shadow: 18px 18px 0 #111;
}

.page-hero-note span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.page-hero-note p {
  margin: 12px 0 0;
  color: #111;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
}

.faq-rows {
  margin-top: clamp(34px, 6vw, 80px);
  display: grid;
  gap: 12px;
}

.faq-rows details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 22px 24px;
}

.faq-rows summary {
  cursor: pointer;
  color: #111;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
}

.faq-rows p {
  max-width: 920px;
  margin: 16px 0 4px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-hero-clean {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
}

.faq-hero-clean h1 {
  max-width: 920px;
  margin-left: 0;
  margin-right: 0;
}

.faq-hero-clean .lead {
  max-width: 780px;
  margin-left: 0;
  margin-right: 0;
}

.faq-promise {
  margin: 0;
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 22px;
  color: #272727;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.faq-promise strong {
  color: var(--accent);
}

.page-bottom-cta {
  margin-top: clamp(36px, 6vw, 90px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: 34px;
  background: #080808;
  color: #fff;
  padding: clamp(26px, 4vw, 48px);
}

.page-bottom-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.pricing-page .pricing-grid article {
  position: relative;
  overflow: hidden;
}

.pricing-page .pricing-grid article::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 6px;
  background: var(--accent);
}

.contact-page .contact-grid article,
.policy-page .policy-grid article {
  transition: transform .2s ease, border-color .2s ease;
}

.contact-page .contact-grid article:hover,
.policy-page .policy-grid article:hover {
  transform: translateY(-4px);
  border-color: #111;
}

.policy-page .policy-grid article h2 {
  font-family: var(--display);
  letter-spacing: -.03em;
}
.locked-list h3 { margin: 9px 0 8px; font-size: 1.25rem; }
.locked-list p { margin: 0; color: var(--muted); line-height: 1.55; }
.unlock-points {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.unlock-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.78);
  font-weight: 850;
}
.unlock-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.module-stack { display: grid; gap: 0; border-top: 1px solid var(--line); }
.module-row { display: grid; grid-template-columns: minmax(0, .78fr) minmax(260px, 1fr); gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.module-row h3 { font-size: 2rem; margin: 8px 0; letter-spacing: -.035em; }
.module-row ul { margin: 0; color: #374151; line-height: 1.75; }

.history-list,
.method-list { display: grid; gap: 16px; margin-top: 30px; }
.history-list a { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 24px; text-decoration: none; align-items: center; }
.method-list { grid-template-columns: repeat(2, 1fr); }
.method-list article { padding: 26px; }
.method-list article span { float: right; background: var(--accent); border-radius: 999px; padding: 6px 10px; font-weight: 950; }

.page-kicker-grid {
  max-width: 1180px;
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .46fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.page-kicker-grid h1 {
  margin-left: 0;
  margin-right: 0;
}

.page-kicker-grid .lead {
  margin: 0;
}

.process-page {
  background: #fff;
}

.process-timeline {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-timeline article {
  display: grid;
  grid-template-columns: 110px minmax(220px, .45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.process-timeline span {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: .14em;
}

.process-timeline h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -.04em;
}

.process-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.pricing-proof,
.contact-support-strip,
.scoring-note {
  max-width: 1180px;
  margin: 22px auto 0;
}

.pricing-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricing-proof article {
  border-top: 2px solid #111;
  padding-top: 20px;
}

.pricing-proof span {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.pricing-proof p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-support-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-radius: 28px;
  background: #080808;
  color: #fff;
  padding: 22px;
}

.contact-support-strip strong,
.contact-support-strip span {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
}

.contact-support-strip strong {
  color: var(--accent);
}

.contact-support-strip span {
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
}

.contact-email-plate {
  margin: 34px 0;
  padding: clamp(24px, 4vw, 42px);
  border: 2px solid #111;
  border-radius: 34px;
  background: #fff;
  box-shadow: 14px 14px 0 #111;
}

.contact-email-plate span {
  display: block;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-email-plate a {
  display: block;
  margin: 12px 0;
  color: #111;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: -.05em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-email-plate a:hover { color: var(--accent); }
.contact-email-plate p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.7; }

.scoring-note {
  border-left: 4px solid var(--accent);
  background: var(--soft);
  padding: clamp(24px, 4vw, 38px);
}

.scoring-note h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.scoring-note p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  padding: clamp(64px, 7vw, 96px) clamp(20px, 5vw, 76px);
  background: #050505;
  color: #fff;
}

.footer-logo {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: .9;
  letter-spacing: -.06em;
  font-weight: 950;
}

.footer-logo span { color: var(--accent); }
.footer-brand p { max-width: 440px; color: rgba(255,255,255,.58); line-height: 1.7; }
.footer-brand a { margin-right: 14px; }
.footer-email {
  display: block;
  width: fit-content;
  margin: 14px 0 8px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-email:hover { color: var(--accent); }
.footer-studio { display: inline-flex; margin-top: 18px; color: rgba(255,255,255,.62); text-decoration: none; font-weight: 800; }
.footer-studio:hover { color: #fff; }
.footer-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  margin-right: 14px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.footer-install:hover {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 34px;
}

.footer-links div { display: grid; gap: 12px; align-content: start; }
.footer-links span { color: var(--accent); font-size: .76rem; font-weight: 950; text-transform: uppercase; letter-spacing: .15em; }
.footer-links a { color: rgba(255,255,255,.64); font-weight: 800; text-decoration: none; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.66);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

.report-workspace { background: #fff; }

.report-tabs {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: #f1f1ee;
}

.report-tabs button {
  appearance: none;
  border: 0;
  border-right: 1px solid #deded9;
  background: transparent;
  padding: 18px 24px;
  min-width: max-content;
  font: inherit;
  font-weight: 950;
  color: #555;
  cursor: pointer;
}

.report-tabs button.active {
  background: #fff;
  color: var(--accent);
}

.report-workspace-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 30px;
  border: 1px solid var(--line);
  border-top: 0;
  padding: clamp(24px, 4vw, 46px);
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.06);
}

.report-summary-column h2,
.articles-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.07em;
  margin: 0 0 20px;
}

.report-summary-column > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.report-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: #dfdfda;
  border: 1px solid #dfdfda;
}

.report-mini-grid article {
  background: #fff;
  padding: 22px;
}

.report-mini-grid span,
.locked-preview-panel > span,
.article-feature-grid span,
.article-index-card span {
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 10px;
}

.report-mini-grid strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.report-mini-grid p,
.locked-preview-panel p,
.article-feature-grid p,
.article-index-card p,
.article-group a span {
  color: var(--muted);
  line-height: 1.65;
}

.locked-preview-panel {
  background: #050505;
  color: #fff;
  padding: 30px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 18px 18px 0 var(--accent);
}

.locked-preview-panel h3 {
  font-size: 1.7rem;
  line-height: 1.12;
  letter-spacing: -.05em;
  margin: 0 0 20px;
}

.locked-blur-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  filter: blur(2.5px);
  opacity: .7;
  user-select: none;
}

.locked-blur-list p {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
}

.articles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 4vw, 76px) clamp(55px, 8vw, 100px);
  background:
    linear-gradient(90deg, rgba(255,99,71,.06), transparent 42%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, transparent 1px 44px),
    #fbfaf7;
  border-bottom: 1px solid var(--line);
}

.articles-hero .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.article-index-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 16px 16px 0 #050505;
}

.article-index-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -.05em;
}

.article-index-card a {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 950;
  color: var(--accent);
  text-decoration: none;
}

.article-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #deded9;
  border: 1px solid #deded9;
}

.article-feature-grid article {
  background: #fff;
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.article-feature-grid h3 {
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.05em;
  margin: 0 0 12px;
}

.article-feature-grid small {
  margin-top: auto;
  font-weight: 900;
}

.article-group {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  border-top: 1px solid #deded9;
  padding: 28px 0;
}

.article-group h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -.05em;
}

.article-group > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e4e4df;
}

.article-group article { background: #fff; }

.article-group a {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 22px;
  text-decoration: none;
}

.article-group a strong {
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.article-group a em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.team-offer-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #111;
  border-radius: 30px;
  background: #050505;
  color: #fff;
}

.team-offer-strip h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.team-offer-strip p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.team-offer-strip button {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 950;
  cursor: pointer;
}

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

.team-offers[hidden] { display: none; }

.team-offers article {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.team-offers span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.team-offers h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.06em;
}

.team-offers p {
  color: var(--muted);
  line-height: 1.7;
}

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible,
.no-js .reveal { opacity: 1; transform: translateY(0); }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.preview-window,
.insight-ticket,
.steps-list article,
.checks-list article {
  animation: floatIn .7s ease both;
}

/* Developer area: functional baseline while the product UI evolves. */
.dev-login { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); }
.dev-login-art { background: #080808; color: #fff; padding: clamp(50px, 7vw, 110px); display: grid; align-content: center; }
.dev-login-art h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: .92; letter-spacing: -.06em; }
.dev-login-art p { color: rgba(255,255,255,.72); font-size: 1.2rem; max-width: 620px; }
.dev-login-card { padding: clamp(34px, 6vw, 80px); display: grid; align-content: center; gap: 12px; }
.dev-login-card h2 { font-size: 2.7rem; letter-spacing: -.04em; margin-bottom: 12px; }
.dev-login-card input,
.settings-form input,
.settings-form select { width: 100%; border: 1px solid #d8d8d8; border-radius: 14px; padding: 15px 16px; font: inherit; margin-top: 8px; }
.dev-login-card label,
.settings-form label { font-weight: 900; }
.dev-login-card button,
.settings-form button,
.dev-nav button { border: 0; border-radius: 14px; padding: 15px 18px; background: var(--accent); color: #111; font-weight: 950; cursor: pointer; }
.install-dev-app {
  background: #111 !important;
  color: #fff !important;
}
.dev-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: calc(100vh - 78px); }
.dev-nav { background: #080808; color: #fff; padding: 24px; display: grid; align-content: start; gap: 10px; position: sticky; top: 78px; min-height: calc(100vh - 78px); }
.dev-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 850; padding: 12px 10px; border-radius: 12px; }
.dev-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dev-nav form { margin-top: 20px; }
.dev-nav button { width: 100%; background: #fff; }
.dev-main { padding: clamp(30px, 5vw, 70px); background: #f6f6f3; }
.dev-main h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: .95; letter-spacing: -.055em; }
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.dev-grid article,
.dev-panel,
.settings-section { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.dev-grid span { color: var(--accent); font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .12em; }
.dev-grid strong { display: block; font-size: 1.75rem; margin: 12px 0 6px; }
.health-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.health-card { border-left: 6px solid #aaa !important; }
.health-pass { border-left-color: #18a058 !important; }
.health-warn { border-left-color: #f2b705 !important; }
.health-fail { border-left-color: #d93025 !important; }
.health-list {
  display: grid;
  gap: 12px;
}
.health-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.launch-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 26px;
  margin: 26px 0;
}
.launch-score > strong {
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: #080808;
  color: #fff;
  font-size: 2.5rem;
}
.launch-score p {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 850;
}
.launch-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.launch-list article {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-left: 6px solid #aaa;
  border-radius: 24px;
  background: #fff;
  padding: 22px;
}
.launch-list .launch-ok { border-left-color: #18a058; }
.launch-list .launch-open { border-left-color: #d93025; }
.launch-list span {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.launch-list h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}
.launch-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.launch-list strong {
  font-size: .75rem;
  letter-spacing: .1em;
}
.ops-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ops-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #111;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  font-weight: 950;
}
.ops-button:hover {
  background: #111;
  color: #fff;
}
.ops-retention {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.ops-retention div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: var(--soft);
}
.ops-retention span {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.ops-retention strong {
  display: block;
  margin-top: 8px;
  font-size: 1.65rem;
}
.ops-danger {
  width: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 52px;
  background: #111;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}
.ops-danger:hover {
  background: var(--accent);
  color: #111;
}
.ops-playbook {
  margin-top: 16px;
}
.ops-playbook p {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.ops-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 10px 0 0;
  padding-left: 18px;
}
.ops-inline-link {
  display: inline-flex;
  margin-left: 12px;
  color: #111;
  font-weight: 950;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.ops-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.ops-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}
.ops-form input,
.ops-form select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
}
.ops-backups {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.ops-backups a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: #111;
  text-decoration: none;
}
.ops-backups a:hover {
  border-color: #111;
}
.ops-backups span {
  font-weight: 950;
  word-break: break-word;
}
.ops-backups small,
.ops-playbook code {
  color: var(--muted);
}
.ops-playbook code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-radius: 10px;
  background: #f1f1f1;
  padding: 4px 8px;
}
.qa-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  border-left: 6px solid #999;
}
.qa-summary > div > span {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .14em;
}
.qa-summary h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -.045em;
}
.qa-phase-list {
  display: grid;
  gap: 16px;
}
.qa-checks {
  display: grid;
  gap: 10px;
}
.qa-check {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.qa-check strong {
  font-size: .72rem;
  letter-spacing: .1em;
}
.qa-pass strong { color: #15803d; }
.qa-warn strong { color: #b45309; }
.qa-fail strong { color: #b91c1c; }
.qa-summary.qa-pass { border-left-color: #15803d; }
.qa-summary.qa-warn { border-left-color: #f59e0b; }
.qa-summary.qa-fail { border-left-color: #dc2626; }
.dev-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dev-list-row,
.log-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.log-row { grid-template-columns: 1fr auto auto; }
.log-row code { grid-column: 1 / -1; white-space: pre-wrap; background: #f4f4f4; padding: 10px; border-radius: 10px; }
.muted { color: var(--muted); }
.settings-form { display: grid; gap: 18px; max-width: 960px; }
.settings-section { display: grid; gap: 14px; }
.success-note { background: #e8f8ef; color: #14532d; border-radius: 16px; padding: 14px 16px; font-weight: 900; margin-bottom: 18px; }
.policy-page {
  background: var(--soft);
}
.policy-page > .eyebrow,
.policy-page > h1,
.policy-page > .lead {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.policy-page h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  max-width: 1180px;
  margin: 42px auto 0;
}
.policy-page article {
  border-top: 2px solid #111;
  padding-top: 22px;
}
.policy-page article h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}
.policy-page article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cookie-control-panel {
  max-width: 1180px;
  margin: 46px auto 18px;
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.cookie-control-panel h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.cookie-control-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.cookie-control-panel form {
  display: grid;
  gap: 12px;
}

.cookie-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
  padding: 16px;
}

.cookie-choice input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.cookie-choice strong,
.cookie-choice small {
  display: block;
}

.cookie-choice small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-choice.is-locked {
  border-color: #111;
  background: #fff;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.cookie-actions button {
  min-height: 44px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  color: #111;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.cookie-actions button:first-child {
  border-color: var(--accent);
  background: var(--accent);
}

.cookie-status {
  min-height: 24px;
  margin: 0;
  color: #15803d !important;
  font-weight: 900;
}

.error-shell {
  width: min(1120px, 100%);
  min-height: calc(100vh - 380px);
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.error-shell .eyebrow,
.error-shell .lead,
.error-shell h1 {
  margin-left: auto;
  margin-right: auto;
}
.contact-page {
  background: var(--soft);
}
.contact-page > .eyebrow,
.contact-page > h1,
.contact-page > .lead {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.contact-page h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.button-outline {
  border: 1px solid #111;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
}
.button-outline:hover {
  background: #111 !important;
  color: #fff !important;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 54px auto 0;
}
.contact-grid article {
  border-top: 2px solid #111;
  padding-top: 22px;
}
.contact-grid span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .14em;
}
.contact-grid h2 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}
.contact-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.checkout-shell { background: var(--soft); min-height: calc(100vh - 81px); }
.checkout-recovery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 81px);
  padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 76px);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.035) 0 1px, transparent 1px 44px),
    #fbfaf7;
}
.checkout-copy h1 {
  max-width: 920px;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.075em;
}
.checkout-copy .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}
.checkout-notice {
  max-width: 720px;
  margin: 26px 0;
  padding: 22px;
  border: 1px solid #111;
  border-radius: 24px;
  background: #fff;
  box-shadow: 10px 10px 0 rgba(255,99,71,.2);
}
.checkout-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.checkout-notice p {
  margin: 0;
  color: #222;
  line-height: 1.65;
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 14px;
}
.checkout-summary {
  padding: 30px;
  border-radius: 30px;
  background: #050505;
  color: #fff;
  box-shadow: 18px 18px 0 var(--accent);
}
.checkout-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.checkout-score span {
  display: block;
  flex-basis: 100%;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.checkout-score strong {
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.08em;
}
.checkout-score em {
  color: rgba(255,255,255,.55);
  font-style: normal;
  font-weight: 950;
}
.checkout-detail-list {
  display: grid;
  gap: 14px;
}
.checkout-detail-list article {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}
.checkout-detail-list span {
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.checkout-detail-list strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.25;
}
.checkout-detail-list p,
.checkout-summary > p {
  color: rgba(255,255,255,.7);
  line-height: 1.65;
}
.full-report-hero { background: #050505; }
.checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 26px;
}
.checkout-card span {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  font-weight: 950;
  margin-bottom: 8px;
}
.checkout-card h2 { margin: 0 0 6px; font-size: 1.7rem; letter-spacing: -.035em; }
.checkout-card p { margin: 0; color: var(--muted); }
.checkout-card strong { font-size: 1.8rem; }

.account-auth {
  min-height: calc(100vh - 81px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 76px);
  background:
    linear-gradient(90deg, #fff 0 50%, var(--soft) 50% 100%);
}

.account-auth-copy h1 {
  max-width: 780px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.account-auth-copy p {
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.auth-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.auth-proof span {
  border: 1px solid #111;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  font-size: .86rem;
  font-weight: 950;
}

.account-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(26px, 4vw, 46px);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.08);
}

.account-card h2 {
  margin: 0;
  font-size: 2.35rem;
  letter-spacing: -.045em;
}

.account-card label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.account-card input {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  padding: 16px;
  font: inherit;
}

.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 76px;
}
.password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  transform: translateY(-50%);
  box-shadow: none;
}
.password-field button:hover {
  background: var(--accent);
  color: #111;
}

.account-card button,
.account-audit-form button {
  border: 0;
  border-radius: 16px;
  padding: 17px 20px;
  background: var(--accent);
  color: #111;
  font-weight: 950;
  cursor: pointer;
}

.account-card button:hover,
.account-audit-form button:hover {
  background: var(--accent-dark);
}

.account-dashboard {
  padding: clamp(44px, 6vw, 86px) clamp(20px, 5vw, 76px);
  background: var(--soft);
  min-height: calc(100vh - 81px);
}

.account-workspace {
  min-height: calc(100vh - 81px);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #f4f5f2;
}

.account-sidebar {
  position: sticky;
  top: 81px;
  min-height: calc(100vh - 81px);
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 24px;
  background: #080808;
  color: #fff;
}

.account-side-logo {
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.045em;
  font-size: 1.2rem;
}

.account-side-logo span {
  color: var(--accent);
}

.account-sidebar nav {
  display: grid;
  gap: 8px;
}

.account-sidebar nav a,
.account-sidebar button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: transparent;
  color: rgba(255,255,255,.72);
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.is-active {
  background: #fff;
  color: #111;
}

.account-sidebar nav a.is-locked {
  color: rgba(255,255,255,.36);
}

.account-sidebar button {
  margin-top: 10px;
  background: var(--accent);
  color: #111;
  text-align: center;
}

.account-main {
  padding: clamp(24px, 5vw, 68px);
}

.account-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.account-hero-card h1 {
  margin: 0 0 14px;
  max-width: 840px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.account-hero-card p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.locked-panel {
  margin-top: 24px;
  border: 1px solid #111;
  border-radius: 32px;
  background: #fff;
  padding: clamp(26px, 4vw, 44px);
}

.locked-panel span {
  color: var(--accent);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.locked-panel h2 {
  max-width: 820px;
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.locked-panel p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
}

.account-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.account-top form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-top h1 {
  max-width: 900px;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0;
}

.account-stats article,
.account-audit-form,
.account-history {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 24px;
}

.account-stats span {
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 950;
}

.account-stats strong {
  display: block;
  font-size: 2rem;
  margin: 8px 0 4px;
}

.account-history {
  margin-top: 24px;
}

.history-list {
  display: grid;
}

.history-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.history-payment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.ai-report-section {
  background: #fff;
}

.ai-insight-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--soft);
}

.ai-insight-card > p {
  max-width: 980px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #242424;
}

.ai-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.ai-columns ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.history-list strong {
  color: var(--accent);
}

.pricing-page {
  background: var(--soft);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}
.pricing-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  padding: 26px;
}
.pricing-grid article > span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.pricing-grid h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -.06em;
}
.pricing-grid p {
  color: var(--muted);
  line-height: 1.65;
}
.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.pricing-grid li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-weight: 850;
}
.featured-price {
  background: #080808 !important;
  color: #fff;
}
.featured-price p,
.featured-price li { color: rgba(255,255,255,.72); }
.featured-price li { border-top-color: rgba(255,255,255,.14); }
.pricing-note {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 30px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  padding: clamp(26px, 4vw, 42px);
}
.pricing-note h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -.045em;
}
.pricing-note p {
  color: var(--muted);
  line-height: 1.75;
}

.account-onboarding {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  padding: clamp(24px, 4vw, 36px);
  margin: 24px 0;
}
.account-onboarding h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.account-onboarding ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: account-step;
}
.account-onboarding li {
  counter-increment: account-step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.account-onboarding li::before {
  content: counter(account-step, decimal-leading-zero);
  color: var(--accent);
  font-weight: 950;
}
.account-onboarding span {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.55;
}

.audit-faq-section {
  background: var(--soft);
}
.checks-section .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.faq-editorial {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}
.faq-editorial h2 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.07em;
}
.faq-editorial p {
  color: var(--muted);
  line-height: 1.7;
}
.faq-editorial a {
  display: inline-flex;
  margin-top: 18px;
  color: #111;
  font-weight: 950;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.audit-faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #ddd;
}
.audit-faq-list details {
  border-bottom: 1px solid #ddd;
  padding: 0;
}
.audit-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 25px 0;
  font-weight: 950;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -.03em;
}
.audit-faq-list summary::-webkit-details-marker {
  display: none;
}
.audit-faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}
.audit-faq-list details[open] summary::after {
  content: "-";
}
.audit-faq-list p {
  max-width: 760px;
  margin: -8px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.checks-list {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.auth-body {
  min-height: 100vh;
  background: #f4f5f7;
}

.auth-main {
  min-height: 100vh;
}

.auth-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
  background: #fff;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(54px, 7vw, 110px);
  background: #0b0b0b;
  color: #fff;
}

.auth-visual::before {
  content: "";
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(24px, 5vw, 72px);
  width: min(360px, 42vw);
  height: min(210px, 26vw);
  opacity: .72;
  background:
    linear-gradient(90deg, var(--accent) 0 25%, #202020 25% 50%, #fff 50% 63%, #202020 63% 80%, var(--accent) 80% 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  mix-blend-mode: normal;
}

.auth-visual::after {
  content: "";
  position: absolute;
  right: clamp(90px, 12vw, 180px);
  bottom: clamp(100px, 14vw, 210px);
  width: 96px;
  height: 96px;
  background: var(--accent);
  border-radius: 999px;
  opacity: .95;
}

.auth-visual > * {
  position: relative;
  z-index: 2;
}

.auth-badge {
  width: max-content;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 15px;
  color: #fff;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-visual h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: .9;
  letter-spacing: -.07em;
}

.auth-visual p {
  max-width: 560px;
  color: rgba(255,255,255,.84);
  font-size: 1.16rem;
  line-height: 1.7;
}

.auth-back {
  color: #111;
  font-weight: 900;
  text-decoration: none;
}

.auth-back:hover {
  color: var(--accent);
}

.auth-back-visual {
  position: absolute;
  top: 34px;
  left: clamp(28px, 5vw, 76px);
  color: rgba(255,255,255,.78);
}

.auth-panel-wrap {
  display: grid;
  align-items: center;
  padding: clamp(26px, 5vw, 76px);
}

.auth-panel {
  width: min(100%, 620px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 34px 90px rgba(0,0,0,.10);
}

.auth-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.auth-logo {
  text-decoration: none;
  color: #111;
  font-weight: 950;
  letter-spacing: -.04em;
}

.auth-logo span {
  color: var(--accent);
}

.auth-panel h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.auth-panel label {
  display: grid;
  gap: 8px;
  color: #3f4654;
  font-weight: 850;
}

.auth-panel input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #d9dee8;
  border-radius: 16px;
  padding: 0 16px;
  font: inherit;
  font-weight: 750;
  outline: none;
  background: #fff;
}

.auth-panel input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,99,71,.14);
}

.google-auth-button,
.auth-submit,
.install-dev-app {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d9dee8;
  border-radius: 16px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}

.google-auth-button span {
  color: #4285f4;
  font-size: 1.25rem;
}

.auth-submit {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 18px 42px rgba(255,99,71,.20);
}

.auth-submit:hover,
.google-auth-button:hover,
.install-dev-app:hover {
  transform: translateY(-1px);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #89909b;
  font-size: .82rem;
  font-weight: 850;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: .9rem;
  font-weight: 850;
}

.auth-links a {
  color: #545d6d;
}

.code-window {
  width: min(640px, 100%);
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(0,0,0,.46);
  box-shadow: 22px 22px 0 rgba(255,99,71,.24);
}

.code-window div {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.code-window span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.code-window span:nth-child(2) { background: #fff; }
.code-window span:nth-child(3) { background: #7ee2a8; }

.code-window pre {
  margin: 0;
  padding: 26px;
  color: #fff;
  font: 800 .95rem/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.tech-orbits,
.auth-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-orbits span,
.auth-metrics article {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 12px 16px;
  font-weight: 950;
  box-shadow: 10px 10px 0 rgba(255,99,71,.20);
}

.auth-metrics article {
  min-width: 132px;
  border-radius: 22px;
}

.auth-metrics strong {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
}

@media (max-width: 980px) {
  .topbar { position: sticky; align-items: center; flex-wrap: nowrap; }
  .audit-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  nav {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    width: 100vw;
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    overflow: auto;
    align-items: stretch;
    align-content: start;
    gap: 10px;
    padding: 28px clamp(18px, 6vw, 38px) 42px;
    border: 0;
    border-top: 1px solid #111;
    border-radius: 0;
    background:
      repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 42px),
      repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 42px),
      #050505;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }
  nav.is-open { display: grid; }
  body.nav-open { overflow: hidden; }
  nav a {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 0;
    background: rgba(255,255,255,.04);
    color: #fff;
    padding: 18px 20px;
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: -.045em;
  }
  nav a:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(255,99,71,.18);
    transform: translateX(5px);
  }
  nav .nav-cta {
    margin-top: 10px;
    border-radius: 999px;
    color: #000 !important;
    font-size: 1.05rem;
  }
  .audit-hero,
  .preview-body,
  .audit-band,
  .steps-list,
  .checks-list,
  .decision-section,
  .preview-grid,
  .evidence-grid,
  .module-row,
  .score-snapshot,
  .locked-report-section,
  .footer,
  .dev-login,
  .dev-shell,
  .dev-two,
  .checkout-card,
  .account-auth,
  .account-top,
  .account-stats,
  .history-list a,
  .history-payment,
  .ai-columns,
  .page-kicker-grid,
  .process-timeline article,
  .pricing-proof,
  .pricing-grid,
  .pricing-note,
  .account-onboarding,
  .cookie-control-panel,
  .policy-grid,
  .page-hero-split,
  .faq-hero-clean,
  .faq-editorial,
  .audit-faq-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero-note {
    box-shadow: 10px 10px 0 #111;
  }
  .faq-hero-clean {
    text-align: left;
  }
  .faq-promise {
    border-left-width: 3px;
  }
  .cookie-actions {
    display: grid;
  }
  .auth-stage {
    min-height: 100vh;
    grid-template-columns: 1fr;
    background: #f4f5f7;
    padding: 16px;
  }
  .auth-visual {
    min-height: 230px;
    border-radius: 30px;
    padding: 34px 26px;
    align-content: end;
  }
  .auth-visual::before,
  .auth-visual::after {
    display: none;
  }
  .auth-visual h1 {
    font-size: clamp(2.8rem, 12vw, 4.8rem);
  }
  .auth-visual p,
  .code-window,
  .tech-orbits,
  .auth-metrics {
    display: none;
  }
  .auth-back-visual {
    display: none;
  }
  .auth-panel-wrap {
    padding: 16px 0 0;
  }
  .auth-panel {
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,.08);
  }
  .auth-panel-top {
    align-items: flex-start;
  }
  .auth-panel h2 {
    font-size: 2.45rem;
  }
  .audit-preview { justify-self: stretch; max-width: none; }
  .insight-ticket { position: static; margin-top: 16px; max-width: none; }
  .audit-hero h1,
  .page-shell h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .input-row { display: grid; }
  .input-row button { min-height: 58px; }
  .footer-links,
  .dev-grid { grid-template-columns: 1fr; }
  .account-auth {
    background: var(--soft);
  }
  .account-auth-copy {
    text-align: center;
  }
  .auth-proof {
    justify-content: center;
  }
  .launch-score { grid-template-columns: 1fr; }
  .dev-nav { position: static; min-height: auto; }
}

/* Report tab locking and pricing rebuild. */
.report-tabs {
  overflow-x: auto;
  scrollbar-width: thin;
}

.report-tabs button {
  cursor: pointer;
}

.report-workspace-panel[hidden],
.pricing-panel[hidden] {
  display: none !important;
}

.report-locked-tab {
  position: relative;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  overflow: hidden;
  min-height: 420px;
}

.locked-tab-readable {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
}

.locked-tab-readable h2 {
  max-width: 640px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.locked-tab-readable p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.7;
}

.locked-tab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.locked-tab-faded {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
  opacity: .28;
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

.locked-tab-faded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.82));
}

.locked-score-card,
.locked-detail-lines article {
  border: 1px solid #ddd;
  border-radius: 26px;
  background: #fff;
  padding: 24px;
}

.locked-score-card span {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.locked-score-card strong {
  display: block;
  margin: 16px 0;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: .8;
}

.locked-score-card i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee;
}

.locked-score-card i b {
  display: block;
  height: 100%;
  background: var(--accent);
}

.locked-detail-lines {
  display: grid;
  gap: 12px;
}

.locked-detail-lines strong {
  display: block;
  margin-bottom: 8px;
}

.locked-detail-lines p {
  margin: 0;
  color: var(--muted);
}

.pricing-switcher {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  width: min(360px, 100%);
  gap: 6px;
  margin: 34px auto 40px;
  padding: 6px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(255,99,71,.18);
}

.pricing-switcher button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.pricing-switcher button.active {
  background: #111;
  color: #fff;
}

.pricing-panel.is-active {
  display: grid;
}

.pricing-page .pricing-grid,
.pricing-page .team-offers {
  gap: 0;
  border-top: 2px solid #111;
}

.pricing-page .pricing-grid article,
.pricing-page .team-offers article {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  min-height: auto;
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid #dedede;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-page .featured-price {
  color: #111;
  background: transparent;
}

.pricing-page .featured-price::before {
  content: "Popular";
  justify-self: start;
  align-self: start;
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: -12px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--accent);
  color: #111;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.price-heading span,
.pricing-page .pricing-grid article > span,
.pricing-page .team-offers article > span {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.price-heading h2,
.price-heading h3 {
  margin: 8px 0 8px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  line-height: .86;
  letter-spacing: -.07em;
}

.price-heading p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-page .pricing-grid article ul,
.pricing-page .team-offers article ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-page .pricing-grid article li,
.pricing-page .team-offers article li {
  position: relative;
  padding-left: 18px;
  color: #222;
  font-weight: 800;
}

.pricing-page .pricing-grid article li::before,
.pricing-page .team-offers article li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-page .pricing-grid article .button,
.pricing-page .team-offers article .button {
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .report-locked-tab,
  .pricing-page .pricing-grid article,
  .pricing-page .team-offers article {
    grid-template-columns: 1fr;
  }

  .locked-tab-faded {
    max-height: 260px;
    overflow: hidden;
  }

  .pricing-page .pricing-grid article,
  .pricing-page .team-offers article {
    padding: 28px 0;
  }

  .pricing-page .pricing-grid article ul,
  .pricing-page .team-offers article ul {
    grid-template-columns: 1fr;
  }

  .pricing-page .pricing-grid article .button,
  .pricing-page .team-offers article .button {
    width: 100%;
  }
}

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

@media (max-width: 980px) {
  .report-workspace-panel,
  .articles-hero,
  .article-group,
  .team-offer-strip,
  .team-offers,
  .checkout-recovery {
    grid-template-columns: 1fr;
  }

  .report-mini-grid,
  .article-feature-grid,
  .article-group > div {
    grid-template-columns: 1fr;
  }

  .locked-preview-panel,
  .article-index-card {
    box-shadow: 10px 10px 0 #050505;
  }

  .report-tabs button {
    padding: 15px 18px;
  }

  .report-hero {
    align-items: flex-start;
  }

  .report-pills {
    gap: 8px;
  }

  .fresh-scan-form {
    align-items: stretch;
  }

  .fresh-scan-form small {
    max-width: none;
  }

  .screenshot-frame {
    min-height: 300px;
  }

  .screenshot-frame img {
    height: 340px;
  }

  .insight-panel,
  .unlock-card,
  .locked-preview-panel {
    border-radius: 22px;
  }

  .report-workspace-panel {
    padding: 22px;
  }

  .report-summary-column h2,
  .articles-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .team-offer-strip {
    align-items: start;
  }

  .team-offer-strip button {
    width: 100%;
  }

  .checkout-recovery {
    align-items: start;
    padding-top: 58px;
  }

  .checkout-summary {
    box-shadow: 10px 10px 0 var(--accent);
  }
}

/* Final audit product polish overrides. Keep this block last. */
.audit-ticker {
  position: sticky;
  top: 0;
  z-index: 1001;
  overflow: hidden;
  border-bottom: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.audit-ticker div {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 9px 0;
  animation: auditTicker 28s linear infinite;
}

.audit-ticker span {
  position: relative;
  white-space: nowrap;
}

.audit-ticker span::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

@keyframes auditTicker {
  from { transform: translateX(24px); }
  to { transform: translateX(-50%); }
}

.brand {
  align-items: center;
}

.brand small {
  display: none;
  margin-left: 8px;
  color: #6d7177;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps-list article,
.checks-list article,
.pricing-grid article,
.team-offers article,
.pricing-proof article,
.audit-faq-list details {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.steps-list article:hover,
.checks-list article:hover,
.pricing-grid article:hover,
.team-offers article:hover,
.pricing-proof article:hover {
  transform: translateY(-5px);
}

.pricing-page > .page-kicker-grid,
.articles-editorial .article-index-hero,
.scoring-page .scoring-hero {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-page > .page-kicker-grid {
  display: block;
}

.pricing-page > .page-kicker-grid .lead,
.articles-editorial .lead,
.scoring-page .lead {
  margin-left: auto;
  margin-right: auto;
}

.articles-editorial .article-row-main,
.articles-editorial .article-row-main:hover {
  text-decoration: none;
}

.scoring-page .method-list {
  display: none;
}

.pricing-switcher {
  position: sticky;
  top: 56px;
  z-index: 20;
  display: flex;
  width: fit-content;
  gap: 6px;
  margin: 28px auto 34px;
  padding: 6px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(255,99,71,.18);
}

.pricing-switcher a {
  min-width: 140px;
  padding: 14px 22px;
  border-radius: 999px;
  color: #111;
  text-align: center;
  text-decoration: none;
  font-weight: 950;
}

.pricing-switcher a:hover,
.pricing-switcher a:focus {
  background: #111;
  color: #fff;
}

.pricing-grid article ul,
.team-offers article ul {
  columns: 1;
}

.team-offer-strip .button {
  white-space: nowrap;
}

.pricing-page .pricing-grid,
.pricing-page .team-offers {
  display: grid;
  gap: 16px;
}

.pricing-page .pricing-grid article,
.pricing-page .team-offers article {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) 1fr auto;
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  border-radius: 28px;
  box-shadow: none;
}

.pricing-page .pricing-grid article > span,
.pricing-page .team-offers article > span {
  align-self: start;
}

.pricing-page .pricing-grid article h2,
.pricing-page .team-offers article h3 {
  margin: 6px 0 8px;
}

.pricing-page .pricing-grid article p,
.pricing-page .team-offers article p {
  max-width: 430px;
}

.pricing-page .pricing-grid article ul,
.pricing-page .team-offers article ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.pricing-page .pricing-grid article .button,
.pricing-page .team-offers article .button {
  align-self: center;
  white-space: nowrap;
}

.team-inquiry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.team-inquiry-note {
  border: 1px solid #111;
  border-radius: 28px;
  padding: 26px;
  background: #fff;
  box-shadow: 14px 14px 0 #111;
}

.team-inquiry-note span,
.team-inquiry-side h2 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 950;
}

.team-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 70px);
  margin-top: clamp(38px, 7vw, 84px);
}

.team-inquiry-form,
.team-inquiry-side {
  border: 1px solid #dfe2e8;
  border-radius: 28px;
  background: #fff;
}

.team-inquiry-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
}

.team-inquiry-form label {
  display: grid;
  gap: 9px;
  font-weight: 900;
}

.team-inquiry-form input,
.team-inquiry-form textarea {
  width: 100%;
  border: 1px solid #cfd4dd;
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
}

.team-inquiry-side {
  padding: clamp(24px, 4vw, 40px);
}

.team-inquiry-side ul {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.team-inquiry-side li {
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
  font-weight: 800;
}

.team-inquiry-status {
  margin-top: 24px;
}

.staff-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.success-panel {
  border-color: rgba(21, 128, 61, .25);
  background: #f0fdf4;
}

.danger-panel {
  border-color: rgba(220, 38, 38, .24);
  background: #fff1f2;
}

.history-chart {
  display: flex;
  min-height: 250px;
  gap: 14px;
  align-items: end;
  padding: 24px;
  margin-bottom: 24px;
  overflow-x: auto;
  border: 1px solid #e4e7ef;
  border-radius: 24px;
  background: #fff;
}

.history-chart article {
  min-width: 70px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.history-chart i {
  position: relative;
  width: 22px;
  height: 160px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef0f5;
}

.history-chart i b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--score) * 1%);
  background: var(--accent);
  border-radius: inherit;
  animation: scoreRise .8s ease both;
}

.history-chart strong {
  font-size: 1.1rem;
}

.history-chart span {
  color: #6f7379;
  font-size: .82rem;
  font-weight: 800;
}

@keyframes scoreRise {
  from { height: 0; }
}

.audit-hero .audit-form {
  max-width: 820px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.audit-hero .audit-form > label:not(.check-row) {
  margin: 0 0 12px;
  text-align: center;
}

.audit-hero .input-row {
  align-items: center;
  gap: 0;
  border-bottom: 3px solid #111;
}

.audit-hero .input-row input {
  border: 0;
  border-radius: 0;
  padding: 22px 6px;
  background: transparent;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 800;
}

.audit-hero .input-row input:focus {
  box-shadow: none;
}

.audit-hero .input-row button {
  min-height: 58px;
  border-radius: 999px;
  margin-bottom: 10px;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}

.audit-hero .input-row button:hover {
  transform: translateY(-2px);
  background: #111;
  color: #fff;
}

@media (max-width: 720px) {
  .audit-hero .input-row {
    display: grid;
    gap: 12px;
    border-bottom: 0;
  }

  .audit-hero .input-row input {
    border-bottom: 3px solid #111;
    text-align: center;
  }

  .audit-hero .input-row button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .audit-ticker {
    font-size: .7rem;
  }

  .audit-ticker div {
    gap: 34px;
    padding: 8px 0;
    animation-duration: 22s;
  }

  .topbar {
    top: 31px;
    min-height: 78px;
    padding: 16px 22px;
    background: rgba(255,255,255,.98);
    z-index: 1000;
  }

  .brand {
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 8px;
    row-gap: 2px;
  }

  .brand small {
    display: block;
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .audit-nav-toggle {
    position: relative;
    width: 52px;
    height: 52px;
    border: 1.5px solid #111;
    background: #fff;
    box-shadow: none;
    z-index: 1002;
  }

  .audit-nav-toggle span {
    width: 22px;
    height: 2px;
  }

  nav[data-audit-nav] {
    position: fixed;
    inset: 109px 0 0;
    width: 100vw;
    min-height: calc(100dvh - 109px);
    max-height: calc(100dvh - 109px);
    padding: clamp(28px, 7vw, 48px) clamp(24px, 7vw, 54px) 48px;
    display: none;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    border-top: 1px solid #202020;
    background:
      linear-gradient(135deg, rgba(255,99,71,.18), transparent 28%),
      repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 42px),
      repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 42px),
      #050505;
    color: #fff;
    overflow-y: auto;
  }

  nav[data-audit-nav].is-open {
    display: grid;
    animation: auditNavIn .22s ease both;
  }

  nav[data-audit-nav] a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(1.55rem, 7vw, 3.2rem);
    font-weight: 950;
    letter-spacing: -.055em;
  }

  nav[data-audit-nav] a::after {
    content: "↗";
    color: var(--accent);
    font-size: .72em;
    transform: translateX(-4px);
    transition: transform .2s ease;
  }

  nav[data-audit-nav] a:hover {
    color: #fff;
    background: transparent;
    border-color: rgba(255,99,71,.65);
    transform: none;
  }

  nav[data-audit-nav] a:hover::after {
    transform: translateX(2px);
  }

  nav[data-audit-nav] .nav-cta {
    min-height: 58px;
    margin-top: 26px;
    border: 0;
    border-radius: 999px;
    justify-content: center;
    background: var(--accent);
    color: #050505 !important;
    font-family: var(--font);
    font-size: 1rem;
    letter-spacing: 0;
  }

  nav[data-audit-nav] .nav-cta::after {
    content: "";
  }
}

@keyframes auditNavIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  nav[data-audit-nav] a::after {
    content: "->" !important;
  }

  .pricing-switcher {
    top: 109px;
    width: 100%;
    max-width: 420px;
    margin: 22px auto 28px;
  }

  .pricing-switcher a {
    min-width: 0;
    flex: 1;
    padding: 13px 14px;
  }

  .pricing-page .pricing-grid article,
  .pricing-page .team-offers article,
  .team-inquiry-hero,
  .team-inquiry-grid {
    grid-template-columns: 1fr;
  }

  .pricing-page .pricing-grid article ul,
  .pricing-page .team-offers article ul {
    grid-template-columns: 1fr;
  }

  .pricing-page .pricing-grid article .button,
  .pricing-page .team-offers article .button {
    width: 100%;
    text-align: center;
  }

  .team-offer-strip .button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audit-ticker div {
    animation: none;
    transform: none;
  }
}

/* Deployment polish: sticky header, mobile navigation, and article placeholders. */
.topbar {
  top: 35px;
  z-index: 1000;
}

.audit-ticker {
  min-height: 35px;
}

.pricing-switcher {
  top: 96px;
}

.article-image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  color: #111;
  text-align: center;
  background:
    linear-gradient(135deg, #111 0 18%, transparent 18%),
    linear-gradient(135deg, transparent 0 72%, var(--accent) 72% 100%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.045) 0 1px, transparent 1px 34px),
    #f7f7f5;
}

.article-image-placeholder::before {
  content: "";
  width: 58px;
  height: 58px;
  border: 3px solid #111;
  border-radius: 18px;
  background:
    linear-gradient(135deg, transparent 48%, #111 48% 52%, transparent 52%),
    linear-gradient(45deg, transparent 48%, #111 48% 52%, transparent 52%);
}

.article-image-placeholder span,
.article-image-placeholder strong {
  position: absolute;
  left: 22px;
  right: 22px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-image-placeholder span {
  top: 20px;
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .18em;
}

.article-image-placeholder strong {
  bottom: 22px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -.04em;
}

@media (max-width: 980px) {
  .topbar {
    top: 35px;
    min-height: 76px;
    padding: 14px 22px;
  }

  nav[data-audit-nav] {
    inset: 111px 0 0;
    min-height: calc(100dvh - 111px);
    max-height: calc(100dvh - 111px);
    padding: 24px 22px 42px;
    background: #fff;
    color: #111;
    border-top: 1px solid #e7e7e4;
    box-shadow: 0 28px 60px rgba(0,0,0,.12);
  }

  nav[data-audit-nav]::before {
    content: "Navigation";
    display: block;
    margin-bottom: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ececea;
    color: var(--accent);
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .2em;
    text-transform: uppercase;
  }

  nav[data-audit-nav] a {
    min-height: 58px;
    border-bottom: 1px solid #ececea;
    color: #111;
    font-family: var(--font);
    font-size: clamp(1.08rem, 4.5vw, 1.35rem);
    font-weight: 900;
    letter-spacing: -.025em;
  }

  nav[data-audit-nav] a::after {
    content: "";
    width: 9px;
    height: 9px;
    border: 0;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0;
    background: none;
    transform: rotate(45deg);
    transition: transform .18s ease;
  }

  nav[data-audit-nav] a:hover,
  nav[data-audit-nav] a:focus {
    color: #111;
    border-color: var(--accent);
    background: transparent;
  }

  nav[data-audit-nav] a:hover::after,
  nav[data-audit-nav] a:focus::after {
    transform: rotate(45deg) translate(3px, -3px);
  }

  nav[data-audit-nav] .nav-cta {
    min-height: 56px;
    margin-top: 22px;
    border-radius: 999px;
    justify-content: center;
    color: #111 !important;
    background: var(--accent);
    box-shadow: 0 18px 34px rgba(255,99,71,.24);
  }

  nav[data-audit-nav] .nav-cta::after {
    display: none;
  }

  .audit-nav-toggle {
    border-color: #111;
  }

  .pricing-switcher {
    top: 111px;
  }

  .article-feature-image,
  .article-row-image,
  .article-hero-image {
    border-radius: 22px;
  }
}

/* Audit report and account workspace refinement. */
.preview-grid {
  align-items: start;
}

.screenshot-frame {
  min-height: 0;
  max-height: 420px;
  aspect-ratio: 16 / 10;
}

.screenshot-frame img {
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}

.screenshot-placeholder {
  min-height: 320px;
}

.account-side-kicker {
  margin: -10px 0 8px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  line-height: 1.5;
}

.account-feature-locks,
.account-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.account-feature-locks article,
.account-insight-grid article {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 24px;
  overflow: hidden;
}

.account-feature-locks article::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #f0f0ed;
}

.account-feature-locks span,
.account-insight-grid span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-feature-locks strong,
.account-insight-grid h3 {
  display: block;
  margin: 14px 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.account-feature-locks p,
.account-insight-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.account-feature-locks em {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: #111;
  font-style: normal;
  font-size: .74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.audit-nav-toggle[aria-expanded="true"] span:nth-child(1),
.audit-nav-toggle[aria-expanded="true"] span:nth-child(2),
.audit-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .screenshot-frame {
    max-height: 300px;
    aspect-ratio: 16 / 11;
  }

  .screenshot-frame img {
    max-height: 300px;
  }

  .account-workspace {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    min-height: auto;
    padding: 18px;
  }

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

  .account-main {
    padding: 22px;
  }

  .account-hero-card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .account-feature-locks,
  .account-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1320px) {
  .account-feature-locks,
  .account-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Account workspace should feel like the internal dashboard, not public landing pages. */
.audit-app-body {
  background: #f4f5f2;
}

.account-hero-compact h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.account-sidebar {
  box-shadow: 12px 0 34px rgba(0,0,0,.08);
}

.account-sidebar nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: currentColor;
  opacity: .55;
  display: inline-block;
}

.account-sidebar nav a.is-active::before {
  background: var(--accent);
  opacity: 1;
}

.account-plan-grid article ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.account-plan-grid article li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.45;
}

.account-plan-grid article li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: .45em;
  border-radius: 999px;
  background: var(--accent);
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.password-field input {
  width: 100%;
}

.password-field button {
  min-width: 78px;
  border: 1px solid #111;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-weight: 950;
  cursor: pointer;
}

.article-row:not(.has-image) {
  grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr);
}

.article-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-meta-author img,
.article-meta-author em,
.author-avatar-placeholder {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .account-sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .account-sidebar nav a {
    white-space: nowrap;
    min-width: max-content;
  }

  .account-sidebar form {
    margin-top: 4px;
  }

  .article-row:not(.has-image) {
    grid-template-columns: 1fr;
  }

  .password-field {
    grid-template-columns: 1fr;
  }
}

/* SB Admin-inspired customer workspace shell. */
.account-workspace {
  grid-template-columns: 245px minmax(0, 1fr);
  background: #f8f9fc;
  color: #5a5c69;
  font-family: "Manrope", "Nunito", sans-serif;
}

.account-sidebar {
  top: 0;
  min-height: 100vh;
  gap: 0;
  padding: 0 0 22px;
  background: #050505;
  box-shadow: none;
}

.account-side-logo {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.account-side-kicker {
  margin: 16px 18px 12px;
  color: rgba(255,255,255,.46);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-sidebar nav {
  gap: 0;
}

.account-sidebar nav small {
  display: block;
  padding: 16px 18px 8px;
  color: rgba(255,255,255,.38);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-sidebar nav a,
.account-sidebar button {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 0;
  padding: 10px 18px;
  color: rgba(255,255,255,.74);
  font-size: .9rem;
  font-weight: 800;
}

.account-sidebar nav a::before {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  opacity: .42;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.is-active {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.account-sidebar nav a.is-active {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

.account-sidebar nav a.is-locked {
  color: rgba(255,255,255,.28);
}

.account-sidebar form {
  margin: 18px;
}

.account-sidebar button {
  justify-content: center;
  border-radius: 10px;
  background: var(--accent);
  color: #111;
}

.account-main {
  padding: 0 0 42px;
}

.account-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid #e3e6f0;
  background: #fff;
  box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.08);
}

.account-topbar div {
  text-align: right;
}

.account-topbar strong {
  display: block;
  color: #5a5c69;
  font-size: .86rem;
}

.account-topbar span {
  color: #858796;
  font-size: .78rem;
}

.account-sidebar-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8f9fc;
  color: #5a5c69;
  font-weight: 800;
}

.account-main > .account-hero-card,
.account-main > .account-stats,
.account-main > .locked-panel,
.account-main > .account-feature-locks,
.account-main > .account-audit-form,
.account-main > .account-history,
.account-main > .account-insight-grid {
  margin-left: 28px;
  margin-right: 28px;
}

.account-hero-card {
  margin-top: 28px;
  border-radius: 12px;
  border-color: #e3e6f0;
  box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.08);
}

.account-hero-card h1 {
  color: #3a3b45;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.account-hero-card p {
  color: #858796;
}

.account-stats {
  gap: 24px;
}

.account-stats article,
.account-audit-form,
.account-history,
.locked-panel,
.account-feature-locks article,
.account-insight-grid article {
  border-color: #e3e6f0;
  border-radius: 12px;
  box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.08);
}

.account-stats article {
  border-left: 4px solid var(--accent);
}

.account-stats span,
.account-feature-locks span,
.account-insight-grid span,
.locked-panel span {
  color: var(--accent);
}

.account-stats strong {
  color: #3a3b45;
  font-size: 1.65rem;
}

.locked-panel h2,
.section-head h2 {
  color: #3a3b45;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

@media (max-width: 980px) {
  .account-workspace {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    min-height: auto;
  }

  .account-sidebar nav {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .account-sidebar nav small {
    padding-top: 12px;
  }

  .account-topbar {
    justify-content: space-between;
    padding: 0 18px;
  }

  .account-sidebar-toggle {
    display: inline-flex;
  }

  .account-main > .account-hero-card,
  .account-main > .account-stats,
  .account-main > .locked-panel,
  .account-main > .account-feature-locks,
  .account-main > .account-audit-form,
  .account-main > .account-history,
  .account-main > .account-insight-grid {
    margin-left: 18px;
    margin-right: 18px;
  }
}

/* Account workspace modules: real pages behind the sidebar. */
.account-main > .workspace-page-head,
.account-main > .workspace-lock-panel,
.account-main > .workspace-empty,
.account-main > .workspace-grid,
.account-main > .workspace-card,
.account-main > .monitor-chart {
  margin-left: 28px;
  margin-right: 28px;
}

.workspace-page-head {
  margin-top: 28px;
  padding: 28px 30px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3e6f0;
}

.workspace-page-head h1 {
  max-width: 900px;
  margin: 0;
  color: #3a3b45;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.workspace-page-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: #6f7284;
  font-size: 1.02rem;
  line-height: 1.75;
}

.workspace-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

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

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

.workspace-card,
.workspace-lock-panel,
.workspace-empty {
  border: 1px solid #e3e6f0;
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(58,59,69,.04);
}

.workspace-card {
  border-left: 4px solid var(--accent);
}

.workspace-wide {
  margin-top: 24px;
}

.workspace-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 14px;
}

.workspace-card-head span,
.workspace-card > span,
.workspace-lock-panel span {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.workspace-card-head strong {
  color: #3a3b45;
  font-size: 1.7rem;
  line-height: 1;
}

.workspace-card h2,
.workspace-lock-panel h2,
.workspace-empty h2 {
  margin: 8px 0 10px;
  color: #3a3b45;
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  letter-spacing: -.04em;
}

.workspace-card p,
.workspace-lock-panel p,
.workspace-empty p {
  margin: 0 0 16px;
  color: #6f7284;
  line-height: 1.65;
}

.workspace-lock-panel {
  margin-top: 24px;
  min-height: 280px;
  display: grid;
  align-content: center;
  border-style: dashed;
}

.workspace-empty {
  margin-top: 24px;
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.workspace-actions a,
.workspace-empty .button-link,
.workspace-lock-panel .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
}

.workspace-actions a:first-child,
.workspace-empty .button-link,
.workspace-lock-panel .button-link {
  background: var(--accent);
  color: #111;
}

.mini-sparkline {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 86px;
  padding: 14px;
  border-radius: 12px;
  background: #f8f9fc;
}

.mini-sparkline i {
  flex: 1;
  min-width: 8px;
  height: var(--score);
  border-radius: 999px 999px 0 0;
  background: var(--accent);
}

.compare-table {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compare-row {
  display: grid;
  grid-template-columns: 150px 54px minmax(120px, 1fr) 54px 70px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #e3e6f0;
}

.compare-row strong {
  color: #3a3b45;
}

.compare-row i {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef0f7;
}

.compare-row i b {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.compare-row em {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 10px;
  font-style: normal;
  font-weight: 900;
}

.compare-row .is-positive {
  background: #e7f8ef;
  color: #16834a;
}

.compare-row .is-negative {
  background: #fff0ed;
  color: #bd321d;
}

.alert-card {
  border-left-color: #858796;
}

.alert-critical {
  border-left-color: #e74a3b;
}

.alert-warning {
  border-left-color: #f6c23e;
}

.alert-success {
  border-left-color: #1cc88a;
}

.alert-rule-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.alert-rule-list label {
  display: flex;
  gap: 10px;
  color: #3a3b45;
  font-weight: 800;
}

.workspace-steps {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #5a5c69;
  line-height: 1.7;
}

.monitor-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 280px;
  padding: 26px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3e6f0;
  margin-top: 24px;
  overflow-x: auto;
}

.monitor-chart article {
  min-width: 80px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.monitor-chart i {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 999px 999px 10px 10px;
  background: #eef0f7;
}

.monitor-chart i b {
  display: block;
  width: 100%;
  height: var(--score);
  border-radius: inherit;
  background: var(--accent);
}

.monitor-chart strong {
  color: #3a3b45;
}

.monitor-chart span {
  color: #858796;
  font-size: .78rem;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .workspace-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .account-main > .workspace-page-head,
  .account-main > .workspace-lock-panel,
  .account-main > .workspace-empty,
  .account-main > .workspace-grid,
  .account-main > .workspace-card,
  .account-main > .monitor-chart {
    margin-left: 18px;
    margin-right: 18px;
  }

  .workspace-grid-2,
  .workspace-grid-3 {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compare-row em {
    justify-self: start;
  }
}

/* Final pricing/package polish: stable ChatGPT-style panels, no overlap. */
.pricing-page .pricing-plans-modern {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px !important;
  border: 0 !important;
  margin-top: 34px;
}

.pricing-page .team-offers.pricing-plans-modern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-page .pricing-plan {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr auto;
  gap: 22px !important;
  min-height: 520px;
  padding: 30px !important;
  border: 1px solid #dedede !important;
  border-radius: 28px !important;
  background: #fff !important;
  color: #111 !important;
  overflow: visible !important;
}

.pricing-page .pricing-plan::after {
  left: 24px !important;
  right: 24px !important;
  bottom: 0 !important;
  height: 5px !important;
}

.pricing-page .pricing-plan.featured-price {
  background: #080808 !important;
  color: #fff !important;
  border-color: #080808 !important;
}

.pricing-page .pricing-plan.featured-price .price-heading p,
.pricing-page .pricing-plan.featured-price li {
  color: rgba(255,255,255,.76) !important;
}

.pricing-page .pricing-plan.featured-price li {
  border-color: rgba(255,255,255,.16) !important;
}

.pricing-page .pricing-plan.featured-price::before {
  position: static !important;
  grid-column: auto !important;
  margin: 0 !important;
  justify-self: start;
}

.pricing-page .pricing-plan .price-heading {
  min-width: 0;
}

.pricing-page .pricing-plan .price-heading span {
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pricing-page .pricing-plan h2,
.pricing-page .pricing-plan h3 {
  margin: 10px 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: .88;
  letter-spacing: -.08em;
}

.pricing-page .team-offers.pricing-plans-modern .pricing-plan h3 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
}

.pricing-page .pricing-plan p {
  max-width: none !important;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-page .pricing-plan ul {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.pricing-page .pricing-plan li {
  min-height: 0;
  border-top: 1px solid #e7e7e7;
  padding: 12px 0 12px 22px !important;
  color: #111;
  font-weight: 850;
  line-height: 1.35;
}

.pricing-page .pricing-plan li::before {
  left: 0 !important;
}

.pricing-page .pricing-plan .button {
  width: 100%;
  justify-content: center;
  align-self: end !important;
  white-space: normal !important;
  text-align: center;
}

.audit-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
}

.audit-loading-card {
  width: min(520px, 100%);
  border: 1px solid #111;
  border-radius: 28px;
  background: #fff;
  padding: clamp(28px, 5vw, 46px);
  color: #111;
  box-shadow: 18px 18px 0 #111;
}

.audit-loading-card strong {
  display: block;
  margin-top: 20px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.audit-loading-card p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.7;
}

.audit-loading-card small {
  color: #111;
  font-weight: 900;
}

.audit-loader-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 70px;
}

.audit-loader-bars i {
  width: 18px;
  border-radius: 999px;
  background: var(--accent);
  animation: auditBars 1s ease-in-out infinite;
}

.audit-loader-bars i:nth-child(1) { height: 28px; animation-delay: 0s; }
.audit-loader-bars i:nth-child(2) { height: 52px; animation-delay: .12s; }
.audit-loader-bars i:nth-child(3) { height: 38px; animation-delay: .24s; }
.audit-loader-bars i:nth-child(4) { height: 62px; animation-delay: .36s; }

@keyframes auditBars {
  0%, 100% { transform: scaleY(.65); opacity: .65; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1180px) {
  .pricing-page .pricing-plans-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pricing-page .pricing-plans-modern,
  .pricing-page .team-offers.pricing-plans-modern {
    grid-template-columns: 1fr;
  }

  .pricing-page .pricing-plan {
    min-height: 0;
  }

  .audit-loading-card {
    box-shadow: 8px 8px 0 #111;
  }
}

/* Phase 1 account workspace polish: app drawer, profile menu, locked previews. */
.account-drawer-backdrop,
.account-drawer-close {
  display: none;
}

.account-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  margin: -26px -26px 26px;
  padding: 14px 26px;
  background: rgba(248, 248, 248, .94);
  border-bottom: 1px solid #e4e4e4;
  backdrop-filter: blur(14px);
}

.account-topbar-title { min-width: 0; }

.account-topbar-title strong,
.account-profile-copy strong {
  display: block;
  overflow: hidden;
  color: #111;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-topbar-title span,
.account-profile-copy small {
  display: block;
  overflow: hidden;
  color: #747474;
  font-size: .78rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sidebar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #fff;
}

.account-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: #111;
  border-radius: 99px;
}

.account-profile-menu { position: relative; }

.account-profile-button {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 280px;
  padding: 8px 12px 8px 8px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.account-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .05em;
}

.account-profile-copy {
  min-width: 0;
  text-align: left;
}

.account-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: 230px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
}

.account-profile-dropdown a,
.account-profile-dropdown button {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111;
  font-weight: 850;
  text-align: left;
  text-decoration: none;
}

.account-profile-dropdown a:hover,
.account-profile-dropdown button:hover {
  background: #f3f3f3;
}

.workspace-locked-preview {
  position: relative;
  filter: grayscale(.35);
  opacity: .7;
  pointer-events: none;
  user-select: none;
}

.workspace-locked-preview::after {
  content: "Unlock workspace";
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(17,17,17,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  color: #111;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

/* Final production polish overrides: mobile nav, pricing tabs, and account forms. */
.pricing-panel[hidden],
.pricing-page [data-pricing-panel][hidden],
.pricing-page [data-pricing-panel]:not(.is-active) {
  display: none !important;
}

.pricing-page [data-pricing-panel].is-active {
  display: grid !important;
}

.pricing-page section[data-pricing-panel].is-active {
  gap: 28px;
}

.account-audit-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.account-audit-form label {
  display: grid;
  gap: 8px;
  max-width: 760px;
  color: #303746;
  font-weight: 850;
}

.account-audit-form .password-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  width: min(100%, 760px);
}

.account-audit-form .password-field input {
  min-height: 54px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #cfd5df;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.account-audit-form .password-field button {
  min-width: 88px;
  min-height: 54px;
  border: 1px solid #101010;
  border-radius: 14px;
  background: #fff;
  color: #101010;
  font-weight: 950;
}

.account-audit-form > button[type="submit"] {
  width: fit-content;
  min-height: 54px;
}

.article-meta-author img,
.article-author-strip img,
.author-avatar-placeholder,
.article-meta-author em {
  flex: 0 0 auto;
  object-fit: cover;
}

.article-author-strip .author-avatar-placeholder {
  width: 48px;
  height: 48px;
}

/* Phase 2 report intelligence polish. */
.report-intelligence-grid {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto clamp(42px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .72fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.report-visual-card {
  display: grid;
  gap: 18px;
}

.compact-report-shot {
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  background: #f4f4f1;
}

.compact-report-shot img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: top center;
}

.scan-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e3e3df;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.scan-meta-grid article {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid #ececea;
  border-bottom: 1px solid #ececea;
}

.scan-meta-grid article:nth-child(3n) {
  border-right: 0;
}

.scan-meta-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scan-meta-grid strong {
  display: block;
  color: #111;
  font-size: .98rem;
  line-height: 1.3;
}

.report-priority-panel {
  position: sticky;
  top: 128px;
}

.issue-intelligence-section {
  width: min(1160px, calc(100% - 48px));
}

.issue-intelligence-list {
  display: grid;
  gap: 14px;
}

.issue-intelligence-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(0, .92fr) minmax(0, .92fr);
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #deded9;
}

.issue-intelligence-list article:last-child {
  border-bottom: 1px solid #deded9;
}

.issue-intelligence-list span {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.issue-intelligence-list h3 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.issue-intelligence-list strong[class^="priority-"] {
  justify-self: start;
  border-radius: 999px;
  padding: 9px 12px;
  background: #111;
  color: #fff;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.issue-intelligence-list .priority-high {
  background: var(--accent) !important;
  color: #050505 !important;
}

.issue-intelligence-list .priority-medium {
  background: #111 !important;
}

.issue-intelligence-list .priority-low {
  background: #e9e9e5 !important;
  color: #111 !important;
}

.issue-intelligence-list p {
  margin: 0;
  color: #555b66;
  line-height: 1.55;
}

.issue-intelligence-list p b {
  color: #111;
}

.issue-intelligence-list i {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #ececea;
}

.issue-intelligence-list i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.paid-intelligence-grid {
  margin-top: clamp(16px, 3vw, 34px);
}

@media (max-width: 980px) {
  .audit-nav-toggle {
    width: 46px !important;
    height: 46px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .audit-nav-toggle span {
    width: 26px !important;
    height: 2px !important;
    background: #111 !important;
  }

  body.nav-open {
    overflow: hidden;
  }

  nav[data-audit-nav] {
    inset: 111px 0 0 !important;
    min-height: calc(100dvh - 111px) !important;
    max-height: calc(100dvh - 111px) !important;
    padding: 26px 24px 42px !important;
    gap: 0 !important;
    background: #fff !important;
    color: #111 !important;
    border-top: 1px solid #ececec !important;
    box-shadow: 0 34px 80px rgba(0,0,0,.18) !important;
  }

  nav[data-audit-nav]::before {
    content: "Navigation";
    display: block;
    margin: 0 0 12px;
    padding: 0 0 14px;
    border-bottom: 1px solid #ececec;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  nav[data-audit-nav] a {
    min-height: 58px !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    background: transparent !important;
    color: #111 !important;
    font-family: var(--font) !important;
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    font-weight: 950 !important;
    letter-spacing: -.035em !important;
  }

  nav[data-audit-nav] a::before,
  nav[data-audit-nav] a::after {
    content: none !important;
    display: none !important;
  }

  nav[data-audit-nav] a:hover,
  nav[data-audit-nav] a:focus {
    color: var(--accent) !important;
    border-color: #ececec !important;
  }

  nav[data-audit-nav] .nav-cta {
    justify-content: center !important;
    min-height: 58px !important;
    margin-top: 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
    color: #050505 !important;
    box-shadow: 0 18px 34px rgba(255,99,71,.24) !important;
  }

  .account-audit-form .password-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-audit-form .password-field button {
    width: fit-content;
  }

  .report-intelligence-grid {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
  }

  .report-priority-panel {
    position: static;
  }

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

  .scan-meta-grid article,
  .scan-meta-grid article:nth-child(3n) {
    border-right: 0;
  }

  .issue-intelligence-section {
    width: min(100% - 32px, 680px);
  }

  .issue-intelligence-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-sidebar-toggle { display: block; }
  .account-profile-copy { display: none; }
  .account-topbar {
    margin: -16px -16px 20px;
    padding: 12px 16px;
  }

  .account-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(0,0,0,.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .account-drawer-open .account-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .account-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0;
    z-index: 100;
    width: min(88vw, 360px);
    height: 100vh;
    max-height: none;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .26s ease;
  }

  .account-sidebar.is-open { transform: translateX(0); }
  .account-drawer-open { overflow: hidden; }

  .account-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
  }
}
/* Account billing polish: referral credits and package value. */
.account-billing-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.account-billing-strip article {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.05);
}

.account-billing-strip span {
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.account-billing-strip strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  margin-bottom: 10px;
}

.account-billing-strip p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 860px) {
  .account-billing-strip {
    grid-template-columns: 1fr;
  }
}
/* Final account workspace shell: SB Admin-inspired app layout. */
.audit-app-body .account-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f3f5f9;
  color: #2e3446;
}

.audit-app-body .account-sidebar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  width: 260px;
  height: 100vh;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: #050505;
  box-shadow: none;
}

.audit-app-body .account-side-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 28px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
}

.audit-app-body .account-side-logo span { color: var(--audit-red); }

.audit-app-body .account-side-kicker {
  margin: 0 0 22px;
  color: rgba(255,255,255,.56);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.audit-app-body .account-sidebar nav {
  display: grid;
  gap: 6px;
}

.audit-app-body .account-sidebar nav small {
  margin: 22px 0 7px;
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.audit-app-body .account-sidebar nav a,
.audit-app-body .account-sidebar button {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  font-weight: 850;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.audit-app-body .account-sidebar nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.audit-app-body .account-sidebar nav a:hover,
.audit-app-body .account-sidebar nav a.is-active {
  background: #1c1c1c;
  color: #fff;
  transform: translateX(2px);
}

.audit-app-body .account-sidebar nav a.is-active::before {
  background: var(--audit-red);
  box-shadow: 0 0 0 7px rgba(255,99,71,.12);
}

.audit-app-body .account-sidebar nav a.is-locked {
  opacity: 1;
  cursor: pointer;
}

.audit-app-body .account-sidebar nav a.is-locked::after {
  content: "Locked";
  margin-left: auto;
  color: rgba(255,255,255,.42);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.audit-app-body .account-sidebar-signout {
  margin-top: auto;
  padding-top: 26px;
}

.audit-app-body .account-sidebar-signout button {
  justify-content: center;
  width: 100%;
  background: var(--audit-red);
  color: #050505;
}

.audit-app-body .account-main {
  min-width: 0;
  padding: 0 0 54px;
  background: #f3f5f9;
}

.audit-app-body .account-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  margin: 0;
  padding: 0 28px;
  border-bottom: 1px solid #dfe3ec;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 24, 40, .05);
  backdrop-filter: none;
}

.audit-app-body .account-topbar-title {
  display: grid;
  min-width: 0;
  margin-right: auto;
}

.audit-app-body .account-sidebar-toggle {
  display: none;
  flex: 0 0 44px;
  margin-right: 12px;
}

.audit-app-body .account-profile-menu { margin-left: auto; }

.audit-app-body .account-profile-button {
  max-width: 360px;
  min-width: 230px;
  border-color: #dfe3ec;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,24,40,.06);
}

.audit-app-body .account-profile-dropdown {
  right: 0;
  min-width: 260px;
}

.account-profile-dropdown-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px;
  border-bottom: 1px solid #eceef3;
}

.account-profile-dropdown-head strong,
.account-profile-dropdown-head small { display: block; }

.account-profile-dropdown-head small {
  color: #7a8194;
  font-size: .75rem;
  font-weight: 800;
}

.audit-app-body .account-main > .account-hero-card,
.audit-app-body .account-main > .account-stats,
.audit-app-body .account-main > .locked-panel,
.audit-app-body .account-main > .account-feature-locks,
.audit-app-body .account-main > .account-audit-form,
.audit-app-body .account-main > .account-history,
.audit-app-body .account-main > .account-insight-grid,
.audit-app-body .account-main > .workspace-page-head,
.audit-app-body .account-main > .workspace-lock-panel,
.audit-app-body .account-main > .workspace-empty,
.audit-app-body .account-main > .workspace-grid,
.audit-app-body .account-main > .workspace-card,
.audit-app-body .account-main > .monitor-chart,
.audit-app-body .account-main > .account-billing-strip {
  width: min(100% - 56px, 1540px);
  margin-right: auto;
  margin-left: auto;
}

.audit-app-body .account-main > .account-hero-card,
.audit-app-body .account-main > .workspace-page-head,
.audit-app-body .account-main > .workspace-lock-panel,
.audit-app-body .account-main > .workspace-empty,
.audit-app-body .account-main > .account-audit-form,
.audit-app-body .account-main > .account-history,
.audit-app-body .account-main > .workspace-card {
  border: 1px solid #dfe3ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20,24,40,.06);
}

.audit-app-body .account-main > .account-hero-card,
.audit-app-body .account-main > .workspace-page-head {
  margin-top: 26px;
  padding: 36px 42px;
}

.audit-app-body .account-stats article {
  border: 1px solid #dfe3ec;
  border-left: 4px solid var(--audit-red);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20,24,40,.06);
}

.audit-app-body .workspace-lock-panel {
  border-style: dashed;
  border-color: rgba(255,99,71,.55);
}

.audit-app-body .workspace-locked-preview {
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.audit-app-body .workspace-locked-preview > * {
  filter: blur(2px) grayscale(.25);
  opacity: .52;
}

.audit-app-body .workspace-locked-preview::after {
  inset: 22px;
  border: 1px solid rgba(255,99,71,.4);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 42px rgba(20,24,40,.12);
}

.audit-app-body .account-audit-form label { display: block; }

.audit-app-body .account-audit-form .password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.audit-app-body .account-audit-form .password-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cfd5e2;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.audit-app-body .account-audit-form .password-field button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 900;
}

.google-auth-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

@media (max-width: 900px) {
  .audit-app-body .account-workspace { display: block; }

  .audit-app-body .account-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(88vw, 340px);
    transform: translateX(-105%);
    transition: transform .24s ease;
  }

  .audit-app-body .account-sidebar.is-open { transform: translateX(0); }

  .account-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    background: rgba(0,0,0,.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  body.account-drawer-open .account-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .audit-app-body .account-drawer-close {
    display: grid;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: #161616;
    color: #fff;
    font-size: 1.4rem;
  }

  .audit-app-body .account-sidebar-toggle { display: grid; }

  .audit-app-body .account-topbar { padding: 0 16px; }

  .audit-app-body .account-profile-button {
    min-width: 0;
    padding-right: 8px;
  }

  .audit-app-body .account-profile-copy { display: none; }

  .audit-app-body .account-main > .account-hero-card,
  .audit-app-body .account-main > .account-stats,
  .audit-app-body .account-main > .locked-panel,
  .audit-app-body .account-main > .account-feature-locks,
  .audit-app-body .account-main > .account-audit-form,
  .audit-app-body .account-main > .account-history,
  .audit-app-body .account-main > .account-insight-grid,
  .audit-app-body .account-main > .workspace-page-head,
  .audit-app-body .account-main > .workspace-lock-panel,
  .audit-app-body .account-main > .workspace-empty,
  .audit-app-body .account-main > .workspace-grid,
  .audit-app-body .account-main > .workspace-card,
  .audit-app-body .account-main > .monitor-chart,
  .audit-app-body .account-main > .account-billing-strip {
    width: min(100% - 28px, 1540px);
  }
}

/* 2026-06-04 cascade guard: this must stay at the end. */
.audit-app-body .account-sidebar,
.dev-nav {
  background: #050505 !important;
  color: #fff !important;
}

.audit-app-body .account-sidebar nav a,
.dev-nav a:not(.brand),
.dev-nav button {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: rgba(255,255,255,.76) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  font-size: .88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.audit-app-body .account-sidebar nav a::before,
.dev-nav a:not(.brand)::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.25) !important;
}

.audit-app-body .account-sidebar nav a:hover,
.audit-app-body .account-sidebar nav a.is-active,
.dev-nav a:not(.brand):hover,
.dev-nav a:not(.brand).is-active {
  background: rgba(255,255,255,.11) !important;
  color: #fff !important;
}

.audit-app-body .account-sidebar nav a.is-active {
  border-left: 4px solid #4e73df !important;
  padding-left: 10px !important;
}

.audit-app-body .account-sidebar nav a.is-locked {
  opacity: .72 !important;
  pointer-events: auto !important;
}

.audit-app-body .account-topbar,
.dev-topbar {
  background: #fff !important;
  border-bottom: 1px solid #e3e6f0 !important;
  box-shadow: 0 .15rem 1.75rem rgba(58,59,69,.12) !important;
}

.audit-app-body .account-main,
.dev-main {
  background: #f8f9fc !important;
}

.audit-app-body .account-hero-card,
.audit-app-body .account-stats article,
.audit-app-body .account-lock-card,
.audit-app-body .account-history,
.audit-app-body .account-billing-strip article,
.dev-panel,
.dev-card,
.dev-table,
.dev-main article {
  background: #fff !important;
  border: 1px solid #e3e6f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 .15rem 1.75rem rgba(58,59,69,.09) !important;
}

.audit-app-body .account-stats article,
.audit-app-body .account-billing-strip article {
  border-left: .25rem solid #4e73df !important;
}

.audit-app-body .password-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  max-width: 760px !important;
}

@media (max-width: 980px) {
  .audit-nav-toggle {
    width: 46px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .audit-nav-toggle span {
    width: 28px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 99px !important;
    background: #111 !important;
    display: block !important;
  }

  .audit-nav-toggle span + span {
    margin-top: 6px !important;
  }

  nav[data-audit-nav] {
    inset: 80px auto 0 28% !important;
    width: 72% !important;
    min-height: calc(100dvh - 80px) !important;
    max-height: calc(100dvh - 80px) !important;
    padding: 34px 28px !important;
    background: #fff !important;
    color: #111 !important;
    border-left: 1px solid #ececec !important;
    border-top: 1px solid #ececec !important;
    box-shadow: -28px 0 70px rgba(0,0,0,.2) !important;
  }

  body.nav-open::before {
    content: "" !important;
    position: fixed !important;
    inset: 80px 72% 0 0 !important;
    z-index: 95 !important;
    background: rgba(5,5,5,.42) !important;
    backdrop-filter: blur(2px) !important;
  }

  nav[data-audit-nav]::before,
  nav[data-audit-nav] a::before,
  nav[data-audit-nav] a::after {
    content: none !important;
    display: none !important;
  }

  nav[data-audit-nav] a {
    min-height: 58px !important;
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    padding: 0 !important;
    background: transparent !important;
    color: #222 !important;
    justify-content: flex-start !important;
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    font-weight: 760 !important;
    letter-spacing: -.03em !important;
  }

  nav[data-audit-nav] .nav-cta {
    justify-content: center !important;
    min-height: 56px !important;
    margin-top: 24px !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
    color: #111 !important;
    border: 0 !important;
  }
}
