.pitch-page {
  --pitch-ink: #0e2330;
  --pitch-slate: #425466;
  --pitch-muted: #6c7c86;
  --pitch-green: #5a7d6a;
  --pitch-green-dark: #3f6252;
  --pitch-sage: #dce9e2;
  --pitch-sand: #f4f1e9;
  --pitch-paper: #ffffff;
  --pitch-line: #d9e4df;
  --pitch-shadow: 0 20px 60px rgba(14, 35, 48, .12);
  background: #f8faf9;
  color: var(--pitch-slate);
  min-height: 100vh;
}

.pitch-page,
.pitch-page * {
  box-sizing: border-box;
}

.pitch-page [hidden] {
  display: none !important;
}

.pitch-page a {
  color: var(--pitch-green-dark);
}

.pitch-intro {
  background:
    radial-gradient(circle at 88% 18%, rgba(122, 165, 142, .28), transparent 30%),
    linear-gradient(135deg, #0e2330 0%, #173b49 68%, #24515a 100%);
  color: #fff;
  overflow: hidden;
}

.pitch-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 20px 62px;
}

.pitch-eyebrow,
.pitch-kicker {
  color: #bcd9ca;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.pitch-intro h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  letter-spacing: -.045em;
  line-height: .98;
  margin: 0;
  max-width: 18ch;
}

.pitch-intro-copy {
  color: #d9e9e1;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  margin: 20px 0 0;
  max-width: 68ch;
}

.pitch-intro-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 25px;
}

.pitch-intro-chip {
  align-items: center;
  color: #e9f3ee;
  display: inline-flex;
  font-size: .88rem;
  gap: 8px;
}

.pitch-intro-chip::before {
  background: #9ac5a9;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
}

.pitch-tool-shell {
  margin: -30px auto 0;
  max-width: 1240px;
  padding: 0 20px;
  position: relative;
}

.pitch-tool-frame {
  background: var(--pitch-paper);
  border: 1px solid rgba(14, 35, 48, .1);
  border-radius: 24px;
  box-shadow: var(--pitch-shadow);
  overflow: hidden;
}

.pitch-tool-heading {
  border-bottom: 1px solid var(--pitch-line);
  padding: 26px 30px 22px;
}

.pitch-tool-heading h2 {
  color: var(--pitch-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0;
}

.pitch-tool-heading p {
  color: var(--pitch-muted);
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 70ch;
}

.pitch-tool-grid {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
}

.pitch-input-panel,
.pitch-results-panel {
  min-width: 0;
  padding: 30px;
}

.pitch-input-panel {
  border-right: 1px solid var(--pitch-line);
}

.pitch-results-panel {
  background: #fbfdfc;
}

.pitch-panel-kicker {
  color: var(--pitch-green-dark);
  margin-bottom: 9px;
}

.pitch-panel-title {
  color: var(--pitch-ink);
  font-size: 1.22rem;
  line-height: 1.2;
  margin: 0;
}

.pitch-panel-copy {
  color: var(--pitch-muted);
  font-size: .95rem;
  line-height: 1.58;
  margin: 8px 0 22px;
}

.pitch-mode-switch {
  background: var(--pitch-sand);
  border: 1px solid #e6e0d4;
  border-radius: 13px;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 22px;
  padding: 5px;
}

.pitch-mode-button,
.pitch-example-button,
.pitch-action-button,
.pitch-primary-button {
  border: 0;
  cursor: pointer;
  font: inherit;
  min-height: 46px;
}

.pitch-mode-button {
  background: transparent;
  border-radius: 9px;
  color: var(--pitch-slate);
  font-size: .9rem;
  font-weight: 700;
  padding: 9px 10px;
}

.pitch-mode-button:hover,
.pitch-mode-button:focus-visible {
  color: var(--pitch-green-dark);
}

.pitch-mode-button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 2px 8px rgba(14, 35, 48, .08);
  color: var(--pitch-ink);
}

.pitch-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.pitch-field {
  min-width: 0;
}

.pitch-field--wide {
  grid-column: 1 / -1;
}

.pitch-field label {
  color: var(--pitch-ink);
  display: block;
  font-size: .88rem;
  font-weight: 750;
  margin-bottom: 7px;
}

.pitch-field input,
.pitch-field select {
  appearance: none;
  background: #fff;
  border: 1px solid #c9d7d1;
  border-radius: 10px;
  color: var(--pitch-ink);
  font: inherit;
  min-height: 50px;
  padding: 11px 13px;
  width: 100%;
}

.pitch-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--pitch-green-dark) 50%), linear-gradient(135deg, var(--pitch-green-dark) 50%, transparent 50%);
  background-position: calc(100% - 17px) 22px, calc(100% - 12px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 33px;
}

.pitch-field input:focus-visible,
.pitch-field select:focus-visible,
.pitch-mode-button:focus-visible,
.pitch-example-button:focus-visible,
.pitch-action-button:focus-visible,
.pitch-primary-button:focus-visible,
.pitch-service-link:focus-visible,
.pitch-prose a:focus-visible {
  outline: 3px solid rgba(90, 125, 106, .38);
  outline-offset: 2px;
}

.pitch-field-help {
  color: var(--pitch-muted);
  display: block;
  font-size: .78rem;
  line-height: 1.45;
  margin-top: 6px;
}

.pitch-examples {
  border-top: 1px solid var(--pitch-line);
  margin-top: 23px;
  padding-top: 20px;
}

.pitch-examples-label {
  color: var(--pitch-ink);
  display: block;
  font-size: .84rem;
  font-weight: 750;
  margin-bottom: 10px;
}

.pitch-example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pitch-example-button {
  background: #f5f8f6;
  border: 1px solid #cbdcd3;
  border-radius: 999px;
  color: var(--pitch-green-dark);
  font-size: .8rem;
  font-weight: 700;
  min-height: 38px;
  padding: 7px 12px;
}

.pitch-example-button:hover,
.pitch-example-button:focus-visible {
  background: var(--pitch-sage);
  border-color: var(--pitch-green);
}

.pitch-input-note {
  color: var(--pitch-muted);
  font-size: .8rem;
  line-height: 1.5;
  margin: 21px 0 0;
}

.pitch-actions,
.pitch-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pitch-actions {
  margin-top: 21px;
}

.pitch-primary-button,
.pitch-action-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 750;
  justify-content: center;
  padding: 10px 15px;
  text-decoration: none;
}

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

.pitch-page a.pitch-primary-button {
  color: #fff;
}

.pitch-primary-button:hover,
.pitch-primary-button:focus-visible {
  background: var(--pitch-green-dark);
}

.pitch-action-button {
  background: #fff;
  border: 1px solid #c9d7d1;
  color: var(--pitch-ink);
}

.pitch-page a.pitch-action-button {
  color: var(--pitch-ink);
}

.pitch-action-button:hover,
.pitch-action-button:focus-visible {
  border-color: var(--pitch-green);
  color: var(--pitch-green-dark);
}

.pitch-results-top {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 15px;
}

.pitch-results-top .pitch-panel-copy {
  margin-bottom: 0;
}

.pitch-results-status {
  color: var(--pitch-muted);
  flex: 0 0 auto;
  font-size: .76rem;
  padding-top: 4px;
  text-align: right;
}

.pitch-diagram-card {
  background: var(--pitch-sand);
  border: 1px solid #e7e0d4;
  border-radius: 16px;
  overflow: hidden;
  padding: 10px 14px 0;
}

.pitch-diagram {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.pitch-diagram .pitch-stroke {
  fill: none;
  stroke: var(--pitch-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.pitch-diagram .pitch-base {
  stroke: #6d7d84;
  stroke-dasharray: 5 5;
  stroke-width: 3;
}

.pitch-diagram .pitch-label {
  fill: var(--pitch-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
}

.pitch-diagram .pitch-angle-label {
  fill: var(--pitch-green-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
}

.pitch-output-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.pitch-output-card {
  background: #fff;
  border: 1px solid var(--pitch-line);
  border-radius: 12px;
  min-width: 0;
  padding: 13px;
}

.pitch-output-card--primary {
  background: var(--pitch-ink);
  border-color: var(--pitch-ink);
  color: #fff;
}

.pitch-output-label {
  color: var(--pitch-muted);
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.pitch-output-card--primary .pitch-output-label {
  color: #b8d4c4;
}

.pitch-output-value {
  color: var(--pitch-ink);
  display: block;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.pitch-output-card--primary .pitch-output-value {
  color: #fff;
}

.pitch-summary {
  background: #e7f0eb;
  border-left: 4px solid var(--pitch-green);
  border-radius: 0 12px 12px 0;
  color: var(--pitch-ink);
  font-size: .93rem;
  line-height: 1.55;
  margin-top: 14px;
  padding: 13px 15px;
}

.pitch-summary strong {
  font-weight: 800;
}

.pitch-area-details {
  border-top: 1px solid var(--pitch-line);
  margin-top: 16px;
  padding-top: 15px;
}

.pitch-area-details summary {
  color: var(--pitch-ink);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 750;
}

.pitch-area-details summary:hover {
  color: var(--pitch-green-dark);
}

.pitch-area-copy {
  color: var(--pitch-muted);
  font-size: .82rem;
  line-height: 1.5;
  margin: 10px 0 13px;
}

.pitch-area-grid {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pitch-area-grid label {
  color: var(--pitch-ink);
  display: block;
  font-size: .82rem;
  font-weight: 750;
  margin-bottom: 6px;
}

.pitch-area-grid input {
  border: 1px solid #c9d7d1;
  border-radius: 9px;
  color: var(--pitch-ink);
  font: inherit;
  min-height: 44px;
  padding: 9px 11px;
  width: 100%;
}

.pitch-area-result {
  background: #fff;
  border: 1px solid var(--pitch-line);
  border-radius: 9px;
  color: var(--pitch-ink);
  font-size: .9rem;
  min-height: 44px;
  padding: 10px 11px;
}

.pitch-copy-status {
  color: var(--pitch-green-dark);
  font-size: .78rem;
  min-height: 1.25em;
  width: 100%;
}

.pitch-prose-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 20px 80px;
}

.pitch-prose-layout {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.pitch-prose {
  color: var(--pitch-slate);
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 780px;
}

.pitch-prose h2 {
  color: var(--pitch-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  letter-spacing: -.025em;
  line-height: 1.16;
  margin: 46px 0 12px;
}

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

.pitch-prose h3 {
  color: var(--pitch-ink);
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 25px 0 7px;
}

.pitch-prose p {
  margin: 0 0 16px;
}

.pitch-prose ul,
.pitch-prose ol {
  margin: 13px 0 20px;
  padding-left: 24px;
}

.pitch-prose li {
  margin-bottom: 8px;
}

.pitch-prose strong {
  color: var(--pitch-ink);
}

.pitch-note {
  background: #edf5f0;
  border: 1px solid #cfe1d6;
  border-radius: 14px;
  color: var(--pitch-ink);
  margin: 25px 0;
  padding: 17px 19px;
}

.pitch-note p:last-child {
  margin-bottom: 0;
}

.pitch-equation {
  background: var(--pitch-ink);
  border-radius: 13px;
  color: #f5fbf7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95rem;
  line-height: 1.8;
  margin: 19px 0 23px;
  overflow-x: auto;
  padding: 16px 18px;
}

.pitch-table-wrap {
  border: 1px solid var(--pitch-line);
  border-radius: 13px;
  margin: 20px 0 25px;
  overflow-x: auto;
}

.pitch-table {
  border-collapse: collapse;
  min-width: 560px;
  width: 100%;
}

.pitch-table th,
.pitch-table td {
  border-bottom: 1px solid var(--pitch-line);
  padding: 12px 14px;
  text-align: left;
}

.pitch-table tr:last-child td {
  border-bottom: 0;
}

.pitch-table th {
  background: #eff5f1;
  color: var(--pitch-ink);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pitch-table td {
  font-size: .93rem;
}

.pitch-faq {
  margin-top: 11px;
}

.pitch-faq details {
  background: #fff;
  border: 1px solid var(--pitch-line);
  border-radius: 11px;
  margin: 9px 0;
}

.pitch-faq summary {
  color: var(--pitch-ink);
  cursor: pointer;
  font-weight: 750;
  list-style-position: inside;
  padding: 15px 17px;
}

.pitch-faq summary:hover {
  background: #f5f9f6;
}

.pitch-faq-answer {
  border-top: 1px solid var(--pitch-line);
  padding: 14px 17px 15px;
}

.pitch-faq-answer p:last-child {
  margin-bottom: 0;
}

.pitch-sidebar {
  position: sticky;
  top: 96px;
}

.pitch-sidebar-card {
  background: var(--pitch-ink);
  border-radius: 18px;
  color: #dbeae2;
  padding: 22px;
}

.pitch-sidebar-card h2 {
  color: #fff;
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 0 0 9px;
}

.pitch-sidebar-card p {
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.pitch-service-link {
  background: #a6c8b3;
  border-radius: 9px;
  color: var(--pitch-ink) !important;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 800;
  justify-content: center;
  padding: 11px 13px;
  text-decoration: none;
  width: 100%;
}

.pitch-service-link:hover {
  background: #c4ddcc;
}

.pitch-sidebar-list {
  color: var(--pitch-slate);
  font-size: .9rem;
  line-height: 1.55;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.pitch-sidebar-list li {
  border-bottom: 1px solid var(--pitch-line);
  padding: 10px 0;
}

.pitch-sidebar-list li:last-child {
  border-bottom: 0;
}

.pitch-bottom-cta {
  background: var(--pitch-sage);
  border-radius: 17px;
  margin-top: 45px;
  padding: 25px;
}

.pitch-bottom-cta h2 {
  color: var(--pitch-ink);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.pitch-bottom-cta p {
  margin-bottom: 15px;
}

.pitch-bottom-cta .pitch-actions {
  margin-top: 0;
}

@media (max-width: 960px) {
  .pitch-tool-grid,
  .pitch-prose-layout {
    grid-template-columns: 1fr;
  }

  .pitch-input-panel {
    border-bottom: 1px solid var(--pitch-line);
    border-right: 0;
  }

  .pitch-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .pitch-intro-inner {
    padding: 30px 18px 51px;
  }

  .pitch-tool-shell,
  .pitch-prose-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pitch-tool-shell {
    margin-top: -22px;
  }

  .pitch-tool-frame {
    border-radius: 17px;
  }

  .pitch-tool-heading,
  .pitch-input-panel,
  .pitch-results-panel {
    padding: 22px 18px;
  }

  .pitch-field-grid,
  .pitch-area-grid {
    grid-template-columns: 1fr;
  }

  .pitch-field--wide {
    grid-column: auto;
  }

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

  .pitch-results-top {
    display: block;
  }

  .pitch-results-status {
    margin-top: 7px;
    text-align: left;
  }

  .pitch-prose-wrap {
    padding-bottom: 55px;
    padding-top: 53px;
  }

  .pitch-prose {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pitch-page *,
  .pitch-page *::before,
  .pitch-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .pitch-intro,
  .pitch-sidebar,
  .pitch-bottom-cta,
  .pitch-actions,
  .pitch-result-actions,
  .pitch-examples,
  .pitch-area-details {
    display: none !important;
  }

  .pitch-tool-shell {
    margin: 20px 0 0;
    max-width: none;
    padding: 0;
  }

  .pitch-tool-frame {
    border: 1px solid #999;
    box-shadow: none;
  }

  .pitch-tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pitch-input-panel {
    border-right: 1px solid #999;
  }

  .pitch-prose-wrap {
    padding: 30px 0;
  }

  .pitch-prose-layout {
    display: block;
  }
}
