:root {
  --bg: #f2f3f0;
  --surface: #ffffff;
  --ink: #121612;
  --muted: #5e675e;
  --line: rgba(18, 22, 18, 0.08);
  --accent: #2f5d38;
  --accent-2: #1a3d24;
  --chip: #e7eee6;
  --shadow: 0 18px 50px rgba(18, 22, 18, 0.08);
  --radius: 22px;
  --max: 1120px;
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 420px at 0% -10%, #d9e5d4 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #d5dde8 0%, transparent 50%),
    var(--bg);
  line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
  min-height: min(78vh, 720px);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  animation: rise .7s ease both;
}

.hero-copy .lede {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise .7s ease .06s both;
}

.hero-now {
  margin-top: 1.35rem;
  animation: rise .7s ease .1s both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.hero-app {
  margin: 0.25rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
}

.hero-blurb {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
  animation: rise .7s ease .12s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #f5faf5;
  box-shadow: 0 10px 24px rgba(47, 93, 56, 0.25);
}

.btn-primary:hover { background: var(--accent-2); color: #fff; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
}

.featured-stage {
  position: relative;
  animation: rise .8s ease .1s both;
}

.showcase-carousel {
  position: relative;
  height: min(460px, 58vw);
  display: grid;
  place-items: center;
}

.showcase-carousel .slide {
  position: absolute;
  width: min(420px, 78%);
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #1c241c;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .45s ease, opacity .45s ease, filter .45s ease;
}

.showcase-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-carousel .slide .slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(12, 16, 12, 0.78));
  color: #f4f7f1;
  font-size: 0.92rem;
  font-weight: 600;
}

.showcase-carousel .slide.is-prev {
  transform: translateX(-38%) scale(0.88) rotate(-3deg);
  opacity: 0.5;
  filter: saturate(0.75);
  z-index: 1;
}

.showcase-carousel .slide.is-active {
  transform: translateX(0) scale(1) rotate(0);
  opacity: 1;
  z-index: 3;
}

.showcase-carousel .slide.is-next {
  transform: translateX(38%) scale(0.88) rotate(3deg);
  opacity: 0.5;
  filter: saturate(0.75);
  z-index: 1;
}

.showcase-carousel .slide.is-hidden {
  opacity: 0;
  transform: scale(0.72);
  pointer-events: none;
  z-index: 0;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: .85rem;
}

.carousel-nav button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 1rem;
}

.carousel-nav button:hover { border-color: var(--accent); color: var(--accent); }

.dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .65rem;
}

.dots button {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  border: 0;
  background: #b7c0b5;
  cursor: pointer;
  padding: 0;
}

.dots button.is-on { background: var(--accent); width: 1.2rem; }

.section {
  padding: 1rem 0 3.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 22, 18, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 100%;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.store-card .cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #dde3d8;
  overflow: hidden;
}

.store-card .cover-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.store-card .cover-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}

.store-card .cover-track img.is-on { opacity: 1; }

.store-card .cover-ctrl {
  position: absolute;
  inset: auto 0.45rem 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s ease;
}

.store-card:hover .cover-ctrl,
.store-card:focus-within .cover-ctrl { opacity: 1; }

.store-card .cover-ctrl button {
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 22, 18, 0.55);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.store-card .cover-dots {
  display: flex;
  gap: 0.28rem;
  margin-inline: auto;
}

.store-card .cover-dots span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
}

.store-card .cover-dots span.is-on { background: #fff; width: 0.85rem; }

.store-card .body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: .35rem;
  flex: 1;
}

.store-card .kind {
  font-size: .78rem;
  color: var(--accent);
  background: var(--chip);
  width: fit-content;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-weight: 600;
}

.store-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-family: var(--font-display);
}

.store-card .blurb {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.store-card .foot {
  margin-top: auto;
  padding-top: .55rem;
  font-size: .85rem;
  color: var(--accent-2);
  font-weight: 600;
}

.store-card.is-locked .foot { color: var(--muted); font-weight: 500; }

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .92rem;
}

/* detail */
.app-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0 1rem;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.app-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
}

.app-hero .meta {
  color: var(--muted);
  margin: .35rem 0 0;
}

.badge {
  display: inline-block;
  margin-top: .55rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
}

.shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: .9rem;
  overflow-x: auto;
  padding: .5rem 0 1.2rem;
  scroll-snap-type: x mandatory;
}

.shot-rail figure {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: var(--shadow);
}

.shot-rail img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.prose {
  max-width: 42rem;
  padding: .5rem 0 2.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.6rem 0 .5rem;
}

.prose .note {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #e8efe6;
  color: var(--muted);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .showcase-carousel { height: 360px; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .store-grid { grid-template-columns: 1fr; }
  .app-hero { grid-template-columns: 72px 1fr; }
  .app-icon { width: 72px; height: 72px; border-radius: 16px; }
  .qr-row { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

.kind-line {
  margin: 0 0 .2rem;
  color: var(--muted);
  font-size: .9rem;
}

.page-hero {
  padding: 1.6rem 0 1rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.page-hero .lede {
  margin: .75rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.support-hero .hero-kicker {
  margin: 0 0 .45rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-grid article {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.support-grid h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.support-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.prose-inline {
  max-width: 42rem;
  color: var(--muted);
  margin: 0;
}

.qr-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 1.25rem;
  justify-content: start;
}

.qr-slot {
  margin: 0;
}

.qr-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line));
  background:
    linear-gradient(135deg, #eef3ea 0%, #f7f7f4 55%, #e8edf4 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.qr-frame img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.qr-frame img.is-missing {
  display: none;
}

.qr-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  padding: 1rem;
  line-height: 1.45;
}

.qr-frame:has(img:not(.is-missing)) .qr-fallback {
  display: none;
}

.qr-slot figcaption {
  margin-top: .65rem;
  font-weight: 600;
  text-align: center;
}

.legal-box {
  margin: 1.5rem 0 2.5rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #eef2ea;
}

.legal-box h2 {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.legal-box ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.legal-box li { margin: .45rem 0; }

.legal-foot {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: .95rem;
}

.dl-list {
  display: grid;
  gap: 1.1rem;
  padding-bottom: 1rem;
}

.dl-card {
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dl-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: .85rem;
}

.dl-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
}

.dl-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.dl-ver {
  margin: .2rem 0 0;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
}

.dl-card .blurb {
  margin: .35rem 0 0;
  color: var(--muted);
}

.dl-change,
.dl-note {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.dl-body {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}

.dl-body h3 {
  margin: .85rem 0 .35rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
}

.dl-body h3:first-child { margin-top: 0; }

.dl-body ul,
.dl-body ol {
  margin: 0;
  padding-left: 1.2rem;
}

.dl-body li { margin: .28rem 0; }

.dl-body p { margin: .35rem 0 0; }

.dl-intro { margin-top: 0; }

.privacy-doc {
  max-width: 44rem;
  padding: 1.2rem 0 2.5rem;
  color: var(--ink);
}

.privacy-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 .5rem;
}

.privacy-doc .meta {
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-size: .95rem;
}

.privacy-doc h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.4rem 0 .45rem;
}

.privacy-doc p,
.privacy-doc li {
  color: var(--muted);
  line-height: 1.65;
}

.privacy-doc ul { padding-left: 1.2rem; }

.shot-empty img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
