:root {
  color-scheme: light;
  --background: #fdfdfc;
  --foreground: #171714;
  --muted: #777873;
  --faint: #a3a49f;
  --line: #e8e8e4;
  --surface: #ffffff;
  --code-key: #6f42c1;
  --code-string: #17693a;
  --code-number: #956400;
  --code-boolean: #b13c2e;
  --code-null: #777873;
  --status-active: #16803d;
  --status-closed: #b13c2e;
  --status-coming-soon: #956400;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 25px 32px;
}

.brand,
.contact-link,
.eyebrow,
.policy-meta {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand,
.contact-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.brand:hover,
.contact-link:hover,
.contact-link:focus-visible {
  color: var(--foreground);
}

.apps-main {
  width: 100%;
  padding: 88px 32px 96px;
}

.intro {
  margin-bottom: 48px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 0;
  color: var(--faint);
}

.intro h1,
.policy-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.intro p {
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
}

.json-viewer {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 60px rgb(23 23 20 / 5%);
}

.json-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.json-file {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--foreground);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
}

.json-file-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #72a678;
  box-shadow: 0 0 0 3px rgb(114 166 120 / 12%);
}

.json-meta {
  color: var(--faint);
}

.copy-button {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease,
    background-color 180ms ease;
}

.copy-button:hover:not(:disabled),
.copy-button:focus-visible {
  border-color: #cacac5;
  background: #fafaf8;
  color: var(--foreground);
}

.copy-button:focus-visible {
  outline: 1px solid var(--foreground);
  outline-offset: 3px;
}

.copy-button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.json-document {
  width: 100%;
  margin: 0;
  padding: 28px 30px 34px;
  overflow: visible;
  color: var(--foreground);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: clamp(11px, 0.8vw, 13px);
  line-height: 1.7;
  tab-size: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.json-key {
  color: var(--code-key);
}

.json-string {
  color: var(--code-string);
}

.json-number {
  color: var(--code-number);
}

.json-boolean {
  color: var(--code-boolean);
}

.json-null {
  color: var(--code-null);
}

.json-status-active,
.json-status-closed,
.json-status-coming-soon {
  font-weight: 600;
}

.json-status-active {
  color: var(--status-active);
}

.json-status-closed {
  color: var(--status-closed);
}

.json-status-coming-soon {
  color: var(--status-coming-soon);
}

.legal-main {
  width: min(720px, calc(100% - 64px));
  margin: 0 auto;
  padding: 80px 0 120px;
}

.policy-header {
  margin-bottom: 72px;
  text-align: center;
  animation: rise 650ms ease both;
}

.policy-header .eyebrow {
  margin-bottom: 28px;
}

.policy-meta {
  display: block;
  margin-top: 28px;
  color: var(--faint);
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.legal-document {
  padding-top: 2px;
  border-top: 1px solid var(--line);
  animation: rise 650ms 80ms ease both;
}

.legal-document > .section-title {
  margin: 0;
  padding: 30px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-transform: none;
}

.legal-document > .section-content {
  margin: 0;
  padding: 14px 0 33px;
  border-bottom: 1px solid var(--line);
}

.legal-document > .policy-header + .section-content {
  padding-top: 34px;
}

.section-content {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.78;
}

.section-content p {
  margin: 0 0 16px;
}

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

.section-content ul {
  margin: 16px 0;
  padding-left: 22px;
}

.section-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

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

.highlight {
  color: var(--foreground);
  font-weight: 600;
}

.inline-link {
  color: var(--foreground);
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.contact-info {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.7;
}

.acknowledgement {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 22px 21px;
  }

  .apps-main {
    width: 100%;
    padding: 68px 21px 72px;
  }

  .intro {
    margin-bottom: 36px;
  }

  .json-toolbar {
    min-height: 48px;
    padding: 0 13px;
  }

  .json-document {
    padding: 20px 16px 24px;
  }

  .intro h1,
  .policy-header h1 {
    font-size: clamp(47px, 15vw, 62px);
  }

  .intro p {
    max-width: 30ch;
    margin-right: auto;
    margin-left: auto;
  }

  .legal-main {
    width: min(100% - 42px, 620px);
    padding: 68px 0 82px;
  }

  .policy-header {
    margin-bottom: 55px;
  }

  .policy-header .eyebrow {
    margin-bottom: 23px;
  }

  .policy-meta {
    margin-top: 23px;
  }

  .legal-document > .section-title {
    padding-top: 25px;
    font-size: 21px;
  }

  .legal-document > .section-content {
    padding-bottom: 28px;
  }

  .section-content {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .policy-header,
  .legal-document {
    animation: none;
  }

  .brand,
  .contact-link,
  .copy-button {
    transition: none;
  }
}
