/* ReportRivet website styles. Colors and type follow Branding Guide/BRAND-GUIDE.md. */

@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand palette */
  --teal: #126C67;
  --teal-dark: #0D524E;
  --ink: #20333B;
  --slate: #52636B;
  --copper: #AD5B34;
  --copper-light: #E7B394;
  --paper: #F4F7F6;
  --white: #FFFFFF;
  --pale: #E2F0EC;
  --rule: #C8D2D4;
  --rule-strong: #8C9A9F;

  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 8px;
  --sheet-shadow: 0 1px 2px rgba(32, 51, 59, .08), 0 8px 24px rgba(32, 51, 59, .10);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: .75em; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--white); }

/* Placeholder values the owner still has to confirm. Visible on purpose. */
.tbd { background: #FFF4DA; color: #6B4600; border-bottom: 1.5px dashed #8A5800; padding: 0 .2em; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-large { min-height: 52px; padding: 13px 26px; font-size: 1.0625rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.on-ink .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.on-ink .btn-secondary:hover { border-color: var(--white); color: var(--white); }
.on-ink :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 3px var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.3rem; letter-spacing: -.005em; flex: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: var(--radius); font-weight: 400; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header-actions .account { color: var(--ink); text-decoration: none; font-size: .975rem; }
.header-actions .account:hover { color: var(--teal); text-decoration: underline; }
.header-actions .btn { min-height: 40px; padding: 8px 16px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); min-height: 40px; padding: 6px 12px; font: 600 .95rem var(--font); color: var(--ink); cursor: pointer; }

@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav, .header-actions { display: none; width: 100%; }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: stretch; padding: 8px 0; border-top: 1px solid var(--rule); }
  .site-header.open .nav a { padding: 12px 8px; }
  .site-header.open .header-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 4px 0 16px; }
  .site-header.open .header-actions .account { padding: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.75rem, 2.6vw, 2.125rem); letter-spacing: -.01em; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 1.125rem; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(72px, 9vw, 120px); }
.hero h1 { font-size: clamp(2.375rem, 4.4vw, 3.25rem); letter-spacing: -.02em; line-height: 1.06; max-width: 15ch; }
.hero .lede { margin-top: 22px; font-size: 1.2rem; color: var(--slate); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fineprint { margin-top: 20px; font-size: .95rem; color: var(--slate); }
.hero .fineprint svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

.workbench { position: relative; margin: 0 calc(-1 * var(--gutter) - 6vw) 0 0; padding-bottom: 4%; }
.window { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--sheet-shadow); overflow: hidden; }
.window img { width: 100%; }
.workbench .sheet {
  position: absolute; left: 50%; bottom: -10%; width: 34%;
  background: var(--white); border: 1px solid var(--rule); border-radius: 2px;
  box-shadow: 0 2px 4px rgba(32,51,59,.08), 0 18px 40px rgba(32,51,59,.18);
  transform: rotate(-1.4deg);
}
/* The rivet: the brand mark's copper fastening dot, pinning the exported page to the workspace. */
.workbench .sheet::before {
  content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--copper);
  box-shadow: inset 0 0 0 3px var(--copper-light), 0 1px 2px rgba(32,51,59,.35);
}
.workbench figcaption { margin-top: 16px; max-width: 46%; font-size: .9rem; color: var(--slate); line-height: 1.4; }
.workbench figcaption strong { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .workbench { margin-right: 0; padding-bottom: 22%; }
  .workbench .sheet { left: auto; right: 4%; width: 38%; bottom: -4%; }
  .workbench figcaption { max-width: 55%; }
}

/* ---------- Who it's for ---------- */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.role { border-top: 2px solid var(--ink); padding-top: 18px; }
.role h3 { font-size: 1.2rem; }
.role ul { list-style: none; margin: 12px 0 0; padding: 0; color: var(--slate); }
.role li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.role li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: calc(33.33% - 22px); height: 2px; background: var(--rule); }
.step { position: relative; }
.step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; font-size: 1.1rem; position: relative; box-shadow: 0 0 0 6px var(--paper); }
.step h3 { margin-top: 20px; font-size: 1.35rem; }
.step p { margin-top: 8px; color: var(--slate); max-width: 34ch; }
.step .window { margin-top: 22px; }
.zoomable { cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.zoomable .window { display: block; }
.zoomable:hover .window { border-color: var(--rule-strong); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .step { padding-left: 64px; }
  .step .num { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 8px; }
}

/* ---------- Capabilities ---------- */
.features { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.feature-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.feature-tab {
  display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule);
  padding: 18px 16px 18px 18px; font: inherit; color: var(--ink); cursor: pointer; position: relative;
}
.feature-tab::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: transparent; }
.feature-tab .t { display: block; font-weight: 600; font-size: 1.15rem; }
.feature-tab .d { display: block; margin-top: 4px; color: var(--slate); font-size: 1rem; }
.feature-tab:hover { background: var(--paper); }
.feature-tab[aria-selected="true"] { background: var(--pale); }
.feature-tab[aria-selected="true"]::before { background: var(--teal); }
.feature-tab[aria-selected="true"] .t { color: var(--teal-dark); }
.feature-panel { margin: 0; }
.feature-panel[hidden] { display: none; }
.feature-panel figcaption { margin-top: 14px; color: var(--slate); font-size: .975rem; max-width: 70ch; }
.feature-panel figcaption strong { color: var(--ink); font-weight: 600; }
.feature-panel .window { transition: opacity .2s; }
/* Without JavaScript, every panel shows in turn. */
.no-js .feature-list { display: none; }
.no-js .features { grid-template-columns: 1fr; }
.no-js .feature-panel[hidden] { display: block; margin-top: 40px; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .feature-list { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--rule); scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .feature-tab { flex: none; width: auto; border-bottom: 0; padding: 12px 14px; scroll-snap-align: start; }
  .feature-tab::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; }
  .feature-tab .d { display: none; }
  .feature-tab .t { font-size: 1rem; white-space: nowrap; }
}

/* ---------- Sample report ---------- */
.on-ink { background: var(--ink); color: var(--white); }
.on-ink .section-head p { color: #C9D4D7; }
.on-ink a { color: var(--white); }
.pages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: start; }
.page-item { margin: 0; }
.page { display: block; background: var(--white); border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 12px 32px rgba(0,0,0,.28); overflow: hidden; }
.page img { width: 100%; aspect-ratio: 1275 / 1650; }
.page-item figcaption { margin-top: 12px; font-size: .95rem; color: #C9D4D7; }
.page-item figcaption strong { color: var(--white); font-weight: 600; }
.pages-scroll { margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
@media (max-width: 860px) {
  .pages { grid-template-columns: repeat(5, 62vw); }
  .page-item { scroll-snap-align: center; }
}
.downloads { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 16px 24px; align-items: stretch; }
.download { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-lg); text-decoration: none; color: var(--white); transition: border-color .15s, background-color .15s; }
.download:hover { border-color: var(--white); background: rgba(255,255,255,.05); color: var(--white); }
.download .icon { flex: none; width: 44px; height: 52px; border-radius: 3px; background: var(--white); color: var(--ink); display: grid; place-items: end center; padding-bottom: 6px; font-weight: 700; font-size: .8rem; position: relative; }
.download .icon::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 12px 12px 0; border-color: transparent var(--ink) #C9D4D7 transparent; }
.download .icon.word { color: var(--teal); }
.download .icon.pdf { color: var(--copper); }
.download .t { display: block; font-weight: 600; font-size: 1.1rem; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(255,255,255,.4); }
.download:hover .t { text-decoration-color: var(--white); }
.download .d { display: block; margin-top: 4px; color: #C9D4D7; font-size: .95rem; }
.sample-note { color: #C9D4D7; font-size: .95rem; align-self: center; }
@media (max-width: 860px) { .downloads { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.price-side { padding: clamp(28px, 4vw, 48px); background: var(--white); border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.price-side h3 { font-size: 1.35rem; }
.price-side .sub { color: var(--slate); margin-top: 4px; }
.price { margin-top: 28px; font-size: clamp(2.75rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.price .currency { font-size: 1.1rem; font-weight: 600; color: var(--slate); letter-spacing: 0; margin-left: 6px; }
.price-switch { margin-top: 10px; font-size: .95rem; color: var(--slate); }
.price-switch[hidden] { display: none; }
.link-button { padding: 0; border: 0; background: none; font: inherit; color: var(--teal); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.link-button:hover { color: var(--teal-dark); }
.price-terms { margin-top: 14px; color: var(--slate); }
.price-side .btn { margin-top: 28px; align-self: flex-start; }
.checkout-note { margin-top: 18px; font-size: .95rem; color: var(--slate); max-width: 40ch; }
.terms { margin: 0; padding: clamp(20px, 3vw, 32px) clamp(28px, 4vw, 48px); display: grid; }
.terms div { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.terms div:last-child { border-bottom: 0; }
.terms dt { font-weight: 600; }
.terms dd { margin: 0; color: var(--slate); }
.terms dd strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .pricing { grid-template-columns: 1fr; }
  .price-side { border-right: 0; border-bottom: 1px solid var(--rule); }
  .terms div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--teal); }
.faq .answer { padding: 0 0 24px; color: var(--slate); max-width: 68ch; }
.faq .answer ul { margin: .5em 0 0; padding-left: 1.2em; }
.faq .answer li + li { margin-top: .3em; }
.faq .answer strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- Closing prompt ---------- */
.closing { padding: clamp(64px, 8vw, 96px) 0; background: var(--paper); border-top: 1px solid var(--rule); }
.closing .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: -.015em; max-width: 18ch; }
.closing p { margin-top: 10px; color: var(--slate); font-size: 1.125rem; max-width: 46ch; }
.closing .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D4D7; padding: 56px 0 32px; font-size: .975rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 14px; max-width: 32ch; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.footer-base p { margin: 0; }
.site-footer :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 3px var(--ink); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Image viewer ---------- */
.viewer { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1440px); max-height: 94vh; overflow: visible; }
.viewer::backdrop { background: rgba(20, 32, 37, .86); }
.viewer[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.viewer img { max-width: 100%; max-height: calc(94vh - 64px); width: auto; object-fit: contain; background: var(--white); border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.viewer .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; color: var(--white); }
.viewer .bar p { font-size: 1rem; }
.viewer .close { background: var(--white); color: var(--ink); border: 0; border-radius: var(--radius); min-height: 40px; padding: 8px 14px; font: 600 .95rem var(--font); cursor: pointer; }
.viewer .close:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 3px rgba(20,32,37,1); }

/* ---------- Simple inner pages ---------- */
.page-intro { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 56px); }
.page-intro h1 { font-size: clamp(2.125rem, 4vw, 2.75rem); letter-spacing: -.015em; }
.page-intro p { margin-top: 14px; color: var(--slate); font-size: 1.15rem; max-width: 56ch; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--slate); }
.page-intro .terms-meta { margin-top: 10px; font-size: 1rem; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .95rem; }
.doc-toc h2 { font-size: 1rem; margin-bottom: 10px; }
.doc-toc ol { margin: 0; padding-left: 1.4em; color: var(--slate); }
.doc-toc li { padding: 3px 0; }
.doc-toc a { color: var(--ink); text-decoration: none; }
.doc-toc a:hover { color: var(--teal); text-decoration: underline; }
.legal h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal ul { padding-left: 1.2em; margin: .75em 0; }
.legal li + li { margin-top: .3em; }
.legal .summary { background: var(--pale); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-bottom: 2.5em; }
.legal .summary h2 { margin: 0 0 .5em; font-size: 1.2rem; }
.legal .summary p { color: var(--ink); }
.legal .draft-flag { font-size: .975rem; }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; } }
.release { border-top: 2px solid var(--ink); padding-top: 18px; }
.release + .release { margin-top: 48px; }
.release h2 { font-size: 1.5rem; margin: 0; }
.release .date { color: var(--slate); margin-top: 4px; }
.release ul { margin: 16px 0 0; padding-left: 1.2em; color: var(--slate); }
.release li + li { margin-top: .4em; }

/* ---------- Support pages (getting started, downloads, help, support, privacy) ---------- */
.page-intro .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-tight + .section-tight { padding-top: 0; }
.block-title { font-size: clamp(1.5rem, 2.2vw, 1.75rem); letter-spacing: -.01em; margin-bottom: 20px; }
.block-lede { color: var(--slate); margin: -8px 0 20px; max-width: 64ch; }

/* Fact panel: what you need before you start, what's included, and so on. */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.facts > div { padding: 24px 28px; border-right: 1px solid var(--rule); }
.facts > div:last-child { border-right: 0; }
.facts h3 { font-size: 1.1rem; margin-bottom: 10px; }
.facts p, .facts li { color: var(--slate); }
.facts ul { margin: 0; padding-left: 1.15em; }
.facts li + li { margin-top: .35em; }
.facts strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .facts > div { border-right: 0; border-bottom: 1px solid var(--rule); } .facts > div:last-child { border-bottom: 0; } }

/* Ordered walkthrough: the step number sits on a line that runs down the page. */
.walkthrough { list-style: none; margin: 0; padding: 0; position: relative; }
.walkthrough::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--rule); }
.walkthrough > li { position: relative; padding-left: 76px; }
.walkthrough > li + li { margin-top: clamp(40px, 5vw, 64px); }
.walkthrough .num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--white); }
.walkthrough .step-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.walkthrough .step-body.no-shot { grid-template-columns: minmax(0, 1fr); max-width: 64ch; }
.walkthrough h3 { font-size: 1.35rem; padding-top: 8px; }
.walkthrough .step-text p { margin-top: 10px; color: var(--slate); }
.walkthrough .step-text ul { margin: 10px 0 0; padding-left: 1.15em; color: var(--slate); }
.walkthrough .step-text li + li { margin-top: .35em; }
.walkthrough strong { color: var(--ink); font-weight: 600; }
.walkthrough figure { margin: 0; }
.walkthrough figcaption { margin-top: 10px; font-size: .925rem; color: var(--slate); }
@media (max-width: 860px) {
  .walkthrough > li { padding-left: 64px; }
  .walkthrough .step-body { grid-template-columns: 1fr; }
}

/* Short inline notes: teal for tips, copper rule for cautions. */
.note { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--teal); background: var(--pale); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-size: .975rem; }
.note.caution { border-left-color: var(--copper); background: var(--paper); }
.note p + p { margin-top: .5em; }

/* Related pages strip at the end of each support page. */
.related { border-top: 1px solid var(--rule); padding: 40px 0 clamp(56px, 7vw, 88px); }
.related h2 { font-size: 1.1rem; margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 32px; }
.related a { font-weight: 600; font-size: 1.05rem; }
.related span { display: block; color: var(--slate); font-size: .95rem; margin-top: 2px; }

/* Release labels */
.label { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .875rem; font-weight: 600; line-height: 1.4; }
.label-included { background: var(--pale); color: var(--teal-dark); }
.label-paid { background: var(--white); color: var(--copper); border: 1px solid var(--copper); }

/* Release list on What's new */
.releases { max-width: 820px; }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.release .summary-line { margin-top: 12px; color: var(--ink); font-size: 1.075rem; }
.release h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.release h3 + ul { margin-top: 0; }
.release .release-action { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.release .release-action .btn { min-height: 40px; padding: 8px 16px; }

/* Version table on Downloads */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); }
.versions { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 1rem; }
.versions th, .versions td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.versions thead th { background: var(--paper); font-weight: 600; font-size: .95rem; }
.versions tbody tr:last-child td { border-bottom: 0; }
.versions td { color: var(--slate); }
.versions td:first-child { color: var(--ink); font-weight: 600; }

/* Main action panel (Downloads, Support) */
.action-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--teal); border-radius: var(--radius-lg); }
.action-panel h2 { font-size: clamp(1.4rem, 2vw, 1.6rem); }
.action-panel p { margin-top: 10px; color: var(--slate); }
.action-panel .act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.action-panel .after { font-size: .95rem; color: var(--slate); }
@media (max-width: 760px) { .action-panel { grid-template-columns: 1fr; } }

/* Check lists: what to include / what not to send */
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.lists h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--rule); color: var(--slate); }
.ticks li:last-child { border-bottom: 0; }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.ticks.crosses li::before { left: 3px; top: 14px; width: 14px; height: 14px; border: 0; transform: none;
  background: linear-gradient(45deg, transparent 43%, var(--copper) 43%, var(--copper) 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--copper) 43%, var(--copper) 57%, transparent 57%); }
@media (max-width: 760px) { .lists { grid-template-columns: 1fr; } }

/* Help groups reuse the FAQ accordion; each group gets a heading. */
.help-group + .help-group { margin-top: 56px; }
.help-group > h2 { font-size: 1.4rem; margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.faq details { scroll-margin-top: calc(var(--header-h) + 16px); }
.faq .answer ol { margin: .5em 0 0; padding-left: 1.3em; }
.faq .answer ol li + li { margin-top: .35em; }
.faq .answer p + p, .faq .answer ul + p, .faq .answer ol + p { margin-top: .75em; }

/* Plain policy body (privacy) */
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .975rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.legal th { color: var(--ink); background: var(--paper); font-weight: 600; }
.legal td { color: var(--slate); }

/* Not found */
.not-found { padding: clamp(64px, 10vw, 128px) 0; }
.not-found h1 { font-size: clamp(2.125rem, 4vw, 2.75rem); letter-spacing: -.015em; max-width: 18ch; }
.not-found p { margin-top: 14px; color: var(--slate); font-size: 1.15rem; max-width: 52ch; }
.not-found .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.not-found .links { list-style: none; padding: 24px 0 0; margin: 40px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 28px; }
