:root {
  --bg: #fcfcfb;
  --line: #d9dee3;
  --text: #2d4155;
  --text-soft: #6c7886;
  --text-faint: #96a1ad;
  --apple: #f3a364;
  --play: #79c8be;
  --max: 1180px;
  --font-ui: "Kosugi Maru", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 22px 24px 18px;
  background: #202127;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.brand__copy strong {
  display: block;
  font-size: 1rem;
}

.brand__copy span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.section-nav a,
.filter-row button,
.hero-link,
.app-entry__link,
.tag-chip,
.line-link,
.site-footer a {
  color: var(--text-soft);
  transition: color 0.18s ease;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover,
.section-nav a:hover,
.filter-row button:hover,
.hero-link:hover,
.app-entry__link:hover,
.tag-chip:hover,
.line-link:hover,
.site-footer a:hover {
  color: var(--text);
}

.hero {
  padding: 54px 0 28px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.spotlight-note__label {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.24;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero__copy {
  text-align: left;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, #f5a114 0%, #f3bf2f 100%);
}

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

.hero-app-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-app-tile img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;
}

.hero__description {
  max-width: 42ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  line-height: 2;
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-link,
.app-entry__link,
.line-link,
.filter-row button,
.tag-chip {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
}

.hero-link,
.app-entry__link,
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.7;
}

.hero-link::after,
.app-entry__link::after,
.line-link::after {
  content: "→";
  color: currentColor;
  font-size: 0.92em;
}

.hero-link--apple {
  color: var(--apple);
}

.hero-link--play {
  color: var(--play);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.stat-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.stat-pill span {
  color: var(--text-faint);
}

.stat-pill strong {
  font-size: 1.2rem;
  color: var(--text);
}

.spotlight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.spotlight-note {
  display: grid;
  gap: 12px;
}

.spotlight-note h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.55;
  text-wrap: balance;
}

.spotlight-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.section-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-nav a {
  display: block;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.section {
  padding-top: 76px;
}

.section__head {
  max-width: 32rem;
}

.section__head h2 {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.26;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.section__head p,
.filter-status {
  margin: 18px 0 0;
  color: var(--text-soft);
  line-height: 1.95;
  max-width: 42ch;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.filter-row button {
  cursor: pointer;
  color: var(--text-faint);
}

.filter-row button.is-active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.feature-grid,
.catalog-grid,
.link-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.feature-grid,
.catalog-grid {
  display: grid;
}

.app-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.app-entry.is-hidden {
  display: none;
}

.app-entry:focus-visible {
  outline: 2px solid var(--text-faint);
  outline-offset: 6px;
}

.app-entry__main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.app-entry__body h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.5;
  text-wrap: balance;
}

.app-entry__tagline,
.app-entry__meta,
.app-entry__description {
  margin: 0;
}

.app-entry__tagline {
  margin-top: 6px;
  color: var(--text-soft);
}

.app-entry__description {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.95;
  max-width: 48ch;
}

.app-entry__side {
  display: grid;
  align-content: start;
  gap: 16px;
}

.app-entry__meta {
  color: var(--text-faint);
  font-size: 0.9rem;
  line-height: 1.8;
}

.app-entry__platform {
  color: var(--text);
}

.app-entry__links,
.app-entry__chips,
.hero-links,
.line-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.tag-chip {
  color: var(--text-faint);
  font-size: 0.9rem;
}

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

.icon-stack img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.link-list {
  display: grid;
}

.link-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.link-list__row h3,
.link-list__row p {
  margin: 0;
}

.link-list__row h3 {
  font-size: 1.15rem;
  line-height: 1.6;
  text-wrap: balance;
}

.link-list__row p {
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.9;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 48px 0 18px;
  color: var(--text-faint);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  margin-top: 92px;
}

@media (max-width: 920px) {
  .hero__layout,
  .section-nav,
  .spotlight-list,
  .app-entry,
  .link-list__row {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 300px;
  }

  .app-entry {
    gap: 18px;
  }

  .app-entry__side {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 2.7rem;
    letter-spacing: 0.02em;
  }

  .hero__visual {
    order: 2;
    min-height: 260px;
  }

  .hero-app-tile {
    width: 82px;
    height: 82px;
  }

  .hero-app-tile img {
    width: 64px;
    height: 64px;
  }

  .section-nav {
    gap: 12px;
    padding: 20px 0;
  }

  .section-nav a {
    font-size: 1.8rem;
  }

  .app-entry__main {
    grid-template-columns: 1fr;
  }

  .icon-stack {
    width: 78px;
    height: 78px;
  }

  .app-entry__body h3 {
    font-size: 1.35rem;
  }
}
