/* ClonBot SEO pages kit. Base, header, try field, FAQ and viewer are copied from the front page
   (site/index.html) so the guides look like the same site. Page-specific layout lives in each page's own <style>. */
/* Instrument Sans + Instrument Serif, latin subset, self-hosted (OFL) */
  @font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url(/assets/fonts/instrumentsans-normal-e190a6.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 500;
    font-stretch: 100%;
    font-display: swap;
    src: url(/assets/fonts/instrumentsans-normal-e190a6.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
    src: url(/assets/fonts/instrumentsans-normal-e190a6.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/instrumentserif-italic-99cc6e.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/instrumentserif-normal-a20ac7.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
:root {
    --paper: #FFFFFF; --mist: #F3F2EF; --line: #E5E3DF;
    --ink: #111214; --ink-2: #55565B; --ink-3: #68696E;
    --night: #121214; --night-2: #1C1C1F; --night-line: #2A2A2E;
    --red: #FE2C55;
    --sans: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --tt: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --max: 1180px; --ease: cubic-bezier(.22,.8,.24,1);
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; background: linear-gradient(var(--paper) 50%, var(--night) 50%); }   /* overscroll: white above, dark below the footer */
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
  a { color: inherit; text-decoration: none; }
  img { display: block; }
  button { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
  .wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .center { text-align: center; }
  h2 { font: 600 clamp(38px, 5.4vw, 76px)/.98 var(--sans); letter-spacing: -.045em; margin: 0 auto; text-wrap: balance; max-width: 15ch; }
  h2 em, h1 em { font-style: normal; color: var(--ink-3); }
  .sub { margin: 22px auto 0; max-width: 48ch; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); text-wrap: pretty; }
  section { padding-block: clamp(96px, 12vw, 160px); }
  section.tight { padding-top: 0; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px;
    background: var(--ink); color: #fff; font: 600 16px/1 var(--sans); border: 0; cursor: pointer; transition: transform .25s var(--ease); }
  .btn:hover { transform: translateY(-1px); }
  .btn.small { height: 40px; padding: 0 17px; font-size: 14px; }
  .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
  .note { margin-top: 24px; font-size: 14px; color: var(--ink-3); }

  .logo { display: flex; align-items: center; gap: 9px; font: 600 19px/1 var(--sans); letter-spacing: -.02em; }
  .logo svg { width: 26px; height: 26px; }
  /* ---------- Nav: floating pill + actions over a progressive blur with a soft red aura.
     Scrolled, the menu folds into the wordmark (hover opens it again). Over the dark band it goes dark. ---------- */
  .tb { position: fixed; inset: 0 0 auto; z-index: 50; height: 120px; pointer-events: none; padding-top: env(safe-area-inset-top, 0px); }
  .tb-row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 2.2vw, 28px); }
  .tb-row > * { pointer-events: auto; }
  .tb-fade { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
  .tb.scrolled .tb-fade { opacity: 1; }
  .tb-fade i { position: absolute; inset: 0; }
  .tb-fade i:nth-child(1) { backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); mask: linear-gradient(#000 55%, transparent); -webkit-mask: linear-gradient(#000 55%, transparent); }
  .tb-fade i:nth-child(2) { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); mask: linear-gradient(#000 35%, transparent 75%); -webkit-mask: linear-gradient(#000 35%, transparent 75%); }
  .tb-fade i:nth-child(3) { backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); mask: linear-gradient(#000 18%, transparent 55%); -webkit-mask: linear-gradient(#000 18%, transparent 55%); }
  .tb-fade i:nth-child(4) { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); mask: linear-gradient(#000 0, transparent 38%); -webkit-mask: linear-gradient(#000 0, transparent 38%); }
  .tb-fade b { position: absolute; inset: 0; transition: background .4s;
    background: radial-gradient(70% 140% at 50% -30%, rgba(254,44,85,.22), rgba(254,44,85,.06) 45%, transparent 70%), linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.45) 45%, transparent); }
  .tb.dark .tb-fade b { background: radial-gradient(70% 140% at 50% -30%, rgba(254,44,85,.35), rgba(254,44,85,.08) 45%, transparent 70%), linear-gradient(rgba(18,18,20,.9), rgba(18,18,20,.45) 45%, transparent); }
  .tb-fade::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent); opacity: .85; }
  .tb-pill { display: flex; align-items: center; height: 46px; padding: 0 6px 0 14px; border-radius: 14px; background: rgba(255,255,255,.78);
    box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -16px rgba(17,18,20,.35); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    transition: background .35s, box-shadow .35s, padding .45s var(--ease); }
  .tb-logo { display: flex; align-items: center; gap: 9px; font: 600 18px/1 var(--sans); letter-spacing: -.02em; padding-right: 14px; }
  .tb-logo svg { width: 19px; height: 19px; flex: none; }  /* cropped to the cells so the pill's left and right edges match */
  .tb-logo g { transition: fill .35s; }
  .tb.scrolled .tb-logo svg { animation: tbBeat .6s var(--ease); }
  @keyframes tbBeat { 40% { transform: scale(.86); } }
  .tb-links { display: flex; align-items: center; gap: 2px; padding-left: 8px; border-left: 1px solid var(--line); max-width: 440px; overflow: hidden;
    transition: max-width .5s var(--ease), opacity .3s, padding .5s var(--ease), border-color .3s; }
  .tb-links a { white-space: nowrap; padding: 8px 11px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); transition: color .2s, background .2s; }
  .tb-links a:hover { color: var(--ink); background: var(--mist); }
  .tb.scrolled .tb-pill:not(:hover):not(:focus-within) .tb-links { max-width: 0; opacity: 0; padding-left: 0; border-left-width: 0; }
  @media (min-width: 901px) { .tb.scrolled .tb-pill:not(:hover):not(:focus-within) { padding-right: 0; } }  /* phones keep the top-of-page pill */
  .tb-act { display: flex; align-items: center; gap: 8px; }
  .tb-ghost { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink);
    background: rgba(255,255,255,.78); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .tb-ghost[hidden] { display: none; }
  .tb.dark .tb-pill { background: rgba(28,28,31,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 8px 24px -16px rgba(0,0,0,.6); color: #fff; }
  .tb.dark .tb-links { border-color: rgba(255,255,255,.12); } .tb.dark .tb-links a { color: rgba(255,255,255,.7); } .tb.dark .tb-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .tb.dark .tb-logo g { fill: #fff; }
  .tb.dark .tb-ghost { background: rgba(28,28,31,.72); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
  .tb.dark .btn { background: #fff; color: var(--ink); }
  @media (max-width: 900px) { .tb-links { display: none; } .tb-logo { padding-right: 8px; } }

  
/* ---------- Try it: App Store link -> three stories ---------- */
  .try { display: flex; gap: 8px; max-width: 560px; margin: 36px auto 0; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(17,18,20,.35); }
  .try input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px/1 var(--sans); color: var(--ink); padding: 0 8px 0 20px; }
  .try input::placeholder { color: var(--ink-3); }
  .try .btn { height: 48px; flex: none; }
  .try .btn[disabled] { cursor: progress; }
  .try .btn.busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .try:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 30px -18px rgba(17,18,20,.35); }
  .try { position: relative; }
  .try-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; text-align: left;
    background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -24px rgba(17,18,20,.4); }
  .try-list[hidden] { display: none; }
  .try-list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; cursor: pointer; }
  .try-list li[aria-selected="true"], .try-list li:hover { background: var(--mist); }
  .try-list img { width: 40px; height: 40px; border-radius: 10px; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
  .try-list b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .try-list small { display: block; font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .try-list li > span { min-width: 0; }
  .try-alt { margin: 14px auto 0; font-size: 14px; color: var(--ink-3); }
  .try-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .try-msg { margin: 14px auto 0; font-size: 15px; color: var(--ink-2); min-height: 1.4em; }
  .try-msg.err { color: var(--red); }
  .try-ic { width: 28px; height: 28px; border-radius: 7px; flex: none; align-self: center; margin-left: 14px; box-shadow: inset 0 0 0 1px var(--line); animation: toin .3s var(--ease) both; }
  .try input { padding-left: 10px; }
  /* Result: a grey box like the 01/03 parts, white cards inside, the CTA next to the app */
  .try-out { max-width: 1140px; width: calc(100% - 40px); margin: 56px auto 8px; padding: clamp(24px, 4vw, 52px); border-radius: 40px; background: var(--mist); text-align: left; scroll-margin-top: 90px; }
  .try-out[hidden] { display: none; }
  .to-head { display: flex; align-items: center; gap: 16px; }
  .to-head img, .to-ph { width: 60px; height: 60px; border-radius: 14px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.06); background: #fff; }
  .to-head > div { min-width: 0; flex: 1; }
  .to-head b { display: block; font: 600 clamp(22px, 2.4vw, 30px)/1.1 var(--sans); letter-spacing: -.03em; }
  .to-head span { display: block; font-size: 15px; color: var(--ink-3); margin-top: 4px; }
  .to-btn { flex: none; }
  .to-bar { height: 4px; border-radius: 4px; background: rgba(17,18,20,.08); margin-top: 22px; overflow: hidden; }
  .to-bar i { display: block; height: 100%; width: 4%; border-radius: 4px; background: var(--red); transition: width 18s cubic-bezier(.2,.6,.3,1); }
  .to-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
  .to-card { background: var(--paper); border-radius: 24px; padding: 10px; display: flex; flex-direction: column; animation: toin .5s var(--ease) both; box-shadow: 0 20px 40px -32px rgba(17,18,20,.35); }
  .to-card:nth-child(2) { animation-delay: .12s; } .to-card:nth-child(3) { animation-delay: .24s; }
  .to-cov { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--mist); }
  .to-cov img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .to-cov em { position: absolute; left: 10px; bottom: 10px; font: 600 12.5px/1 var(--sans); font-style: normal; color: #fff; background: rgba(17,18,20,.72); padding: 6px 9px; border-radius: 999px; }
  .to-body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 8px; }
  .to-card small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
  .to-card h3 { margin: 8px 0 6px; font: 600 19px/1.2 var(--sans); letter-spacing: -.015em; }
  .to-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
  .to-card .to-app { margin-top: auto; padding-top: 14px; font-size: 13.5px; color: var(--red); font-weight: 600; }
  .to-foot { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--ink-3); }
  .to-card.sk .to-cov, .to-card.sk i { background: linear-gradient(90deg, var(--mist) 30%, #fafaf8 50%, var(--mist) 70%) 0 0 / 300% 100%; animation: sk 1.4s linear infinite; }
  .to-card.sk i { display: block; height: 12px; border-radius: 6px; margin-top: 10px; } .to-card.sk i:nth-child(2) { height: 20px; width: 70%; } .to-card.sk i:nth-child(3) { width: 90%; }
  @keyframes toin { from { opacity: 0; transform: translateY(10px); } }
  @keyframes sk { to { background-position: -150% 0; } }
  @media (max-width: 900px) { .to-grid { grid-template-columns: minmax(0,1fr); } .to-head { flex-wrap: wrap; } .to-btn { width: 100%; } .to-card { flex-direction: row; gap: 4px; } .to-cov { width: 104px; flex: none; aspect-ratio: 9/16; align-self: flex-start; } .to-cov em { left: 6px; bottom: 6px; font-size: 11px; padding: 5px 7px; } .to-body { padding: 4px 6px 6px 10px; } .try-out { border-radius: 28px; } }
  @media (max-width: 520px) {
    .try { flex-wrap: wrap; border-radius: 26px; padding: 8px; }
    .try-ic { margin-left: 10px; }
    .try input { height: 48px; padding: 0 8px; }
    .try .btn { width: 100%; }
  }
  
.faq { max-width: 760px; margin: 52px auto 0; text-align: left; }
  .faq details { border-top: 1px solid var(--line); }
  .faq details:last-child { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font: 500 19px/1.3 var(--sans); letter-spacing: -.01em; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--ink-3); transition: transform .3s var(--ease); }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 62ch; }
  .close { padding-block: 40px clamp(110px, 12vw, 160px); text-align: center; }
  .close h2 { font-size: clamp(48px, 7.4vw, 112px); max-width: 12ch; }
  
.band .faq details { background: var(--paper); border: 0; border-radius: 18px; padding: 0 24px; margin-top: 10px; display: flow-root; }
  .band .faq summary { padding: 22px 0; }
  .close.dark-band { background: var(--night); color: #fff; padding-block: clamp(110px, 12vw, 160px) clamp(96px, 11vw, 140px); }
  .close.dark-band h2 em { color: rgba(255,255,255,.5); }
  .close.dark-band .btn { background: #fff; color: var(--ink); }
  .close.dark-band .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
  .close.dark-band .note { color: rgba(255,255,255,.55); }
  footer.dark-band { background: var(--night); color: rgba(255,255,255,.5); border-top-color: var(--night-line); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  
/* ---------- TikTok-style viewer ---------- */
  .tv { position: fixed; inset: 0; z-index: 90; background: rgba(8,8,10,.92); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); animation: tvin .2s ease; }
  @keyframes tvin { from { opacity: 0; } }
  /* the stage takes the post's own shape (--r, from its first slide): 9:16, 3:4 or square, as big as fits */
  .tv { --r: 9/16; --h: min(88vh, 860px); }
  .tv-stage { position: relative; width: min(100%, calc(var(--h) * var(--r))); aspect-ratio: var(--r); border-radius: 18px; overflow: hidden; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; }
  .tv-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .tv-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 3px; z-index: 3; }
  .tv-bars i { flex: 1; height: 2.5px; border-radius: 3px; background: rgba(255,255,255,.35); } .tv-bars i.on { background: #fff; }
  .tv-top { position: absolute; top: 22px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
  .tv-count { font: 600 12px/1 var(--tt); color: #fff; background: rgba(0,0,0,.35); padding: 6px 9px; border-radius: 999px; }
  .tv-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .tv-x svg { width: 16px; height: 16px; }
  .tv-x:focus-visible, .tv-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .tv-zone { position: absolute; top: 60px; bottom: 0; width: 40%; z-index: 2; background: transparent; border: 0; cursor: pointer; }
  .tv-zone.l { left: 0; } .tv-zone.r { right: 0; width: 60%; }
  .tv-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 14px 16px; z-index: 2; color: #fff; pointer-events: none; background: linear-gradient(transparent, rgba(0,0,0,.55)); font: 500 13.5px/1.35 var(--tt); }
  .tv-cap b { display: block; margin-bottom: 4px; } .tv-cap span { display: block; margin-top: 6px; opacity: .85; font-size: 12.5px; }
  .tv-arrow { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
  .tv-arrow:hover { background: rgba(255,255,255,.26); } .tv-arrow svg { width: 20px; height: 20px; }
  .tv-arrow.l { left: max(20px, calc(50% - var(--h) * var(--r) / 2 - 80px)); } .tv-arrow.r { right: max(20px, calc(50% - var(--h) * var(--r) / 2 - 80px)); }
  .tv-arrow[disabled] { opacity: .25; cursor: default; }
  
.tv-hint { position: fixed; bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.55); font: 500 12.5px/1 var(--tt); }
/* ================= Kit additions (SEO pages only) ================= */
img { max-width: 100%; height: auto; }
.band { background: var(--mist); }
/* Hero: same voice as the front page, a size down so the H1 can carry a full search phrase */
.s-hero { padding-block: clamp(132px, 13vw, 176px) clamp(64px, 8vw, 104px); text-align: center; }
.s-hero h1 { margin: 0 auto; font: 600 clamp(40px, 5.6vw, 78px)/.98 var(--sans); letter-spacing: -.048em; max-width: 17ch; text-wrap: balance; }
.s-hero .sub { max-width: 50ch; margin-top: 26px; }
.s-hero .proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 30px auto 0; font-size: 15px; color: var(--ink-2); }
.s-hero .proof b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.crumbs { margin: 0 auto 26px; font-size: 14px; color: var(--ink-3); }
.crumbs ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); } .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.updated { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

/* Long-form text (guides). Left-aligned, ~68ch measure */
.prose { max-width: 68ch; margin: 0 auto; text-align: left; font-size: 18px; line-height: 1.65; color: var(--ink); }
.prose h2 { font: 600 clamp(30px, 3.6vw, 44px)/1.05 var(--sans); letter-spacing: -.035em; margin: 2.2em 0 .6em; max-width: none; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 22px/1.25 var(--sans); letter-spacing: -.015em; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; } .prose li::marker { color: var(--ink-3); }
.prose a { text-decoration: underline; text-decoration-color: rgba(17,18,20,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); color: var(--ink-2); }
.prose .answer { background: var(--mist); border-radius: 22px; padding: 22px 26px; margin: 0 0 1.6em; }
.prose .answer p:last-child { margin-bottom: 0; }

/* Format cards: a real first slide with its numbers. Used wherever the library shows up */
.fmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 46%), 1fr)); gap: 14px; text-align: left; }
.fmt { display: flex; flex-direction: column; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.fmt-cov { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: var(--mist); }
.fmt-cov img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.fmt:hover .fmt-cov img { transform: scale(1.03); }
.fmt-cov em { position: absolute; left: 8px; bottom: 8px; font: 600 12px/1 var(--sans); font-style: normal; color: #fff; background: rgba(17,18,20,.72); padding: 6px 8px; border-radius: 999px; }
.fmt b { font: 600 15px/1.3 var(--sans); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fmt small { font-size: 13px; color: var(--ink-3); line-height: 1.35; }

/* Data table */
.tbl-wrap { overflow-x: auto; margin: 0 auto; max-width: 1000px; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; text-align: left; font-size: 15.5px; }
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-weight: 600; color: var(--ink-3); font-size: 13.5px; }
.tbl tbody th { font-weight: 600; }
.tbl .us { background: rgba(254,44,85,.05); }

/* Related pages (bottom of each page, before the close) */
.rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; max-width: 1000px; margin: 40px auto 0; text-align: left; }
.rel a { display: block; padding: 20px 22px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.rel a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rel b { display: block; font: 600 17px/1.25 var(--sans); letter-spacing: -.01em; }
.rel span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

/* Footer link hub (dark), replaces the single-line footer on SEO pages */
.fhub { background: var(--night); color: rgba(255,255,255,.62); padding-block: 64px 28px; font-size: 14.5px; }
.fhub-cols { display: grid; grid-template-columns: 1.25fr repeat(5, minmax(0,1fr)); gap: 28px; }
.fhub h2 { font: 600 13.5px/1.2 var(--sans); letter-spacing: 0; color: #fff; margin: 0 0 14px; max-width: none; }
.fhub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fhub a:hover { color: #fff; }
.fhub .logo { color: #fff; } .fhub .logo g { fill: #fff; }
.fhub-brand p { margin: 14px 0 0; max-width: 30ch; line-height: 1.5; }
.fhub-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13.5px; color: rgba(255,255,255,.45); padding-bottom: env(safe-area-inset-bottom, 0px); }
.fhub-base nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1100px) { .fhub-cols { grid-template-columns: repeat(3, minmax(0,1fr)); } .fhub-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .fhub-cols { grid-template-columns: repeat(2, minmax(0,1fr)); } .fhub-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
