/* Shared by Pepti AI's product, comparison, legal and support pages.
   Keep styling external for the site's Content Security Policy. */

:root {
  color-scheme: dark;
  --bg: #0A1117;
  --surface: #14202B;
  --text: #E6F1F5;
  --muted: #B4C8D1;
  --accent: #5EEAD4;
  --line: #354D5D;
  --measure: 82ch;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.wrap {
  max-width: calc(var(--measure) + 2rem);
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--accent);
  z-index: 10;
}
.skip-link:focus { top: 0.75rem; }

.site-header { background: var(--surface); }
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: #14B8A6;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.brand img { display: block; flex: 0 0 48px; border-radius: 10px; }
.brand:hover { text-decoration: underline; }

.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a,
.footer-nav a { display: inline-block; padding: 0.5rem 0; }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 650; text-decoration-thickness: 2px; }

main { padding: 1.5rem 0 3rem; }
h1, h2 { line-height: 1.25; margin: 2rem 0 0.75rem; scroll-margin-top: 1rem; }
h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-top: 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
p, ul, .callout { margin: 0 0 1rem; }
ul { padding-left: 1.4rem; }
li { margin: 0.35rem 0; }
strong { font-weight: 650; }
.meta { color: var(--muted); }
.slogan { font-size: 1.25rem; }
.coming-soon { color: var(--muted); font-weight: 650; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 2rem; }
.site-footer p { margin: 0 0 0.75rem; }

.breadcrumbs { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.1rem; line-height: 1.4; margin: 1.75rem 0 0.5rem; }
.table-scroll { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 42rem; font-size: 0.9375rem; line-height: 1.5; }
th, td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead { background: var(--surface); }
th { font-weight: 650; }
tbody th { min-width: 10rem; }
tbody tr:last-child > * { border-bottom: 0; }
.site-footer nav { margin-bottom: 1.5rem; }

.languages { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.languages a { padding: 0.35rem 0; }
.languages a[aria-current="page"] { color: var(--text); font-weight: 650; }
