/* ============================================================
   Eddy marketing subpages — shared content primitives
   Loaded alongside tokens.css, base.css, home/base.css, home/nav.css,
   home/footer.css (typography, layout shell, nav, footer already live
   there). Only the parts unique to standalone content pages live here.
   ============================================================ */

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.page-hero-title {
  max-width: 20ch;
  margin: 0 auto;
}

.page-hero-lede {
  margin-left: auto;
  margin-right: auto;
}

.home-section--tight-top {
  padding-top: 0;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* —— Generic content column —— */

.page-section-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.page-section-inner--wide {
  max-width: 64rem;
}

.page-section-title {
  max-width: 26ch;
  margin: 0 0 var(--sp-3);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.page-section-title--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-prose {
  font-family: var(--font-subheadline);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-prose p {
  margin: 0 0 var(--sp-4);
}

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

.page-prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* —— Two-column layout: prose + supporting media —— */

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 26rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-split--reverse {
  grid-template-columns: minmax(280px, 26rem) minmax(0, 1fr);
}

.page-split--reverse > :first-child {
  order: 2;
}

.page-split--reverse > :last-child {
  order: 1;
}

/* —— Real illustration / screenshot frame —— */

/* For framed art: the dark-background client illustration, real product
   screenshots. A bordered, rounded panel, same shape language as
   .home-flow-visual-frame / .home-client-visual-frame on the homepage. */
.page-visual-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.page-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-visual-caption {
  margin: var(--sp-3) 0 0;
  font-family: var(--font-subheadline);
  font-size: var(--text-sm);
  color: var(--ink-4);
  text-align: center;
}

/* For transparent line-art (no baked-in background): contained, no box,
   so the illustration sits directly on the page like the homepage's does. */
.page-visual-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem) 0;
}

.page-visual-open img {
  width: auto;
  max-width: 100%;
  max-height: 22rem;
}

/* —— Media / illustration placeholder —— */

.page-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 16rem;
  padding: var(--sp-6);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  text-align: center;
  color: var(--ink-3);
}

.page-media-placeholder .icon {
  font-size: 28px;
  color: var(--ink-4);
}

.page-media-placeholder-label {
  font-family: var(--font-subheadline);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
}

.page-media-placeholder-note {
  max-width: 32ch;
  font-family: var(--font-subheadline);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--ink-4);
}

/* —— Numbered fact grid (editorial alternative to the icon checklist) —— */

.page-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.page-fact-grid--steps {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.page-fact {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.page-fact-num {
  display: block;
  margin-bottom: var(--sp-3);
  font-family: var(--font-subheadline);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}

.page-fact h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-subheadline);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

.page-fact p {
  margin: 0;
  font-family: var(--font-subheadline);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* —— Benefit / checklist —— */

.page-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.page-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--primary-softer);
  color: var(--primary);
  font-size: 15px;
}

.page-check-body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-subheadline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.page-check-body p {
  margin: 0;
  font-family: var(--font-subheadline);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* —— Provider / logo grid (hosting.html) —— */

.page-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.page-provider-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--bg);
}

.page-provider-logo {
  display: flex;
  align-items: center;
  height: 2rem;
}

.page-provider-logo img {
  max-height: 100%;
  max-width: 8rem;
  width: auto;
  object-fit: contain;
}

.page-provider-logo-text {
  font-family: var(--font-subheadline);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-3);
}

.page-provider-name {
  font-family: var(--font-subheadline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.page-provider-desc {
  margin: 0;
  font-family: var(--font-subheadline);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* —— Quote / testimonial-style callout (used sparingly) —— */

.page-callout {
  padding: var(--sp-6);
  border-left: 2px solid var(--border-strong);
  font-family: var(--font-subheadline);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-2);
}

@media (max-width: 820px) {
  .page-split,
  .page-split--reverse {
    grid-template-columns: 1fr;
  }

  .page-split--reverse > :first-child,
  .page-split--reverse > :last-child {
    order: 0;
  }
}

@media (max-width: 640px) {
  .page-section-title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }
}
