@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,600;0,8..60,700;1,8..60,600&display=swap");

.c2p-page {
  --c2p-deep-forest: #0b1b15;
  --c2p-harvest-gold: #c89f37;
  --c2p-surface: #f8faf8;
  --c2p-off-white: #f9fbf9;
  --c2p-pure-white: #ffffff;
  --c2p-on-surface: #191c1b;
  --c2p-on-surface-variant: #424845;
  --c2p-surface-container: #eceeec;
  --c2p-surface-container-low: #f2f4f2;
  --c2p-surface-container-high: #e6e9e7;
  --c2p-surface-container-highest: #e1e3e1;
  --c2p-outline: #737875;
  --c2p-shadow: 0 1px 8px rgba(11, 27, 21, 0.06);
  --c2p-margin: 20px;
  --c2p-max: 1100px;
  --c2p-warning: #ba1a1a;

  background: var(--c2p-surface);
  color: var(--c2p-on-surface);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 1024px) {
  .c2p-page {
    --c2p-margin: 64px;
  }
}

.c2p-page h1,
.c2p-page h2,
.c2p-page h3,
.c2p-page h4 {
  font-family: "Source Serif 4", "Times New Roman", serif;
  font-weight: 600;
  color: var(--c2p-deep-forest);
  margin-top: 0;
}

.c2p-page p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--c2p-on-surface-variant);
  font-size: 18px;
  line-height: 28px;
}

.c2p-page p:last-child {
  margin-bottom: 0;
}

.c2p-container {
  max-width: var(--c2p-max);
  margin: 0 auto;
  padding: 0 var(--c2p-margin);
}

.c2p-label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c2p-harvest-gold);
  margin-bottom: 0.5rem;
}

.c2p-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(200, 159, 55, 0.15);
  color: var(--c2p-deep-forest);
  border: 1px solid rgba(200, 159, 55, 0.2);
  margin-bottom: 1.5rem;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c2p-page section.c2p-hero,
.c2p-page section.c2p-section,
.c2p-page section.c2p-cta {
  padding: 4rem 0;
}

@media (min-width: 1280px) {
  .c2p-page section.c2p-hero,
  .c2p-page section.c2p-section,
  .c2p-page section.c2p-cta {
    padding: 6rem 0;
  }
}

.c2p-hero {
  border-bottom: 1px solid rgba(194, 200, 195, 0.3);
  background: var(--c2p-surface);
}

.c2p-hero h1 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 48rem;
}

@media (min-width: 768px) {
  .c2p-hero h1 {
    font-size: 48px;
    line-height: 56px;
  }
}

.c2p-lede {
  font-size: 22px;
  line-height: 32px;
  color: var(--c2p-on-surface) !important;
  max-width: 48rem;
  margin-bottom: 1.5rem !important;
}

.c2p-hero-body {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c2p-hero-body p {
  color: var(--c2p-on-surface);
  margin-bottom: 0;
}

.c2p-emphasis {
  font-weight: 500;
  color: var(--c2p-deep-forest) !important;
}

.c2p-hero-actions,
.c2p-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .c2p-hero-actions,
  .c2p-cta-actions {
    flex-direction: row;
    align-items: center;
  }
}

.c2p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.1s ease, color 0.15s ease, border-color 0.15s ease;
}

.c2p-btn:active {
  transform: translateY(2px);
}

.c2p-btn-primary {
  background: var(--c2p-deep-forest);
  color: var(--c2p-pure-white);
  box-shadow: 0 2px 6px rgba(11, 27, 21, 0.12);
}

.c2p-btn-primary:hover {
  background: rgba(11, 27, 21, 0.9);
  color: var(--c2p-pure-white);
}

.c2p-btn-outline {
  background: transparent;
  color: var(--c2p-deep-forest);
  border-color: var(--c2p-deep-forest);
}

.c2p-btn-outline:hover {
  background: var(--c2p-deep-forest);
  color: var(--c2p-pure-white);
}

.c2p-btn-gold {
  background: var(--c2p-harvest-gold);
  color: var(--c2p-deep-forest);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(11, 27, 21, 0.18);
}

.c2p-btn-gold:hover {
  background: #ffd165;
  color: var(--c2p-deep-forest);
}

.c2p-btn-outline-light {
  background: transparent;
  color: var(--c2p-pure-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.c2p-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c2p-pure-white);
}

.c2p-section {
  border-bottom: 1px solid rgba(194, 200, 195, 0.3);
  background: var(--c2p-surface);
}

.c2p-section-white {
  background: var(--c2p-pure-white);
}

.c2p-section-header {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.c2p-section-header h2 {
  font-size: 28px;
  line-height: 36px;
  margin: 0.5rem 0 1rem;
}

@media (min-width: 768px) {
  .c2p-section-header h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

.c2p-section-header p {
  margin-bottom: 0.75rem;
}

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

.c2p-page h3 {
  font-size: 22px;
  line-height: 30px;
  margin: 2rem 0 0.75rem;
}

.c2p-page h4 {
  font-size: 18px;
  line-height: 26px;
  margin: 0 0 0.35rem;
}

.c2p-prose {
  max-width: 48rem;
}

.c2p-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .c2p-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .c2p-card-grid-wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

.c2p-card {
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--c2p-off-white);
  border: 1px solid rgba(194, 200, 195, 0.2);
}

.c2p-section-white .c2p-card {
  background: var(--c2p-surface);
}

.c2p-card h3 {
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 0.75rem;
}

.c2p-card p,
.c2p-card .c2p-list {
  margin-bottom: 0;
}

.c2p-card .c2p-list {
  margin-top: 0;
}

.c2p-split-callout {
  max-width: 48rem;
  padding: 1.5rem 1.75rem;
  border-radius: 0.75rem;
  background: var(--c2p-off-white);
  border: 1px solid rgba(194, 200, 195, 0.2);
  margin-bottom: 1.5rem;
}

.c2p-split-callout p {
  color: var(--c2p-deep-forest);
  margin-bottom: 0.5rem;
}

.c2p-split-callout p:last-child {
  margin-bottom: 0;
}

.c2p-list,
.c2p-numbered,
.c2p-steps {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--c2p-on-surface-variant);
  font-size: 18px;
  line-height: 28px;
}

.c2p-list li,
.c2p-numbered li {
  margin-bottom: 0.5rem;
}

.c2p-steps {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c2p-steps li {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--c2p-pure-white);
  border: 1px solid rgba(194, 200, 195, 0.25);
  counter-increment: none;
}

.c2p-steps p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
}

.c2p-diagram {
  border-radius: 0.75rem;
  border: 1px solid var(--c2p-outline);
  box-shadow: var(--c2p-shadow);
  overflow: hidden;
  background: var(--c2p-pure-white);
}

.c2p-diagram img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.c2p-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--c2p-off-white);
  border: 1px solid rgba(194, 200, 195, 0.25);
  color: var(--c2p-deep-forest);
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
}

.c2p-rail-arrow {
  color: var(--c2p-harvest-gold);
  font-weight: 700;
}

.c2p-code {
  display: block;
  overflow-x: auto;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--c2p-off-white);
  border: 1px solid rgba(194, 200, 195, 0.25);
  color: var(--c2p-deep-forest);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

.c2p-callout {
  display: block;
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--c2p-surface-container-low);
  border: 1px solid rgba(194, 200, 195, 0.3);
  color: var(--c2p-on-surface);
  font-size: 16px;
  line-height: 26px;
}

.c2p-callout-warning {
  background: rgba(186, 26, 26, 0.06);
  border-color: rgba(186, 26, 26, 0.25);
  color: var(--c2p-warning);
}

.c2p-flow,
.c2p-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.c2p-flow-node,
.c2p-stack-node {
  padding: 0.85rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--c2p-pure-white);
  border: 1px solid rgba(194, 200, 195, 0.3);
  box-shadow: var(--c2p-shadow);
  color: var(--c2p-deep-forest);
  font-weight: 600;
  text-align: center;
}

.c2p-section-white .c2p-flow-node,
.c2p-section-white .c2p-stack-node {
  background: var(--c2p-surface);
}

.c2p-flow-node-dark {
  background: var(--c2p-deep-forest) !important;
  color: var(--c2p-pure-white);
  border-color: transparent;
}

.c2p-flow-arrow {
  text-align: center;
  color: var(--c2p-harvest-gold);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.c2p-flow-branch,
.c2p-flow-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .c2p-flow-branch {
    grid-template-columns: repeat(4, 1fr);
  }
}

.c2p-flow-branch span,
.c2p-flow-split .c2p-flow-node {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(200, 159, 55, 0.12);
  border: 1px solid rgba(200, 159, 55, 0.25);
  color: var(--c2p-deep-forest);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.c2p-table-scroll {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(194, 200, 195, 0.3);
  background: var(--c2p-pure-white);
}

.c2p-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  text-align: left;
}

.c2p-table thead tr {
  background: var(--c2p-surface-container-low);
  border-bottom: 1px solid rgba(194, 200, 195, 0.3);
  color: var(--c2p-deep-forest);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.c2p-table th,
.c2p-table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
}

.c2p-table tbody tr {
  border-top: 1px solid var(--c2p-surface-container-highest);
}

.c2p-table td {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c2p-on-surface);
}

.c2p-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .c2p-split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.c2p-cta {
  background: var(--c2p-deep-forest);
  color: var(--c2p-pure-white);
}

.c2p-cta-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c2p-cta .c2p-label {
  margin-bottom: 0.75rem;
}

.c2p-cta h2 {
  color: var(--c2p-pure-white);
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .c2p-cta h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

.c2p-cta p {
  font-size: 18px;
  line-height: 28px;
  color: var(--c2p-surface-container-high);
  margin-bottom: 0;
}

.c2p-cta .c2p-cta-actions {
  justify-content: center;
}

@media (max-width: 639px) {
  .c2p-hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .c2p-lede {
    font-size: 18px;
    line-height: 28px;
  }

  .c2p-section-header h2,
  .c2p-cta h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .c2p-card h3,
  .c2p-page h3 {
    font-size: 20px;
    line-height: 28px;
  }
}
