:root {
  --ink: #0f172a;
  --muted: #64748b;
  --surface: #fbfaf6;
  --panel: #ffffff;
  --line: #d9dfd7;
  --deep: #05060f;
  --blue: #0f766e;
  --teal: #059669;
  --gold: #f59e0b;
  --coral: #ef4444;
  --lavender: #e6eee9;
  --purple: #d98f24;
  --sky: #e1f4ee;
  --shadow: 0 24px 70px rgb(23 32 38 / 11%);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.72rem clamp(1rem, 4vw, 3.5rem);
  color: var(--deep);
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: max-content;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 0.9rem;
  object-fit: contain;
  box-shadow: 0 8px 24px rgb(16 28 80 / 10%);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.9rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 0.45rem 0;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border: 1px solid rgb(26 115 232 / 26%);
  background: var(--blue);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7.4rem clamp(1rem, 5vw, 5rem) 2.35rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgb(232 240 254 / 92%) 0 20rem, transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  right: clamp(-13rem, -8vw, -4rem);
  top: clamp(5.5rem, 12vw, 8rem);
  width: clamp(27rem, 50vw, 48rem);
  aspect-ratio: 1;
  background: url("assets/saas-burst.png") center / contain no-repeat;
  filter: drop-shadow(0 36px 44px rgb(37 59 178 / 22%));
  opacity: 0.72;
}

.hero-media::after {
  content: "";
  position: absolute;
  right: clamp(-8rem, -4vw, -2rem);
  bottom: clamp(1.5rem, 5vw, 4rem);
  width: clamp(23rem, 42vw, 41rem);
  aspect-ratio: 2.47;
  background: url("assets/saas-objects.png") center / contain no-repeat;
  opacity: 0.62;
  filter: drop-shadow(0 22px 32px rgb(37 59 178 / 16%));
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 82%) 43%, rgb(255 255 255 / 16%) 82%),
    linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(248 250 252 / 86%) 100%);
}

.hero-dashboard {
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  top: clamp(7.3rem, 13vw, 9rem);
  width: min(36rem, 45vw);
  padding: 0.65rem;
  border: 1px solid rgb(255 255 255 / 78%);
  background: rgb(255 255 255 / 88%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  backdrop-filter: blur(18px);
}

.dashboard-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem 0.35rem 0.65rem;
}

.dashboard-bar span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #111;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.55rem;
}

.dashboard-panel {
  min-height: 6.2rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.dashboard-panel.wide {
  grid-row: span 2;
  min-height: 12.95rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.dashboard-panel small,
.package,
.role-label,
.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-panel strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--deep);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.05;
}

.dashboard-panel p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 39rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.23rem);
  line-height: 1.62;
}

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

.hero-actions {
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.tab-button:focus-visible {
  outline: 3px solid rgb(49 87 214 / 36%);
  outline-offset: 3px;
}

.button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

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

.button-ghost {
  color: var(--deep);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(15, 51, 44, 0.12);
}

.section .button-secondary,
.launch .button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--deep);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 45rem;
  margin: 1.8rem 0 0;
}

.hero-proof div {
  min-height: 6.4rem;
  padding: 0.95rem;
  border: 1px solid rgb(228 231 241 / 92%);
  background: rgb(255 255 255 / 78%);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgb(16 28 80 / 8%);
  backdrop-filter: blur(14px);
}

.hero-proof dt {
  color: var(--deep);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 950;
}

.hero-proof dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip span {
  min-height: 4.6rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #fff;
  color: #8b91a3;
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(4.3rem, 8vw, 7rem) clamp(1rem, 5vw, 4.5rem);
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  max-width: 770px;
  margin: 0 auto 2.1rem;
  text-align: center;
}

.section h2 {
  margin: 0 auto;
  max-width: 13ch;
  color: var(--deep);
  font-size: clamp(1.85rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.section-intro {
  background: #fff;
}

.service-tabs {
  display: grid;
  gap: 1.1rem;
}

.tab-list {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: #f7f8ff;
  border-radius: var(--radius);
}

.tab-button {
  min-height: 2.8rem;
  border: 0;
  background: transparent;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.tab-button.is-active {
  background: var(--blue);
  color: #fff;
}

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

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

.service-card,
.role-card,
.price-card,
.launch-post,
.intake-panel,
.admin-card,
.admin-toolbar,
.request-card,
.empty-state,
.admin-hero {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(16 28 80 / 5%);
}

.service-card {
  position: relative;
  min-height: 15.5rem;
  overflow: hidden;
  padding: 1.4rem;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -2.7rem;
  top: -1.4rem;
  width: 9.2rem;
  aspect-ratio: 1;
  background: url("assets/saas-burst.png") center / contain no-repeat;
  opacity: 0.24;
}

.service-card:nth-child(2)::after {
  background-image: url("assets/saas-objects.png");
  width: 13rem;
  top: 0.2rem;
  right: -4.2rem;
  opacity: 0.22;
}

.service-card svg {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  margin-bottom: 2.1rem;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.role-card h3,
.timeline h3,
.price-card h3,
.launch-post h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  color: var(--deep);
  font-size: 1.18rem;
  line-height: 1.2;
}

.service-card p {
  position: relative;
  z-index: 1;
}

.role-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 1.3rem;
  align-items: start;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  color: var(--ink);
}

.role-band h2 {
  max-width: 10ch;
  margin-left: 0;
  text-align: left;
}

.role-band p {
  color: var(--muted);
}

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

.role-card {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.5rem;
}

.role-label,
.package {
  display: inline-flex;
  margin-bottom: 1.55rem;
}

.role-link {
  align-self: end;
  color: var(--blue);
  font-weight: 900;
}

.workflow {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
}

.timeline li {
  min-height: 18rem;
  padding: 1.4rem;
  background: #fff;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 4rem;
  color: var(--blue);
  font-weight: 950;
}

.pricing {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.price-card {
  padding: 1.5rem;
}

.price-card.featured {
  background: var(--deep);
  border-color: var(--deep);
  box-shadow: var(--shadow);
}

.price-card h3 {
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.price-card.featured h3,
.price-card.featured p,
.price-card.featured .package {
  color: #fff;
}

.price-card.featured p:not(.package) {
  color: rgb(255 255 255 / 72%);
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background:
    linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
}

.intake-copy {
  position: sticky;
  top: 7rem;
}

.intake-copy h2 {
  margin-left: 0;
  text-align: left;
}

.intake-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

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

.field-group {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  color: var(--deep);
  font-weight: 850;
}

.field-group label,
.field-group legend,
.field-group > span {
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

input,
select {
  min-height: 2.85rem;
  padding: 0 0.8rem;
}

textarea {
  min-height: 7rem;
  padding: 0.8rem;
  resize: vertical;
}

::placeholder {
  color: #9aa0af;
}

.checkbox-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  border: 0;
}

.checkbox-group legend {
  grid-column: 1 / -1;
  margin-bottom: 0.1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.8rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.checkbox-group input {
  width: 1rem;
  min-height: 1rem;
  accent-color: var(--blue);
}

.consent-group {
  gap: 0.65rem;
  padding: 0;
  border: 0;
}

.consent-group legend {
  margin-bottom: 0.1rem;
}

.consent-group label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.consent-group input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.18rem;
  accent-color: var(--blue);
}

.consent-group a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.single-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.single-check input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.18rem;
  accent-color: var(--blue);
}

.range-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--blue);
}

output {
  min-width: 4rem;
  color: var(--blue);
  font-weight: 950;
  text-align: right;
}

.estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgb(49 87 214 / 18%);
  background: #eef3ff;
  border-radius: var(--radius);
}

.estimate span {
  color: var(--muted);
  font-weight: 850;
}

.estimate strong {
  color: var(--deep);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.copy-status {
  min-height: 1.2rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.submission-status {
  display: none;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  line-height: 1.5;
}

.submission-status:not(:empty) {
  display: grid;
}

.submission-status strong {
  color: var(--deep);
}

.submission-status.is-success {
  border-color: rgb(11 152 125 / 32%);
  background: rgb(11 152 125 / 8%);
}

.submission-status.is-error,
.empty-state.is-error {
  border-color: rgb(228 95 95 / 42%);
  background: rgb(228 95 95 / 8%);
}

.status-link {
  width: fit-content;
  margin-top: 0.35rem;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.launch {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
}

.launch::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -1rem;
  width: min(42rem, 52vw);
  aspect-ratio: 2.47;
  background: url("assets/saas-objects.png") center / contain no-repeat;
  opacity: 0.22;
}

.launch-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.launch-post {
  padding: 1.5rem;
}

.launch-checklist {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
}

.launch-checklist li {
  display: flex;
  align-items: center;
  min-height: 4.3rem;
  padding: 1rem;
  background: #fff;
  color: var(--deep);
  font-weight: 850;
}

.launch-checklist li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  margin-right: 0.8rem;
  border-radius: 50%;
  background: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4.5rem);
  background: var(--deep);
  color: rgb(255 255 255 / 70%);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-footer a {
  color: rgb(255 255 255 / 78%);
  font-weight: 850;
}

.site-footer a:hover {
  color: #fff;
}

.policy-shell {
  min-height: 100vh;
  padding-top: 4.25rem;
  background:
    linear-gradient(135deg, #f6f8ff 0%, #eef3ff 44%, #fff5ff 100%);
}

.policy-hero {
  display: grid;
  gap: 0.85rem;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
}

.policy-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--deep);
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.policy-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.policy-content {
  display: grid;
  gap: 1.35rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem) clamp(4rem, 8vw, 6rem);
}

.policy-content h2 {
  margin: 1.2rem 0 0;
  color: var(--deep);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.trust-section,
.faq-section {
  background: #fff;
}

.assurance-grid,
.faq-grid,
.payment-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.assurance-card,
.faq-grid article,
.payment-flow article,
.tracking-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(16 28 80 / 5%);
}

.assurance-card,
.faq-grid article,
.payment-flow article {
  min-height: 15rem;
  padding: 1.35rem;
}

.assurance-card span,
.payment-flow strong {
  display: inline-grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: #eef3ff;
  color: var(--blue);
  font-weight: 950;
}

.assurance-card h3,
.faq-grid h3,
.payment-flow h3 {
  margin: 0 0 0.7rem;
  color: var(--deep);
}

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background: #eef3ff;
}

.coverage-copy h2,
.tracking-copy h2 {
  margin-left: 0;
  text-align: left;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.coverage-list span {
  min-height: 5rem;
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #fff;
  color: var(--deep);
  font-weight: 900;
}

.payments-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}

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

.form-note {
  margin: -0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.proof-upload-note {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.safety-note {
  border: 1px solid rgba(21, 62, 255, 0.22);
  background: #eef3ff;
  color: var(--deep);
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.safety-note strong {
  font-size: 0.92rem;
}

.safety-note ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #334155;
  font-size: 0.9rem;
}

.safety-note li + li {
  margin-top: 0.35rem;
}

.tracking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background:
    linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
}

.tracking-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.tracking-result {
  display: none;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  line-height: 1.55;
}

.tracking-result:not(:empty) {
  display: grid;
}

.tracking-result strong,
.tracking-result span {
  color: var(--deep);
}

.tracking-result p {
  margin: 0.4rem 0 0;
}

.tracking-checklist,
.request-checklist {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.78rem;
  border: 1px solid rgb(49 87 214 / 18%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 78%);
}

.tracking-checklist strong,
.request-checklist strong {
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tracking-checklist ul,
.request-checklist ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding-left: 1.05rem;
}

.tracking-checklist li,
.request-checklist li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.tracking-result.is-success {
  border-color: rgb(11 152 125 / 32%);
  background: rgb(11 152 125 / 8%);
}

.tracking-result.is-error {
  border-color: rgb(228 95 95 / 42%);
  background: rgb(228 95 95 / 8%);
}

.service-review {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgb(49 87 214 / 22%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
}

.service-review strong {
  color: var(--deep);
}

.service-review p,
.service-review small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-review .field-row {
  grid-template-columns: minmax(8rem, 0.34fr) minmax(220px, 1fr);
}

.service-review textarea {
  min-height: 4.2rem;
}

.portal-body {
  background: var(--surface);
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgb(217 226 255 / 88%) 0 18rem, transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #f0f4ff 62%, #fbf2ff 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
}

.auth-panel {
  display: grid;
  gap: 1.25rem;
  width: min(100%, 38rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 82%),
    0 28px 70px rgb(40 56 110 / 16%);
  backdrop-filter: blur(24px) saturate(1.2);
}

.auth-copy h1 {
  margin: 0;
  color: #080b16;
  font-size: clamp(2.15rem, 7vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-copy p {
  color: #404759;
  line-height: 1.65;
}

.auth-status-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgb(49 87 214 / 18%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 82%);
}

.auth-status-card strong {
  color: #080b16;
}

.auth-status-card span {
  color: var(--muted);
  line-height: 1.45;
}

.auth-status-card.is-success {
  border-color: rgb(11 152 125 / 30%);
  background: rgb(11 152 125 / 8%);
}

.auth-status-card.is-warning {
  border-color: rgb(251 188 4 / 42%);
  background: rgb(251 188 4 / 10%);
}

.auth-status-card.is-error {
  border-color: rgb(228 95 95 / 42%);
  background: rgb(228 95 95 / 8%);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portal-shell {
  padding-top: 4.25rem;
}

.account-status-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.account-status-bar div {
  display: grid;
  gap: 0.2rem;
}

.account-status-bar strong {
  color: var(--deep);
}

.account-status-bar small {
  color: var(--muted);
  font-weight: 800;
}

.account-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(320px, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.account-profile-card[hidden] {
  display: none;
}

.account-profile-card h2 {
  margin: 0.15rem 0 0;
  color: var(--deep);
  font-size: 1.3rem;
  line-height: 1.15;
}

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

.account-profile-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.account-profile-stack {
  display: grid;
  gap: 1rem;
}

.portal-guide-panel {
  background:
    linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
}

.portal-guide-output {
  min-height: 8rem;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding: clamp(6rem, 11vw, 9rem) clamp(1rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(135deg, #ffffff 0%, #eef4ff 64%, #f8fafc 100%);
}

.portal-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.portal-hero p {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.portal-choice {
  display: grid;
  gap: 0.8rem;
  min-height: 14rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.portal-choice span {
  color: var(--blue);
  font-weight: 950;
}

.portal-choice strong {
  color: var(--deep);
  font-size: 1.2rem;
}

.portal-choice small {
  color: var(--muted);
  line-height: 1.55;
}

.portal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background: #fff;
}

.account-entry-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.account-entry-form {
  margin-top: 0;
}

.account-entry-form .copy-status {
  grid-column: 1 / -1;
}

#partner.portal-section {
  background:
    linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.portal-login-form,
.account-panel {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 82%);
}

.portal-login-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

#client-login-form.account-entry-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-auth-toggle {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  gap: 0.2rem;
  padding: 0.24rem;
  border: 1px solid rgba(15, 51, 44, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.account-auth-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.account-auth-toggle label:has(input:checked) {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 10px 22px rgba(15, 51, 44, 0.18);
}

.account-auth-toggle input {
  accent-color: var(--deep);
}

#client-login-form .button,
#client-login-form .copy-status {
  grid-column: 1 / -1;
}

.identity-request-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgb(15 51 44 / 12%);
}

.account-panel:empty {
  display: none;
}

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

.account-panel span,
.account-panel small {
  color: var(--muted);
}

.account-list {
  display: grid;
  gap: 0.75rem;
}

.account-list article {
  display: grid;
  gap: 0.32rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.account-onboarding {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgb(49 87 214 / 16%);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 88%) 0%, rgb(238 244 255 / 72%) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 82%),
    0 18px 42px rgb(35 51 99 / 8%);
}

.onboarding-copy {
  display: grid;
  gap: 0.28rem;
}

.onboarding-copy h3 {
  margin: 0;
  color: var(--deep);
  font-size: 1rem;
  line-height: 1.2;
}

.onboarding-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.onboarding-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-step {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-height: 3.2rem;
  padding: 0.72rem;
  border: 1px solid rgb(11 24 55 / 8%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 78%);
}

.step-marker {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 950;
  background: #7b8497;
  box-shadow: inset 0 -0.2rem 0 rgb(0 0 0 / 12%);
}

.onboarding-step.is-done .step-marker {
  background: #0b987d;
}

.onboarding-step.is-current .step-marker {
  background: #0f766e;
}

.onboarding-step.is-blocked .step-marker {
  background: #c6512f;
}

.onboarding-step.is-pending .step-marker {
  background: #8d95a7;
}

.onboarding-step.is-done .step-marker::before {
  content: "OK";
}

.onboarding-step.is-current .step-marker::before {
  content: "GO";
}

.onboarding-step.is-blocked .step-marker::before {
  content: "ID";
}

.onboarding-step.is-pending .step-marker::before {
  content: "--";
}

.onboarding-step strong {
  display: block;
  color: var(--deep);
  line-height: 1.25;
}

.onboarding-step p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-body {
  background: var(--surface);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.72rem clamp(1rem, 4vw, 3.5rem);
  color: var(--deep);
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.admin-nav a {
  color: var(--muted);
  font-weight: 850;
}

.admin-shell {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 1.2rem;
  align-items: end;
  padding: clamp(1.3rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
}

.admin-hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.admin-hero p,
.admin-card p,
.partner-admin-panel p,
.empty-state p {
  color: var(--muted);
  line-height: 1.65;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.65rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.admin-metrics div {
  display: grid;
  gap: 0.35rem;
  min-height: 6.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-metrics span {
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 950;
}

.admin-metrics small,
.mode-badge {
  color: var(--muted);
  font-weight: 900;
}

.founder-command {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgb(16 28 80 / 5%);
}

.founder-command-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.founder-command-header h2 {
  margin: 0.1rem 0 0;
  color: var(--deep);
  font-size: 1.3rem;
  line-height: 1.15;
}

.founder-command-grid,
.command-filter-row {
  display: grid;
  gap: 0.7rem;
}

.founder-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.founder-command-grid article {
  display: grid;
  gap: 0.35rem;
  min-height: 7rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.founder-command-grid span,
.command-filter span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.founder-command-grid strong {
  color: var(--deep);
  font-size: 1.35rem;
  line-height: 1.1;
}

.founder-command-grid small,
.command-filter small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.command-filter-row {
  grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr));
}

.command-filter {
  display: grid;
  gap: 0.25rem;
  min-height: 5.9rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--deep);
  text-align: left;
  cursor: pointer;
}

.command-filter strong {
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
}

.command-filter.is-active {
  border-color: rgb(49 87 214 / 45%);
  background: #eef3ff;
  box-shadow: inset 0 0 0 1px rgb(49 87 214 / 18%);
}

.assistant-panel,
.ops-ai-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgb(49 87 214 / 18%);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
}

.assistant-panel h3,
.ops-ai-panel h2 {
  margin: 0.1rem 0 0;
  color: var(--deep);
  line-height: 1.15;
}

.assistant-panel textarea {
  min-height: 8rem;
  resize: vertical;
}

.ops-ai-list {
  display: grid;
  gap: 0.75rem;
}

.ops-ai-item {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 84%);
}

.readiness-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgb(11 152 125 / 18%);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff 0%, #f0fbf8 100%);
}

.readiness-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.55rem;
  align-items: center;
}

.readiness-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.6rem;
}

.readiness-summary article {
  display: grid;
  gap: 0.2rem;
  min-height: 4.8rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 82%);
}

.readiness-summary strong {
  color: var(--deep);
  font-size: 1.55rem;
  line-height: 1;
}

.readiness-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.readiness-category {
  display: grid;
  gap: 0.65rem;
}

.readiness-category-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.readiness-category-header strong {
  color: var(--deep);
}

.readiness-category-header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.readiness-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.65rem;
}

.readiness-next {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgb(49 87 214 / 14%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
}

.readiness-next-list {
  display: grid;
  gap: 0.55rem;
}

.readiness-next-item {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-left: 0.35rem solid #8d95a7;
  border-radius: var(--radius);
  background: rgb(248 251 255 / 92%);
}

.readiness-next-item > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 0.72rem;
  font-weight: 950;
}

.readiness-next-item strong {
  color: var(--deep);
}

.readiness-next-item p,
.readiness-next-item small {
  margin: 0.2rem 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.readiness-item {
  display: grid;
  gap: 0.45rem;
  min-height: 9.4rem;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-left: 0.35rem solid #8d95a7;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 86%);
}

.readiness-item header {
  display: grid;
  gap: 0.25rem;
}

.readiness-item header span {
  width: fit-content;
  padding: 0.2rem 0.48rem;
  border-radius: 999px;
  color: #fff;
  background: #8d95a7;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.readiness-item strong {
  color: var(--deep);
  line-height: 1.2;
}

.readiness-item p,
.readiness-item small,
.protected-actions li {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.readiness-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.readiness-link,
.readiness-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid rgb(49 87 214 / 18%);
  border-radius: var(--radius);
  background: #fff;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.readiness-copy {
  cursor: pointer;
}

.readiness-link:hover,
.readiness-copy:hover {
  border-color: rgb(49 87 214 / 35%);
  background: #eef3ff;
}

.readiness-ready {
  border-left-color: #0b987d;
}

.readiness-ready header span {
  background: #0b987d;
}

.readiness-warning {
  border-left-color: #b7791f;
}

.readiness-warning header span {
  background: #b7791f;
}

.readiness-missing,
.readiness-blocked {
  border-left-color: #c6512f;
}

.readiness-missing header span,
.readiness-blocked header span {
  background: #c6512f;
}

.readiness-manual,
.readiness-pending {
  border-left-color: #0f766e;
}

.readiness-manual header span,
.readiness-pending header span {
  background: #0f766e;
}

.protected-actions {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid rgb(49 87 214 / 18%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 78%);
}

.protected-actions strong {
  color: var(--deep);
}

.protected-actions ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1rem;
}

.ops-ai-item header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.ops-ai-item p,
.ops-ai-item small {
  margin: 0;
}

.ops-ai-output {
  min-height: 7rem;
  resize: vertical;
}

.admin-card,
.empty-state {
  padding: 1.4rem;
}

.partner-admin-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgb(16 28 80 / 5%);
}

.partner-board {
  padding: 0;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: end;
}

.auth-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: end;
}

.auth-form .field-group {
  flex: 1 1 260px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(150px, 0.22fr) minmax(150px, 0.22fr) minmax(240px, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1rem;
}

.mode-badge {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  border: 1px solid rgb(49 87 214 / 22%);
  border-radius: var(--radius);
  background: #eef3ff;
  color: var(--blue);
  white-space: nowrap;
}

.request-board {
  display: grid;
  gap: 1rem;
}

.request-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.request-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.header-stack {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.request-card-header h2 {
  margin: 0.25rem 0;
  color: var(--deep);
}

.request-card-header p,
.request-notes {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.request-code {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-pill {
  min-width: max-content;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  background: rgb(97 103 122 / 12%);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.provenance-seal {
  --seal-color: #d65a31;
  --seal-bg: rgb(214 90 49 / 12%);
  display: grid;
  gap: 0.18rem;
  min-width: 8.5rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--seal-color) 28%, transparent);
  border-radius: var(--radius);
  background: var(--seal-bg);
  color: var(--deep);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%);
}

.provenance-seal span,
.provenance-seal small {
  color: color-mix(in srgb, var(--seal-color) 78%, #101c50);
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.provenance-seal strong {
  color: var(--seal-color);
  font-size: 1.35rem;
  line-height: 1;
}

.provenance-seal.is-subtle {
  min-width: 7.25rem;
  padding: 0.48rem 0.55rem;
  opacity: 0.78;
}

.provenance-seal.is-subtle strong {
  font-size: 1rem;
}

.provenance-bar {
  overflow: hidden;
  height: 0.28rem;
  border-radius: 999px;
  background: rgb(16 28 80 / 12%);
}

.provenance-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--seal-color);
}

.provenance-green {
  --seal-color: #09835d;
  --seal-bg: rgb(9 131 93 / 12%);
}

.provenance-mint {
  --seal-color: #0b987d;
  --seal-bg: rgb(11 152 125 / 12%);
}

.provenance-blue {
  --seal-color: #0f766e;
  --seal-bg: rgb(49 87 214 / 12%);
}

.provenance-amber {
  --seal-color: #b98013;
  --seal-bg: rgb(185 128 19 / 15%);
}

.provenance-orange {
  --seal-color: #d65a31;
  --seal-bg: rgb(214 90 49 / 13%);
}

.provenance-red {
  --seal-color: #c73748;
  --seal-bg: rgb(199 55 72 / 12%);
}

.provenance-panel {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--seal-color) 26%, transparent);
  border-radius: var(--radius);
  background: var(--seal-bg);
}

.provenance-panel strong,
.provenance-panel p,
.provenance-panel span {
  margin: 0;
}

.provenance-panel strong {
  color: var(--seal-color);
}

.provenance-panel span {
  color: var(--muted);
}

.status-new {
  background: rgb(194 138 25 / 18%);
  color: #855e13;
}

.status-paid,
.status-completed,
.status-vetted,
.status-funded,
.status-released,
.status-deposit_confirmed,
.status-verified {
  background: rgb(11 152 125 / 14%);
  color: var(--teal);
}

.status-in_progress,
.status-quoted,
.status-reviewing,
.status-progress,
.status-authorized,
.status-held_by_provider,
.status-ready_to_release,
.status-partially_released,
.status-payment_link_sent,
.status-link_sent,
.status-submitted,
.status-manual_review {
  background: rgb(49 87 214 / 14%);
  color: var(--blue);
}

.status-waiting_client,
.status-cancelled,
.status-on_hold,
.status-rejected,
.status-blocked,
.status-needs_admin,
.status-safety_issue,
.status-refund_pending,
.status-refunded,
.status-disputed,
.status-not_started,
.status-failed,
.status-expired {
  background: rgb(228 95 95 / 13%);
  color: var(--coral);
}

.verification-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.verification-panel p,
.verification-panel span {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.verification-panel p {
  flex: 1 1 22rem;
}

.verification-panel a {
  color: var(--blue);
  font-weight: 900;
}

.request-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.request-details div {
  min-height: 4.4rem;
  padding: 0.75rem;
  background: #fff;
}

.request-details dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-details dd {
  margin: 0.25rem 0 0;
  color: var(--deep);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.request-update-form {
  display: grid;
  gap: 0.9rem;
  padding-top: 0.2rem;
}

.request-links {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-links a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--blue);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.field-update-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.field-update-form textarea {
  min-height: 5rem;
}

.field-update-list,
.milestone-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgb(49 87 214 / 18%);
  border-radius: var(--radius);
  background: #f7faff;
}

.field-update-list-header,
.field-update-item header,
.milestone-item header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.field-update-list-header strong {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}

.field-update-item,
.milestone-item {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.field-update-item strong,
.milestone-item strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--deep);
}

.field-update-item p,
.milestone-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.field-update-item small,
.milestone-item small {
  color: var(--muted);
  font-weight: 850;
}

.milestone-client-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.milestone-client-list article {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 74%);
}

.milestone-client-list strong {
  color: var(--deep);
}

.milestone-client-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

code {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

@media (max-width: 1080px) {
  .hero-dashboard {
    opacity: 0.42;
    right: 1rem;
  }

  .hero-media::before {
    right: -18rem;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-media::before {
    right: -18rem;
    top: 8rem;
    opacity: 0.7;
  }

  .hero-media::after,
  .hero-dashboard {
    display: none;
  }

  .hero-proof,
  .trust-strip,
  .service-panel.is-active,
  .assurance-grid,
  .coverage,
  .coverage-list,
  .role-band,
  .timeline,
  .pricing-grid,
  .payment-flow,
  .app-section,
  .launch-grid,
  .tracking-section,
  .portal-hero,
  .portal-choice-grid,
  .portal-section,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-hero,
  .auth-card,
  .admin-toolbar,
  .request-details {
    grid-template-columns: 1fr;
  }

  .request-card-header,
  .header-stack {
    display: grid;
    justify-items: start;
  }

  .provenance-seal {
    width: min(100%, 12rem);
  }

  .timeline span {
    margin-bottom: 1.6rem;
  }

  .timeline li,
  .service-card,
  .role-card {
    min-height: auto;
  }

  .intake-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .admin-header {
    align-items: start;
  }

  .admin-nav {
    flex-wrap: wrap;
    justify-content: end;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .admin-header .header-action {
    display: inline-flex;
  }

  .hero {
    min-height: 72vh;
    padding: 5.55rem 1rem 1.05rem;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.85rem);
    line-height: 0.96;
  }

  .hero-copy {
    margin-top: 0.8rem;
    font-size: 0.98rem;
    line-height: 1.56;
  }

  .hero-actions {
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(255 255 255 / 82%) 70%, rgb(255 255 255 / 100%) 100%);
  }

  .hero-media::before {
    width: 25rem;
    right: -15.5rem;
    top: 9rem;
    opacity: 0.42;
  }

  .hero-proof {
    margin-top: 1.4rem;
  }

  .field-row,
  .checkbox-group,
  .portal-login-form {
    grid-template-columns: 1fr;
  }

  #client-login-form.account-entry-form {
    grid-template-columns: 1fr;
  }

  .account-status-bar {
    display: grid;
    padding: 0.85rem 1rem;
  }

  .account-profile-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .button {
    min-height: 2.72rem;
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .request-card-header,
  .admin-header {
    display: grid;
  }

  .readiness-header-actions {
    justify-content: stretch;
  }

  .readiness-header-actions .button,
  .readiness-header-actions .mode-badge {
    width: 100%;
  }

  .readiness-next-item {
    grid-template-columns: 1fr;
  }

  .readiness-next-item > span {
    width: 2.2rem;
  }

  .mode-badge {
    white-space: normal;
  }
}

@media (max-height: 920px) {
  .hero-proof {
    display: none;
  }
}

/* Website v22: clean glass SaaS refresh and shared AI Desk */
.public-site {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 46%, #ffffff 100%);
}

.public-site .site-header {
  inset: 0.75rem clamp(0.75rem, 3vw, 2rem) auto;
  width: auto;
  min-height: 4rem;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
  box-shadow: 0 18px 50px rgb(29 43 83 / 12%);
  backdrop-filter: blur(24px) saturate(1.2);
}

.public-site .hero {
  min-height: min(860px, 92vh);
  padding-top: clamp(7.5rem, 13vw, 10rem);
  background:
    radial-gradient(circle at 78% 24%, rgb(217 226 255 / 82%) 0 18rem, transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #f0f4ff 60%, #fbf2ff 100%);
}

.public-site .hero h1 {
  max-width: 12ch;
  color: #080b16;
  letter-spacing: 0;
}

.public-site .hero-copy {
  max-width: 42rem;
  color: #404759;
}

.public-site .hero-media::before {
  opacity: 0.82;
  filter: drop-shadow(0 34px 46px rgb(35 56 176 / 28%));
}

.public-site .hero-media::after {
  opacity: 0.58;
}

.public-site .hero-dashboard {
  width: min(38rem, 44vw);
  padding: 0;
  border: 1px solid rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 50%);
  box-shadow:
    0 34px 80px rgb(40 56 110 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 72%);
  transform: rotate(-3deg);
  backdrop-filter: blur(26px);
}

.product-window {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(255 255 255 / 78%);
}

.product-window .dashboard-bar {
  align-items: center;
  padding: 0.72rem 0.82rem;
  background: linear-gradient(180deg, #171a23 0%, #06070b 100%);
  color: #fff;
}

.product-window .dashboard-bar span {
  background: rgb(255 255 255 / 78%);
}

.product-window .dashboard-bar strong {
  margin-left: auto;
  font-size: 0.74rem;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  min-height: 21rem;
}

.product-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.7rem;
  padding: 1rem 0;
  background: #10131d;
}

.sidebar-dot {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 28%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
}

.sidebar-dot.is-active {
  width: 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #172026 0%, #0f766e 100%);
}

.product-main {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 88%) 0%, rgb(238 244 255 / 94%) 100%);
}

.product-title,
.mission-list,
.proof-grid {
  border: 1px solid rgb(36 58 120 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 10px 28px rgb(40 56 110 / 8%);
}

.product-title {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.product-title small,
.mission-list span,
.proof-grid span {
  color: #596276;
  font-size: 0.82rem;
}

.product-title strong {
  color: #080b16;
  font-size: 1.35rem;
  line-height: 1.05;
}

.mission-list {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.mission-list span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mission-list span::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #b8c3db;
}

.mission-list .is-done::before {
  background: #0b987d;
}

.mission-list .is-active::before {
  background: #0f766e;
  box-shadow: 0 0 0 0.28rem rgb(49 87 214 / 12%);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.8rem;
  align-content: center;
  padding: 1rem;
}

.proof-grid strong {
  color: #080b16;
}

.ai-desk-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border: 1px solid rgb(8 11 22 / 10%);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(237 242 255 / 84%) 100%);
  color: #080b16;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 9px 18px rgb(20 29 62 / 12%);
  cursor: pointer;
}

.button,
.header-action,
.ai-desk-trigger {
  transform: translateY(0);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.header-action:hover,
.ai-desk-trigger:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 68%),
    0 14px 28px rgb(20 29 62 / 16%);
}

.button:active,
.header-action:active,
.ai-desk-trigger:active {
  transform: translateY(1px);
}

.public-site .button-primary,
.public-site .header-action,
.admin-body .button-primary,
.portal-body .button-primary {
  border-color: rgb(0 0 0 / 72%);
  background: linear-gradient(180deg, #171a23 0%, #05070c 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 18%),
    0 12px 0 #000,
    0 22px 42px rgb(9 12 22 / 22%);
}

.public-site .button-secondary,
.portal-body .button-secondary,
.admin-body .button-secondary {
  border-color: rgb(8 11 22 / 10%);
  background: rgb(255 255 255 / 78%);
  color: #111827;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 10px 24px rgb(20 29 62 / 10%);
  backdrop-filter: blur(16px);
}

.public-site .service-card,
.public-site .role-card,
.public-site .assurance-card,
.public-site .price-card,
.public-site .payment-flow article,
.public-site .intake-panel,
.public-site .tracking-panel,
.portal-body .portal-choice,
.portal-body .portal-login-form,
.portal-body .account-panel,
.portal-body .account-profile-form,
.portal-body .tracking-panel,
.portal-body .intake-panel {
  border-color: rgb(36 58 120 / 10%);
  background: rgb(255 255 255 / 78%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 86%),
    0 18px 42px rgb(40 56 110 / 10%);
  backdrop-filter: blur(20px);
}

.ai-desk {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.ai-desk[hidden] {
  display: none;
}

.ai-desk.is-open {
  pointer-events: auto;
}

.ai-desk-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(8 11 22 / 20%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ai-desk.is-open .ai-desk-backdrop {
  opacity: 1;
}

.ai-desk-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(100%, 34rem);
  height: 100%;
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.4rem);
  border-left: 1px solid rgb(255 255 255 / 72%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(241 245 255 / 90%) 100%);
  box-shadow: -28px 0 70px rgb(20 29 62 / 18%);
  backdrop-filter: blur(26px) saturate(1.2);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.ai-desk.is-open .ai-desk-panel {
  transform: translateX(0);
}

.ai-desk-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.ai-desk-header h2 {
  margin: 0;
  color: #080b16;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  line-height: 1.03;
}

.ai-desk-close {
  border: 1px solid rgb(8 11 22 / 10%);
  border-radius: var(--radius);
  background: #fff;
  color: #111827;
  font-weight: 900;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  cursor: pointer;
}

.ai-desk-status {
  padding: 0.8rem;
  border: 1px solid rgb(49 87 214 / 16%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
  color: #384153;
  font-size: 0.9rem;
  font-weight: 850;
}

.ai-desk-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.ai-desk-context article {
  display: grid;
  gap: 0.35rem;
  min-height: 7.6rem;
  padding: 0.9rem;
  border: 1px solid rgb(36 58 120 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
}

.ai-desk-context strong {
  color: #080b16;
}

.ai-desk-context span {
  color: #596276;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ai-desk-output {
  min-height: 15rem;
}

.ai-desk-actions {
  align-items: center;
}

body.ai-desk-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .public-site .site-header {
    inset: 0 0 auto;
    border-radius: 0;
  }

  .ai-desk-trigger {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .ai-desk-trigger {
    min-height: 2.55rem;
    padding: 0 0.78rem;
  }

  .ai-desk-panel {
    width: 100%;
  }

  .ai-desk-context {
    grid-template-columns: 1fr;
  }

  .public-site .button-primary,
  .admin-body .button-primary,
  .portal-body .button-primary {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 18%),
      0 7px 0 #000,
      0 16px 30px rgb(9 12 22 / 18%);
  }
}

/* Website v27: Stitch-aligned glass SaaS direction */
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -8rem, rgb(224 231 255 / 86%) 0 24rem, transparent 38rem),
    linear-gradient(180deg, #ffffff 0%, var(--surface) 46%, #ffffff 100%);
}

.public-site,
.portal-body,
.auth-body {
  background:
    radial-gradient(circle at 82% 4rem, rgb(224 231 255 / 86%) 0 18rem, transparent 34rem),
    radial-gradient(circle at 8% 28rem, rgb(240 249 255 / 90%) 0 18rem, transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 48%, #ffffff 100%);
}

.public-site .site-header,
.portal-body .site-header {
  inset: 0.8rem clamp(0.75rem, 3vw, 2rem) auto;
  width: auto;
  min-height: 4rem;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 92%),
    0 22px 60px rgb(47 51 130 / 14%);
  backdrop-filter: blur(24px) saturate(1.2);
}

.brand strong {
  color: var(--deep);
  font-weight: 950;
}

.brand-mark {
  border-radius: var(--radius);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 14px 30px rgb(47 51 130 / 12%);
}

.nav-links {
  align-items: center;
  color: #5d6476;
  font-weight: 850;
}

.nav-links a {
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover {
  color: var(--deep);
  background: rgb(99 102 241 / 8%);
}

.ai-desk-trigger {
  border-color: rgb(99 102 241 / 18%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 94%) 0%, rgb(238 242 255 / 88%) 100%);
  color: var(--deep);
}

.public-site .hero {
  isolation: isolate;
  min-height: min(890px, 92vh);
  padding-top: clamp(7.8rem, 12vw, 10rem);
  padding-bottom: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 78% 24%, rgb(224 231 255 / 90%) 0 17rem, transparent 36rem),
    linear-gradient(135deg, #ffffff 0%, #f5f7ff 58%, #fdf4ff 100%);
}

.public-site .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 6.5rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, #ffffff 100%);
  pointer-events: none;
}

.public-site .hero-media::before {
  z-index: 0;
  right: clamp(-10rem, -4vw, -2rem);
  top: clamp(6.6rem, 10vw, 8.2rem);
  width: clamp(31rem, 50vw, 51rem);
  opacity: 0.92;
  filter: drop-shadow(0 40px 54px rgb(47 51 130 / 28%));
}

.public-site .hero-media::after {
  z-index: 0;
  right: clamp(-7rem, -3vw, -1rem);
  bottom: clamp(0.7rem, 3vw, 2.4rem);
  width: clamp(26rem, 42vw, 42rem);
  opacity: 0.7;
}

.public-site .hero-overlay {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 86%) 44%, rgb(255 255 255 / 14%) 82%),
    linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 72%) 100%);
}

.public-site .hero-content {
  width: min(760px, 100%);
}

.public-site .hero h1 {
  max-width: 10ch;
  color: var(--deep);
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.92;
}

.public-site .hero-copy {
  max-width: 34.5rem;
  color: #424a5f;
}

.public-site .hero-dashboard {
  z-index: 1;
  right: clamp(0.9rem, 5vw, 5.8rem);
  top: clamp(7.5rem, 12vw, 9.4rem);
  width: min(40rem, 46vw);
  border-color: rgb(255 255 255 / 78%);
  background: rgb(255 255 255 / 48%);
  border-radius: calc(var(--radius) + 2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    0 42px 90px rgb(47 51 130 / 20%);
  transform: rotate(-3deg) translateY(0);
  backdrop-filter: blur(28px) saturate(1.18);
}

.product-window {
  border-color: rgb(255 255 255 / 82%);
  border-radius: calc(var(--radius) + 2px);
  background: rgb(255 255 255 / 76%);
}

.product-window .dashboard-bar {
  min-height: 2.75rem;
  padding: 0.72rem 0.85rem;
  background: linear-gradient(180deg, #151827 0%, #05060f 100%);
}

.product-window .dashboard-bar span {
  width: 0.5rem;
  height: 0.5rem;
  background: rgb(255 255 255 / 76%);
}

.product-grid {
  grid-template-columns: minmax(7.4rem, 0.34fr) minmax(0, 1fr);
  min-height: 23rem;
}

.product-sidebar {
  justify-items: stretch;
  gap: 0.55rem;
  padding: 0.95rem;
  background: linear-gradient(180deg, #101426 0%, #05060f 100%);
}

.product-sidebar strong {
  margin-bottom: 0.25rem;
  color: rgb(255 255 255 / 86%);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sidebar-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  padding: 0 0.7rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--radius);
  color: rgb(255 255 255 / 66%);
  font-size: 0.76rem;
  font-weight: 900;
}

.sidebar-pill.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  box-shadow: 0 14px 28px rgb(99 102 241 / 26%);
}

.product-main {
  gap: 0.85rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 92% 4%, rgb(192 193 255 / 44%) 0 7rem, transparent 12rem),
    linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(240 244 255 / 94%) 100%);
}

.product-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem;
}

.product-title span {
  display: grid;
  gap: 0.18rem;
}

.status-chip {
  align-self: start;
  padding: 0.34rem 0.5rem;
  border-radius: 999px;
  background: rgb(99 102 241 / 10%);
  color: var(--blue);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.mission-list {
  gap: 0.48rem;
}

.mission-list span {
  justify-content: space-between;
  min-height: 1.9rem;
  padding: 0.1rem 0;
  color: #424a5f;
}

.mission-list b {
  color: #7a8194;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mission-list .is-done b {
  color: var(--teal);
}

.mission-list .is-active b {
  color: var(--blue);
}

.product-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-mini-card {
  display: grid;
  gap: 0.28rem;
  min-height: 5.4rem;
  padding: 0.85rem;
  border: 1px solid rgb(36 58 120 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 80%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 86%),
    0 12px 28px rgb(47 51 130 / 9%);
}

.product-mini-card small {
  color: var(--muted);
  font-weight: 850;
}

.product-mini-card strong {
  color: var(--deep);
  line-height: 1.15;
}

.proof-grid {
  min-height: 5.4rem;
}

.public-site .button-primary,
.public-site .header-action,
.portal-body .header-action,
.portal-body .button-primary {
  background: linear-gradient(180deg, #171827 0%, #05060f 100%);
  border-color: rgb(5 6 15 / 82%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 18%),
    0 10px 0 #000,
    0 24px 44px rgb(5 6 15 / 22%);
}

.public-site .button-secondary,
.portal-body .button-secondary,
.ai-desk-trigger {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(238 242 255 / 84%) 100%);
}

.public-site .hero-proof div {
  border-color: rgb(255 255 255 / 84%);
  background: rgb(255 255 255 / 72%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 86%),
    0 18px 42px rgb(47 51 130 / 11%);
}

.public-site .hero-proof dt {
  color: var(--deep);
}

.trust-strip {
  border-color: rgb(228 231 243 / 76%);
  background: rgb(228 231 243 / 76%);
}

.trust-strip span {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 86%) 0%, rgb(248 250 255 / 80%) 100%);
  color: #7a8194;
}

.section-intro,
.workflow {
  background: #fff;
}

.role-band {
  position: relative;
  grid-template-columns: 1fr;
  gap: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgb(192 193 255 / 42%) 0 13rem, transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f1f5ff 100%);
}

.role-band::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -2.5rem;
  width: min(26rem, 34vw);
  aspect-ratio: 2.47;
  background: url("assets/saas-objects.png") center / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

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

.role-band > div:first-child {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.role-band h2 {
  max-width: 13ch;
  margin: 0 auto;
  text-align: center;
}

.role-grid {
  align-items: start;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.role-card {
  align-content: start;
  min-height: 21rem;
}

.role-mini-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4b5568;
  font-size: 0.9rem;
  line-height: 1.45;
}

.role-mini-list li {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
}

.role-mini-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
}

.coverage,
.payments-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}

.payment-flow article strong {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  box-shadow: 0 12px 26px rgb(99 102 241 / 24%);
}

.site-footer {
  background: #03040a;
  color: rgb(255 255 255 / 74%);
}

.site-footer a:hover {
  color: #fff;
}

.portal-shell {
  padding-top: 5.35rem;
}

.account-status-bar {
  border-bottom: 1px solid rgb(228 231 243 / 76%);
  background: rgb(255 255 255 / 72%);
  backdrop-filter: blur(18px);
}

.portal-hero {
  position: relative;
  overflow: hidden;
  align-items: center;
  padding-top: clamp(4.2rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 82% 16%, rgb(192 193 255 / 46%) 0 14rem, transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, #f3f6ff 62%, #fbf4ff 100%);
}

.portal-hero::after {
  content: "";
  position: absolute;
  right: clamp(-10rem, -4vw, -2rem);
  top: clamp(3rem, 6vw, 5rem);
  width: clamp(21rem, 36vw, 34rem);
  aspect-ratio: 1;
  background: url("assets/saas-burst.png") center / contain no-repeat;
  opacity: 0.32;
  pointer-events: none;
}

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

.portal-hero h1 {
  max-width: 11ch;
  color: var(--deep);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
}

.portal-visual-stack {
  display: grid;
  gap: 1rem;
}

.portal-preview-card {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: calc(var(--radius) + 2px);
  background: rgb(255 255 255 / 72%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 30px 70px rgb(47 51 130 / 16%);
  backdrop-filter: blur(24px) saturate(1.18);
}

.portal-preview-topbar {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2.75rem;
  padding: 0.72rem 0.85rem;
  background: linear-gradient(180deg, #171827 0%, #05060f 100%);
}

.portal-preview-topbar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 76%);
}

.portal-preview-topbar strong {
  margin-left: auto;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.portal-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  padding: 0.9rem;
}

.portal-preview-grid div {
  display: grid;
  gap: 0.32rem;
  min-height: 6rem;
  padding: 0.9rem;
  border: 1px solid rgb(36 58 120 / 10%);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(248 250 255 / 86%) 100%);
}

.portal-preview-grid small {
  color: var(--muted);
  font-weight: 850;
}

.portal-preview-grid strong {
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1.15;
}

.portal-choice-grid {
  gap: 0.8rem;
}

.portal-choice {
  min-height: 11.8rem;
  border-color: rgb(255 255 255 / 80%);
}

.portal-choice span {
  color: var(--blue);
}

.account-entry-section {
  background:
    radial-gradient(circle at 8% 0%, rgb(240 249 255 / 92%) 0 16rem, transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
}

.account-mini-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.account-mini-flow li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.7rem;
  border: 1px solid rgb(36 58 120 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 74%);
  box-shadow: 0 12px 28px rgb(47 51 130 / 8%);
}

.account-mini-flow strong {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 0.78rem;
}

.account-mini-flow span {
  color: #424a5f;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
}

.account-auth-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 25rem);
  border-color: rgb(36 58 120 / 10%);
  border-radius: var(--radius);
  background: rgb(238 242 255 / 72%);
}

.account-auth-toggle label {
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
}

.account-auth-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-auth-toggle label:has(input:checked) {
  background: linear-gradient(180deg, #171827 0%, #05060f 100%);
  box-shadow: 0 12px 24px rgb(5 6 15 / 16%);
}

#client-login-form.account-entry-form,
.portal-login-form,
.portal-body .tracking-panel,
.portal-body .intake-panel,
.portal-body .account-panel {
  border-color: rgb(255 255 255 / 80%);
  background: rgb(255 255 255 / 76%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    0 22px 50px rgb(47 51 130 / 12%);
}

/* Website v29: final-UX support pages */
.final-ux-support {
  --support-primary: #172026;
  --support-ink: #172026;
  --support-muted: #647067;
  --support-line: rgb(217 223 215 / 54%);
  min-height: 100vh;
  color: var(--support-ink);
  background:
    linear-gradient(145deg, rgb(225 244 238 / 70%) 0%, transparent 34%),
    linear-gradient(215deg, rgb(255 230 189 / 46%) 0%, transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf6 52%, #ffffff 100%);
}

.policy-body .site-header {
  inset: 0.8rem clamp(0.75rem, 3vw, 2rem) auto;
  width: auto;
  min-height: 4rem;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 72%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 92%),
    0 22px 60px rgb(47 51 130 / 14%);
  backdrop-filter: blur(24px) saturate(1.2);
}

.policy-body .header-action,
.final-ux-support .button-primary {
  border-color: transparent;
  border-radius: 999px;
  background: var(--support-primary);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 20%),
    0 16px 32px rgb(16 26 58 / 18%);
}

.policy-body .nav-links a {
  border-radius: 999px;
  padding-inline: 0.75rem;
}

.policy-shell {
  padding: clamp(7.5rem, 11vw, 9rem) clamp(1rem, 5vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}

.policy-hero,
.policy-content,
.auth-panel {
  border: 1px solid rgb(255 255 255 / 78%);
  background: rgb(255 255 255 / 72%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 28px 70px rgb(47 51 130 / 13%);
  backdrop-filter: blur(24px) saturate(1.15);
}

.policy-hero {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin-inline: auto;
  border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.policy-hero::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: clamp(8rem, 18vw, 14rem);
  aspect-ratio: 1;
  background: url("assets/saas-burst.png") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.policy-hero h1 {
  max-width: 12ch;
  color: var(--support-primary);
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.policy-hero p,
.policy-content p,
.auth-copy p,
.auth-status-card span {
  color: var(--support-muted);
}

.policy-content {
  max-width: 920px;
  border-radius: 2rem;
  padding: clamp(1.35rem, 4vw, 2.5rem);
}

.policy-content h2 {
  color: var(--support-primary);
  letter-spacing: 0;
}

.auth-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.auth-shell {
  display: grid;
  width: min(100%, 520px);
  min-height: auto;
  padding: 0;
}

.auth-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 2rem;
  padding: clamp(1.35rem, 5vw, 2.5rem);
}

.auth-panel::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: clamp(7.5rem, 30vw, 12rem);
  aspect-ratio: 1;
  background: url("assets/saas-objects.png") center / contain no-repeat;
  opacity: 0.11;
  pointer-events: none;
}

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

.auth-copy h1 {
  max-width: 11ch;
  color: var(--support-primary);
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-status-card {
  border-color: var(--support-line);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 66%);
}

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

.auth-actions .button {
  min-width: 0;
  border-radius: 999px;
  white-space: nowrap;
}

.auth-actions .button-secondary {
  border-color: var(--support-line);
  background: rgb(255 255 255 / 70%);
  color: var(--support-primary);
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 760px) {
  .policy-body .site-header {
    inset: 0;
    border-radius: 0;
    padding-inline: 1rem;
  }

  .policy-body .nav-links {
    display: none;
  }

  .policy-shell {
    padding-top: 6.4rem;
  }

  .policy-hero,
  .policy-content,
  .auth-panel {
    border-radius: 1.35rem;
  }

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

@media (max-width: 1080px) {
  .public-site .hero-dashboard {
    opacity: 0.68;
  }
}

@media (max-width: 980px) {
  .public-site .site-header,
  .portal-body .site-header {
    inset: 0 0 auto;
    border-radius: 0;
  }

  .public-site .hero {
    min-height: 82vh;
  }

  .public-site .hero-dashboard {
    display: none;
  }

  .portal-visual-stack,
  .portal-choice-grid,
  .account-mini-flow {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .public-site .hero {
    min-height: 78vh;
    padding-top: 5.7rem;
  }

  .public-site .hero h1,
  .portal-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 12vw, 3.45rem);
    line-height: 0.94;
  }

  .public-site .hero-copy,
  .portal-hero p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .public-site .hero-media::before {
    width: 24rem;
    right: -14rem;
    top: 9rem;
    opacity: 0.46;
  }

  .public-site .hero-media::after {
    display: none;
  }

  .portal-shell {
    padding-top: 4.25rem;
  }

  .portal-hero {
    padding-top: 3.2rem;
  }

  .portal-preview-grid {
    grid-template-columns: 1fr;
  }

  .role-band::after,
  .portal-hero::after {
    opacity: 0.18;
  }
}
