/* Shared styling for the standalone legal and support pages.
   These are static HTML entries: they deliberately do not load the React app
   or the frame sequence, so they stay fast and crawlable. */

:root {
  --ink: #1A2430;
  --ink-soft: #4A5C6E;
  --ink-faint: #6B7380;
  --line: rgba(26, 36, 48, .14);
  --accent: #1F73B8;
  --paper: #F7F3E8;
  --paper-alt: #FFFCF6;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
a:active, button:active { opacity: .86; }

.site-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
}
.site-nav {
  pointer-events: auto;
  width: min(1120px, calc(100% - 36px));
  height: 62px;
  margin: 16px auto 0;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 22px;
  border: 1px solid rgba(26, 36, 48, .14);
  background: rgba(255, 252, 246, .82);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 14px 40px rgba(26, 36, 48, .12);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1A2430;
  font-weight: 730;
  letter-spacing: -.03em;
  padding: 4px 8px 4px 4px;
  border-radius: 16px;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #12386b, #0b2247);
  border: 1px solid rgba(9, 27, 51, .16);
}
/* The app icon's three arrows, as BrandMark draws them on the home page. */
.brand-mark svg { width: 68%; height: 68%; }
.brand-mark__arrow { fill: none; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark__arrow--1 { stroke: #0056e2; }
.brand-mark__arrow--2 { stroke: #2b93fe; }
.brand-mark__arrow--3 { stroke: #fc766a; }
.site-brand > span:last-child { font-size: 16px; }
.site-nav__links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.site-nav__links a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4A5C6E;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.site-nav__links a:hover,
.site-nav__links a.is-active { color: #1A2430; background: rgba(26, 36, 48, .07); }
.site-nav__cta {
  margin-left: 4px;
  padding: 11px 15px;
  border-radius: 14px;
  background: #1F73B8;
  color: #fff;
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

main {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(110px, 16vh, 150px) 0 90px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.updated {
  margin: 0 0 34px;
  color: var(--ink-faint);
  font-size: 13.5px;
}
.lede {
  margin: 0 0 34px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

h2 {
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
h3 { margin: 26px 0 8px; font-size: 16.5px; letter-spacing: -.015em; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }

.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--paper-alt);
}
.callout p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  margin: 18px 0 22px;
  border-collapse: collapse;
  font-size: 14.5px;
}
th, td {
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead th { background: var(--paper-alt); font-size: 13px; }

.table-scroll { overflow-x: auto; }

.toc {
  margin: 0 0 40px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-alt);
}
.toc h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.toc ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 26px; }
.toc li { margin-bottom: 5px; }
.toc a { font-size: 14px; }

.legal-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
}
.legal-footer__inner {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.legal-footer__inner nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }

@media (max-width: 620px) {
  .toc ul { columns: 1; }
  .legal-footer__inner nav { margin-left: 0; }
  .site-nav { width: calc(100% - 20px); margin-top: 10px; gap: 6px; }
  .site-nav__links a { padding: 8px 8px; font-size: 11px; }
  .site-brand > span:last-child { display: none; }
}
