:root {
  --ink: #0e1218;
  --ink-soft: #364050;
  --muted: #4f5661;
  --paper: #fcfcfa;
  --surface: #ffffff;
  --line: #dbdee3;
  --line-strong: #c7ccd3;
  --green: #0152cb;
  --green-dark: #0046b0;
  --green-pale: #e4ecf9;
  --coral: #016c8f;
  --coral-pale: #e5f2f5;
  --blue: #0152cb;
  --blue-pale: #e4ecf9;
  --amber: #a76d1a;
  --amber-pale: #f5ecd9;
  --sidebar: #0e1218;
  --secondary: #f7f5f1;
  --shadow: 0 12px 30px rgba(14, 18, 24, 0.08);
  --radius: 8px;
  --sidebar-width: 248px;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: Cambria, "Times New Roman", Georgia, serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

.brand,
.button,
.eyebrow,
label,
input,
select,
textarea,
summary {
  font-family: var(--font-body);
}

h2 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.3;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #c8dcfb;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

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

.button:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(1, 82, 203, 0.22);
  outline-offset: 2px;
}

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

.button-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-danger {
  color: #fff;
  background: #a33a2b;
  border-color: #a33a2b;
}

.button-danger:hover {
  background: #842f23;
  border-color: #842f23;
}

.icon-button-danger {
  color: #9a3b2c;
  border: 1px solid #e0b9b1;
}

.icon-button-danger:hover {
  color: #fff;
  background: #9a3b2c;
  border-color: #9a3b2c;
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.button-light {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
}

.button-wide {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* App shell */
.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 24px 18px 18px;
  color: #e7ebf0;
  background: var(--sidebar);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 3px;
  border: 1px solid rgba(219, 222, 227, 0.85);
  border-radius: 6px;
  background: #fff;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

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

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.nav-list {
  display: grid;
  gap: 6px;
  margin-top: 54px;
}

.nav-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #b6bec9;
  border-radius: var(--radius);
  font-weight: 650;
}

.nav-item:hover,
.nav-item.is-active {
  color: #fff;
  background: #222a35;
}

.nav-item.is-active {
  box-shadow: inset 3px 0 var(--coral);
}

.account-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.account-copy small {
  overflow: hidden;
  margin-top: 2px;
  color: #98a3b3;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-account {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #29313d;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-dark);
  background: #e4ecf9;
  border-radius: 50%;
  font-weight: 800;
}

.account-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-account .icon-button {
  width: 34px;
  height: 34px;
  color: #98a3b3;
}

.app-main {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.mobile-header {
  display: none;
}

.page-wrap {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 44px 48px 70px;
}

.page-header {
  margin-bottom: 30px;
}

.page-header > div > p:last-child,
.page-header > p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-header-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.back-link:hover {
  color: var(--green-dark);
}

.message-stack {
  position: fixed;
  z-index: 60;
  top: 20px;
  right: 24px;
  width: min(390px, calc(100vw - 40px));
}

.public-message-stack {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 90;
  width: min(440px, calc(100vw - 40px));
}

.standalone-page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 28px 80px;
}

.project-access-actions {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 26px 0;
  border-top: 1px solid #d6dfe8;
}

.project-access-actions h2 {
  margin: 5px 0 0;
  font-size: 22px;
}

.project-access-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.project-access-button-group form {
  margin: 0;
}

.trial-submit-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(1, 82, 203, 0.18);
}

.trial-submit-action small {
  max-width: 650px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}

.trial-submit-action .button {
  min-width: 280px;
  min-height: 58px;
  flex: 0 0 auto;
  padding-inline: 30px;
  font-size: 15px;
}

@media (max-width: 800px) {
  .project-access-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .project-access-button-group,
  .project-access-button-group form,
  .project-access-button-group .button {
    width: 100%;
  }

  .trial-submit-action {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .trial-submit-action .button {
    width: 100%;
    min-width: 0;
  }
}

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

.outcome-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.landing-sample {
  background: #f3f6f9;
  border-block: 1px solid #d9e1e8;
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 56px;
  align-items: center;
}

.sample-copy h2 {
  max-width: 650px;
  margin: 10px 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.sample-copy > p:not(.eyebrow) {
  color: #526173;
  font-size: 18px;
  line-height: 1.7;
}

.landing-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.landing-check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #263548;
  font-weight: 600;
}

.landing-check-list svg {
  flex: 0 0 auto;
  width: 20px;
  color: #0b6c62;
}

.sample-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c9d4de;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(24, 39, 58, 0.14);
}

.sample-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.sample-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: #263548;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.landing-review-story {
  color: #fff;
  background: #071f45;
}

.review-story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: clamp(40px, 8vw, 112px);
  margin-bottom: 44px;
}

.review-story-heading h2,
.professional-path-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.review-story-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.story-carousel {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #08182d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.story-carousel:focus-visible {
  outline: 2px solid rgba(115, 181, 199, 0.94);
  outline-offset: 4px;
}

.story-carousel-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 760ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.story-carousel-slide::after {
  position: absolute;
  inset: 38% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 13, 28, 0.94));
}

.story-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.story-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-carousel-slide.is-active img {
  animation: project-image-drift 6500ms linear both;
}

.story-carousel.is-paused .story-carousel-slide.is-active img {
  animation-play-state: paused;
}

.story-carousel-caption-right .story-carousel-slide.is-active img {
  animation-name: professional-image-pan;
}

@keyframes professional-image-pan {
  from { transform: scale(1.04) translateX(-0.7%); }
  to { transform: scale(1.04) translateX(0.7%); }
}

.story-carousel-slide figcaption {
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: 44px;
  width: min(600px, calc(100% - 88px));
  color: #fff;
}

.story-carousel-slide.is-active figcaption > * {
  animation: project-caption-enter 540ms 100ms both cubic-bezier(0.2, 0.72, 0.22, 1);
}

.story-carousel-slide figcaption span {
  color: #8cc8d8;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.story-carousel-slide figcaption h3 {
  margin: 8px 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.story-carousel-slide figcaption p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.landing-decisions {
  background: #fff;
}

.decisions-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.decisions-visual,
.handoff-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #e9edf0;
  box-shadow: var(--shadow);
}

.decisions-visual img,
.handoff-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.decisions-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-left: 3px solid var(--coral);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.decisions-visual figcaption span {
  font-size: 11px;
  font-weight: 800;
}

.decisions-visual figcaption small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.decisions-copy h2,
.handoff-heading h2 {
  margin: 8px 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}

.decisions-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.decision-stage-list {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.decision-stage-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-strong);
}

.decision-stage-list li > span,
.handoff-steps li > span {
  color: var(--coral);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.decision-stage-list h3,
.handoff-steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.decision-stage-list p,
.handoff-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.landing-handoff {
  color: #fff;
  background: #102136;
}

.handoff-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: 46px;
}

.handoff-heading h2 {
  margin-bottom: 0;
}

.handoff-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.75;
}

.handoff-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(360px, 0.9fr);
  align-items: stretch;
  gap: 0;
}

.handoff-visual {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.handoff-visual img {
  height: 100%;
  min-height: 520px;
}

.handoff-visual figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(7, 20, 36, 0.86);
  font-size: 11px;
}

.handoff-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.handoff-steps li {
  display: grid;
  grid-template-columns: 38px 1fr 26px;
  align-items: start;
  gap: 12px;
  min-height: calc(100% / 3);
  padding: 28px 0 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.handoff-steps h3 {
  color: #fff;
  font-size: 20px;
}

.handoff-steps p {
  color: rgba(255, 255, 255, 0.64);
}

.handoff-steps li > svg {
  width: 22px;
  height: 22px;
  color: #73b5c7;
}

.landing-services {
  background: #fff;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #f4f7fa;
  box-shadow: 0 24px 64px rgba(14, 35, 62, 0.12);
}

.project-showcase-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #0b1d35;
}

.project-showcase-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.project-showcase-slide::after {
  position: absolute;
  inset: 36% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(4, 16, 34, 0.86));
}

.project-showcase-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.project-showcase-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-showcase-slide.is-active img {
  animation: project-image-drift 6500ms linear both;
}

.project-showcase-media.is-paused .project-showcase-slide.is-active img {
  animation-play-state: paused;
}

@keyframes project-image-drift {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

.project-showcase-slide figcaption {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 30px;
  left: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
}

.project-showcase-slide.is-active figcaption > * {
  animation: project-caption-enter 520ms 120ms both cubic-bezier(0.2, 0.72, 0.22, 1);
}

@keyframes project-caption-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-showcase-slide figcaption span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.project-showcase-slide figcaption strong {
  max-width: 450px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
  text-align: right;
}

.carousel-side-fade::before,
.carousel-side-fade::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: min(18%, 180px);
  content: "";
  pointer-events: none;
}

.carousel-side-fade::before {
  left: 0;
  background: linear-gradient(90deg, rgba(3, 13, 28, 0.66), transparent);
}

.carousel-side-fade::after {
  right: 0;
  background: linear-gradient(270deg, rgba(3, 13, 28, 0.66), transparent);
}

.carousel-edge-button,
.carousel-float-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 18, 39, 0.52);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.carousel-edge-button {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-edge-previous {
  left: 18px;
}

.carousel-edge-next {
  right: 18px;
}

.carousel-edge-button:hover,
.carousel-edge-button:focus-visible,
.carousel-float-button:hover,
.carousel-float-button:focus-visible {
  border-color: #fff;
  background: rgba(12, 78, 153, 0.82);
  outline: 0;
}

.carousel-edge-button:hover {
  transform: translateY(-50%) scale(1.06);
}

.carousel-edge-button svg,
.carousel-float-button svg {
  width: 18px;
  height: 18px;
}

.carousel-corner-tools {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.carousel-corner-tools > span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(4, 18, 39, 0.5);
  backdrop-filter: blur(8px);
}

.carousel-float-button {
  width: 32px;
  height: 32px;
}

.carousel-float-button .carousel-icon-play,
.carousel-float-button.is-paused .carousel-icon-pause {
  display: none;
}

.carousel-float-button.is-paused .carousel-icon-play {
  display: block;
}

.project-showcase-selector {
  min-width: 0;
  padding: 30px 28px 24px;
  border-left: 1px solid var(--line-strong);
}

.project-selector-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.project-tabs {
  display: grid;
}

.project-tab {
  position: relative;
  display: grid;
  grid-template-columns: 24px 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  width: 100%;
  min-height: 112px;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, padding-left 220ms ease, background-color 220ms ease;
}

.project-tab:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.project-tab::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -28px;
  width: 3px;
  content: "";
  transform: scaleY(0);
  background: var(--coral);
  transition: transform 220ms ease;
}

.project-tab:hover,
.project-tab:focus-visible,
.project-tab.is-active {
  padding-left: 8px;
  color: #0c4e99;
}

.project-tab:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(12, 78, 153, 0.72);
}

.project-tab.is-active::before {
  transform: scaleY(1);
}

.project-tab > svg {
  width: 21px;
  height: 21px;
  color: currentColor;
}

.project-tab-number {
  color: #9ba8b5;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.project-tab > span:last-child {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.project-tab strong {
  font-size: 17px;
  line-height: 1.25;
}

.project-tab small {
  margin: 0;
  color: #5a6777;
  font-size: 12px;
  line-height: 1.5;
}

.landing-professional-path {
  background: #edf2f5;
  border-top: 1px solid var(--line);
}

.professional-path-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.professional-path-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.professional-path-copy h2 {
  font-size: clamp(34px, 3.5vw, 50px);
}

.professional-path-list {
  display: grid;
  gap: 0;
  margin: 28px 0 26px;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.professional-path-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  color: #425166;
  font-size: 13px;
  line-height: 1.55;
}

.professional-path-list svg {
  width: 21px;
  height: 21px;
  color: #0c4e99;
}

.professional-path-list strong {
  color: var(--ink);
}

.story-carousel-compact {
  min-height: 570px;
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(14, 35, 62, 0.16);
}

.story-carousel-caption-right .story-carousel-slide figcaption {
  right: 42px;
  left: auto;
  text-align: right;
}

.story-carousel-caption-right .story-carousel-slide figcaption p {
  margin-left: auto;
}

.landing-faq {
  background: #f7f9fb;
}

.faq-list {
  display: grid;
  max-width: 940px;
  border-top: 1px solid #cdd7e0;
}

.faq-list details {
  border-bottom: 1px solid #cdd7e0;
}

.faq-list summary {
  padding: 22px 42px 22px 0;
  cursor: pointer;
  color: #1d2b3d;
  font-size: 18px;
  font-weight: 700;
}

.faq-list p {
  max-width: 800px;
  margin: -4px 0 24px;
  color: #566477;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero-proof,
  .outcome-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-layout {
    grid-template-columns: 1fr;
  }

  .review-story-heading,
  .professional-path-layout {
    grid-template-columns: 1fr;
  }

  .story-carousel,
  .story-carousel-compact {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .decisions-layout,
  .handoff-heading,
  .handoff-layout {
    grid-template-columns: 1fr;
  }

  .handoff-visual img {
    height: auto;
    min-height: 0;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-showcase-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-showcase-selector {
    padding: 26px;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .project-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 26px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .sample-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(400px, 1.12fr);
    gap: 38px;
  }

  .decisions-layout {
    grid-template-columns: minmax(400px, 1fr) minmax(0, 0.92fr);
    gap: 42px;
  }

  .handoff-heading {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
    gap: 40px;
  }

  .handoff-layout {
    grid-template-columns: minmax(410px, 1.02fr) minmax(0, 0.98fr);
  }

  .handoff-steps li {
    padding-left: 22px;
  }

  .landing-band {
    padding: 72px 0;
  }
}

@media (max-width: 700px) {
  .public-message-stack {
    top: 66px;
    right: 12px;
    width: calc(100vw - 24px);
  }

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

  .sample-layout {
    gap: 30px;
  }

  .decisions-layout {
    gap: 30px;
  }

  .decisions-copy h2,
  .handoff-heading h2 {
    font-size: 34px;
  }

  .decisions-visual img,
  .handoff-visual img {
    aspect-ratio: 4 / 3;
  }

  .decisions-visual figcaption,
  .handoff-visual figcaption {
    position: static;
  }

  .handoff-heading {
    gap: 18px;
    margin-bottom: 30px;
  }

  .handoff-steps li {
    grid-template-columns: 32px 1fr;
    padding: 22px 0;
  }

  .handoff-steps li > svg {
    display: none;
  }

  .sample-copy h2 {
    font-size: 34px;
  }

  .sample-visual img {
    aspect-ratio: 4 / 3;
  }

  .review-story-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .story-carousel,
  .story-carousel-compact {
    min-height: 390px;
    aspect-ratio: auto;
  }

  .story-carousel-slide figcaption,
  .story-carousel-caption-right .story-carousel-slide figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
    width: auto;
    text-align: left;
  }

  .story-carousel-caption-right .story-carousel-slide figcaption p {
    margin-left: 0;
  }

  .story-carousel-slide figcaption h3 {
    margin: 5px 0;
    font-size: 23px;
  }

  .story-carousel-slide figcaption p {
    font-size: 12px;
    line-height: 1.5;
  }

  .carousel-side-fade::before,
  .carousel-side-fade::after {
    width: 22%;
  }

  .carousel-edge-button {
    width: 38px;
    height: 38px;
  }

  .carousel-edge-previous {
    left: 10px;
  }

  .carousel-edge-next {
    right: 10px;
  }

  .carousel-corner-tools {
    top: 12px;
    right: 12px;
  }

  .project-showcase-media {
    aspect-ratio: 4 / 3;
  }

  .project-showcase-slide figcaption {
    right: 18px;
    bottom: 22px;
    left: 18px;
    display: block;
  }

  .project-showcase-slide figcaption strong {
    display: block;
    margin-top: 5px;
    font-size: 18px;
    text-align: left;
  }

  .project-showcase-selector {
    padding: 22px 18px 18px;
  }

  .project-tabs {
    grid-template-columns: 1fr;
  }

  .project-tab {
    min-height: 90px;
    padding: 15px 0;
  }

  .project-tab::before {
    left: -18px;
  }

  .project-tab strong {
    font-size: 16px;
  }

  .project-tab small {
    font-size: 11px;
  }
}

/* Search landing pages and trust content */
.public-footer-expanded {
  justify-content: space-between;
  min-height: 112px;
}

.public-footer-expanded > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.public-footer-expanded > div strong {
  color: var(--surface);
  font-size: 15px;
}

.public-footer-expanded nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.public-footer-expanded nav a {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.78);
}

.audience-band {
  background: var(--secondary);
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.audience-layout > div:first-child h2 {
  margin: 8px 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
}

.audience-layout > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.audience-boundaries {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.audience-boundaries article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.audience-boundaries article:last-child {
  border-bottom: 0;
}

.audience-boundaries svg {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.audience-boundaries article:last-child svg {
  color: #a33a2b;
}

.audience-boundaries h3,
.audience-boundaries p {
  margin: 0;
}

.audience-boundaries p {
  margin-top: 7px;
  color: var(--muted);
}

.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.trial-policy-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.trial-policy-links > span,
.trial-policy-links nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
}

.trial-policy-links svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.trial-policy-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-main {
  min-height: 70svh;
}

.content-main > article,
.content-main > section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.content-hero {
  padding: clamp(64px, 8vw, 108px) 0 clamp(52px, 7vw, 88px);
  border-bottom: 1px solid var(--line-strong);
}

.content-hero > h1,
.content-hero > div > h1 {
  max-width: 900px;
  margin: 8px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.content-lead {
  max-width: 830px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.content-hero .button {
  margin-top: 28px;
}

.content-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.content-hero-split figure,
.guide-hero-figure,
.content-figure-row figure {
  margin: 0;
}

.content-hero-split img,
.guide-hero-figure img,
.content-figure-row img,
.guide-index-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-hero-split img,
.content-figure-row img,
.guide-index-grid img {
  aspect-ratio: 3 / 2;
}

.content-hero-split figcaption,
.guide-hero-figure figcaption,
.content-figure-row figcaption {
  padding-top: 9px;
  color: var(--muted);
  font-size: 11px;
}

.content-section-wide,
.content-band,
.content-figure-row,
.source-panel {
  padding: clamp(60px, 8vw, 100px) 0;
}

.content-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.content-heading h2,
.content-band > div:first-child h2,
.content-figure-row h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
}

.content-band {
  border-top: 1px solid var(--line-strong);
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.content-card-grid article {
  min-height: 250px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.content-card-grid article:last-child {
  border-right: 0;
}

.content-card-grid svg {
  width: 26px;
  height: 26px;
  color: var(--coral);
}

.content-card-grid h3 {
  margin: 48px 0 10px;
  font-size: 21px;
}

.content-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sample-report-card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line-strong);
  border-left: 5px solid #a33a2b;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sample-report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.severity-badge {
  padding: 5px 8px;
  color: #862f24;
  background: #f7e7e3;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-report-card h3 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(25px, 3vw, 36px);
}

.sample-report-card p {
  max-width: 940px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.content-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 28px 0 90px;
  padding: 34px 38px;
  color: var(--surface);
  background: var(--sidebar);
}

.content-callout h2,
.content-callout p {
  margin: 0;
}

.content-callout p {
  max-width: 720px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.method-flow ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.method-flow li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-strong);
}

.method-flow li > span {
  color: var(--coral);
  font-family: Consolas, monospace;
  font-size: 14px;
}

.method-flow h2,
.method-flow p {
  margin: 0;
}

.method-flow h2 {
  font-size: 28px;
}

.method-flow p {
  max-width: 820px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.75;
}

.comparison-grid,
.guide-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px 0 26px;
  border: 1px solid var(--line-strong);
}

.comparison-grid article,
.guide-boundary > div {
  padding: 30px;
}

.comparison-grid article + article,
.guide-boundary > div + div {
  border-left: 1px solid var(--line-strong);
  background: var(--secondary);
}

.comparison-grid ul,
.prose-section ul,
.prose-section ol {
  padding-left: 22px;
}

.comparison-grid li,
.prose-section li {
  margin-bottom: 10px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.content-figure-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.prose-section {
  max-width: 840px;
}

.prose-section h2 {
  margin: 48px 0 12px;
  font-size: clamp(25px, 3vw, 34px);
}

.prose-section h2:first-child {
  margin-top: 0;
}

.prose-section p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.content-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.review-status {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-top: 30px;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: var(--amber-pale);
}

.review-status span {
  display: flex;
  flex-direction: column;
}

.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 70px 0 100px;
}

.guide-index-grid > a {
  display: block;
  border-bottom: 1px solid var(--line-strong);
}

.guide-index-grid > a > span {
  display: block;
  margin-top: 20px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.guide-index-grid h2 {
  margin: 8px 0 10px;
  font-size: 26px;
}

.guide-index-grid p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.guide-article .content-hero {
  padding-top: 52px;
}

.guide-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.guide-byline span {
  display: flex;
  flex-direction: column;
}

.guide-byline strong {
  color: var(--ink);
}

.guide-hero-figure {
  padding-top: 50px;
}

.guide-hero-figure img {
  aspect-ratio: 16 / 8;
}

.guide-boundary {
  margin: 0 0 70px;
}

.guide-boundary h2 {
  font-size: 23px;
}

.guide-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.source-panel {
  border-top: 1px solid var(--line-strong);
}

.source-panel ul {
  max-width: 880px;
  padding-left: 20px;
}

.source-panel li {
  margin-bottom: 12px;
}

.source-panel a,
.prose-section a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .audience-layout,
  .content-hero-split,
  .content-figure-row {
    grid-template-columns: 1fr;
  }

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

  .content-card-grid article:nth-child(2) {
    border-right: 0;
  }

  .content-card-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .guide-index-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .public-footer-expanded nav,
  .trial-policy-links,
  .trial-policy-links nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-hero h1 {
    font-size: 39px;
    line-height: 1.04;
  }

  .hero-actions .button {
    min-height: 58px;
    padding: 10px 18px;
    white-space: normal;
  }

  .content-main > article,
  .content-main > section {
    width: min(100% - 32px, 1180px);
  }

  .content-hero {
    padding: 50px 0 44px;
  }

  .content-hero > h1,
  .content-hero > div > h1 {
    font-size: 39px;
  }

  .content-lead {
    font-size: 17px;
  }

  .content-card-grid,
  .comparison-grid,
  .guide-boundary {
    grid-template-columns: 1fr;
  }

  .content-card-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .content-card-grid article:last-child {
    border-bottom: 0;
  }

  .comparison-grid article + article,
  .guide-boundary > div + div {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .content-callout {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 56px;
    padding: 28px 24px;
  }

  .content-callout .button {
    width: 100%;
  }

  .sample-report-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-flow li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .guide-hero-figure img {
    aspect-ratio: 3 / 2;
  }
}

.message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Auth */
.auth-page {
  min-height: 100vh;
  background: #fff;
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
}

.auth-form-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 34px clamp(34px, 6vw, 90px) 28px;
}

.brand-dark {
  color: var(--ink);
}

.brand-dark small {
  color: var(--muted);
}

.auth-form-wrap {
  width: min(100%, 430px);
  margin: auto;
  padding: 50px 0;
}

.auth-form-wide {
  width: min(100%, 650px);
}

.auth-form-wrap h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.auth-intro {
  margin-bottom: 32px;
  color: var(--muted);
}

.auth-footnote {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.auth-switch {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--green-dark);
  font-weight: 750;
}

.blueprint-side {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #0046b0;
}

.blueprint-grid {
  position: absolute;
  inset: 38px;
  background-image: url("../images/cecilia-approved-plan.daa109380627.png");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.28;
}

.blueprint-grid::before,
.blueprint-grid::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.08);
}

.blueprint-grid::before {
  top: 0;
  bottom: 0;
  left: 31%;
  width: 1px;
  box-shadow: 190px 0 rgba(255, 255, 255, 0.08), 380px 0 rgba(255, 255, 255, 0.08);
}

.blueprint-grid::after {
  top: 35%;
  right: 0;
  left: 0;
  height: 1px;
  box-shadow: 0 180px rgba(255, 255, 255, 0.08), 0 360px rgba(255, 255, 255, 0.08);
}

.floor-plan {
  position: absolute;
  top: 19%;
  right: 13%;
  bottom: 24%;
  left: 12%;
  border: 4px solid rgba(238, 246, 255, 0.86);
  box-shadow: inset 0 0 0 8px rgba(0, 70, 176, 0.95), inset 0 0 0 10px rgba(238, 246, 255, 0.45);
}

.wall {
  position: absolute;
  display: block;
  background: rgba(238, 246, 255, 0.8);
}

.wall-a { top: 0; bottom: 0; left: 42%; width: 3px; }
.wall-b { top: 44%; right: 0; left: 0; height: 3px; }
.wall-c { top: 0; bottom: 56%; left: 72%; width: 3px; }
.wall-d { top: 72%; right: 58%; left: 0; height: 3px; }
.wall-e { top: 44%; bottom: 0; left: 68%; width: 3px; }
.wall-f { top: 72%; right: 0; left: 68%; height: 3px; }

.room {
  position: absolute;
  color: rgba(238, 246, 255, 0.65);
  font-size: 10px;
  font-weight: 750;
}

.room-one { top: 55%; left: 14%; }
.room-two { top: 18%; left: 48%; }
.room-three { top: 12%; left: 13%; }
.room-four { right: 8%; bottom: 10%; }

.drawing-title-block {
  position: absolute;
  top: 50px;
  right: 50px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--coral);
}

.drawing-title-block span {
  font-size: 10px;
}

.drawing-title-block strong {
  font-size: 22px;
}

.review-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border-left: 3px solid var(--coral);
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(4, 20, 46, 0.2);
  font-size: 12px;
  font-weight: 700;
}

.review-callout span {
  color: var(--coral);
  font-size: 10px;
}

.callout-one { top: 29%; left: 7%; }
.callout-two { top: 53%; right: 6%; }
.callout-three { bottom: 19%; left: 29%; }

.blueprint-caption {
  position: absolute;
  right: 10%;
  bottom: 7%;
  left: 10%;
  display: flex;
  flex-direction: column;
}

.blueprint-caption strong {
  font-size: 22px;
}

.blueprint-caption span {
  margin-top: 4px;
  color: #c8dcfb;
  font-size: 12px;
}

.register-visual {
  position: relative;
  display: flex;
  min-height: 720px;
  align-items: center;
  overflow: hidden;
  padding: 80px 10%;
  color: #fff;
  background: #0046b0;
}

.register-visual-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
}

.register-visual h2 {
  margin-bottom: 42px;
  font-size: clamp(30px, 4vw, 48px);
}

.scope-list {
  display: grid;
  gap: 6px;
}

.scope-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.scope-list svg {
  width: 23px;
  height: 23px;
  color: #73b5c7;
}

.scope-list span {
  display: flex;
  flex-direction: column;
}

.scope-list small {
  margin-top: 2px;
  color: #c8dcfb;
}

.plan-index {
  position: absolute;
  right: -22px;
  bottom: -30px;
  display: flex;
  color: rgba(255, 255, 255, 0.05);
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
}

/* Forms */
.stack-form {
  display: grid;
  gap: 18px;
}

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

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 720;
}

.form-field label span {
  margin-left: 3px;
  color: var(--coral);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:disabled {
  color: var(--muted);
  background: var(--secondary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
}

.field-help {
  color: var(--muted);
  font-size: 11px;
}

.field-help ul {
  margin: 2px 0 0;
  padding-left: 18px;
}

.field-error {
  display: block;
  color: #a63f2d;
  font-size: 12px;
}

.has-error input,
.has-error select,
.has-error textarea,
.dropzone.has-error {
  border-color: #b74835;
}

.form-alert {
  padding: 12px 14px;
  color: #8f3324;
  background: var(--coral-pale);
  border-left: 3px solid var(--coral);
  border-radius: 3px;
}

.panel-form {
  max-width: 900px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Dashboard */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 0.65fr)) minmax(240px, 1.5fr);
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-strip > div {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.stat-strip > div:last-child {
  border-right: 0;
}

.stat-strip span {
  color: var(--muted);
  font-size: 12px;
}

.stat-strip strong {
  margin-top: 4px;
  font-size: 28px;
  line-height: 1;
}

.stat-strip .stat-context {
  flex-direction: row;
  align-items: center;
  gap: 13px;
  background: var(--blue-pale);
}

.stat-context svg {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.stat-context > span {
  display: flex;
  flex-direction: column;
}

.stat-context strong {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.quick-submit {
  position: relative;
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  overflow: hidden;
  padding: 30px 34px;
  color: #fff;
  background: var(--green-dark);
  border-radius: var(--radius);
}

.quick-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 720px;
}

.quick-copy h2 {
  font-size: 24px;
}

.quick-copy p {
  margin-bottom: 0;
  color: #c8dcfb;
}

.section-index {
  color: #73b5c7;
  font-size: 12px;
  font-weight: 800;
}

.quick-submit .button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.quick-lines {
  position: absolute;
  top: -30px;
  right: 22%;
  width: 180px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(18deg);
}

.quick-lines::before,
.quick-lines::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-lines::before { inset: 25px; }
.quick-lines::after { inset: 53px; }

.content-section {
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 5px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading-row .eyebrow {
  margin-bottom: 5px;
}

.result-count {
  color: var(--muted);
  font-size: 12px;
}

.project-table-head,
.project-row {
  display: grid;
  grid-template-columns: minmax(270px, 2.1fr) minmax(120px, 0.8fr) 80px minmax(130px, 1fr) 100px 28px;
  align-items: center;
  gap: 16px;
}

.project-table-head {
  min-height: 40px;
  padding: 0 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 750;
}

.project-row {
  min-height: 78px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}

.project-row:last-child {
  border-bottom: 0;
}

.project-row:hover {
  background: var(--secondary);
}

.project-row > span:not(.project-name) {
  color: var(--ink-soft);
  font-size: 13px;
}

.project-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.project-name > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-name strong,
.project-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-name small {
  color: var(--muted);
  font-size: 11px;
}

.file-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 5px;
}

.status-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 4px 9px;
  color: var(--amber);
  background: var(--amber-pale);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.status-badge > span {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.status-completed {
  color: var(--green);
  background: var(--green-pale);
}

.status-failed {
  color: #a63f2d;
  background: var(--coral-pale);
}

.status-analyzing,
.status-queued {
  color: var(--blue);
  background: var(--blue-pale);
}

.row-arrow {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.empty-state {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.empty-state p {
  max-width: 390px;
  color: var(--muted);
}

.empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 16px;
  color: var(--green);
  background: var(--green-pale);
  border-radius: var(--radius);
}

.empty-icon svg {
  width: 26px;
  height: 26px;
}

/* Submission */
.step-strip {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.step-strip span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.step-strip b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 10px;
}

.step-strip .is-current {
  color: var(--ink);
}

.step-strip .is-current b {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.step-strip i {
  width: 70px;
  height: 1px;
  background: var(--line-strong);
}

.submission-form {
  display: grid;
  gap: 20px;
}

.numbered-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.numbered-heading > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.dropzone {
  position: relative;
  display: flex;
  min-height: 150px;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: var(--secondary);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.dropzone:hover,
.dropzone.is-dragging {
  background: var(--blue-pale);
  border-color: var(--green);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: var(--radius);
}

.dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.dropzone-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.dropzone-copy strong {
  overflow-wrap: anywhere;
}

.dropzone-copy small {
  margin-top: 4px;
  color: var(--muted);
}

.dropzone .button {
  pointer-events: none;
}

.upload-error {
  margin-top: 9px;
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: var(--blue-pale);
  border: 1px solid #bed1ed;
  border-radius: var(--radius);
}

.submit-bar > div,
.plain-note,
.report-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.submit-bar > div > svg,
.plain-note > svg,
.report-disclaimer > svg {
  margin-top: 3px;
  color: var(--green);
}

.submit-bar p,
.plain-note p,
.report-disclaimer p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.submit-bar p span,
.plain-note p span,
.report-disclaimer p span {
  color: var(--muted);
  font-size: 12px;
}

.submit-actions,
.page-header-button-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-header-button-group .icon-button {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.header-email-form {
  margin: 0;
}

.header-email-form .button {
  width: 100%;
}

/* Detail */
.project-overview-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-overview-band > div {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.project-overview-band > div:last-child {
  border-right: 0;
}

.project-overview-band > div > span:first-child {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}

.project-overview-band strong:not(.status-badge) {
  font-size: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  align-items: start;
  gap: 22px;
}

.analysis-state {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.analysis-state-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--amber);
  background: var(--amber-pale);
  border-radius: var(--radius);
}

.analysis-state h3 {
  margin-top: 12px;
}

.analysis-state p {
  margin-bottom: 0;
  color: var(--muted);
}

[data-analysis-form] {
  margin-top: 18px;
}

.analysis-progress {
  padding: 16px;
  background: var(--secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.analysis-progress-heading,
.analysis-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analysis-progress-heading {
  margin-bottom: 10px;
  font-size: 13px;
}

.analysis-progress-heading strong {
  color: var(--blue);
  font-size: 14px;
}

.analysis-progress progress {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  accent-color: var(--blue);
  border: 0;
  border-radius: 4px;
}

.analysis-progress-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.analysis-progress-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.analysis-progress-meta svg {
  width: 14px;
  height: 14px;
}

.analysis-progress-meta b {
  color: var(--ink);
}

.analysis-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.analysis-feedback {
  color: var(--muted);
  font-size: 12px;
}

.analysis-feedback.is-error {
  color: #9a3b2c;
}

.delete-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(4, 20, 46, 0.24);
}

.delete-dialog::backdrop {
  background: rgba(4, 20, 46, 0.66);
}

.delete-dialog form {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 26px;
}

.delete-dialog-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #9a3b2c;
  background: #f7e7e3;
  border-radius: var(--radius);
}

.delete-dialog h2 {
  margin-top: 4px;
  font-size: 21px;
}

.delete-dialog p {
  margin-bottom: 0;
  color: var(--muted);
}

.delete-dialog-feedback,
.delete-dialog-actions {
  grid-column: 1 / -1;
}

.delete-dialog-feedback {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
}

.delete-dialog-feedback.is-error {
  color: #9a3b2c;
}

.delete-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.analysis-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.analysis-categories > div {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.analysis-categories svg {
  color: var(--blue);
}

.analysis-categories span {
  display: flex;
  flex-direction: column;
}

.analysis-categories small {
  margin-top: 2px;
  color: var(--muted);
}

.detail-aside {
  display: grid;
  gap: 14px;
}

.document-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f0f2f4;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.pdf-badge,
.sheet-number {
  position: absolute;
  z-index: 2;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 800;
}

.pdf-badge {
  top: 10px;
  left: 10px;
  color: #fff;
  background: var(--coral);
}

.sheet-number {
  right: 10px;
  bottom: 10px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.mini-plan {
  position: absolute;
  inset: 38px 30px 32px;
  border: 3px solid #6f7b8a;
}

.mini-plan i {
  position: absolute;
  display: block;
  background: #8b96a4;
}

.mini-plan i:nth-child(1) { top: 0; bottom: 0; left: 48%; width: 2px; }
.mini-plan i:nth-child(2) { top: 48%; right: 0; left: 0; height: 2px; }
.mini-plan i:nth-child(3) { top: 0; right: 24%; width: 2px; height: 48%; }
.mini-plan i:nth-child(4) { right: 52%; bottom: 24%; left: 0; height: 2px; }

.document-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 14px 0;
}

.document-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-meta span {
  color: var(--muted);
  font-size: 12px;
}

.plain-note {
  padding: 16px;
  background: var(--blue-pale);
  border: 1px solid #c9dbe7;
  border-radius: var(--radius);
}

.plain-note svg {
  color: var(--blue);
}

/* Report */
.report-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: var(--amber);
  background: var(--amber-pale);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.report-state > span {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.report-pending,
.report-summary {
  display: flex;
  min-height: 170px;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  padding: 28px 32px;
  color: #fff;
  background: var(--sidebar);
  border-radius: var(--radius);
}

.report-pending p:last-child,
.report-summary p {
  max-width: 720px;
  margin-bottom: 0;
  color: #c7d2e2;
}

.report-pending-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: var(--radius);
}

.report-pending-mark svg {
  width: 27px;
  height: 27px;
}

.report-summary > div:first-child {
  min-width: 150px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.report-summary > div:first-child > span {
  display: block;
  color: #c7d2e2;
  font-size: 12px;
}

.report-summary > div:first-child > strong {
  font-size: 54px;
}

.report-summary small {
  font-size: 13px;
}

.professional-review-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 22px;
  padding: 28px 32px;
  color: #fff;
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.professional-review-copy h2 {
  max-width: 680px;
  margin-bottom: 8px;
  font-size: 25px;
}

.professional-review-copy > p:last-of-type {
  max-width: 720px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.professional-review-copy > span {
  color: #c8dcfb;
  font-size: 12px;
  font-weight: 700;
}

.professional-review-actions {
  display: flex;
  min-width: 280px;
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}

.professional-review-actions small {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  line-height: 1.5;
}

.professional-review-actions small svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

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

.report-module {
  position: relative;
  display: grid;
  min-height: 170px;
  grid-template-columns: 28px 1fr;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.report-module-wide {
  grid-column: 1 / -1;
}

.report-module > svg {
  grid-column: 1;
  grid-row: 1;
  width: 23px;
  height: 23px;
  color: var(--blue);
}

.report-module > div {
  grid-column: 2;
}

.report-module p {
  margin-bottom: 0;
  color: var(--muted);
}

.module-index {
  position: absolute;
  top: 13px;
  right: 15px;
  color: #a4aea8;
  font-size: 10px;
  font-weight: 800;
}

.module-status {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.report-disclaimer {
  margin-top: 18px;
  padding: 17px 20px;
  background: var(--amber-pale);
  border: 1px solid #e0c995;
  border-radius: var(--radius);
}

.report-disclaimer > svg {
  color: var(--amber);
}

.report-meta {
  display: block;
  margin-top: 12px;
  color: #aebfc5;
}

.module-score {
  display: block;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 13px;
}

.report-detail-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.finding-list {
  display: grid;
  gap: 10px;
}

.finding-item {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
}

.finding-item.finding-critical,
.finding-item.finding-high {
  border-left-color: var(--coral);
}

.finding-item.finding-medium {
  border-left-color: var(--amber);
}

.finding-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
}

.finding-severity {
  color: var(--ink);
  font-weight: 800;
}

.finding-item h3,
.finding-item p,
.finding-item blockquote {
  margin-bottom: 8px;
}

.finding-item blockquote {
  margin-left: 0;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 2px solid var(--line-strong);
}

.finding-item > small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
}

.finding-item > small svg {
  width: 14px;
  height: 14px;
}

.finding-review-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.finding-review-link:hover {
  text-decoration: underline;
}

.finding-review-link svg {
  width: 15px;
  height: 15px;
}

.report-evaluation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.report-evaluation-grid article {
  min-width: 0;
  padding: 18px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-evaluation-grid article:last-child {
  grid-column: 1 / -1;
}

.report-evaluation-grid article > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.report-evaluation-grid span {
  color: var(--ink);
  font-weight: 800;
}

.report-evaluation-grid strong {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 13px;
}

.report-evaluation-grid p {
  margin: 0;
  color: var(--muted);
}

.finding-explanation {
  display: grid;
  gap: 9px;
  margin: 12px 0;
}

.finding-explanation > div,
.recommendation-meta > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.finding-explanation dt,
.recommendation-meta dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.finding-explanation dd,
.recommendation-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
}

.finding-item blockquote strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 11px;
}

.recommendation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.recommendation-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.recommendation-list li > span,
.recommendation-list li > small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.recommendation-list p {
  margin: 3px 0 0;
  color: var(--muted);
}

.recommendation-meta {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.profile-section {
  max-width: 980px;
}

.sidebar-scrim {
  display: none;
}

@media (max-width: 1180px) {
  .page-wrap {
    padding-right: 30px;
    padding-left: 30px;
  }

  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-strip .stat-context {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .project-table-head,
  .project-row {
    grid-template-columns: minmax(240px, 2fr) 110px 70px 120px 28px;
  }

  .project-table-head > span:nth-child(5),
  .project-row > span:nth-child(5) {
    display: none;
  }

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

@media (max-width: 920px) {
  :root {
    --sidebar-width: 260px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .app-main {
    margin-left: 0;
  }

  .mobile-header {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #fff;
    background: var(--sidebar);
  }

  .mobile-brand {
    font-size: 17px;
    font-weight: 800;
  }

  .mobile-header .icon-button {
    color: #fff;
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 30;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(10, 18, 14, 0.55);
    border: 0;
  }

  body.sidebar-open .sidebar-scrim {
    display: block;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .blueprint-side,
  .register-visual {
    min-height: 380px;
  }

  .blueprint-side .floor-plan {
    top: 15%;
    bottom: 18%;
  }

  .blueprint-caption {
    bottom: 5%;
  }

  .register-visual {
    padding: 48px 8%;
  }

  .scope-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-index {
    font-size: 110px;
  }

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

  .detail-aside {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.6fr);
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 29px;
  }

  .page-wrap {
    padding: 28px 16px 50px;
  }

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

  .page-header-actions > .button {
    width: 100%;
  }

  .page-header-button-group {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .page-header-button-group .button {
    width: 100%;
  }

  .professional-review-cta {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
  }

  .professional-review-actions {
    min-width: 0;
  }

  .professional-review-actions .button {
    width: 100%;
  }

  .auth-form-side {
    min-width: 0;
    padding: 24px 20px;
  }

  .auth-form-wrap {
    width: 100%;
    padding: 54px 0;
  }

  .blueprint-side {
    min-height: 270px;
  }

  .blueprint-grid {
    inset: 18px;
  }

  .floor-plan {
    right: 8%;
    left: 8%;
  }

  .drawing-title-block,
  .callout-three {
    display: none;
  }

  .review-callout {
    font-size: 10px;
  }

  .blueprint-caption strong {
    font-size: 16px;
  }

  .blueprint-caption span {
    font-size: 10px;
  }

  .register-visual {
    min-height: 310px;
  }

  .register-visual h2 {
    margin-bottom: 20px;
    font-size: 27px;
  }

  .scope-list > div {
    padding: 10px 0;
  }

  .scope-list small {
    display: none;
  }

  .form-grid,
  .form-grid-project {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-strip > div {
    min-height: 80px;
    padding: 14px 12px;
  }

  .stat-strip strong {
    font-size: 24px;
  }

  .quick-submit {
    align-items: stretch;
    flex-direction: column;
    padding: 25px 22px;
  }

  .quick-copy {
    gap: 12px;
  }

  .project-table-head {
    display: none;
  }

  .project-row {
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding: 15px 5px;
  }

  .project-row > span:not(.project-name, .row-arrow) {
    display: flex;
    grid-column: 1;
    align-items: center;
    gap: 8px;
    padding-left: 52px;
  }

  .project-row > span:not(.project-name, .row-arrow)::before {
    content: attr(data-label);
    width: 48px;
    color: var(--muted);
    font-size: 10px;
  }

  .project-row > span:nth-child(3),
  .project-row > span:nth-child(5) {
    display: none;
  }

  .row-arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .content-section {
    padding: 22px 18px;
  }

  .step-strip {
    overflow-x: auto;
  }

  .step-strip i {
    width: 25px;
  }

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

  .dropzone .button {
    width: 100%;
  }

  .submit-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-actions {
    width: 100%;
  }

  .submit-actions .button {
    flex: 1;
  }

  .delete-dialog form {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .delete-dialog-actions,
  .delete-dialog-feedback {
    grid-column: 1;
  }

  .delete-dialog-actions {
    flex-direction: column-reverse;
  }

  .delete-dialog-actions .button {
    width: 100%;
  }

  .project-overview-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-overview-band > div:nth-child(2) {
    border-right: 0;
  }

  .project-overview-band > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .analysis-state {
    flex-direction: column;
  }

  [data-analysis-form] {
    width: 100%;
  }

  .analysis-progress-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .analysis-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .analysis-categories {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    grid-template-columns: 1fr;
  }

  .report-pending,
  .report-summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }

  .report-summary > div:first-child {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .report-evaluation-grid {
    grid-template-columns: 1fr;
  }

  .report-evaluation-grid article:last-child {
    grid-column: auto;
  }

  .finding-explanation > div,
  .recommendation-meta > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .report-module-wide {
    grid-column: auto;
  }
}

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

  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
.upload-status {
  margin: 10px 0 0;
  color: #52606d;
  font-size: 13px;
}

.upload-status.is-error {
  color: #b42318;
}

/* Public acquisition and guest evaluation flow */
.public-page {
  background: var(--paper);
}

.public-shell {
  min-height: 100svh;
  background: var(--paper);
}

.public-nav {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: min-height 220ms ease, background-color 220ms ease,
    border-color 220ms ease, box-shadow 220ms ease;
}

.public-nav.is-scrolled {
  position: fixed;
  min-height: 64px;
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(14, 18, 24, 0.08);
  backdrop-filter: blur(14px);
}

.public-nav.is-scrolled .public-brand,
.public-nav.is-scrolled nav > a:not(.button) {
  color: var(--ink);
}

.public-nav.is-scrolled .public-brand small {
  color: var(--muted);
}

.nav-reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.nav-reading-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--green);
  will-change: transform;
}

.public-nav-solid {
  position: relative;
  border-bottom-color: var(--line);
  background: var(--surface);
}

.public-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.public-nav nav > a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.public-nav nav > a:not(.button) svg,
.public-footer a svg {
  width: 14px;
  height: 14px;
}

.public-nav-solid nav > a:not(.button),
.public-nav-solid nav > span {
  color: var(--ink-soft);
}

.public-brand {
  color: var(--surface);
}

.public-brand-dark {
  color: var(--ink);
}

.public-brand-dark small {
  color: var(--muted);
}

.button-quiet {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
}

.public-nav-solid .button-quiet {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.button-large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

.landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 78svh, 700px);
  overflow: hidden;
  padding: 100px clamp(22px, 7vw, 112px) 48px;
  color: var(--surface);
  background-color: var(--green-dark);
  background-image: url("../images/buildwise-hero-california-adu.9e5fa023c9d1.webp");
  background-position: center;
  background-size: cover;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 20, 46, 0.86) 0%, rgba(4, 28, 65, 0.68) 52%, rgba(4, 28, 65, 0.24) 100%);
}

.landing-hero-inner > * {
  animation: hero-content-enter 680ms both cubic-bezier(0.2, 0.72, 0.22, 1);
}

.landing-hero-inner > :nth-child(2) {
  animation-delay: 70ms;
}

.landing-hero-inner > :nth-child(3) {
  animation-delay: 140ms;
}

.landing-hero-inner > :nth-child(4) {
  animation-delay: 210ms;
}

.landing-hero-inner > :nth-child(5) {
  animation-delay: 280ms;
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.landing-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.18;
}

.hero-support {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link-light {
  color: rgba(255, 255, 255, 0.82);
}

.landing-proof-strip {
  color: #fff;
  background: #071f45;
}

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

.hero-proof > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 88px;
  justify-content: center;
  padding: 15px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-proof > span:first-child {
  padding-left: 22px;
}

.hero-proof > span:last-child {
  border-right: 0;
}

.hero-proof strong {
  font-size: 15px;
}

.proof-number {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}

.hero-proof small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.hero-sheet-tag {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 70px);
  bottom: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.72);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.landing-band {
  padding: 90px 0;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms cubic-bezier(0.2, 0.72, 0.22, 1),
    transform 620ms cubic-bezier(0.2, 0.72, 0.22, 1);
  transition-delay: calc(var(--reveal-order, 0) * 55ms);
}

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

.sample-visual img,
.decisions-visual img,
.evidence-visual img,
.handoff-visual img {
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.sample-visual.is-visible img,
.decisions-visual.is-visible img,
.evidence-visual.is-visible img,
.handoff-visual.is-visible img {
  transform: scale(1.012);
}

.landing-container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.landing-section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.landing-section-heading h2,
.evidence-copy h2,
.landing-final-cta h2 {
  margin: 8px 0 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}

.landing-section-heading > p:last-child,
.evidence-copy > p,
.landing-final-cta small {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.outcome-grid article {
  position: relative;
  min-height: 270px;
  padding: 28px 24px 30px;
  border-right: 1px solid var(--line);
}

.outcome-grid article:last-child {
  border-right: 0;
}

.outcome-grid article > svg {
  width: 28px;
  height: 28px;
  color: var(--coral);
}

.outcome-grid article > span {
  position: absolute;
  top: 28px;
  right: 22px;
  color: var(--line-strong);
  font-family: Consolas, monospace;
  font-size: 13px;
}

.outcome-grid h3 {
  margin: 54px 0 12px;
  font-size: 21px;
}

.outcome-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.landing-evidence {
  background: var(--secondary);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.evidence-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--blue-pale);
  box-shadow: var(--shadow);
}

.evidence-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.evidence-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-left: 3px solid var(--coral);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 750;
}

.marker-one {
  top: 18%;
  left: 38%;
}

.marker-two {
  right: 13%;
  top: 48%;
}

.marker-three {
  bottom: 12%;
  left: 18%;
}

.evidence-copy dl {
  margin: 34px 0 0;
  border-top: 1px solid var(--line-strong);
}

.evidence-copy dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}

.evidence-copy dt {
  font-weight: 800;
}

.evidence-copy dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.landing-process {
  color: var(--surface);
  background: var(--sidebar);
}

.process-heading > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  min-height: 210px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li > span {
  color: #73b5c7;
  font-family: Consolas, monospace;
  font-size: 13px;
}

.process-list h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.landing-final-cta {
  padding: 96px 0 86px;
  text-align: center;
  background: var(--secondary);
}

.landing-final-cta .landing-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.landing-final-cta .button {
  margin-top: 16px;
}

.landing-final-cta small {
  max-width: 760px;
  margin-top: 24px;
  font-size: 12px;
}

.public-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 clamp(22px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.62);
  background: var(--sidebar);
  font-size: 12px;
}

.public-footer span:first-child {
  color: var(--surface);
  font-weight: 800;
}

.public-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.trial-main,
.guest-analysis-main,
.guest-result-main {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.trial-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.trial-heading h1,
.guest-analysis-heading h1,
.guest-result-copy h1 {
  margin: 6px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.trial-heading > div:first-child > p:last-child,
.guest-analysis-heading > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.trial-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background: var(--green-pale);
}

.trial-promise svg {
  flex: 0 0 auto;
  color: var(--green);
}

.trial-promise span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trial-promise small {
  color: var(--muted);
}

.trial-steps {
  margin-bottom: 24px;
}

.trial-form {
  display: grid;
  gap: 18px;
}

.trial-submit-bar {
  display: grid;
  gap: 20px;
  margin-top: 0;
  padding: 28px 30px;
}

.trial-submit-summary {
  width: 100%;
}

.trial-submit-summary > svg {
  width: 22px;
  height: 22px;
}

.trial-submit-summary strong {
  font-family: var(--font-heading);
  font-size: 18px;
}

.trial-submit-summary p span {
  margin-top: 3px;
  font-size: 13px;
}

.trial-security-check {
  width: min(100%, 340px);
  min-height: 65px;
}

.trial-security-check .cf-turnstile {
  width: 100%;
}

.guest-project-label {
  max-width: 260px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-analysis-main {
  max-width: 980px;
}

.guest-analysis-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.guest-analysis-workspace {
  padding: 34px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guest-analysis-status {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.guest-analysis-status h2 {
  margin: 10px 0 6px;
  font-size: 25px;
}

.guest-analysis-status p {
  margin: 0;
  color: var(--muted);
}

.guest-analysis-actions {
  margin-top: 20px;
}

.guest-analysis-scope {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guest-analysis-scope span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.guest-analysis-scope span:last-child {
  border-right: 0;
}

.guest-analysis-scope svg {
  width: 17px;
  height: 17px;
  color: var(--coral);
}

.guest-analysis-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.guest-analysis-note svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.guest-result-main {
  max-width: 1040px;
}

.guest-result-summary {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  min-height: 290px;
  color: var(--surface);
  background: var(--green-dark);
}

.guest-score {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.guest-score span,
.guest-score small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.guest-score strong {
  margin: 8px 0 0;
  font-size: 76px;
  line-height: 1;
}

.guest-result-copy {
  padding: 34px 42px;
}

.guest-result-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.guest-report-gate {
  position: relative;
  min-height: 520px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.guest-report-preview {
  min-height: 520px;
  padding: 46px 34px;
  opacity: 0.52;
  filter: blur(4px);
  background: #eef1f5;
}

.preview-heading,
.preview-score-row,
.preview-lines,
.preview-findings {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.preview-heading span,
.preview-lines span,
.preview-findings i,
.preview-score-row i {
  display: block;
  background: #8a96a5;
}

.preview-heading span:first-child {
  width: 45%;
  height: 24px;
}

.preview-heading span:last-child {
  width: 20%;
  height: 24px;
  margin-left: auto;
}

.preview-score-row i {
  width: 20%;
  height: 74px;
}

.preview-lines {
  flex-direction: column;
}

.preview-lines span {
  width: 100%;
  height: 15px;
}

.preview-lines span:nth-child(2) {
  width: 86%;
}

.preview-lines span:nth-child(3) {
  width: 64%;
}

.preview-findings {
  flex-direction: column;
}

.preview-findings i {
  height: 84px;
  border-left: 5px solid var(--coral);
}

.guest-report-locked {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 42px;
  text-align: center;
  background: rgba(245, 246, 243, 0.78);
}

.guest-report-locked > svg {
  width: 34px;
  height: 34px;
  color: var(--green-dark);
}

.guest-report-locked h2 {
  margin: 18px 0 10px;
  font-size: 32px;
  line-height: 1.2;
}

.guest-report-locked p {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.report-claim-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 42px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(9, 28, 21, 0.3);
}

.report-claim-dialog::backdrop {
  background: rgba(9, 25, 20, 0.76);
}

.report-claim-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--muted);
}

.report-ready-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 50%;
}

.report-ready-icon svg {
  width: 26px;
  height: 26px;
}

.report-claim-dialog h2 {
  max-width: 450px;
  margin: 7px 0 14px;
  font-size: 34px;
  line-height: 1.18;
}

.report-claim-dialog > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.report-claim-dialog ul {
  display: grid;
  gap: 0;
  margin: 26px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.report-claim-dialog li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.report-claim-dialog li:last-child {
  border-bottom: 0;
}

.report-claim-dialog li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--green);
}

.report-claim-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.report-claim-dialog > small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .public-nav {
    min-height: 68px;
  }

  .public-nav nav > a:not(.button),
  .public-nav nav .button-quiet {
    display: none;
  }

  .landing-hero {
    min-height: 82svh;
    padding-top: 100px;
  }

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

  .outcome-grid article:nth-child(2) {
    border-right: 0;
  }

  .outcome-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .evidence-layout {
    grid-template-columns: 1fr;
  }

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

  .process-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .trial-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .trial-promise {
    width: 100%;
  }

  .guest-analysis-scope {
    grid-template-columns: repeat(2, 1fr);
  }

  .guest-analysis-scope span {
    border-bottom: 1px solid var(--line);
  }

  .guest-analysis-scope span:nth-child(2n) {
    border-right: 0;
  }

  .guest-analysis-scope span:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

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

  .guest-score {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .guest-report-preview {
    min-height: 330px;
  }
}

@media (max-width: 620px) {
  .public-nav {
    padding: 0 18px;
  }

  .public-nav nav {
    gap: 8px;
  }

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

  .landing-hero {
    min-height: 76svh;
    padding: 82px 20px 28px;
    background-position: 54% center;
  }

  .landing-hero h1 {
    margin-top: 6px;
    font-size: 44px;
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 23px;
  }

  .hero-support {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 20px;
  }

  .hero-proof > span {
    padding: 9px 6px;
  }

  .hero-proof small {
    display: none;
  }

  .hero-sheet-tag {
    display: none;
  }

  .landing-band {
    padding: 52px 0;
  }

  .landing-container,
  .trial-main,
  .guest-analysis-main,
  .guest-result-main {
    width: min(100% - 32px, 1180px);
  }

  .landing-section-heading h2,
  .evidence-copy h2,
  .landing-final-cta h2 {
    font-size: 34px;
  }

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

  .outcome-grid article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .outcome-grid article:last-child {
    border-bottom: 0;
  }

  .evidence-copy dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .public-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 22px;
  }

  .public-footer a {
    margin-left: 0;
  }

  .trial-main,
  .guest-analysis-main,
  .guest-result-main {
    padding-top: 38px;
  }

  .trial-steps {
    display: none;
  }

  .guest-analysis-workspace,
  .guest-result-copy {
    padding: 24px 20px;
  }

  .guest-analysis-scope {
    grid-template-columns: 1fr;
  }

  .guest-analysis-scope span,
  .guest-analysis-scope span:nth-child(2n) {
    border-right: 0;
  }

  .guest-analysis-scope span:last-child {
    grid-column: auto;
  }

  .guest-analysis-note {
    align-items: flex-start;
  }

  .guest-result-copy h1 {
    font-size: 36px;
  }

  .report-claim-dialog {
    padding: 34px 22px 24px;
  }

  .report-claim-dialog h2 {
    padding-right: 24px;
    font-size: 29px;
  }

  .report-claim-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .report-claim-actions .button {
    width: 100%;
  }
}

/* Final public-page grid rules live here so legacy responsive rules cannot override them. */
.hero-proof {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.outcome-grid.outcome-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .hero-proof,
  .outcome-grid.outcome-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .hero-proof > span {
    min-height: 52px;
    padding: 10px 12px;
  }

  .hero-proof > span:nth-child(2n) {
    border-right: 0;
  }

  .hero-proof > span:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .outcome-grid.outcome-grid-five {
    display: flex;
    width: calc(100% - 16px);
    margin-right: 0;
    margin-left: 16px;
    padding-right: 28px;
    overflow-x: auto;
    border-right: 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .outcome-grid.outcome-grid-five::-webkit-scrollbar {
    display: none;
  }

  .outcome-grid.outcome-grid-five article {
    flex: 0 0 min(78vw, 292px);
    min-height: 246px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: start;
  }
}
