:root {
  color-scheme: light;
  --ink: #090909;
  --muted: #474747;
  --line: #111111;
  --soft-line: #dedede;
  --paper: #ffffff;
  --footer: #050505;
  --content-width: min(80vw, 1180px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid #1668c7;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--soft-line);
  background: #fff;
}

.header-inner {
  min-height: 114px;
  padding: 14px 2.4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 205px;
}

.desktop-nav {
  font-size: 16px;
  font-weight: 700;
}

.mobile-nav {
  display: none;
}

.page-main {
  width: var(--content-width);
  margin: 0 auto;
  padding: 50px 0 64px;
}

.page-main > :first-child {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.005em;
}

h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

h3 {
  margin: 16px 0 4px;
  font-size: 29px;
}

p {
  margin: 0 0 20px;
}

strong {
  font-weight: 700;
}

.keep-together {
  white-space: nowrap;
}

.lead {
  margin-bottom: 0;
}

.content-section {
  margin-top: 62px;
  padding-top: 54px;
  border-top: 2px solid var(--line);
}

.content-section > :last-child {
  margin-bottom: 0;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 329px;
  gap: 54px;
  align-items: start;
}

.founder-photo {
  width: 329px;
}

.legal-image {
  width: min(100%, 1000px);
  margin-top: 26px;
}

.document-page {
  max-width: 1180px;
}

.document-page h1 {
  margin-bottom: 48px;
}

.document-page h2 {
  margin-top: 34px;
}

.document-page h3 {
  margin-top: 24px;
}

.document-page ul,
.document-page ol {
  margin: 0 0 22px;
  padding-left: 1.35em;
}

.document-page li + li {
  margin-top: 3px;
}

.document-page a,
.footer-column a {
  overflow-wrap: anywhere;
}

.document-page .meta,
.document-page .muted {
  color: var(--muted);
}

.document-page .callout {
  margin: 26px 0 34px;
  padding: 22px 24px;
  border-left: 4px solid var(--ink);
  background: #f3f3f3;
}

.document-page section.panel {
  margin-top: 34px;
}

.table-wrap {
  width: 100%;
  margin: 16px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.45;
}

th,
td {
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f2f2f2;
  font-weight: 700;
}

pre {
  max-width: 100%;
  padding: 20px;
  overflow-x: auto;
  background: #f3f3f3;
  font: 0.82rem/1.55 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.site-footer {
  padding: 46px 0 66px;
  background: var(--footer);
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
}

.footer-grid {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.2fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.05;
}

.footer-column h3 {
  margin: 30px 0 12px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.1;
}

.footer-column p {
  margin-bottom: 18px;
}

.footer-column ul {
  margin: 0;
  padding-left: 1.1em;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-group + .footer-group {
  margin-top: 48px;
}

@media (max-width: 980px) {
  :root {
    --content-width: min(84vw, 760px);
  }

  body {
    font-size: 19px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--ink);
    content: "";
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before {
    position: absolute;
    top: -7px;
  }

  .menu-icon::after {
    position: absolute;
    top: 7px;
  }

  .mobile-nav[open] .menu-icon {
    background: transparent;
  }

  .mobile-nav[open] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .mobile-nav[open] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 10;
    width: min(300px, 84vw);
    padding: 18px 20px;
    border: 1px solid var(--soft-line);
    background: #fff;
    box-shadow: 0 10px 30px rgb(0 0 0 / 12%);
    font-size: 16px;
    font-weight: 700;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    width: min(329px, 100%);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  :root {
    --content-width: 77vw;
  }

  body {
    font-size: 20px;
    line-height: 1.65;
  }

  .header-inner {
    min-height: 79px;
    padding: 10px 34px;
  }

  .brand img {
    width: 153px;
  }

  .page-main {
    padding-top: 49px;
  }

  h1 {
    margin-bottom: 30px;
    font-size: 40px;
    line-height: 0.98;
  }

  h2 {
    font-size: 34px;
    line-height: 1.03;
  }

  h3 {
    font-size: 28px;
  }

  h1 .keep-together {
    font-size: 0.975em;
  }

  .content-section {
    margin-top: 57px;
    padding-top: 56px;
  }

  .document-page h1 {
    margin-bottom: 42px;
    line-height: 1.05;
  }

  .document-page .callout {
    margin-inline: -12px;
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-column h2 {
    font-size: 1.3rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  .page-main {
    width: 100%;
    padding: 0;
  }

  body {
    font-size: 11pt;
  }
}
