:root {
  color-scheme: light dark;
  --background: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #171719;
  --muted: #68686f;
  --line: rgba(20, 20, 25, 0.1);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.1);
  --shadow: 0 18px 60px rgba(30, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(10, 132, 255, 0.08), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header,
footer {
  width: min(100% - 40px, 880px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(10, 132, 255, 0.24);
}

.document-label,
.updated,
footer {
  color: var(--muted);
  font-size: 14px;
}

main {
  width: min(100% - 32px, 880px);
  margin: 24px auto 64px;
}

article {
  padding: clamp(28px, 6vw, 72px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.document-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 1.02;
}

.summary {
  max-width: 670px;
  margin: 24px 0 16px;
  color: var(--muted);
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.updated {
  margin: 0;
}

.contents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  margin: 32px 0 52px;
  padding: 20px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.contents a {
  color: var(--text);
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
}

.contents a:hover {
  color: var(--accent);
}

section {
  scroll-margin-top: 24px;
}

section + section {
  margin-top: 44px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 4vw, 29px);
  line-height: 1.2;
}

p,
ul {
  margin: 0;
}

p + p,
p + ul,
ul + p {
  margin-top: 15px;
}

ul {
  padding-left: 1.25em;
}

li + li {
  margin-top: 8px;
}

.contact-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.contact-link:hover {
  filter: brightness(1.06);
}

.contact-link:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}

footer {
  min-height: 88px;
  padding-bottom: 12px;
}

footer a {
  color: inherit;
}

@media (max-width: 620px) {
  .site-header,
  footer {
    width: min(100% - 32px, 880px);
  }

  .site-header {
    min-height: 72px;
  }

  .document-label {
    display: none;
  }

  main {
    width: 100%;
    margin-top: 0;
  }

  article {
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contents {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e0f11;
    --surface: rgba(28, 29, 32, 0.82);
    --surface-strong: #242529;
    --text: #f5f5f7;
    --muted: #aaaab2;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #409cff;
    --accent-soft: rgba(64, 156, 255, 0.12);
    --shadow: 0 20px 64px rgba(0, 0, 0, 0.34);
  }
}

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