/* binarrator.ai editorial look (body.ed): the shared layer of the homepage's 2026-11-25 redesign, used by every page that
   opts in (the homepage since 2026-11-25, the Features page since 2026-11-27). Warm paper surfaces like a printed annual
   report, deep navy bands, a serif display face for headings (Newsreader) and a mono face for labels (IBM Plex Mono), with
   the brand teal as the one accent; type, section surfaces and buttons. Loaded after site.css (and a page's own sheets
   that precede it), before the page's own components (home.css, features.css). A page opts in with "editorial.css" in
   its css list and "ed" in its body class; layout.head() then loads the two faces. Every text colour meets WCAG 2.2 AA on
   the surface it sits on. */
.ed{
  --paper:#F3EFE6;--sheet:#FBF9F5;--rule:#DCD4C4;--rule-2:#CFC5B1;--ink:#0F1D2C;--ink-2:#34485B;--muted:#58636E;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;--mono:"IBM Plex Mono",ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  background:var(--paper);color:var(--ink)
}
.ed .sec{background:var(--paper)}
.ed .sec.soft{background:var(--paper)}
.ed:not(.home) .sec.soft{background:var(--sheet)}   /* inner pages alternate paper and sheet; the homepage picks its sheet sections itself */
.ed .dark{background:var(--navy)}
.ed main>section:not(.dark):not(.hero)+section:not(.dark){border-top:1px solid var(--rule)}

/* ---------- type ---------- */
.ed .h2{font-family:var(--serif);font-optical-sizing:auto;font-weight:400;font-size:clamp(1.7rem,1.2rem + 1.5vw,2.45rem);
  line-height:1.12;letter-spacing:-.016em;max-width:26ch;text-wrap:balance}
.ed .h3{font-family:var(--serif);font-optical-sizing:auto;font-weight:500;font-size:clamp(1.15rem,1.06rem + .3vw,1.32rem);
  letter-spacing:-.008em;line-height:1.25}
.ed .lede{color:var(--ink-2)}
.ed .dark .lede,.ed .dark p{color:var(--on-dark-2)}
.ed .eyebrow{font:500 .74rem/1.3 var(--mono);letter-spacing:.14em;color:var(--teal-dark);margin-bottom:18px}
.ed .dark .eyebrow{color:var(--teal)}
.ed .kicker{font:500 .74rem/1.3 var(--mono);letter-spacing:.14em;color:var(--teal-dark)}
.ed .card p{color:var(--ink-2)}

/* ---------- buttons ---------- */
.ed main .btn{border-radius:6px;background:var(--navy);border-color:var(--navy);color:#fff}
.ed main .btn:hover{background:#163250;border-color:#163250;color:#fff}
.ed main .btn-ghost{background:var(--sheet);border-color:var(--rule-2);color:var(--ink)}
.ed main .btn-ghost:hover{background:#fff;border-color:var(--ink-2);color:var(--ink)}
.ed main .dark .btn{background:var(--teal);border-color:var(--teal);color:var(--teal-ink)}
.ed main .dark .btn:hover{background:#4FD1C1;border-color:#4FD1C1;color:var(--teal-ink)}
.ed main .dark .btn-ghost{background:transparent;border-color:#3A5878;color:var(--on-dark)}
.ed main .dark .btn-ghost:hover{background:rgba(255,255,255,.06);border-color:#7F9AB6;color:#fff}
.ed main .btn-link{color:var(--teal-dark)}
.ed main .btn-link:hover{color:var(--ink)}
.ed main .dark .btn-link{color:var(--teal)}
.ed main .dark .btn-link:hover{color:#fff}

/* ---------- the closing band ---------- */
.ed .cta-band{padding:clamp(72px,9vw,140px) 0}
.ed .cta-band .h2{font-size:clamp(1.85rem,1.3rem + 1.7vw,2.7rem);max-width:24ch;font-weight:400}

/* the opening of an inner page (Features, Pricing and the About pages, since 2026-11-27): paper in place of the navy banner,
   the serif headline with its first phrase in teal, as the homepage hero's */
.ed .phero{background:var(--paper);color:var(--ink);padding:clamp(40px,4.6vw,68px) 0 clamp(36px,4vw,56px)}
/* every inner page keeps one rhythm between its sections (2026-11-29); the homepage keeps its own */
.ed:not(.home) main>.sec:not(.closing){padding:clamp(40px,4.4vw,64px) 0}
.ed .phero h1,.ed .wk-copy h1{margin:0;font-family:var(--serif);font-optical-sizing:auto;font-weight:400;font-size:clamp(2.05rem,1.25rem + 2.2vw,3.2rem);
  line-height:1.08;letter-spacing:-.022em;color:var(--ink);max-width:20ch;text-wrap:pretty}
.ed h1 .p-a{color:var(--teal-dark)}
.ed .phero .lede{margin-top:22px;max-width:38rem}
.ed .phero .cta-row{margin-top:30px}
.ed .head.c .h2{margin-left:auto;margin-right:auto}   /* a centred section head: the heading's measure centred too */

/* ---------- inner pages' shared components (the homepage styles its own) ---------- */
.ed:not(.home) .card{background:var(--paper);border-color:var(--rule);border-radius:12px;box-shadow:none}
.ed .stat{border-top-color:var(--teal-dark)}
.ed .stat b{font:400 1.55rem/1.15 var(--serif);letter-spacing:-.01em;color:var(--ink)}
.ed .stat span{color:var(--ink-2)}
.ed .acct-note{color:var(--ink-2)}
.ed .cta-band .h2{color:#F6F2EA}

/* ---------- the closing invitation (owner brief, 2026-11-27; the homepage, and the About page since 2026-11-27): a compact
   ivory band above the navy footer, the words on
   the left and the two actions on the right, each with its note directly beneath it ---------- */
.ed .closing{background:var(--sheet);padding:clamp(44px,4.8vw,68px) 0}
.ed:not(.home) .sec.soft+.closing{background:var(--paper)}   /* after an inner page's sheet section, the other ivory, so the two never merge */
.ed .closing .cl-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,330px);column-gap:clamp(48px,7vw,120px);align-items:center}
.ed .closing .cl-t{min-width:0}
.ed .closing .cl-h{margin:0;font-family:var(--serif);font-optical-sizing:auto;font-weight:400;font-size:clamp(2rem,1.6rem + 1.7vw,2.9rem);
  line-height:1.1;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.ed .closing .cl-p{margin:18px 0 0;max-width:36rem;font-size:clamp(1.0625rem,1rem + .3vw,1.1875rem);line-height:1.55;color:var(--ink-2)}
.ed .closing .cl-a{display:flex;flex-direction:column;gap:22px;min-width:0}
.ed .closing .cl-i{display:flex;flex-direction:column;gap:8px}
.ed .closing .btn{width:100%;min-height:50px}
.ed .closing .btn-ghost{background:transparent;border-color:var(--navy);color:var(--navy)}
.ed .closing .btn-ghost:hover{background:rgba(7,23,38,.05);border-color:var(--navy);color:var(--navy)}
.ed .closing .cl-n{margin:0;font-size:.9rem;line-height:1.45;color:var(--ink-2)}   /* the account and scheduling notes: read, not skimmed (owner, 2026-11-27) */
@media(max-width:900px){
  .ed .closing .cl-g{grid-template-columns:minmax(0,1fr);row-gap:28px}
  .ed .closing .cl-a{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:640px}
}
@media(max-width:600px){ .ed .closing .cl-a{grid-template-columns:minmax(0,1fr);gap:22px} }

/* ---------- a photo in its frame (the homepage's "Our view" since 2026-11-26, the About page since 2026-11-27): a crop of
   an approved photo (photos.json "figures", {{photo id}}), rounded, with teal dots and an amber square behind it; it
   settles from a slight zoom as it arrives (with assets/site-motion.js; none for reduced motion) ---------- */
.ed .ph{position:relative;margin:0;border-radius:16px;overflow:hidden;background:var(--navy);box-shadow:0 30px 60px -36px rgba(15,29,44,.6)}
.ed .ph img{display:block;width:100%;height:auto}
.js-motion .ed .rv .ph img,.js-motion .ed .ph.rv img{transform:scale(1.07);transition:transform 4.5s cubic-bezier(.2,.7,.2,1)}
.js-motion .ed .rv.in .ph img,.js-motion .ed .ph.rv.in img{transform:none}
.ed .ph-wrap{position:relative;isolation:isolate;justify-self:end;width:100%;max-width:400px}
.ed .ph-dots{position:absolute;z-index:-1;left:-30px;bottom:-30px;width:62%;height:58%;border-radius:10px;opacity:.7;
  background-image:radial-gradient(var(--teal) 1.7px,transparent 2px);background-size:14px 14px}
.ed .ph-wrap::after{content:"";position:absolute;z-index:-1;right:-16px;top:-16px;width:84px;height:84px;border-radius:16px;background:#E5A33A}
@media(max-width:860px){.ed .ph-wrap{justify-self:start;max-width:none;margin:8px 16px 16px 0}}

/* ---------- cards answer the pointer (owner, 2026-11-27): they lift, take a teal edge and a soft shadow, and a teal rule
   runs along the top. The lift uses `translate`, so a card that also arrives with a reveal (.rv, its `transform`) keeps
   both motions; none of the movement for reduced motion. ---------- */
.ed:not(.home) .card{position:relative;overflow:hidden;
  transition:opacity .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms),transform .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms),
    translate .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease,border-color .25s ease,background-color .25s ease}
.ed:not(.home) .card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--teal-dark);
  transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.ed:not(.home) .card:hover{translate:0 -4px;background:#FFFDF8;border-color:rgba(11,111,100,.45);box-shadow:0 22px 40px -26px rgba(15,29,44,.42)}
.ed:not(.home) .card:hover::before{transform:scaleX(1)}
.ed:not(.home) .card.rv.in:hover{transform:none}
@media(prefers-reduced-motion:reduce){.ed:not(.home) .card:hover{translate:none}.ed:not(.home) .card::before{transition:none}}

/* ---------- the inner pages' own parts in the editorial look (How we validate, Industries, the legal pages and the
   page-not-found page, 2026-11-29: "ensure the background, format, font size, style aligns across") ---------- */
.ed .prose h2{font:400 clamp(1.45rem,1.2rem + .8vw,1.85rem)/1.2 var(--serif);letter-spacing:-.012em;color:var(--ink)}
.ed .prose h3{font:500 1.18rem/1.3 var(--serif);letter-spacing:-.005em;color:var(--ink)}
.ed .badge{font:500 .72rem/1.3 var(--mono);letter-spacing:.12em;background:#FFF1D6;border-color:#E7C98A;color:#6B4200}
.ed .caplist{gap:0;border-top:1px solid var(--rule-2)}
.ed .caplist li{background:transparent;border:0;border-bottom:1px solid var(--rule);border-radius:0;padding:16px 4px}
.ed .caplist li:nth-child(odd){padding-right:20px}
.ed .caplist b{font:500 1.08rem/1.3 var(--serif)}
.ed .caplist span{color:var(--muted)}
.ed .note{background:#FFF4DE;border-color:#EBCB91;border-radius:10px;color:#5C3D00}
.ed .note a{color:#6B4200}
.ed .steps3 li::before{font:500 .8rem/1 var(--mono);background:var(--navy)}
/* the seven checkpoints on navy: serif numerals and names, mono labels */
.ed .flow li::before{font:300 1.7rem/1 var(--serif);letter-spacing:-.02em;color:var(--teal)}
.ed .flow .who{font:500 .66rem/1.3 var(--mono);letter-spacing:.12em}
.ed .flow b{font:500 1.22rem/1.25 var(--serif);letter-spacing:-.01em;color:#F6F2EA}
/* the "number doesn't reconcile" illustration: a warm sheet; an interactive card, so it does not lift */
.ed:not(.home) .card.exc{background:var(--sheet)}
.ed:not(.home) .card.exc:hover{translate:none;background:var(--sheet);border-color:var(--rule);box-shadow:none}
.ed:not(.home) .card.exc::before{display:none}
.ed .exc dt{font:500 .68rem/1.3 var(--mono);letter-spacing:.1em}
.ed .exc dl div,.ed .ex-log{border-top-color:var(--rule)}
.ed .ex-steps button{background:var(--paper);border-color:var(--rule-2)}
.ed .ex-steps button b{background:#E9E1D1}
.ed .ex-steps button[aria-pressed=true]{color:#fff;background:var(--teal-dark);border-color:var(--teal-dark)}
.ed .ex-steps button[aria-pressed=true] b{background:rgba(255,255,255,.2)}
/* the legal pages: the document's details and contents on a warm sheet, serif section headings, mono labels */
.ed .legal-meta{background:var(--sheet);border-color:var(--rule)}
.ed .legal-meta dt,.ed .legal-toc summary{font:500 .66rem/1.3 var(--mono);letter-spacing:.12em;color:var(--muted)}
.ed .legal-toc a::before{font-family:var(--mono);font-size:.76rem}
.ed .legal-toc a:hover,.ed .legal-toc a:focus-visible{background:var(--sheet)}
.ed .legal h2{font:400 1.55rem/1.25 var(--serif);letter-spacing:-.01em}
.ed .legal h3{font:500 1.14rem/1.3 var(--serif)}
.ed .legal .tbl{border-color:var(--rule)}
.ed .legal th,.ed .legal td{border-bottom-color:var(--rule)}
.ed .legal thead th{background:var(--sheet);font:500 .68rem/1.3 var(--mono);letter-spacing:.1em}
/* the page-not-found page: the shared opening, with its links in a row */
.ed .nf-links{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin:28px 0 0;padding:0;font:500 .76rem/1.4 var(--mono);letter-spacing:.06em}
.ed .nf-links a{color:var(--teal-dark)}
.ed .nf-links a:hover{color:var(--ink)}
