:root {
  --bg: #f2f3f6;
  --surface: #ffffff;
  --fill: #e9ebef;
  --line: #dde0e6;
  --text: #0a0c12;
  --text-2: #5b606b;
  --text-3: #9499a4;
  --accent: #0071e3;
  --accent-soft: #e4effc;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f;
    --surface: #17191d;
    --fill: #23262c;
    --line: #2c2f36;
    --text: #f3f4f7;
    --text-2: #a2a7b1;
    --text-3: #6b707a;
    --accent: #3d9bff;
    --accent-soft: #10263f;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 15px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

nav.site {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

nav.site a {
  color: var(--text-2);
}

nav.site a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

main {
  padding: 56px 0 72px;
}

.eyebrow {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h1 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.lede {
  color: var(--text-2);
  font-size: 19px;
  margin: 0 0 36px;
}

h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

h3 {
  font-size: 17px;
  margin: 26px 0 6px;
}

p,
li {
  color: var(--text);
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

.muted {
  color: var(--text-2);
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  margin: 20px 0;
}

.card h2:first-child,
.card h3:first-child {
  margin-top: 0;
}

.summary {
  background: var(--surface);
  border-radius: 20px;
  padding: 8px 24px;
  margin: 0 0 12px;
}

.summary li {
  list-style: none;
  position: relative;
  padding: 12px 0 12px 32px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.summary li:last-child {
  border-bottom: 0;
}

.summary li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 16px var(--accent);
}

.summary ul {
  padding: 0;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 8px 0 12px;
}

.tile {
  display: block;
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  color: var(--text);
  transition: transform 0.15s ease;
}

.tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.tile strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.tile span {
  color: var(--text-2);
  font-size: 15px;
}

details {
  background: var(--surface);
  border-radius: 16px;
  margin: 10px 0;
  padding: 0 22px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--text-3);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "\2212";
}

details > div {
  padding: 0 0 12px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  margin-top: 40px;
}

.contact p {
  margin: 0;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 20px;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--text-3);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}

footer.site a {
  color: var(--text-2);
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  main {
    padding: 36px 0 56px;
  }
  h1 {
    font-size: 32px;
  }
  .lede {
    font-size: 17px;
  }
  nav.site {
    gap: 16px;
  }
}
