:root {
  --bg: #f2f2f7;
  --surface: #ffffff;
  --text: #20232b;
  --subtext: #5a6473;
  --accent: #0076ff;
  --accent-dark: #005ecb;
  --line: #d9e0ea;
  --shadow: 0 14px 40px rgba(16, 34, 74, 0.08);
  --radius: 20px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Hiragino Sans", "Noto Sans JP", "Yu Gothic",
    sans-serif;
  background: radial-gradient(
      circle at 92% 10%,
      rgba(0, 118, 255, 0.12),
      transparent 32%
    ),
    radial-gradient(circle at 8% 30%, rgba(16, 34, 74, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.narrow {
  width: min(780px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(242, 242, 247, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header.simple {
  position: static;
}

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

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  color: var(--subtext);
  font-weight: 600;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

p {
  margin: 0 0 14px;
}

.lead {
  color: var(--subtext);
  font-size: 1.06rem;
  margin-top: 16px;
  max-width: 60ch;
}

.small-note {
  color: var(--subtext);
  font-size: 0.9rem;
}

.store-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 160px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.store-btn:hover,
.store-btn:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
}

.store-btn.secondary {
  background: #fff;
  color: var(--accent);
}

.hero-card {
  background: linear-gradient(170deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #dbe7fa;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
}

.hero-card-label {
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section {
  padding: 60px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(16, 34, 74, 0.05);
}

.feature {
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(0, 118, 255, 0.09);
}

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

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(16, 34, 74, 0.05);
}

.steps li h3 {
  margin-bottom: 8px;
}

.steps li p {
  margin: 0;
}

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

.shot {
  margin: 0;
}

.placeholder {
  aspect-ratio: 9 / 18;
  border-radius: 16px;
  border: 1px dashed #9bb6df;
  background: linear-gradient(145deg, #fff, #eef4ff);
  color: #4d78b8;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 8px;
  color: var(--subtext);
  font-size: 0.92rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.cta {
  padding-bottom: 76px;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(145deg, #0b4ca8 0%, #0076ff 60%, #46a0ff 100%);
  color: #fff;
  border-radius: 24px;
  padding: 34px 20px;
  box-shadow: var(--shadow);
}

.cta-inner .store-buttons {
  justify-content: center;
}

.cta-inner .store-btn {
  background: #fff;
  color: #11488b;
  border-color: #fff;
}

.cta-inner .store-btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  padding: 24px 0;
}

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

.footer-links {
  display: flex;
  gap: 16px;
}

.doc-main {
  padding: 56px 0;
}

.doc-section {
  margin-top: 28px;
}

.doc-section ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards.three,
  .cards.two,
  .shots {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    min-height: 64px;
  }

  .main-nav {
    gap: 12px;
  }
}

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

  .main-nav {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

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

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