/* ==========================================================================
   fx-pages.css: the flat reading pages on the "hitech" design (2026-12-01).
   About + contact (.trust), legal (.legal), compare / alternatives / AI tools /
   API / GDPR (.compare) and the guide (.guide). Until phase 2b each of these
   41 files carried its own pasted copy of the home page's old CSS; tokens, base
   type, buttons, header/footer basics and font D (Handjet LED headings,
   Geist/Heebo text) now come from fx-hitech.css, loaded before this sheet.
   Only what these pages have of their own lives here.
   Load order: fx-hitech.css, fx-pages.css, fx-nav.css, fx-eyebrow-icons.css.
   Logical properties (inline-start/end) only: the Hebrew pages mirror without
   a second sheet.
   ========================================================================== */

/* ==========================================================================
   PAGE BASICS on top of fx-hitech.css
   ========================================================================== */
/* The page title in the home hero's 3D LED dots (as .seg-hero h1 in fx-seg.css): a face a step darker
   than ivory so the extruded shade shows, the accent copper with a soft glow. Smaller than a hero:
   these pages are read, not landed on. Handjet is narrow, so it runs larger than a text face would. */
h1 { font-size: clamp(46px, 5vw, 76px); font-weight: 540; letter-spacing: .01em; line-height: 1.04; color: #c4bcad;
  text-shadow: .012em .012em 0 #7d8a90, .022em .024em 0 #34474f, .03em .036em 0 #1a2c34, .036em .06em .05em #000000d9; }
h1 .accent { font-weight: 500; letter-spacing: .02em; color: #e39a62;
  text-shadow: .012em .012em 0 #a15a34, .022em .024em 0 #6a3520, .03em .036em 0 #43200f, .036em .06em .05em #000000d9, 0 0 .22em #f0a46a99; }
/* Hebrew has no capitals and the tracking pulls the letters apart */
:lang(he) .eyebrow { letter-spacing: .04em; font-size: 13px; }
.footer-links a[aria-current] { color: var(--ivory); }
/* The page's one section: the home hero's light (fx-seg.css .seg-hero), fading into the hero ink. */
.trust, .legal, .compare, .guide { background: radial-gradient(120% 70rem at 85% 0, #0d2a33 0%, var(--hero) 70%); }

/* ==========================================================================
   READING COLUMN (about, contact, legal): one column at reading width.
   Sub-headings in the LED face like every heading on the home page, sized
   for a column (fx-hitech.css h2 is a section title).
   ========================================================================== */
.trust h1, .legal h1 { margin-bottom: 32px; }
.trust-body, .legal-body { max-width: 760px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.trust-body h2, .legal-body h2 { font-size: 32px; line-height: 1.15; color: var(--ivory); margin: 44px 0 12px; }
.trust-body p, .legal-body p { margin: 0 0 12px; max-width: none; }
.trust-body ul, .legal-body ul { margin: 0 0 12px; padding-inline-start: 22px; }
.trust-body li, .legal-body li { margin-bottom: 6px; }
.trust-body li::marker, .legal-body li::marker { color: var(--copper-bright); }
.trust-body a, .legal-body a { color: var(--jade); text-decoration: underline; text-underline-offset: 3px; }
.trust-body a:hover, .legal-body a:hover { color: var(--jade-bright); }
.trust-body b, .legal-body b { color: var(--ivory); font-weight: 600; }
.trust-lead { font-size: 19px; color: var(--ivory); }
/* The founder's words: copper rule, like the eyebrow line */
.trust-quote { border-inline-start: 2px solid var(--copper); padding-inline-start: 18px; margin: 0 0 12px; }
.trust-quote p { color: var(--ivory); }
.trust-links { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0 !important; list-style: none; }
/* 44px finger targets: these links stand alone, not inside a sentence */
.trust-links a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-note { font-size: 13.5px; border-inline-start: 2px solid var(--line); padding-inline-start: 12px; margin-bottom: 24px !important; }
.legal-meta { font-size: 13px; margin-top: 36px !important; }

/* ==========================================================================
   COMPARISON + GEO PAGES (compare, alternatives, AI tools, API, GDPR):
   one wide table + lists. The table scrolls sideways on phones inside its
   own box, so the page itself never overflows.
   ========================================================================== */
.compare h1 { margin-bottom: 28px; max-width: 24ch; }
.compare-lead { max-width: 760px; font-size: 17.5px; line-height: 1.7; color: var(--muted); }
.compare-lead p { margin: 0 0 12px; max-width: none; }
.compare-body { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.compare-body h2 { font-size: clamp(34px, 3.2vw, 44px); line-height: 1.1; color: var(--ivory); margin: 60px 0 16px; }
.compare-body p { margin: 0 0 12px; }
.compare-body ul { margin: 0 0 12px; padding-inline-start: 22px; max-width: 760px; }
.compare-body li { margin-bottom: 8px; }
.compare-body li::marker { color: var(--copper-bright); }
.compare-body a { color: var(--jade); text-decoration: underline; text-underline-offset: 3px; }
.compare-body a:hover { color: var(--jade-bright); }
/* The button keeps its own colours (ink on copper); an inherited link colour on copper fails contrast. */
.compare-body .button { text-decoration: none; }
.compare-body .button-copper, .compare-body .button-copper:hover { color: var(--ink); }
.compare-body b { color: var(--ivory); font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #0b1820b3; }
.table-wrap:focus-visible { outline: 3px solid var(--jade); outline-offset: 3px; }
.compare table { border-collapse: collapse; width: 100%; min-width: 880px; font-size: 14.5px; line-height: 1.5; }
.compare th, .compare td { text-align: start; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { color: var(--ivory); font-weight: 650; background: var(--ink-raised); }
.compare tbody th { color: var(--ivory); font-weight: 600; width: 16%; }
/* ClickAndSay's own column: the jade of the home page's "done" state */
.compare td.us, .compare th.us { background: #59c3a01a; color: var(--ivory); }
.compare thead th.us { box-shadow: inset 0 2px 0 var(--jade); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare-meta { font-size: 13px; margin-top: 14px; max-width: 760px; }
.compare-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
/* Each H2 block is its own section element so it carries a data-sid; spacing lives here. */
.compare-body > section { margin-top: 8px; }
.compare-body h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.01em; color: var(--ivory); margin: 30px 0 8px; font-weight: 650; }
.compare-body ol { margin: 0 0 12px; padding-inline-start: 22px; max-width: 760px; }
.compare-body ol li { margin-bottom: 10px; }
/* Two- and three-column tables need less width than the six-tool table before they scroll. */
.compare table.narrow { min-width: 640px; }
.compare td code, .compare th code { white-space: nowrap; }
/* Code: inline and blocks. Blocks scroll inside themselves, never the page. On the Hebrew pages
   every block is dir="ltr" (commands read left to right), so align it physically left. */
.compare code { font-family: var(--mono); font-size: .9em; color: var(--champagne); background: #f4f0e70f; border-radius: 4px; padding: 1px 5px; }
.compare pre { margin: 12px 0 18px; padding: 16px 18px; overflow-x: auto; background: #0b1820; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; line-height: 1.55; max-width: 100%; text-align: left; }
.compare pre code { background: none; padding: 0; color: var(--ivory); font-size: inherit; white-space: pre; }
.compare li pre { margin-block: 8px 10px; }
/* The plan note on the API page: a framed box, not a banner. */
.note-box { margin: 24px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-inline-start: 3px solid var(--copper); border-radius: 10px; max-width: 760px; font-size: 15.5px; color: var(--ivory); background: #172b3580; }
/* FAQ on the AI page: plain <details>, readable without JS (closed items are still in the HTML). */
.faq-list details { border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; min-height: 44px; padding: 16px 0; font-weight: 600; color: var(--ivory); }
.faq-list summary::marker { color: var(--copper-bright); }
.faq-list details p { padding-bottom: 16px; }
/* Sources: the [Sn] markers in the text jump here; the list itself is the proof. */
.src-ref { white-space: nowrap; }
.sources { font-size: 14px; }
.sources ol { list-style: none; padding-inline-start: 0; }
.sources li { overflow-wrap: anywhere; }
.name-line { color: var(--ivory); }
.related ul { padding-inline-start: 22px; }
.cta-note { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   GUIDE (data-sid="guide-film"): the film and its chapter list. aspect-ratio
   reserves the box before the poster loads (CLS 0); 16:9 on phones too, there
   is only one cut of this film. The chapters are the section's one idea.
   ========================================================================== */
.guide-lang { max-width: 1120px; margin: -12px auto 16px; font-size: 13px; color: var(--muted); }
.film-video { display: block; width: 100%; max-width: 1120px; margin-inline: auto; aspect-ratio: 16 / 9; height: auto; background: #0b1820; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 80px -40px #000000d9; }
.chapters { list-style: none; padding: 0; margin: 28px auto 0; max-width: 1120px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 20px; }
.chapters li { border-top: 1px solid var(--line); }
.chapters button { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; gap: 8px; width: 100%; min-height: 48px; padding: 12px 0; border: 0; background: none; color: var(--ivory); font-size: 15px; text-align: start; transition: color var(--ease); }
.chapters button:hover { color: var(--jade); }
.chapters time { font: 13px var(--mono); color: var(--copper-bright); }
/* Closing band (data-sid="final-cta"), the home page's */
.final-cta { padding-block: 72px; background: radial-gradient(ellipse at top right, #18333c 0, transparent 65%), var(--night); }
.final-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.final-cta h2 { max-width: 720px; }
.final-cta p:not(.eyebrow) { font-size: 16px; color: var(--muted); margin-top: 18px; }
.final-actions { flex-shrink: 0; text-align: center; }
.final-actions small { display: block; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ==========================================================================
   RESPONSIVE: the home page's breakpoints 1100, 959, 639.
   ========================================================================== */
@media (max-width: 1100px) { .chapters { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 959px) {
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .final-cta .container { align-items: start; }
}
@media (max-width: 639px) {
  h1 { font-size: 46px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 20px; max-width: 100%; font-size: 15px; }
  .trust-body, .legal-body, .compare-body { font-size: 16px; }
  .trust-lead { font-size: 17px; }
  .compare-lead { font-size: 16px; }
  .trust-body h2, .legal-body h2 { font-size: 30px; }
  .compare-body h2 { font-size: 34px; margin-top: 48px; }
  .chapters { grid-template-columns: 1fr; }
  .final-cta { padding-block: 58px; }
  .final-cta .container { display: block; }
  .final-actions { margin-top: 28px; }
  .final-actions .button { width: 100%; }
}
