/* FilesPro website. Light by default; [data-theme="dark"] on <html> switches. */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f4f1ec;
  --surface: #ffffff;
  --ink: #15171c;
  --ink-2: #353944;
  --muted: #5d6270;
  --line: #e6e1d9;
  --line-strong: #d6cfc4;
  --brand: #ee5f24;
  --brand-ink: #c2410c;
  --brand-2: #ffb938;
  --brand-soft: #fff1e6;
  --charcoal: #22252d;
  --ok: #15803d;
  --shadow-sm: 0 1px 2px rgba(20, 18, 14, .06), 0 1px 1px rgba(20, 18, 14, .04);
  --shadow-lg: 0 30px 60px -20px rgba(40, 28, 12, .28), 0 12px 24px -12px rgba(40, 28, 12, .18);
  --radius: 14px;
  --max: 1160px;
  --gutter: 24px;
  --font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0f1115;
  --bg-alt: #14171c;
  --surface: #191c22;
  --ink: #eef0f4;
  --ink-2: #cdd1da;
  --muted: #9aa1ae;
  --line: #262a33;
  --line-strong: #343945;
  --brand: #ff7a3d;
  --brand-ink: #ff9a63;
  --brand-soft: #2a1a12;
  --charcoal: #0b0c0f;
  --ok: #4ade80;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
kbd {
  font: 600 .78em/1 var(--mono);
  display: inline-block;
  padding: .32em .5em .28em;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--font);
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--charcoal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .btn-primary { background: #fff; color: #111; }
:root[data-theme="dark"] .btn-primary:hover { color: #111; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); }
.btn .ms-logo { width: 18px; height: 18px; flex: none; }
.btn small { display: block; font-weight: 400; font-size: 11px; opacity: .75; margin-bottom: 3px; letter-spacing: .02em; }
.btn-store { padding: 10px 22px 10px 18px; text-align: left; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 19px/1 var(--font-display); letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-end .btn { padding: 10px 18px; font-size: 14px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 22% 30%, color-mix(in srgb, var(--brand-2) 34%, transparent), transparent 70%),
    radial-gradient(38% 46% at 78% 22%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-icon { width: 96px; height: 96px; margin: 0 auto 24px; filter: drop-shadow(0 14px 22px rgba(238, 95, 36, .3)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-ink);
}
.hero .eyebrow { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; max-width: 14ch; margin: 0 auto; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, #f59e0b 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; margin: 22px auto 0; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.meta span + span::before { content: "·"; margin: 0 10px; opacity: .6; }

/* Window frame around screenshots */
.window {
  position: relative;
  border-radius: 12px;
  background: #1c1c1c;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .12);
  overflow: hidden;
}
.window img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
button.window { padding: 0; border: 0; cursor: zoom-in; display: block; width: 100%; font: inherit; }
.hero-shot { margin: 56px auto 0; max-width: 1080px; }
.hero-shot .window { transform: perspective(2000px) rotateX(4deg); transform-origin: 50% 0; transition: transform .6s ease; }
.hero-shot:hover .window { transform: none; }

/* Trust strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); margin-top: 64px; }
.strip ul { list-style: none; margin: 0 auto; padding-block: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip li { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-align: left; }
.strip svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* Sections */
section { padding: 104px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 16px; }
.alt { background: var(--bg-alt); }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin: 10px 0 14px; }
.feature-text > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ee5f24' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks code, .filters code { font: 500 .88em var(--mono); background: var(--brand-soft); color: var(--brand-ink); padding: 1px 6px; border-radius: 5px; }
.stack { position: relative; padding-bottom: 12%; }
.stack .back { width: 82%; margin-left: auto; opacity: .95; }
.stack .front { position: absolute; left: 0; bottom: 0; width: 70%; }

/* Undo callout */
.undo-card {
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-size: 15px; color: var(--ink-2); box-shadow: var(--shadow-sm);
}

/* Keyboard */
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.palette {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 15px;
}
.palette-input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
.palette-input svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.palette-input .typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 1px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.palette ul { list-style: none; margin: 0; padding: 8px; min-height: 290px; }
.palette li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); }
.palette li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette li.on { background: var(--brand-soft); color: var(--ink); }
.palette li.on span::before { content: ""; display: inline-block; width: 3px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 2px; background: var(--brand); }
.palette li b { font-weight: 600; color: var(--brand-ink); }
.palette li kbd { font-size: 11px; }
.palette li .keyset { flex: none; white-space: nowrap; }
.shortcut-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.shortcut-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.shortcut-list .k { display: flex; gap: 4px; min-width: 84px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--surface); }

/* Themes */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.swatch { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.swatch i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stat b { display: block; font: 700 32px/1 var(--font-display); letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--muted); }
/* Four stats: as many per row as fit. */
.stats.four { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }
.gallery .window { border-radius: 10px; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s; }
.gallery .window:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Privacy */
.privacy-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 24px; background: var(--charcoal); color: #eef0f4;
  position: relative; overflow: hidden;
}
.privacy-panel::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 166, 61, .35), transparent 65%);
}
.privacy-panel h2 { font-size: clamp(30px, 3.6vw, 44px); }
.privacy-panel p { color: #b9bec9; margin-top: 16px; font-size: 17px; }
.privacy-panel .eyebrow { color: #ffb070; }
.privacy-panel a { color: #ffb070; }
.no-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.no-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.no-list b { display: block; color: #fff; font-size: 16px; }
.no-list span { color: #a9afbb; font-size: 14.5px; }
.no-list svg { width: 22px; height: 22px; color: #ffb070; flex: none; margin-top: 2px; }

/* Final CTA */
.final { text-align: center; }
.final img { width: 88px; height: 88px; margin: 0 auto 24px; }
.final h2 { font-size: clamp(34px, 4.6vw, 56px); }
.final p { color: var(--muted); font-size: 19px; margin: 16px auto 0; max-width: 560px; }
.req { margin: 40px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: left; }
.req div { background: var(--surface); padding: 18px 20px; }
.req dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.req dd { margin: 6px 0 0; font-size: 15px; font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { font-size: 16px; }
.site-footer .brand img { width: 24px; height: 24px; }
.fine { width: 100%; font-size: 13px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(10, 10, 12, .82); backdrop-filter: blur(4px); }
dialog.lightbox img { width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
dialog.lightbox p { color: #e5e7eb; text-align: center; margin-top: 14px; font-size: 15px; }
dialog.lightbox .close { position: fixed; top: 16px; right: 16px; background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shot .window { transform: none; }
  .palette-input .typed::after { animation: none; }
  .btn:hover, .card:hover, .gallery .window:hover { transform: none; }
}

/* Plain document pages (privacy) */
.doc { max-width: 760px; padding: 64px var(--gutter) 96px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc .date { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -.01em; }
.doc p { color: var(--ink-2); margin-bottom: 12px; }
.doc .summary { padding: 20px 22px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); font-size: 18px; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .feature, .feature.flip, .keys, .privacy-panel { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-text { order: 0; }
  .grid, .gallery { grid-template-columns: 1fr 1fr; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li { justify-content: flex-start; }
  .privacy-panel { padding: 40px 32px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .hero-icon { width: 76px; height: 76px; }
  .nav-end .btn { display: none; }
  .grid, .gallery, .shortcut-list, .stats, .req { grid-template-columns: 1fr; }
  .feature + .feature { margin-top: 80px; }
  .section-head { margin-bottom: 44px; }
  .privacy-panel { padding: 32px 20px; border-radius: 18px; }
  .meta span { display: block; }
  .meta span + span::before { content: none; }
  .palette ul { min-height: 0; }
  .palette li .keyset { display: none; }
}

/* Guides and reference pages */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; opacity: .7; }
.doc.wide { max-width: 960px; }
.doc .lead { font-size: 19px; color: var(--muted); margin: 6px 0 28px; }
.doc .byline { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; letter-spacing: -.01em; }
.doc ul, .doc ol { color: var(--ink-2); padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--brand); }
.doc code { font: 500 .88em var(--mono); background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.doc pre {
  font: 13.5px/1.6 var(--mono); background: var(--charcoal); color: #e8eaf0;
  padding: 18px 20px; border-radius: 12px; overflow-x: auto; margin: 0 0 18px;
}
.doc pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.doc .window { margin: 8px 0 28px; }
.doc .note { padding: 16px 18px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; color: var(--ink); margin: 0 0 18px; }
.doc .toc { padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 36px; }
.doc .toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.doc .toc ol { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-alt); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { color: var(--ink); }
.doc td.keys { white-space: nowrap; width: 1%; }
.doc td.keys kbd + kbd { margin-left: 3px; }
.yes { color: var(--ok); font-weight: 600; }
.part { color: var(--brand-ink); font-weight: 600; }
.no { color: var(--muted); font-weight: 600; }
.cta-box {
  margin: 48px 0 0; padding: 28px; border-radius: 16px; background: var(--charcoal); color: #eef0f4;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.cta-box img { width: 56px; height: 56px; }
.cta-box div { flex: 1 1 260px; }
.cta-box b { font: 700 20px/1.3 var(--font-display); display: block; }
.cta-box span { color: #b9bec9; font-size: 15px; }
.cta-box .btn-primary { background: #fff; color: #111; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.related a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.related a span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }
.related a:hover { border-color: var(--line-strong); }

/* Guides cards on the home page */
.guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guides a.card { text-decoration: none; display: flex; flex-direction: column; }
.guides a.card p { flex: 1; }
.guides .more { margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--brand-ink); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 600 18px/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 16.5px; }

@media (max-width: 980px) { .guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .guides { grid-template-columns: 1fr; }
  .doc { padding-top: 40px; }
  .cta-box { padding: 22px; }
}
