/* ADSpresso public site: home (pt-BR and en), privacy pages and the docs chrome.
   Tokens follow the commercial deck in apps/pitch so both read as one brand. */

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f4f0;
  --paper-2: #efebe4;
  --panel: #ffffff;
  --ink: #1b1410;
  --ink-2: #5b5047;
  --ink-3: #74685d;
  --line: rgba(27, 20, 16, 0.11);
  --line-strong: rgba(27, 20, 16, 0.22);
  --crema: #c4532a;
  --crema-soft: rgba(196, 83, 42, 0.1);
  --good: #2f7a50;
  --good-soft: rgba(47, 122, 80, 0.1);
  --bad: #b23a2a;
  --bad-soft: rgba(178, 58, 42, 0.09);
  --warn: #a8661b;
  --warn-soft: rgba(168, 102, 27, 0.1);

  --dark: #17110d;
  --dark-2: #221a15;
  --dark-text: #efe8de;
  --dark-text-2: #b7aa9c;
  --dark-line: rgba(242, 237, 228, 0.12);

  /* Type scale: every font-size in the site uses one of these steps. */
  --fs-xs: 13px;
  --fs-sm: 15px;
  --fs-card: 16px;
  --fs-body: 17px;
  --fs-title: 20px;
  --fs-sub: 28px;
  --fs-stat: 40px;
  --fs-stat-lg: 56px;
  --fs-h2: clamp(32px, 4vw, 52px);
  --fs-display: clamp(42px, 6.2vw, 84px);

  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 0 rgba(27, 20, 16, 0.04), 0 18px 40px -24px rgba(27, 20, 16, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --max: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --section: clamp(88px, 11vw, 148px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--crema); color: #fff; }
:focus-visible { outline: 2px solid var(--crema); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; }
h3, h4 { letter-spacing: -0.01em; line-height: 1.3; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.032em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.024em; }
.lead { font-size: var(--fs-title); line-height: 1.5; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.label { display: block; font-size: var(--fs-sm); color: var(--ink-3); }
.accent { color: var(--crema); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: var(--fs-card);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--crema); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link { color: var(--crema); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 244, 240, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.header-logo { transition: opacity 0.25s var(--ease); }
.header-logo img { height: 46px; width: auto; }
/* Home: the hero shows the big logo, so the header one appears only after it scrolls away. */
.header--home:not(.past-logo) .header-logo { opacity: 0; pointer-events: none; }
.no-js .header--home .header-logo { opacity: 1; pointer-events: auto; }
.header-nav { display: flex; gap: 28px; margin-left: auto; }
.header-nav a { font-size: var(--fs-card); color: var(--ink-2); transition: color 0.2s var(--ease); cursor: pointer; }
.header-nav a:hover, .header-nav a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-lang { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-2); padding: 6px 4px; cursor: pointer; }
.header-lang:hover { color: var(--ink); }
.header-toggle { display: none; width: 40px; height: 40px; margin-left: auto; border-radius: 8px; position: relative; }
.header-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.header-toggle span:first-child { top: 15px; }
.header-toggle span:last-child { top: 24px; }
.menu-open .header-toggle span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .header-toggle span:last-child { top: 19.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.mobile-menu a { padding: 16px 0; font-size: var(--fs-sub); border-bottom: 1px solid var(--line); cursor: pointer; }
.mobile-menu .btn { margin-top: 28px; justify-content: center; border-bottom: 0; font-size: var(--fs-card); padding: 0 22px; }
.menu-open .mobile-menu { visibility: visible; opacity: 1; }
.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--paper2 { background: var(--paper-2); }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .h2 { max-width: 22ch; }
.section-head .lead { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-logo { height: clamp(80px, 10vw, 132px); width: auto; margin-bottom: clamp(40px, 6vw, 72px); }
.hero-title { max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--crema); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-top: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-shot { position: relative; margin-top: clamp(56px, 7vw, 88px); }
.hero-shot .frame { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-badge {
  position: absolute;
  left: clamp(-8px, -1vw, 0px);
  bottom: 48px;
  width: 300px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(27, 20, 16, 0.45);
}
.hero-badge-num { font-size: var(--fs-stat-lg); line-height: 1; font-weight: 400; letter-spacing: -0.03em; color: var(--good); margin: 10px 0 12px; }
.hero-badge p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }

/* Product screenshot frame */
.frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame img { width: 100%; }
.frame-pad { padding: clamp(12px, 2vw, 24px); }

/* ---------- Credentials strip ---------- */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.creds-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cred { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; padding: 28px 28px 28px 0; }
.cred + .cred { padding-left: 28px; border-left: 1px solid var(--line); }
.cred img { flex: none; height: 26px; width: auto; }
.cred-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--paper); }
.cred-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cred strong { display: block; font-weight: 500; font-size: var(--fs-card); line-height: 1.3; }
.cred span { display: block; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.35; }

/* ---------- Problem ---------- */
.reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.report {
  padding: 22px 24px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.report:nth-child(1) { transform: rotate(-1.2deg); }
.report:nth-child(3) { transform: rotate(1deg) translateY(10px); }
.report-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.report-top strong { font-weight: 500; font-size: var(--fs-card); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: var(--fs-xs); font-weight: 500; background: var(--paper); color: var(--ink-2); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--good { background: var(--good-soft); color: var(--good); }
.tag--bad { background: var(--bad-soft); color: var(--bad); }
.report-num { font-size: var(--fs-stat); letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 14px; }
.report-num--vague { color: var(--ink-3); }
.report-foot { font-size: var(--fs-sm); color: var(--ink-3); }

.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 72px; }
.pain { border-top: 1px solid var(--ink); padding-top: 18px; }
.pain h3 { font-size: var(--fs-title); margin-bottom: 8px; }
.pain p { font-size: var(--fs-card); color: var(--ink-2); }

/* ---------- Operation ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); margin-bottom: 28px; }
.role { padding: 28px; }
.role + .role { border-left: 1px solid var(--line); }
.role .label { margin-bottom: 14px; }
.role h3 { font-size: var(--fs-title); margin-bottom: 6px; }
.role p { font-size: var(--fs-card); color: var(--ink-2); }
.role--us { background: var(--ink); color: var(--paper); border-radius: 0; }
.role--us .label { color: #e98c63; }
.role--us p { color: var(--dark-text-2); }

.caption { margin-top: 20px; max-width: 62ch; font-size: var(--fs-sm); color: var(--ink-2); }

.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.format { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.format-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.format-head h3 { font-size: var(--fs-sub); letter-spacing: -0.02em; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; font-size: var(--fs-card); color: var(--ink-2); }
.checks li::before { content: ''; flex: none; width: 14px; height: 8px; margin-top: 7px; border-left: 1.6px solid var(--crema); border-bottom: 1.6px solid var(--crema); transform: rotate(-45deg); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.vast { display: flex; gap: 4px; margin-bottom: 20px; }
.vast span { flex: 1; padding-top: 8px; border-top: 3px solid var(--crema); font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-3); }
.vast span:nth-child(n + 4) { border-top-color: rgba(196, 83, 42, 0.35); }

/* ---------- Dark band: brand safety ---------- */
.dark { background: var(--dark); color: var(--dark-text); }
.dark .label { color: var(--dark-text-2); }
.dark .lead, .dark .muted { color: var(--dark-text-2); }
.dark .section + .section, .dark.section + .section { border-top-color: var(--dark-line); }

.audit { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; gap: 12px; }
.audit-page, .audit-result { padding: 26px 28px; border-radius: var(--radius-lg); background: var(--dark-2); border: 1px solid var(--dark-line); }
.audit-url { font-family: var(--mono); font-size: var(--fs-xs); color: var(--dark-text-2); word-break: break-all; }
.audit-page h3 { font-size: var(--fs-title); margin: 10px 0 20px; color: #fff; }
.skeleton { display: grid; gap: 9px; }
.skeleton i { display: block; height: 7px; border-radius: 4px; background: rgba(242, 237, 228, 0.1); }
.skeleton i:last-child { width: 62%; }
.audit-arrow { justify-self: center; width: 26px; height: 26px; fill: none; stroke: #e98c63; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kv { display: grid; grid-template-columns: 140px 1fr; row-gap: 10px; font-size: var(--fs-card); }
.kv dt { color: var(--dark-text-2); }
.kv dd { color: #fff; }
.audit-verdict { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--dark-line); font-size: var(--fs-card); }
.dark .tag--good { background: rgba(98, 196, 139, 0.14); color: #7fd3a1; }

.compare { width: 100%; border-collapse: collapse; margin-top: 56px; font-size: var(--fs-body); }
.compare th { text-align: left; font-weight: 400; font-size: var(--fs-sm); color: var(--dark-text-2); padding: 0 16px 14px 0; }
.compare th.is-us { color: #e98c63; }
.compare td { padding: 18px 16px 18px 0; border-top: 1px solid var(--dark-line); vertical-align: top; }
.compare td:first-child { color: #fff; width: 22%; }
.compare td.is-no { color: rgba(242, 237, 228, 0.42); }
.compare td.is-us { color: #fff; }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 72px; }
.cat { padding: 20px 0; border-top: 1px solid var(--dark-line); }
.cat-head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.01em; color: #fff; margin-bottom: 6px; }
.cat-head span { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 400; color: #e98c63; }
.cat p { font-size: var(--fs-card); color: var(--dark-text-2); }
.cats-note { margin-top: 28px; max-width: 72ch; font-size: var(--fs-card); color: var(--dark-text-2); }

.bs-report { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 96px; }
.big-num { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.04em; font-weight: 400; color: #7fd3a1; margin-bottom: 18px; }
.bs-report p { color: var(--dark-text-2); }
.bs-report .frame { border-color: transparent; }

/* ---------- Quality ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.signals { display: grid; gap: 28px; }
.signal { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.signal-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.signal-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.signal h3 { font-size: var(--fs-title); margin-bottom: 4px; }
.signal p { font-size: var(--fs-card); color: var(--ink-2); }

.frame.log-wrap { overflow-x: auto; }
.log { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: var(--fs-xs); }
.log th { text-align: left; font-weight: 400; color: var(--ink-3); padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfaf8; }
.log td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.log tr:last-child td { border-bottom: 0; }
.log tr.is-blocked td { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(27, 20, 16, 0.25); }
.log tr.is-blocked td:last-child { text-decoration: none; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 88px; }
.fact { border-top: 1px solid var(--ink); padding-top: 18px; }
.fact-num { font-size: var(--fs-stat); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 10px; }
.fact p { font-size: var(--fs-card); color: var(--ink-2); }
.footnote { margin-top: 28px; font-size: var(--fs-sm); color: var(--ink-3); max-width: 72ch; }

/* ---------- Report ---------- */
.report-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.report-list li { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.report-list strong { display: block; font-weight: 500; font-size: var(--fs-title); letter-spacing: -0.01em; margin-bottom: 4px; }
.report-list span { font-size: var(--fs-card); color: var(--ink-2); }

/* ---------- Access ---------- */
.logins { display: grid; }
.logins li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-body); }
.logins li span { font-family: var(--mono); font-size: var(--fs-xs); text-decoration: line-through; }
.account { padding: 26px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.account-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--crema); color: #fff; font-weight: 500; }
.account-head strong { display: block; font-weight: 500; font-size: var(--fs-title); }
.account-head span { font-size: var(--fs-sm); color: var(--ink-3); }
.account li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-card); }
.account li:last-child { border-bottom: 0; padding-bottom: 0; }
.account li span { color: var(--ink-3); }
.access-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 72px; }
.access-roles div { border-top: 1px solid var(--ink); padding-top: 16px; }
.access-roles strong { display: block; font-weight: 500; font-size: var(--fs-title); margin-bottom: 4px; }
.access-roles span { font-size: var(--fs-card); color: var(--ink-2); }

/* ---------- AI ---------- */
.intro .h2 { margin-bottom: 20px; }
.chat { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; gap: 14px; }
.bubble { max-width: 86%; padding: 14px 18px; border-radius: 16px; font-size: var(--fs-card); line-height: 1.45; }
.bubble--me { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble--ai { background: var(--paper); border-bottom-left-radius: 4px; }
.bubble--ai .label { color: var(--good); margin-bottom: 8px; }
.bubble dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 12px 0; }
.bubble dt { color: var(--ink-3); }
.bubble dd { font-weight: 500; }
.file { display: flex; align-items: center; gap: 10px; justify-self: end; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--mono); font-size: var(--fs-xs); }
.file svg { width: 16px; height: 16px; fill: none; stroke: var(--good); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; line-height: 1.3; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-sm); color: var(--ink-2); background: var(--panel); }
.ai-tools { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-card); color: var(--ink-2); }
.ai-tools .prompts { margin-top: 14px; }

/* ---------- Before / after ---------- */
.versus { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.versus th { display: table-cell; text-align: left; font-weight: 400; padding: 0 20px 16px 0; }
.versus td { padding: 20px 20px 20px 0; border-top: 1px solid var(--line); vertical-align: top; }
.versus td:first-child { font-weight: 500; width: 22%; }
.versus td:nth-child(2) { color: var(--ink-3); width: 34%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: var(--fs-title);
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; font-family: var(--mono); font-size: var(--fs-title); color: var(--crema); transition: transform 0.2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 68ch; padding: 0 0 24px; color: var(--ink-2); }

/* ---------- Pilot and contact ---------- */
.pilot-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pilot-step { border-top: 1px solid var(--ink); padding-top: 18px; }
.pilot-n { font-family: var(--mono); font-size: var(--fs-xs); color: var(--crema); margin-bottom: 10px; display: block; }
.pilot-step h3 { font-size: var(--fs-title); margin-bottom: 6px; }
.pilot-step p { font-size: var(--fs-card); color: var(--ink-2); }

.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); margin-top: 96px; align-items: start; }
.contact-title { font-size: var(--fs-sub); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.contact-list { display: grid; gap: 22px; margin-top: 40px; }
.contact-list .label { margin-bottom: 4px; }
.contact-list a:hover { color: var(--crema); }
.contact-list address { font-style: normal; }

.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field label small { font-weight: 400; color: var(--ink-3); font-size: var(--fs-sm); }
.input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: var(--fs-card);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; border-color: var(--ink); background: var(--panel); }
textarea.input { height: auto; min-height: 132px; padding: 12px 14px; resize: vertical; }
select.input {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b5047' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
select.input:invalid { color: var(--ink-3); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-error { display: none; padding: 12px 14px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-size: var(--fs-sm); }
.form-error.visible { display: block; }
.form-success { display: none; padding: 48px 36px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-success.visible { display: block; }
.form-success svg { width: 40px; height: 40px; fill: none; stroke: var(--good); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.form-success h3 { font-size: var(--fs-sub); margin-bottom: 6px; }
.form-success p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-text-2); padding: 72px 0 36px; font-size: var(--fs-card); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer h4 { font-weight: 500; font-size: var(--fs-card); color: #fff; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { cursor: pointer; transition: color 0.2s var(--ease); }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: var(--fs-sm); color: rgba(242, 237, 228, 0.5); }

/* ---------- Privacy pages ---------- */
.policy-page { padding: clamp(56px, 8vw, 104px) 0 var(--section); }
.policy-container { max-width: calc(760px + var(--gutter) * 2); }
.policy-header { margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.policy-title { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.024em; margin-bottom: 14px; }
.policy-updated { color: var(--ink-3); font-size: var(--fs-sm); }
.policy-section + .policy-section { margin-top: 48px; }
.policy-section h2 { font-size: var(--fs-sub); letter-spacing: -0.02em; margin-bottom: 14px; }
.policy-section h3 { font-size: var(--fs-title); margin: 28px 0 10px; }
.policy-section p, .policy-section li { color: var(--ink-2); }
.policy-section p + p, .policy-section ul + p { margin-top: 12px; }
.policy-section ul { margin: 12px 0; display: grid; gap: 8px; }
.policy-section li { padding-left: 20px; position: relative; }
.policy-section li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--crema); }
.policy-section a { color: var(--crema); text-decoration: underline; text-underline-offset: 3px; }
.policy-section strong { color: var(--ink); font-weight: 500; }
.policy-contact { margin-top: 20px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-nav { display: none; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .header-toggle { display: block; margin-left: 0; }
  .pains, .report-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-report { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .creds-inner { grid-template-columns: minmax(0, 1fr); }
  .cred, .cred + .cred { padding: 20px 0; border-left: 0; }
  .cred + .cred { border-top: 1px solid var(--line); }
  .reports, .roles, .formats, .cats, .facts, .access-roles, .pilot-steps, .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .report:nth-child(n) { transform: none; }
  .role + .role { border-left: 0; border-top: 1px solid var(--line); }
  .role--us { border-radius: 0; }
  .audit { grid-template-columns: minmax(0, 1fr); }
  .audit-arrow { transform: rotate(90deg); }
  .hero-badge { position: relative; left: 0; bottom: 0; width: auto; margin: -40px 16px 0; }
  .hero-shot .frame { margin-right: 0; border-radius: var(--radius-lg); border-bottom: 1px solid var(--line); }
  .compare, .versus { font-size: var(--fs-card); }
  .compare thead { display: none; }
  .compare tr, .versus tr { display: grid; grid-template-columns: 1fr; padding: 16px 0; border-top: 1px solid var(--dark-line); }
  .versus tr { border-top-color: var(--line); }
  .versus thead { display: none; }
  .compare td, .versus td { border: 0; padding: 3px 0; width: auto !important; }
  .compare td[data-h]::before { content: attr(data-h) ': '; }
  .versus td:nth-child(2)::before, .versus td:nth-child(3)::before { content: attr(data-h) ': '; color: var(--ink-3); }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .header-logo img { height: 40px; }
  .header-lang { display: none; }
  .pains, .report-list { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .kv { grid-template-columns: 110px 1fr; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
