/* ============================================================
   FEASIBLY v26 — INNER PAGE STYLES
   Ink + red editorial palette. No v25 aliases.
   Loads on non-homepage pages, after base.css.
   ============================================================ */

/* ============================================================
   INNER PAGE RESETS — neutralise twentytwentyfive parent
   ============================================================ */
body:not(.home) .wp-site-blocks { padding: 0 !important; }
body:not(.home) .entry-content { max-width: 100%; padding: 0; }
body:not(.home) .wp-block-group { max-width: 100%; padding: 0; margin: 0; }
body:not(.home) .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
}

body:not(.home) {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* Buttons inside the dark hero */
.page-hero .btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.page-hero .btn-primary:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* ============================================================
   2. SECTION BASE
   ============================================================ */

.ip-section { padding: 100px 0; position: relative; }

.inner-page .section-label {
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 14px;
}

.inner-page .section-heading {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.inner-page .section-subheading,
.inner-page .section-sub {
  font-family: var(--font-b);
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--grey-700);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 48px;
}

.pricing-card .tier-name {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.pricing-card .tier-price {
  font-family: var(--font-h);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: var(--ink);
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   7. CODE BLOCK (ink-themed terminal)
   ============================================================ */

.code-block {
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--grey-900);
}

.code-block pre {
  padding: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
}

.code-block code {
  font-family: var(--font-m);
  font-size: 13px;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre;
}

.code-block .token-key { color: #f9a8a3; }
.code-block .token-string { color: #d4d4aa; }
.code-block .token-comment { color: rgba(255,255,255,0.35); }
.code-block .token-url { color: #fbbf24; }
.code-block .token-bracket { color: rgba(255,255,255,0.55); }

/* ============================================================
   8. FAQ ACCORDION
   ============================================================ */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-item:first-child { border-top: 2px solid var(--ink); }

/* ============================================================
   12. CONTACT FORM
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.doc-sidebar-nav a.active {
  color: var(--ink);
  background: var(--ground);
  border-left-color: var(--red);
  font-weight: 500;
}

.api-table .method {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .ip-section { padding: 60px 0; }
  .inner-page .section-heading { font-size: clamp(1.5rem, 5vw, 2rem); }
}

@media (max-width: 640px) {
  .ip-section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .ip-section { padding: 40px 0; }
}

.pricing-grid--4 .pricing-card .btn {
  margin-top: auto;
}

.pricing-card .tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tier-price-suffix {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-500);
  letter-spacing: 0;
}

.enterprise-eyebrow {
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0;
}

@media (max-width: 1024px) {
}

@media (max-width: 600px) {
    }

/* FAQ icon should be visible */
.faq-question 
/* CTA banner button visibility on dark bg */

/* Amendments subscribe form — result feedback (POST /api/subscribe) */
.am-result { margin-top: 1rem; font-size: 0.9rem; line-height: 1.5; min-height: 1.2em; }
.am-result.is-ok { color: #0a7d33; font-weight: 500; }
.am-result.is-err { color: #C8292E; font-weight: 500; }
#am-submit[disabled] { opacity: 0.6; cursor: default; }