/* Shared styling for the 2do Uniconta AI Agent legal pages. Self-contained:
   no webfonts, no CDN, no trackers — these pages are linked from the Teams
   manifest and are fetched by store reviewers, so they must load anywhere. */

:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #1c1f23;
  --muted: #5b6570;
  --border: #dfe3e8;
  --accent: #1f4fd8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --surface: #1c2024;
    --text: #e8eaed;
    --muted: #a2acb6;
    --border: #2d333a;
    --accent: #7ea2ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header, main, footer { max-width: 46rem; margin: 0 auto; }

header {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 { margin: 0 0 .6rem; font-size: 1.85rem; line-height: 1.25; font-weight: 650; }
h2 { margin: 2.4rem 0 .7rem; font-size: 1.15rem; font-weight: 640; }
.lang-heading { margin-top: 0; color: var(--muted); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }

.meta, .lang { margin: 0; font-size: .9rem; color: var(--muted); }
.lang { margin-top: .35rem; }

p, ul { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .1em .35em;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .9em;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .9rem 1rem;
  font-size: .95rem;
}

/* Wide tables scroll inside their own box rather than the page. */
table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: .95rem;
}

th, td {
  border: 1px solid var(--border);
  padding: .55rem .7rem;
  text-align: left;
  vertical-align: top;
}

th { background: var(--surface); font-weight: 620; }

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0 2.5rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  color: var(--muted);
}

@media (max-width: 32rem) {
  header { padding-top: 2rem; }
  h1 { font-size: 1.5rem; }
}
