/*
  Proposal page — aligned with existing-site: light bg, brand orange, gradient headings, rounded-full CTAs.
*/

/* ---------- Page shell ---------- */
.proposal-page {
  min-height: 100vh;
  background-color: var(--bg-primary);
}

/* ---------- Password gate (sign-in style box) ---------- */
.proposal-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--container-padding);
  background-color: var(--bg-primary);
}

.proposal-gate[hidden] {
  display: none;
}

.proposal-gate__box {
  width: 100%;
  max-width: 22rem;
  padding: var(--space-10);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.proposal-gate__logo {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-10);
  text-align: center;
}

.proposal-gate__logo a {
  color: inherit;
}

.proposal-gate__logo .studio {
  color: var(--gray-500);
}

.proposal-gate__label {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 var(--space-2);
}

.proposal-gate__brand {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 var(--space-10);
  line-height: var(--leading-tight);
}

.proposal-gate__form {
  width: 100%;
}

.proposal-gate__input {
  width: 100%;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-base);
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  box-sizing: border-box;
}

.proposal-gate__input:focus {
  outline: none;
  border-color: var(--cta-bg);
}

.proposal-gate__submit {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-base);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px var(--cta-glow);
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.proposal-gate__submit:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
}

.proposal-gate__error {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: #b91c1c;
  text-align: center;
}

.proposal-status {
  position: fixed;
  top: var(--space-4);
  right: var(--container-padding);
  z-index: 20;
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ---------- Sticky nav — narrow centered bubble like main site ---------- */
.proposal-nav {
  position: fixed;
  top: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
  max-width: calc(100vw - var(--space-8));
  padding: 0;
  background: rgba(245, 245, 245, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}

.proposal-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
}

.proposal-nav__logo {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.proposal-nav__logo a {
  color: inherit;
}

.proposal-nav__logo a:hover {
  color: var(--brand);
}

.proposal-nav__logo .studio {
  color: var(--gray-500);
}

.proposal-nav__progress {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.proposal-nav__progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  transition: background var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.proposal-nav__progress-dot.is-active {
  background: var(--cta-bg);
  transform: scale(1.25);
}

/* ---------- Section base ---------- */
.proposal-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.proposal-section[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.proposal-section[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.proposal-section__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Section headings — gradient text like main site */
.section-heading {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  line-height: var(--leading-tight);
  font-weight: 600;
  margin: 0 0 var(--space-8);
  letter-spacing: -0.03em;
  background: var(--heading-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading--small {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  margin-bottom: var(--space-6);
}

.section-body {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 42rem;
}

.section-body p {
  margin: 0 0 var(--space-5);
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Hero ---------- */
.proposal-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-24) var(--container-padding) var(--section-gap);
  isolation: isolate;
}

.proposal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.proposal-hero__bg-default {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 78, 15, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
}

.proposal-hero--has-bg-image .proposal-hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.proposal-hero--has-bg-image .proposal-hero__bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0.92) 0%, rgba(245, 245, 245, 0.97) 100%);
}

.proposal-hero__inner {
  position: relative;
  z-index: 0;
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
}

.proposal-hero__by {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.proposal-hero__title {
  font-size: clamp(var(--text-5xl), 10vw, var(--text-8xl));
  line-height: 0.95;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.03em;
  background: var(--heading-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proposal-hero__client {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
}

.proposal-hero__statement {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 36rem;
  margin-bottom: var(--space-10);
}

.proposal-hero__meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-10);
}

.proposal-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 10px 40px var(--cta-glow);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.proposal-hero__cta:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 48px var(--cta-glow);
}

/* Hero: Trusted by — marquee of logos/names */
.hero-trusted-by {
  margin-top: var(--space-12);
  width: 100%;
}

.hero-trusted-by__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
}

.hero-trusted-by__wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.hero-trusted-by__track {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  width: max-content;
  animation: hero-marquee 35s linear infinite;
}

.hero-trusted-by__track:hover {
  animation-play-state: paused;
}

@keyframes hero-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-trusted-by__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 5rem;
}

.hero-trusted-by__logo img {
  max-height: 5rem;
  width: auto;
  max-width: 18rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}

.hero-trusted-by__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Hero mobile: stronger entry */
@media (max-width: 47.99rem) {
  .proposal-hero {
    padding: var(--space-16) var(--container-padding) var(--space-12);
    min-height: 85vh;
  }

  .proposal-hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .proposal-hero__client {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .proposal-hero__statement {
    font-size: var(--text-lg);
  }

  .hero-trusted-by {
    margin-top: var(--space-10);
  }

  .hero-trusted-by__wrap {
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
  }
}

/* ---------- Divider ---------- */
.section-divider {
  height: 2px;
  margin: var(--space-8) auto;
  max-width: var(--container-max);
  padding-inline: var(--container-padding);
  background: linear-gradient(to right, rgba(255, 78, 15, 0.35) 0%, rgba(224, 69, 13, 0.25) 40%, transparent 100%);
  border: none;
}

/* When a section is missing we get two dividers in a row — collapse the second */
.section-divider + .section-divider {
  margin-top: 0;
  height: 0;
  padding: 0;
  background: none;
  overflow: hidden;
}

/* ---------- What we will create — scannable list (not cards) ---------- */
.deliverables-list {
  margin-top: var(--space-10);
  counter-reset: deliverable;
}

.deliverables-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
  counter-increment: deliverable;
}

.deliverables-item:last-child {
  border-bottom: none;
}

.deliverables-item__number-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background: rgba(255, 78, 15, 0.12);
  border-radius: 50%;
}

.deliverables-item__number {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--cta-bg);
  line-height: 1;
}

.deliverables-item__number::before {
  content: counter(deliverable, decimal);
}

.deliverables-item__content {
  min-width: 0;
}

.deliverables-item__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  line-height: var(--leading-snug);
}

.deliverables-item__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

@media (min-width: 48rem) {
  .deliverables-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 var(--space-10);
    margin-top: var(--space-10);
  }

  .deliverables-item {
    padding: var(--space-5) 0;
  }
}

/* ---------- Cards (kept for optional reuse elsewhere) ---------- */
.card-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (min-width: 48rem) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.card:hover {
  border-color: var(--gray-400);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
}

.card__description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ---------- Bullet list — accent with brand ---------- */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0 0;
  max-width: 44rem;
}

.bullet-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.8;
}

/* ---------- Process — flow diagram ---------- */
.process-flow {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
  position: relative;
}

.process-flow__track-segment {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.process-flow__node {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  background: var(--cta-bg);
  border: 2px solid var(--cta-bg);
  border-radius: 50%;
  box-sizing: border-box;
}

.process-flow__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.process-flow__connector {
  width: var(--space-6);
  min-width: var(--space-6);
  height: 2px;
  background: var(--border);
  margin-left: -1px;
}

.process-flow__content {
  padding-bottom: var(--space-8);
  min-width: 0;
}

.process-flow__step:last-child .process-flow__content {
  padding-bottom: 0;
}

.process-flow__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.process-flow__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Desktop: horizontal flow with track line through nodes */
@media (min-width: 64rem) {
  .process-flow {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-top: var(--space-12);
    gap: 0;
  }

  .process-flow__step {
    flex: 1;
    min-width: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-4);
    justify-items: center;
    text-align: center;
  }

  .process-flow__track-segment {
    width: 100%;
    justify-content: center;
  }

  .process-flow__connector {
    flex: 1;
    width: auto;
    min-width: 0;
    margin-left: 0;
    margin-right: -1.125rem;
  }

  .process-flow__content {
    padding: 0 var(--space-2) 0;
    padding-bottom: 0;
  }

  .process-flow__title {
    font-size: var(--text-base);
  }

  .process-flow__desc {
    font-size: var(--text-sm);
  }
}

/* Vertical line on mobile (left of nodes) */
@media (max-width: 63.99rem) {
  .process-flow__step {
    padding-left: 0;
  }

  .process-flow__track-segment {
    min-width: calc(2.75rem + var(--space-6));
  }

  .process-flow__step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.375rem;
    top: 2.75rem;
    bottom: calc(-1 * var(--space-8));
    width: 2px;
    background: var(--border);
    z-index: -1;
  }

  .process-flow__step:last-child::before {
    display: none;
  }
}

/* ---------- Optional growth options ---------- */
.growth-options {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

@media (min-width: 48rem) {
  .growth-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.growth-option {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--duration-fast);
}

.growth-option:hover {
  border-color: var(--gray-400);
}

.growth-option__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
}

.growth-option__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.growth-option__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.growth-option__bullets li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.growth-option__bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* ---------- Investment table ---------- */
.investment-list {
  margin-top: var(--space-10);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.investment-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.investment-item:last-child {
  border-bottom: none;
}

.investment-item__name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.investment-item__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: var(--leading-relaxed);
}

.investment-item__price {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.investment-note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
}

/* Subscription alternative — one-off vs subscription choice + plan cards */
.investment-subscription {
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: var(--gray-100);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.investment-subscription__text {
  /* Wrapper for heading + body; on mobile this is the only box, plans sit below full-width */
}

.investment-subscription__heading {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-4);
}

.investment-subscription__body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.investment-subscription__text .investment-subscription__body {
  margin-bottom: 0;
}

.investment-subscription__body p {
  margin: 0 0 var(--space-3);
}

.investment-subscription__body p:last-child {
  margin-bottom: 0;
}

.investment-subscription__plans {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

/* Mobile: text in one box, plans break out for more width */
@media (max-width: 47.99rem) {
  .investment-subscription {
    padding: 0;
    background: transparent;
    border: none;
    margin-top: var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .investment-subscription__text {
    padding: var(--space-8);
    background: var(--gray-100);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
  }

  .investment-subscription__plans {
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    width: calc(100% + 2 * var(--container-padding));
    padding: 0 var(--space-4);
    gap: var(--space-6);
    margin-bottom: 0;
  }

  .investment-subscription__plans .subscription-plan {
    min-width: 0;
  }
}

@media (min-width: 48rem) {
  .investment-subscription__plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

.subscription-plan {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.subscription-plan:hover {
  border-color: var(--gray-400);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.subscription-plan--highlight {
  border-color: var(--cta-bg);
  box-shadow: 0 0 0 1px var(--cta-bg);
}

.subscription-plan__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cta-text);
  background: var(--cta-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.subscription-plan__name {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.subscription-plan__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-6);
  line-height: var(--leading-relaxed);
}

.subscription-plan__price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.subscription-plan__period {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
}

.subscription-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}

.subscription-plan__features li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.subscription-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta-bg);
}

.subscription-plan__cta {
  display: block;
  text-align: center;
  padding: var(--space-3) var(--space-6);
  background: var(--gray-900);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.subscription-plan__cta:hover {
  background: var(--foreground);
  transform: translateY(-1px);
}

.investment-subscription__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px var(--cta-glow);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.investment-subscription__cta:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 48px var(--cta-glow);
}

/* ---------- Next steps ---------- */
.next-steps-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0 var(--space-10);
  max-width: 36rem;
}

.next-steps-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.next-steps-list li::before {
  content: counter(step, decimal);
  counter-increment: step;
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--brand);
}

.next-steps {
  counter-reset: step;
}

.next-steps__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 10px 40px var(--cta-glow);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.next-steps__cta:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 48px var(--cta-glow);
}

/* ---------- Closing ---------- */
.closing-section {
  padding-bottom: var(--space-24);
}

.closing-section .section-body {
  max-width: 40rem;
}

.closing-section__signoff {
  margin-top: var(--space-12);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-secondary);
}

/* Primary CTA: match hero/nav so "Accept proposal" is the clear next step */
.closing-section__accept {
  display: inline-block;
  margin-top: var(--space-12);
  padding: var(--space-4) var(--space-8);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 40px var(--cta-glow);
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
}

.closing-section__accept:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 12px 48px var(--cta-glow);
}

/* ---------- Accept proposal modal ---------- */
.accept-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-padding);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease-out), visibility 0.2s var(--ease-out);
}

.accept-modal--open {
  opacity: 1;
  visibility: visible;
}

.accept-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.accept-modal__box {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-10);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.accept-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 2rem;
  height: 2rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.accept-modal__close:hover {
  color: var(--text-primary);
  background: var(--gray-100);
}

.accept-modal__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-8);
  padding-right: var(--space-10);
}

.accept-modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.accept-modal__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.accept-modal__legend {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.accept-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accept-modal__checkbox {
  margin-bottom: var(--space-2);
}

.accept-modal__checkbox input {
  margin-right: var(--space-3);
  vertical-align: middle;
}

.accept-modal__checkbox label {
  font-size: var(--text-base);
  color: var(--text-secondary);
  cursor: pointer;
  vertical-align: middle;
}

.accept-modal__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.accept-modal__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.accept-modal__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  box-sizing: border-box;
}

.accept-modal__input:focus {
  outline: none;
  border-color: var(--cta-bg);
}

.accept-modal__submit {
  padding: var(--space-4) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-base);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px var(--cta-glow);
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.accept-modal__submit:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
}

.accept-modal__small-print {
  margin: var(--space-6) 0 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

/* Accept modal — success state after submission */
.accept-modal__success-body {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-8);
}

.accept-modal__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.accept-modal__success-cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 10px 40px var(--cta-glow);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.accept-modal__success-cta:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
  color: var(--cta-text);
}

.accept-modal__success-cta--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
  box-shadow: none;
}

.accept-modal__success-cta--secondary:hover {
  border-color: var(--gray-400);
  color: var(--text-primary);
}

.accept-modal__success-close {
  margin-left: auto;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.accept-modal__success-close:hover {
  color: var(--text-primary);
  background: var(--gray-100);
}

/* ---------- Loading state ---------- */
.proposal-loading {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin: 0;
  padding: var(--space-12) 0;
}

/* ---------- Sticky accept bar ---------- */
.sticky-accept-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  padding: var(--space-4) var(--container-padding);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
  pointer-events: none;
}

.sticky-accept-bar--visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-accept-bar__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.sticky-accept-bar__label {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
}

.sticky-accept-bar__btn {
  padding: var(--space-3) var(--space-6);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: var(--text-sm);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 10px 40px var(--cta-glow);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.sticky-accept-bar__btn:hover {
  background: var(--cta-hover-bg);
  transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 47.99rem) {
  .proposal-nav {
    top: var(--space-4);
  }

  .proposal-nav__inner {
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
  }

  .proposal-nav__logo {
    font-size: var(--text-base);
  }

  /* Keep progress visible on mobile: smaller dots so all 11 fit in the bubble */
  .proposal-nav__progress {
    gap: 3px;
  }

  .proposal-nav__progress-dot {
    width: 4px;
    height: 4px;
  }

  .proposal-nav__progress-dot.is-active {
    transform: scale(1.4);
  }

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

  .investment-item__price {
    text-align: left;
  }
}
