/* =============================================================================
   interior.css — big-box content pages (features, /vs/, use-cases, …). Built to
   feel like the homepage: full, bold, sky + clouds, Caveat script headings with
   a sage period, generous rhythm, screenshot-forward. Leans on tokens.css +
   base.css (.container, .btn, .pill-sage, .underline-sketch).
   ========================================================================== */

/* --- Signature tics (features.css isn't loaded on interior pages) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-sage);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.period { color: var(--c-sage); }

/* --- Big page hero --------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-radial);
  padding-block: clamp(72px, 11vh, 150px) clamp(48px, 7vh, 96px);
  text-align: center;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 900px; margin-inline: auto; }
.page-hero__cloud { position: absolute; z-index: 0; pointer-events: none; user-select: none; }
.page-hero__cloud--l  { width: clamp(220px, 28vw, 440px); opacity: 0.45; top: 8%;  left: -6%; }
.page-hero__cloud--r  { width: clamp(260px, 32vw, 520px); opacity: 0.38; top: 30%; right: -8%; }
.page-hero__cloud--b  { width: clamp(300px, 40vw, 640px); opacity: 0.30; bottom: -16%; left: 40%; }
.page-hero__eyebrow { margin-bottom: 22px; }
.page-hero__heading {
  font-family: var(--ff-script);
  font-weight: 700;
  color: var(--c-navy);
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.page-hero__sub {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--c-text);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
  max-width: 44ch;
  margin: 22px auto 0;
}
.page-hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px 24px; margin-top: 32px;
}
.page-hero__micro { font-size: 13px; color: var(--c-microcopy); margin-top: 14px; }

/* Big framed hero screenshot, bleeding up out of the next section like the
   homepage dashboard shot. */
.page-hero__shot {
  position: relative; z-index: 2;
  max-width: 1040px; margin: clamp(40px, 6vh, 80px) auto 0;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(57, 93, 127, 0.18);
  border: 1px solid rgba(57, 93, 127, 0.08);
}
.page-hero__shot img { display: block; width: 100%; height: auto; }

.page-hero__secondary,
.cta-band__secondary {
  font-family: var(--ff-display); font-weight: 600; font-size: 16px;
  color: var(--c-orange); text-decoration: none;
  transition: opacity 0.2s var(--ease-out);
}
.page-hero__secondary:hover, .cta-band__secondary:hover { opacity: 0.72; }

/* --- Lead statement (replaces the boxed "answer"): a confident, oversized
       opening line in the homepage voice, not a corporate callout. ----------- */
.lead-band { padding-block: clamp(56px, 8vh, 110px); text-align: center; }
.page-lead {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-navy);
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.45;
  text-wrap: balance;
  max-width: 46ch;
  margin-inline: auto;
}

/* --- Section rhythm -------------------------------------------------------- */
.content-section {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(68px, 10vh, 150px);
}
.content-section--tint { background: #EEF5FF; }
.content-section__cloud { position: absolute; z-index: 0; pointer-events: none; opacity: 0.4; }
.content-section > .container { position: relative; z-index: 1; }
.section-eyebrow { margin-bottom: 16px; }
.section-heading {
  font-family: var(--ff-script); font-weight: 700; color: var(--c-navy);
  font-size: clamp(40px, 5vw, 68px); line-height: 0.98; text-wrap: balance; margin: 0 0 12px;
}
.section-lead {
  font-family: var(--ff-display); font-size: clamp(17px, 1.5vw, 20px);
  color: var(--c-text); line-height: 1.6; max-width: 56ch;
}

/* --- Alternating feature rows (text + big screenshot) --------------------- */
.feature-row { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1.15fr; }
  .feature-row--flip .feature-row__text { order: 2; }
  .feature-row--flip .feature-row__media { order: 1; }
}
.feature-row + .feature-row { margin-top: clamp(56px, 8vh, 120px); }
.feature-row__kicker {
  font-family: var(--ff-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-sage); margin: 0 0 12px;
}
.feature-row__title {
  font-family: var(--ff-display); font-weight: 700; color: var(--c-navy);
  font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; margin: 0 0 14px;
}
.feature-row__body { color: var(--c-text); font-size: 17px; line-height: 1.7; }
.feature-row__body p + p { margin-top: 1em; }

/* --- Points grid (how it works) -------------------------------------------- */
.points { display: grid; gap: 30px; }
@media (min-width: 760px) { .points { grid-template-columns: 1fr 1fr; gap: 40px 56px; } }
.point__num { font-family: var(--ff-script); font-weight: 700; color: var(--c-sage); font-size: 34px; line-height: 1; }
.point__title { font-family: var(--ff-display); font-weight: 700; color: var(--c-navy); font-size: 22px; margin: 10px 0 8px; }
.point__body { color: var(--c-text); font-size: 16.5px; line-height: 1.66; margin: 0; }

/* --- Screenshot frame ------------------------------------------------------ */
.shot {
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 20px 60px rgba(57, 93, 127, 0.14);
  border: 1px solid rgba(57, 93, 127, 0.08);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-caption { text-align: center; color: var(--c-microcopy); font-size: 14px; margin-top: 16px; }

/* Placeholder visual — marks where a real screenshot will go, using the
   homepage's pink-placeholder convention so the layout reads as designed
   (not a wall of text) before art is produced. */
.shot--placeholder {
  background: var(--c-pink-placeholder);
  border: 2px dashed var(--c-pink-outline);
  box-shadow: none;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px;
}
.shot--placeholder span { font-family: var(--ff-display); font-weight: 600; color: #a94e62; font-size: 14.5px; line-height: 1.5; max-width: 34ch; }
.shot--placeholder small { display: block; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; color: #c77f8e; margin-bottom: 10px; }

/* --- Prose (long-form answer content) -------------------------------------- */
.prose { max-width: 70ch; color: var(--c-text); font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--ff-display); font-weight: 700; color: var(--c-navy);
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; margin-top: 1.7em;
}
.prose h3 { font-family: var(--ff-display); font-weight: 600; color: var(--c-navy); font-size: 21px; margin-top: 1.4em; }
.prose a { color: var(--c-orange); text-decoration: none; border-bottom: 2px solid var(--c-orange); }
.prose a:hover { opacity: 0.72; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose blockquote { border-left: 3px solid var(--c-sage); padding-left: 18px; color: #3c4a57; font-style: italic; }

/* --- FAQ (open, scannable — great for AEO; no accordion JS needed) --------- */
.faqs { display: grid; gap: 0; max-width: 820px; }
.faq-item { padding: 26px 0; border-top: 1px solid rgba(57, 93, 127, 0.14); }
.faq-item:last-child { border-bottom: 1px solid rgba(57, 93, 127, 0.14); }
.faq-item__q { font-family: var(--ff-display); font-weight: 700; color: var(--c-navy); font-size: 20px; margin: 0 0 10px; }
.faq-item__a { color: var(--c-text); font-size: 17px; line-height: 1.7; margin: 0; }

/* --- Comparison table (/vs pages) ------------------------------------------ */
.vs-table-wrap {
  overflow-x: auto; border: 1px solid rgba(57, 93, 127, 0.12); border-radius: 18px;
  background: #fff; box-shadow: 0 20px 60px rgba(57, 93, 127, 0.1);
}
.vs-table { width: 100%; border-collapse: collapse; min-width: 560px; font-family: var(--ff-display); }
.vs-table th, .vs-table td { padding: 17px 22px; border-bottom: 1px solid rgba(57, 93, 127, 0.08); text-align: center; }
.vs-table thead th { font-weight: 700; color: var(--c-navy); font-size: 15px; }
.vs-table thead th.vs-col--tb { color: var(--c-sage); }
.vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table .vs-row-label { text-align: left; font-weight: 600; color: var(--c-text); font-size: 15px; }
.vs-table td.vs-col--tb { background: #F1F9F1; }
.vs-yes { color: var(--c-sage); font-weight: 800; font-size: 18px; }
.vs-no  { color: #c3cdd6; font-weight: 700; font-size: 18px; }
.vs-note { color: var(--c-microcopy); font-size: 13px; }

/* --- Verdict (honest pros / cons) ------------------------------------------ */
.verdict { display: grid; gap: 20px; }
@media (min-width: 780px) { .verdict { grid-template-columns: 1fr 1fr; } }
.verdict__col { background: #fff; border: 1px solid rgba(57, 93, 127, 0.12); border-radius: 18px; padding: 28px 30px; }
.verdict__col--tb { border-color: rgba(136, 188, 134, 0.5); background: #F1F9F1; }
.verdict__title { font-family: var(--ff-display); font-weight: 700; color: var(--c-navy); font-size: 19px; margin: 0 0 16px; }
.verdict__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.verdict__list li { position: relative; padding-left: 28px; color: var(--c-text); line-height: 1.5; font-size: 15.5px; }
.verdict__col--tb .verdict__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--c-sage); font-weight: 800; }
.verdict__col--them .verdict__list li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--c-orange); font-weight: 800; }

/* --- Blog ------------------------------------------------------------------ */
.post-header { max-width: 760px; margin-inline: auto; text-align: center; }
.post-title {
  font-family: var(--ff-display); font-weight: 700; color: var(--c-navy);
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -0.01em;
  text-wrap: balance; margin: 16px 0 0;
}
.post-meta { font-family: var(--ff-display); color: var(--c-microcopy); font-size: 14px; margin-top: 18px; }
.post-lead {
  font-family: var(--ff-display); font-weight: 500; color: var(--c-navy);
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.5; margin: 0 0 1.4em;
}
.post-body { max-width: 720px; margin-inline: auto; }
.post-card__meta { font-family: var(--ff-display); font-size: 12px; color: var(--c-sage); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin: 0 0 8px; }

/* --- Related cluster ------------------------------------------------------- */
.related__heading {
  font-family: var(--ff-display); font-weight: 600; color: var(--c-navy);
  font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 22px;
}
.related__grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }
.related__card {
  display: block; background: #fff; border: 1px solid rgba(57, 93, 127, 0.12);
  border-radius: 16px; padding: 24px 26px; text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.related__card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(57, 93, 127, 0.1); }
.related__card-title { font-family: var(--ff-display); font-weight: 700; color: var(--c-navy); font-size: 17px; margin: 0 0 5px; }
.related__card-desc { color: var(--c-microcopy); font-size: 14px; line-height: 1.5; margin: 0; }

/* --- Calculator widget (/tools) -------------------------------------------- */
.calc {
  background: #fff; border: 1px solid rgba(57, 93, 127, 0.12); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(57, 93, 127, 0.1); padding: clamp(24px, 4vw, 44px);
  display: grid; gap: clamp(24px, 4vw, 44px); max-width: 920px; margin-inline: auto;
}
@media (min-width: 740px) { .calc { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.calc__fields { display: grid; gap: 18px; }
.calc__field { display: grid; gap: 7px; }
.calc__field label { font-family: var(--ff-display); font-weight: 600; color: var(--c-navy); font-size: 14px; }
.calc__input-wrap { position: relative; display: flex; align-items: center; }
.calc__input-wrap .calc__prefix { position: absolute; left: 14px; color: var(--c-microcopy); font-weight: 600; }
.calc__field input {
  width: 100%; font-family: var(--ff-display); font-size: 16px; color: var(--c-text);
  padding: 12px 14px; border: 1.5px solid #d6dee6; border-radius: 10px; background: #fff;
  transition: border-color 0.15s var(--ease-out);
}
.calc__field input.has-prefix { padding-left: 28px; }
.calc__field input:focus { outline: none; border-color: var(--c-sage); }
.calc__result {
  background: var(--bg-radial); border-radius: 16px; padding: 28px 30px; text-align: center;
}
.calc__result-label { font-family: var(--ff-display); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-microcopy); margin: 0 0 6px; }
.calc__result-value { font-family: var(--ff-script); font-weight: 700; color: var(--c-navy); font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.calc__result-sub { font-family: var(--ff-display); color: var(--c-text); font-size: 15px; margin-top: 12px; }
.calc__result-sub strong { color: var(--c-navy); }

/* --- CTA band -------------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bg-radial); padding-block: clamp(72px, 10vh, 150px); text-align: center;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.cta-band__cloud { position: absolute; z-index: 0; pointer-events: none; }
.cta-band__cloud--tl { width: clamp(220px, 28vw, 420px); opacity: 0.4; top: -8%; left: -6%; }
.cta-band__cloud--br { width: clamp(260px, 32vw, 500px); opacity: 0.32; bottom: -16%; right: -6%; }
.cta-band__heading {
  font-family: var(--ff-script); font-weight: 700; color: var(--c-navy);
  font-size: clamp(44px, 5.4vw, 76px); line-height: 0.96; text-wrap: balance; margin: 0;
}
.cta-band__sub { font-family: var(--ff-display); font-size: clamp(17px, 1.5vw, 20px); color: var(--c-text); line-height: 1.6; max-width: 50ch; margin: 18px auto 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 30px; }
.cta-band__micro { font-size: 13px; color: var(--c-microcopy); margin-top: 14px; }

@media (prefers-reduced-motion: reduce) { .related__card { transition: none; } }
