/*
 * Inner pages in the new design: the privacy pages (English and French), the 404 page and the six guides of SEO
 * release 2 (content/guides/, scripts/build.mjs guidePage()). Linked after src/site.css,
 * which holds the Geist faces, the base colours, the focus ring and the shared header, footer and phone bar (sh-*).
 * Sizes, colours and radii are the English home page's (src/landing.css): page #0F1A2B, cards #16233A with #22324F
 * borders, text #E8EEF7 / #C3CEDF / #A3B1C8, links #9CC4FF, headings 700 with tight tracking, buttons in the accent
 * (primary) or #1C2C47 (secondary), 44 px tall at least. Every rule is a class (in-*), so it never reaches the shell.
 */
@layer nojs, design;

/* Focus and in-page links stop below the sticky header (src/site.css .sh-head, 77 px), as on the old pages (88 px). */
@layer design {
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:88px}
}

.in-wrap{box-sizing:content-box;max-width:1240px;margin:0 auto;padding:96px 32px 120px;font-size:17px;line-height:1.55;color:#E8EEF7}
.in-doc{max-width:760px;display:flex;flex-direction:column;gap:16px}
.in-h1{margin:0;font-weight:700;font-size:clamp(38px,4.6vw,68px);line-height:1.02;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:break-word}
.in-updated{margin:0;font-family:'Geist Mono',ui-monospace,monospace;font-size:14px;color:#A3B1C8}
.in-cards{margin-top:24px;display:flex;flex-direction:column;gap:12px}
.in-card{background:#16233A;border:1px solid #22324F;border-radius:16px;padding:24px 28px;display:flex;flex-direction:column;gap:10px}
.in-h2{margin:0;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.01em;overflow-wrap:break-word}
.in-p{margin:0;color:#C3CEDF}
.in-link{color:#9CC4FF;text-decoration:underline;text-underline-offset:3px}
.in-link:hover{color:#FFFFFF}

/* 404 page: one centred block, the English text first, then the French. */
.in-lost{max-width:720px;margin:0 auto;align-items:center;text-align:center}
.in-lost .in-p{max-width:34em}
.in-alt{color:#A3B1C8}
.in-btns{margin-top:16px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.in-btn,.in-btn2{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:15px 24px;border:1px solid transparent;border-radius:10px;text-decoration:none;line-height:1.2}
.in-btn{background:var(--accent);color:#0B1424;font-weight:700}
.in-btn:hover{color:#0B1424}
.in-btn2{background:#1C2C47;border:1px solid #2E4166;color:#E8EEF7;font-weight:600}
.in-btn2:hover{color:#FFFFFF;border-color:#3A4E73}
.in-btn:focus-visible,.in-btn2:focus-visible{outline:2px solid #9CC4FF;outline-offset:3px;border-radius:10px}
.in-link:focus-visible{outline:2px solid #9CC4FF;outline-offset:3px}

/* Guides (SEO release 2): the breadcrumb above the article, as on the tool pages (src/tool.css .tl-crumbs), then the
   approved article in the privacy pages' sizes and colours: section headings, a pre-launch note, lists, inline code
   and commands, and a table. Long commands scroll inside their box; table cells and inline code may break anywhere,
   so the page never scrolls sideways. */
.in-crumbs{box-sizing:content-box;max-width:1240px;margin:0 auto;padding:40px 32px 0;font-size:14px;color:#A3B1C8}
.in-trail{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.in-step{display:flex;align-items:center;gap:10px}
.in-step + .in-step::before{content:"/";content:"/" / "";color:#5A6E92}
.in-crumb{color:#9CC4FF;text-decoration:none}
.in-crumb:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
.in-gwrap{padding-top:32px}
.in-guide{gap:18px}
/* A link written as a bare address (developers.google.com/speed/…) breaks inside the line on a phone instead of
   pushing the page sideways. Only inside the guides' article: the privacy pages' link row stays as it is. */
.in-guide .in-link{overflow-wrap:anywhere}
.in-g2{margin:20px 0 0;font-size:clamp(24px,2.2vw,30px);font-weight:700;line-height:1.15;letter-spacing:-.02em;text-wrap:balance;overflow-wrap:break-word}
.in-g3{margin:8px 0 0;font-size:20px;font-weight:600;line-height:1.3;text-wrap:balance;overflow-wrap:break-word}
.in-note{margin:0;padding:16px 20px;background:#16233A;border:1px solid #22324F;border-left:3px solid #9CC4FF;border-radius:12px}
.in-list{margin:0;padding-left:1.4em;color:#C3CEDF}
.in-pre{margin:0;padding:16px 18px;background:#0B1424;border:1px solid #22324F;border-radius:12px;overflow-x:auto;font-size:14px;line-height:1.6;color:#E8EEF7}
.in-code{font-family:'Geist Mono',ui-monospace,monospace;font-size:.88em;overflow-wrap:anywhere}
.in-pre .in-code{font-size:inherit;overflow-wrap:normal}
.in-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;color:#C3CEDF}
.in-th,.in-td{padding:10px 12px;border:1px solid #2A3B5C;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.in-th{background:#16233A;color:#E8EEF7;font-weight:600}

@media (max-width: 640px){
  .in-wrap{padding:56px 20px 72px}
  .in-card{padding:20px}
  .in-btns{flex-direction:column;align-self:stretch}
  .in-crumbs{padding:28px 20px 0}
  .in-gwrap{padding-top:24px}
  .in-th,.in-td{padding:8px}
}
/* Touch screens: each line of the policy links is 44 px tall and each link is padded to fill it, so the links stay
   inline text with the dot between them and every one is a 44 px target. */
@media (pointer: coarse){
  .in-links{line-height:44px}
  .in-link{padding-block:11px}
}
/* Touch screens: the guides' breadcrumb links are 44 px tall, like the tool pages' (src/tool.css .tl-crumb). */
@media (pointer: coarse){
  .in-crumb{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;margin:0 -6px}
}

/* Blog & Guides (SEO Phase 2, scripts/build.mjs hubPage(), entryPage(), editorialPage()). Same palette and sizes as the
   guides above; the accent marks what belongs to the blog (topic tiles, the answer box, the product card's button).
   A guide page is one column: the article, the card of the app it uses, then related guides. From 1100 px, when the
   guide has an app card, the card sits beside the article and stays in view while the article scrolls. */
.in-gwrap{display:grid;grid-template-columns:minmax(0,1fr);gap:56px 64px;align-items:start}
.in-dek{margin:0;font-size:20px;line-height:1.5;color:#C3CEDF}
.in-byline{margin:0;font-size:14px;color:#A3B1C8}
.in-disclose{margin:0;padding-left:14px;border-left:2px solid #2E4166;font-size:14px;line-height:1.55;color:#A3B1C8}
.in-answer{display:flex;flex-direction:column;gap:8px;margin:0;padding:20px 24px;background:#16233A;border:1px solid #2E4166;border-left:3px solid var(--accent);border-radius:14px;color:#C3CEDF}
.in-answer-k{margin:0;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.in-answer .in-p,.in-answer .in-list{margin:0}

.in-toc{padding:18px 22px;background:#16233A;border:1px solid #22324F;border-radius:14px}
.in-toc-h{margin:0 0 8px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#A3B1C8}
.in-toc-list{margin:0;padding-left:1.4em;display:flex;flex-direction:column;gap:6px;font-size:16px;color:#A3B1C8}
.in-toc-link{color:#9CC4FF;text-decoration:none}
.in-toc-link:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}

/* Screenshots: each opens at full size; the caption says what it shows. */
.in-fig{margin:8px 0;display:flex;flex-direction:column;gap:10px}
.in-figlink{display:block;overflow:hidden;background:#0B1424;border:1px solid #22324F;border-radius:12px}
.in-figimg{display:block;width:100%;height:auto}
.in-figlink:focus-visible{outline:2px solid #9CC4FF;outline-offset:3px}
.in-figcap{font-size:14px;line-height:1.5;color:#A3B1C8}

/* Topic tile: a category's glyph in the accent. */
.in-tile{flex:none;box-sizing:border-box;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:rgba(242,184,102,.1);border:1px solid rgba(242,184,102,.32);color:var(--accent)}

/* The card of the app a guide uses: what it does, then its payment buttons as on its tool page (src/tool.css .tl-pay-*,
   sized for the card), the Terms and the way to its page (owner's launch decision, 2026-11-30). */
.in-prod{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:24px;background:#16233A;border:1px solid #2E4166;border-radius:16px}
.in-prod-k{margin:0;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#A3B1C8}
.in-prod-top{display:flex;align-items:center;gap:12px;min-width:0}
.in-prod-h{margin:0;min-width:0;font-size:20px;font-weight:700;line-height:1.25;letter-spacing:-.01em;overflow-wrap:break-word}
.in-prod-name{color:#E8EEF7;text-decoration:none}
.in-prod-name:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
.in-prod-p{margin:0;font-size:15px;line-height:1.5;color:#C3CEDF}
.in-prod-meta{margin:0;font-size:14px;color:#A3B1C8}
.in-pay-h{margin:4px 0 0;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:#A3B1C8}
.in-pay-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.in-pay-item{display:flex;flex-direction:column}
.in-pay-opt{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px 8px 10px;border:1px solid #2E4166;border-radius:12px;background:#1C2C47;color:#E8EEF7;text-decoration:none}
.in-pay-main{border-color:#F2B866;background:var(--accent);color:#0B1424}
.in-pay-main:hover{color:#0B1424}
.in-pay-alt:hover{border-color:#5A6E92;color:#FFFFFF}
.in-pay-main:hover .in-pay-name,.in-pay-alt:hover .in-pay-name{text-decoration:underline;text-underline-offset:3px}
.in-pay-opt:focus-visible{outline:2px solid #9CC4FF;outline-offset:3px}
.in-pay-off{border-style:dashed;background:#16233A;color:#A3B1C8;cursor:default}
.in-pay-logo{flex:none;box-sizing:border-box;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#FFFFFF}
.in-pay-mark{display:block;width:20px;height:20px}
.in-pay-logo-stripe{background:#635BFF}
.in-pay-off .in-pay-logo{opacity:.6}
.in-pay-txt{flex:1;min-width:0;display:flex;flex-direction:column-reverse;gap:1px}
.in-pay-price{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:18px;font-weight:700;line-height:1.2;letter-spacing:-.01em}
.in-pay-name{font-size:14px;font-weight:500;line-height:1.3}
.in-pay-alt .in-pay-name{color:#C3CEDF}
.in-pay-alt:hover .in-pay-name{color:#FFFFFF}
.in-pay-off .in-pay-price{font-size:15px;font-weight:600}
.in-pay-star{flex:none;width:16px;height:16px;color:var(--accent)}
.in-pay-main .in-pay-star{color:#0B1424}
.in-pay-go{flex:none;width:20px;height:20px}
.in-pay-foot{margin:0;font-size:13px;line-height:1.4;text-align:center;color:#A3B1C8}
.in-prod-terms{margin:0;font-size:13px;line-height:1.45;color:#A3B1C8}
.in-prod-legal{margin:0;font-size:14px;line-height:1.5;color:#C3CEDF}
.in-prod-more{align-self:flex-start;font-size:14px;font-weight:600;color:#9CC4FF;text-decoration:underline;text-underline-offset:3px}
.in-prod-more:hover{color:#FFFFFF}

/* Guide cards (hub, related guides): the cover is a real screenshot of the guide, or of its app, cropped from the top;
   the whole card is the link (the title's ::after covers it), so the card holds one link and one focus ring. */
.in-bgrid{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px}
.in-bcard{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#16233A;border:1px solid #22324F;border-radius:16px}
.in-bcard:hover{border-color:#3A4E73}
.in-bcover{position:relative;flex:none;aspect-ratio:16/10;overflow:hidden;background:#0B1424;border-bottom:1px solid #22324F}
.in-bcover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.in-bglyph{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(242,184,102,.1),transparent 65%)}
.in-bglyph .in-tile{width:72px;height:72px;border-radius:18px}
.in-bglyph svg{width:34px;height:34px}
.in-bbody{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;padding:18px 20px 22px}
.in-bmeta{margin:0;font-size:13px;color:#A3B1C8}
.in-bh{margin:0;font-size:19px;font-weight:700;line-height:1.25;letter-spacing:-.01em;text-wrap:balance;overflow-wrap:break-word}
.in-blink{color:#E8EEF7;text-decoration:none}
.in-blink::after{content:"";position:absolute;inset:0;border-radius:16px}
.in-bcard:hover .in-blink{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
.in-blink:focus-visible{outline:0}
.in-blink:focus-visible::after{outline:2px solid #9CC4FF;outline-offset:-2px}
.in-bp{margin:0;font-size:15px;line-height:1.5;color:#C3CEDF}

.in-related{display:flex;flex-direction:column;gap:20px;padding-top:32px;border-top:1px solid #22324F}
.in-rh{margin:0;font-size:clamp(24px,2.2vw,30px);font-weight:700;line-height:1.15;letter-spacing:-.02em;text-wrap:balance}

/* The hub: the heading, the topics as chips, the newest guides, then one section per topic. */
.in-hub{padding-top:32px;display:flex;flex-direction:column;gap:72px}
.in-hubhead{max-width:820px;display:flex;flex-direction:column;gap:16px}
.in-lede{margin:0;font-size:20px;line-height:1.5;color:#C3CEDF}
.in-hubmeta{margin:0;font-size:15px;color:#A3B1C8}
.in-chips{margin-top:8px;display:flex;flex-wrap:wrap;gap:10px}
.in-chip{box-sizing:border-box;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:#16233A;border:1px solid #2E4166;border-radius:999px;color:#E8EEF7;font-size:15px;font-weight:500;text-decoration:none}
.in-chip:hover{color:#FFFFFF;border-color:var(--accent)}
.in-chip:focus-visible{outline:2px solid #9CC4FF;outline-offset:3px}
.in-bsec{display:flex;flex-direction:column;gap:16px}
.in-bsec > .in-h2{font-size:clamp(24px,2.2vw,30px);line-height:1.15;letter-spacing:-.02em}
.in-bsec-top{display:flex;align-items:center;gap:12px}
.in-bsec-top .in-h2{font-size:clamp(24px,2.2vw,30px);line-height:1.15;letter-spacing:-.02em}

/* The newest guides: on wide screens the first one leads, the next two sit beside it as rows. */
@media (min-width: 1000px){
  .in-bfeat{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
  .in-bfeat > .in-bcard:first-child{grid-row:span 2}
  .in-bfeat > .in-bcard:first-child .in-bcover{flex:1 1 auto;aspect-ratio:auto;min-height:240px}
  .in-bfeat > .in-bcard:first-child .in-bbody{flex:none}
  .in-bfeat > .in-bcard:first-child .in-bh{font-size:26px}
  .in-bfeat > .in-bcard:not(:first-child){flex-direction:row}
  .in-bfeat > .in-bcard:not(:first-child) .in-bcover{flex:0 0 40%;aspect-ratio:auto;border-bottom:0;border-right:1px solid #22324F}
}
@media (min-width: 1100.02px){
  .in-gwrap:has(> .in-prod){grid-template-columns:minmax(0,760px) minmax(0,320px);justify-content:space-between}
  .in-gwrap > .in-related{grid-column:1 / -1}
}
/* The card follows the reader only where the whole card fits under the header (it is taller with its payment buttons). */
@media (min-width: 1100.02px) and (min-height: 940px){
  .in-gwrap > .in-prod{position:sticky;top:104px}
}
@media (max-width: 640px){
  .in-hub{padding-top:24px;gap:56px}
  .in-dek,.in-lede{font-size:18px}
  .in-answer{padding:16px 18px}
  .in-toc{padding:16px 18px}
  .in-prod{padding:20px}
}
/* Touch screens: each table-of-contents and product link is a 44 px target. */
@media (pointer: coarse){
  .in-toc-list{gap:0}
  .in-toc-link{display:inline-block;padding-block:10px}
  .in-prod-name{display:inline-flex;align-items:center;min-height:44px}
}
