/* Audience-specific TofuPass pitch pages */

.for-page {
  color: var(--text-primary);
}

.for-wrap {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.for-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 7.25rem 1rem 4.75rem;
  border-bottom: 2px solid var(--border-subtle);
}

.for-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(107, 191, 89, 0.12), rgba(255, 209, 102, 0.08) 46%, rgba(91, 159, 214, 0.09)),
    var(--bg);
}

html.dark .for-hero::before {
  background:
    linear-gradient(135deg, rgba(107, 191, 89, 0.1), rgba(255, 209, 102, 0.045) 46%, rgba(91, 159, 214, 0.08)),
    var(--bg);
}

.for-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.35rem;
  z-index: -1;
  background: linear-gradient(90deg, #6BBF59, #FFD166 34%, #5B9FD6 68%, #FF7A7A);
}

.for-hero-grid,
.for-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.65fr);
  gap: 4rem;
  align-items: end;
}

.for-detail-hero-grid {
  align-items: start;
}

.for-mascot {
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0.7rem 1.4rem rgba(107, 191, 89, 0.22));
}

.for-kicker {
  margin: 0 0 0.7rem;
  color: #6BBF59;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.for-kicker-blue {
  color: #5B9FD6;
}

.for-kicker-yellow {
  color: #E6A800;
}

.for-intro h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--text-primary);
  font-size: 3.75rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.for-lede {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: var(--text-secondary);
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.65;
}

.for-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.for-primary,
.for-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.for-primary {
  background: #6BBF59;
  color: white;
}

.for-secondary {
  border: 2px solid var(--border-green);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.for-primary:hover,
.for-secondary:hover {
  transform: translateY(-1px);
}

.for-secondary:hover {
  border-color: rgba(107, 191, 89, 0.45);
  background: rgba(107, 191, 89, 0.08);
}

.for-primary:focus-visible,
.for-secondary:focus-visible,
.for-choice:focus-visible,
.for-mini-nav a:focus-visible {
  outline: 3px solid rgba(91, 159, 214, 0.45);
  outline-offset: 3px;
}

.for-proof {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 800;
}

.for-pitch-box,
.for-mini-nav {
  min-width: 0;
  padding: 1.35rem 0 0;
  border-top: 4px solid #5B9FD6;
  border-bottom: 2px solid var(--border-subtle);
}

.for-pitch-box h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.12;
}

.for-pitch-box p:not(.for-kicker) {
  margin: 1rem 0 1.35rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.65;
}

.for-mini-nav {
  display: grid;
  gap: 0;
  align-self: stretch;
}

.for-mini-nav .for-kicker {
  margin-bottom: 0.4rem;
}

.for-mini-nav a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 900;
  line-height: 1.3;
}

.for-mini-nav a::after {
  content: ">";
  color: #5B9FD6;
}

.for-mini-nav a:hover,
.for-mini-nav a[aria-current="page"] {
  color: #5B9FD6;
}

.for-chooser,
.for-detail,
.for-playbook,
.for-api-push {
  padding: 4.5rem 1rem;
  background:
    linear-gradient(90deg, rgba(107, 191, 89, 0.045), rgba(91, 159, 214, 0.04)),
    var(--bg);
}

html.dark .for-chooser,
html.dark .for-detail,
html.dark .for-playbook,
html.dark .for-api-push {
  background:
    linear-gradient(90deg, rgba(107, 191, 89, 0.05), rgba(91, 159, 214, 0.045)),
    var(--bg);
}

.for-playbook,
.for-api-push {
  border-top: 2px solid var(--border-subtle);
}

.for-section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.for-section-head-wide {
  max-width: 50rem;
}

.for-section-head h2,
.for-copy-block h2,
.for-api-push h2,
.for-strip h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 2.45rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.for-section-head p:not(.for-kicker) {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
}

.for-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  border-top: 2px solid var(--border-subtle);
}

.for-choice {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 2px solid var(--border-subtle);
  color: inherit;
}

.for-choice span {
  color: #E6A800;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.for-choice strong {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.for-choice:hover strong {
  color: #5B9FD6;
}

.for-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.for-copy-block p:not(.for-kicker) {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
}

.for-checks {
  display: grid;
  gap: 0.72rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.for-checks li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-tertiary);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.58;
}

.for-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.72rem;
  height: 0.28rem;
  background: #6BBF59;
}

.for-workflow {
  min-width: 0;
  padding-top: 1rem;
  border-top: 4px solid #FFD166;
}

.for-workflow-top {
  margin-bottom: 1rem;
  color: #E6A800;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.for-password-sample {
  margin-bottom: 1rem;
  padding: 0.85rem 0;
  border-block: 2px dashed rgba(107, 191, 89, 0.34);
  color: #6BBF59;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.for-workflow dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.for-workflow dl div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--border-subtle);
}

.for-workflow dt {
  color: #5B9FD6;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.for-workflow dd {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

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

.for-playbook-list {
  min-width: 0;
  padding-top: 1rem;
  border-top: 4px solid #5B9FD6;
}

.for-playbook-list:nth-child(2) {
  border-top-color: #6BBF59;
}

.for-playbook-list h3 {
  margin: 0 0 0.9rem;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.25;
}

.for-mode-list {
  display: grid;
  gap: 0;
}

.for-mode-list article {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.9rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
}

.for-mode-list article:first-child {
  border-top: 0;
}

.for-mode-list span {
  color: #E6A800;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.for-mode-list strong {
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.35;
}

.for-mode-list p {
  grid-column: 2;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.58;
}

.for-api-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1.18fr);
  gap: 3.5rem;
  align-items: start;
}

.for-api-push h2 {
  max-width: 13ch;
  line-height: 1.06;
}

.for-api-push p:not(.for-kicker) {
  max-width: 39rem;
  margin: 1rem 0 1.35rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.for-api-example {
  min-width: 0;
  padding-top: 1rem;
  border-top: 4px solid #5B9FD6;
}

.for-api-example span {
  display: block;
  margin-bottom: 0.7rem;
  color: #5B9FD6;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.for-api-example code {
  display: block;
  padding: 0.9rem 0;
  border-block: 2px dashed rgba(91, 159, 214, 0.32);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.for-api-example p {
  margin: 0.9rem 0 0;
  color: var(--text-tertiary);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.for-strip {
  padding: 4.5rem 1rem 5.5rem;
  background: var(--bg);
}

.for-strip-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2.5rem;
}

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

.for-role-list article {
  padding-top: 1rem;
  border-top: 4px solid #FFD166;
}

.for-role-list article:nth-child(2) {
  border-top-color: #6BBF59;
}

.for-role-list article:nth-child(3) {
  border-top-color: #5B9FD6;
}

.for-role-list span {
  display: block;
  margin-bottom: 0.65rem;
  color: #E6A800;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.for-role-list h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.for-role-list p {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .for-hero {
    padding-top: 6.5rem;
  }

  .for-hero-grid,
  .for-detail-hero-grid,
  .for-detail-grid,
  .for-playbook-grid,
  .for-api-grid,
  .for-strip-grid,
  .for-role-list {
    grid-template-columns: 1fr;
  }

  .for-intro h1 {
    max-width: 11ch;
    font-size: 2.9rem;
  }

  .for-section-head h2,
  .for-copy-block h2,
  .for-api-push h2,
  .for-strip h2 {
    font-size: 2.05rem;
  }
}

@media (max-width: 720px) {
  .for-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .for-hero {
    padding-bottom: 3.7rem;
  }

  .for-intro h1 {
    font-size: 2.35rem;
  }

  .for-actions {
    flex-direction: column;
  }

  .for-primary,
  .for-secondary {
    width: 100%;
  }

  .for-choice {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .for-workflow dl div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .for-mode-list article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .for-mode-list p {
    grid-column: auto;
  }
}
