:root {
  color-scheme: dark;
  --background: #1e1e1e;
  --surface: #252526;
  --border: #3c3c3c;
  --text: #cccccc;
  --muted: #a6a6a6;
  --accent: #4fc1ff;
  --font-body: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.25em;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

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

figure,
p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  color: #f3f3f3;
  font-weight: 650;
  line-height: 1.45;
}

h2 {
  font-size: clamp(25px, 3.2vw, 34px);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 19px;
}

code {
  font-family: var(--font-mono);
  color: var(--accent);
}

.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--background);
  transform: translateY(-200%);
}

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

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f3f3f3;
  font-size: 21px;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 34px;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
}

.site-nav a,
.footer-links a {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a[aria-current='page'],
.footer-links a[aria-current='page'] {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  align-items: center;
  gap: 44px;
  padding-block: 84px 72px;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.app-identity img {
  flex: none;
  width: 76px;
}

.app-name {
  color: #f3f3f3;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
}

.app-category {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(34px, 3.7vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.hero-description {
  max-width: 30em;
}

.release-status {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 17px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.screenshot {
  min-width: 0;
}

.screenshot a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.hero .screenshot a {
  box-shadow: 0 16px 40px #00000033;
}

.screenshot img {
  width: 100%;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: 64px;
  border-top: 1px solid var(--border);
}

.section-intro {
  margin-top: 16px;
  max-width: 42em;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 34px;
}

.feature-list article {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

.feature-list p {
  margin-top: 12px;
  font-size: 15px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  align-items: center;
  gap: 48px;
}

.section-copy > p {
  margin-top: 18px;
}

.search-example {
  margin-top: 24px;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  color: #f3f3f3;
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  counter-reset: steps;
  margin: 34px 0 0;
  padding: 0;
}

.steps li {
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 17px;
}

.steps p {
  margin-top: 12px;
  font-size: 15px;
}

.usage-note {
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 6px;
  font-size: 14px;
}

.pack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  gap: 0 24px;
}

.pack-list li {
  padding-block: 11px;
  border-bottom: 1px solid var(--border);
  color: #f3f3f3;
  font-family: var(--font-mono);
  font-size: 15px;
}

.section-copy .pack-note {
  color: var(--muted);
  font-size: 13px;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.closing h2 {
  font-size: clamp(23px, 3vw, 30px);
}

.closing p {
  margin-top: 12px;
}

.closing .release-status {
  flex: none;
  margin-top: 0;
}

.site-footer {
  padding-block: 30px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.developer {
  color: var(--muted);
  font-size: 13px;
}

.document {
  max-width: 780px;
  padding-block: 64px 80px;
}

.document-header {
  margin-bottom: 42px;
}

.document-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.document-header > p {
  margin-top: 20px;
}

.document-header .document-date {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.document-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.document-section h2 {
  font-size: 22px;
}

.document-section p {
  margin-top: 16px;
}

.contact-link {
  display: inline-block;
  margin-top: 22px;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  text-decoration: none;
}

.contact-link:hover {
  background: var(--surface);
}

.faq {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 4px;
  color: #f3f3f3;
  font-weight: 600;
  cursor: pointer;
}

.faq-item summary::marker {
  color: var(--accent);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  margin: 0;
  padding: 0 4px 22px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero .screenshot {
    max-width: 800px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-copy {
    max-width: 42em;
  }

  .pack-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    gap: 8px 22px;
  }

  .site-nav a {
    display: inline-block;
    padding-block: 6px;
  }

  .hero {
    gap: 32px;
    padding-block: 42px 44px;
  }

  .app-identity {
    gap: 14px;
    margin-bottom: 24px;
  }

  .app-identity img {
    width: 64px;
  }

  .hero h1 {
    font-size: clamp(29px, 8.4vw, 42px);
  }

  .section {
    padding-block: 44px;
  }

  .feature-list,
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }

  .steps li {
    position: relative;
    padding-left: 42px;
  }

  .steps li::before {
    position: absolute;
    top: 1px;
    left: 0;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-links {
    gap: 12px 22px;
  }

  .document {
    padding-block: 42px 56px;
  }

  .document-header {
    margin-bottom: 32px;
  }
}
