:root {
  --ember: #c4643c;
  --bg: #faf8f5;
  --ink: #33302c;
  --ink-muted: #8a837a;
  --hairline: #e4dfd7;
  --surface-muted: #efeae2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1917;
    --ink: #ece7df;
    --ink-muted: #9c948a;
    --hairline: #3a352f;
    --surface-muted: #2a2621;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}

.container {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  padding: 28px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 15px;
  letter-spacing: 0.08em;
}

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

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

.hero {
  padding: 72px 0 88px;
  text-align: center;
}

.hero .app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 36px;
}

.hero h1 {
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.9;
}

.hero .lead {
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 15px;
}

.store-badges {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: "Noto Sans JP", sans-serif;
}

.store-badge {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.section {
  border-top: 1px solid var(--hairline);
  padding: 72px 0;
}

.section-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ember);
  text-align: center;
  margin-bottom: 40px;
}

.concept p {
  text-align: center;
  font-size: 16px;
}

.concept p + p {
  margin-top: 18px;
}

.screenshot-row {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  max-width: max-content;
  margin: 0 auto;
  padding: 8px 24px 16px;
}

.phone {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}

.phone img {
  display: block;
  width: 218px;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(51, 48, 44, 0.08);
}

.phone figcaption {
  margin-top: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
}

.features {
  display: grid;
  gap: 28px;
}

.feature {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 28px 28px 24px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.feature p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 14px;
}

.closing {
  text-align: center;
}

.closing p {
  font-size: 18px;
  letter-spacing: 0.14em;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 56px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

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

.site-footer a:hover {
  color: var(--ember);
}

@media (prefers-reduced-motion: no-preference) {
  .hero .app-icon,
  .hero h1,
  .hero .lead,
  .hero .store-badges {
    opacity: 0;
    animation: fade-up 1.1s ease forwards;
  }

  .hero h1 {
    animation-delay: 0.25s;
  }

  .hero .lead {
    animation-delay: 0.5s;
  }

  .hero .store-badges {
    animation-delay: 0.75s;
  }

  .hero .app-icon {
    animation:
      fade-up 1.1s ease forwards,
      drift 7s 1.1s ease-in-out infinite alternate;
  }

  html.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 1.1s ease,
      transform 1.1s ease;
    transition-delay: var(--d, 0s);
  }

  html.js .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.doc {
  padding: 48px 0 80px;
}

.doc h1 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.doc .doc-date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 40px;
}

.doc > .container > p {
  font-size: 14px;
}

.doc h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.doc p,
.doc li {
  font-size: 14px;
  line-height: 2.1;
}

.doc p + p {
  margin-top: 12px;
}

.doc ol,
.doc ul {
  padding-left: 1.6em;
  margin-top: 12px;
}

.doc li + li {
  margin-top: 6px;
}
