/* Corporate legal — Apple / Meta–style document UI */

:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --link: #0066cc;
  --link-hover: #004499;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --surface-muted: #f5f5f7;
  --max-content: 692px;
  --max-shell: 1068px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--link-hover);
}

/* —— Top bar —— */
.corp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.corp-header__bar {
  max-width: var(--max-shell);
  margin: 0 auto;
  padding: 0 max(22px, env(safe-area-inset-right)) 0 max(22px, env(safe-area-inset-left));
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.corp-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.corp-logo:hover {
  text-decoration: none;
  color: var(--text);
}

.corp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 20px;
}

.corp-nav__link {
  font-size: 12px;
  line-height: 1.33337;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  text-decoration: none;
}

.corp-nav__link:hover {
  color: var(--text);
  text-decoration: none;
}

.corp-nav__link.is-active {
  color: var(--text);
  font-weight: 500;
}

/* —— Page layout —— */
.corp-shell {
  max-width: var(--max-shell);
  margin: 0 auto;
  padding: 48px max(22px, env(safe-area-inset-right)) 80px max(22px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}

.corp-shell--solo {
  grid-template-columns: 1fr;
  max-width: calc(var(--max-content) + 44px);
}

.corp-sidebar {
  position: sticky;
  top: 72px;
}

.corp-sidebar__label {
  font-size: 12px;
  line-height: 1.33337;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 12px;
}

.corp-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-light);
}

.corp-sidebar__list a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  font-size: 12px;
  line-height: 1.33337;
  color: var(--text-secondary);
  border-left: 1px solid transparent;
  text-decoration: none;
}

.corp-sidebar__list a:hover {
  color: var(--text);
  text-decoration: none;
}

.corp-main {
  min-width: 0;
  max-width: var(--max-content);
}

/* —— Document header —— */
.corp-doc-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.corp-doc-header h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.003em;
  color: var(--text);
}

.corp-date {
  margin: 0;
  font-size: 14px;
  line-height: 1.42859;
  color: var(--text-secondary);
}

.corp-date + .corp-date {
  margin-top: 4px;
}

/* —— Prose —— */
.corp-prose {
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.corp-prose > *:first-child {
  margin-top: 0;
}

.corp-prose p {
  margin: 0 0 1em;
}

.corp-prose h2 {
  margin: 2.2em 0 0.6em;
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: 0.009em;
  color: var(--text);
}

.corp-prose h2:first-child {
  margin-top: 0;
}

.corp-prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 19px;
  line-height: 1.21053;
  font-weight: 600;
  letter-spacing: 0.012em;
  color: var(--text);
}

.corp-prose ul,
.corp-prose ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

.corp-prose li {
  margin-bottom: 0.35em;
}

.corp-prose li::marker {
  color: var(--text-secondary);
}

.corp-prose strong {
  font-weight: 600;
}

.corp-prose code {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.94em;
  padding: 0.12em 0.35em;
  background: var(--surface-muted);
  border-radius: 4px;
  color: var(--text);
  letter-spacing: 0;
}

/* —— Tables (data collection summary) —— */
.corp-table-wrap {
  margin: 1.25em 0 1.5em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.corp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
}

.corp-table th,
.corp-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}

.corp-table th {
  font-weight: 600;
  color: var(--text);
  background: var(--surface-muted);
  font-size: 12px;
  text-transform: none;
  letter-spacing: -0.01em;
}

.corp-table td {
  color: var(--text);
}

.corp-table tr:last-child th,
.corp-table tr:last-child td {
  border-bottom: none;
}

/* —— Note / disclosure block —— */
.corp-note {
  margin: 1.5em 0;
  padding: 16px 20px;
  background: var(--surface-muted);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
  color: var(--text);
}

.corp-note__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.corp-note p:last-child,
.corp-note ul:last-child {
  margin-bottom: 0;
}

/* —— Home (legal hub) —— */
.corp-hub-intro {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--text);
  max-width: 36em;
}

.corp-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-light);
}

.corp-hub-list li {
  border-bottom: 1px solid var(--border-light);
}

.corp-hub-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--link);
  font-size: 17px;
  line-height: 1.47059;
  text-decoration: none;
}

.corp-hub-list a:hover {
  text-decoration: underline;
}

.corp-hub-list__desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.42859;
  color: var(--text-secondary);
  font-weight: 400;
  text-align: right;
}

.corp-hub-list__chevron {
  color: var(--text-tertiary);
  font-size: 14px;
  flex-shrink: 0;
}

.corp-contact {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  line-height: 1.42859;
  color: var(--text-secondary);
}

/* —— Footer —— */
.corp-footer {
  border-top: 1px solid var(--border-light);
  background: var(--surface-muted);
  padding: 20px max(22px, env(safe-area-inset-right)) 28px max(22px, env(safe-area-inset-left));
}

.corp-footer__inner {
  max-width: var(--max-shell);
  margin: 0 auto;
}

.corp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 12px;
}

.corp-footer__links a {
  font-size: 12px;
  line-height: 1.33337;
  color: var(--text-secondary);
}

.corp-footer__links a:hover {
  color: var(--text);
}

.corp-footer__copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.33337;
  color: var(--text-tertiary);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .corp-shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 32px;
  }

  .corp-sidebar {
    display: none;
  }

  .corp-doc-header h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .corp-hub-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .corp-hub-list__desc {
    text-align: left;
  }

  .corp-nav {
    gap: 4px 12px;
  }
}

@media print {
  .corp-header,
  .corp-sidebar,
  .corp-footer {
    display: none;
  }

  .corp-shell {
    padding: 0;
    max-width: none;
  }
}
