:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0a66d8;
  --accent-soft: rgba(10, 102, 216, 0.1);
  --card: #ffffff;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --bg-soft: #1a1a1d;
    --text: #f5f5f7;
    --text-muted: #a1a1a6;
    --line: #3a3a3f;
    --accent: #4fa3ff;
    --accent-soft: rgba(79, 163, 255, 0.14);
    --card: #1f1f23;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
                    }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Helvetica Neue", "Segoe UI", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

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

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

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

.brand img {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 15px;
}

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

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

/* Hero */

.hero {
  padding: 72px 0 64px;
}

.hero-inner {
  text-align: center;
}

.hero-text {
  max-width: 40em;
  margin: 0 auto;
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 16px 48px rgba(0, 0, 0, 0.16);
}

.hero-figure {
  max-width: 1040px;
  margin: 48px auto 0;
}

.hero-figure figcaption {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.hero-icon {
  width: 88px;
  height: 88px;
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero .tagline {
  margin: 0 0 28px;
  font-size: 19px;
  color: var(--text-muted);
}

.availability {
  display: inline-block;
  margin: 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
}

.requirements {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}


/* Sections */

.section {
  padding: 80px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-title {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.3;
  text-align: center;
}

.section-lead {
  max-width: 36em;
  margin: 0 auto 40px;
  color: var(--text-muted);
  text-align: center;
}

.section-soft .section-title {
  margin-bottom: 32px;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin: 12px 0 4px;
  font-size: 17px;
  line-height: 1.4;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  max-width: 880px;
}

.pair h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
}

.pair p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.closing {
  padding: 64px 0 80px;
  text-align: center;
}

.closing img {
  width: 72px;
  height: 72px;
}

.closing h2 {
  margin: 8px 0 20px;
  font-size: 28px;
}

/* Documents */

.doc {
  max-width: 720px;
  padding: 40px 16px 64px;
}

.doc h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.3;
}

.doc h2 {
  margin: 40px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}

.doc p,
.doc ul {
  margin: 0 0 12px;
}

.doc ul {
  padding-left: 1.2em;
}

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

.contact-card {
  display: block;
  margin: 24px 0 8px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--accent-soft);
}

.contact-card:hover {
  text-decoration: none;
}

.contact-label {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
}

.contact-address {
  display: block;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

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

@media (max-width: 900px) {
  .pair {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .hero-icon {
    width: 72px;
    height: 72px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero .tagline {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

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

  .doc h1 {
    font-size: 28px;
  }
}

/* Release notes */

.release-major h2 {
  margin-top: 40px;
}

.release {
  margin: 16px 0 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--bg-soft);
}

.release-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 8px;
}

.release-header h3 {
  margin: 0;
  font-size: 19px;
}

.doc .release-date {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.release ul {
  margin: 0;
  font-size: 15px;
}
