/* BabsStudio official site — brand colors from Babspenguin style guide */
:root {
  --teal: #21d0cc;
  --teal-soft: #e8faf9;
  --teal-deep: #149e9a;
  --yellow: #ffd240;
  --pink: #ffc0cb;
  --ink: #333333;
  --ink-soft: #5a5a66;
  --muted: #8a8a96;
  --line: #e4e4ea;
  --white: #ffffff;
  --bg: #fbfcfd;
  --shadow: 0 12px 40px rgba(33, 208, 204, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic UI",
    sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(51, 51, 51, 0.04);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

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

.brand-lockup img {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--teal-soft);
  color: var(--teal-deep);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.25rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--teal-deep);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--teal-deep);
  text-decoration: none;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(255, 210, 64, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 80%, rgba(255, 192, 203, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(33, 208, 204, 0.18), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfd 55%, #eef9f8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(33, 208, 204, 0.09) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.5rem;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 34rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-brand img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 8px 18px rgba(255, 150, 180, 0.35));
}

.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-titles .en {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--ink);
}

.hero-titles .ja {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
}

.hero-tagline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 28rem;
}

.trust-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-list li {
  background: var(--white);
  border: 1.5px solid rgba(33, 208, 204, 0.28);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(33, 208, 204, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(33, 208, 204, 0.35);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  overflow: visible;
}

.hero-blob {
  position: absolute;
  width: min(440px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(255, 210, 64, 0.35), transparent 50%),
    linear-gradient(145deg, #dff9f7, #ffe9f0 55%, #fff4cc);
  filter: blur(2px);
  animation: blob-breathe 7s ease-in-out infinite;
  z-index: 0;
}

.hero-penguin {
  position: relative;
  z-index: 1;
  width: min(380px, 90%);
  height: auto;
  object-fit: contain;
  animation: float-y 4.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(51, 51, 51, 0.12));
}

.hero-sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0.85;
  animation: twinkle 2.8s ease-in-out infinite;
}

.hero-sparkle.s1 {
  top: 12%;
  left: 14%;
  background: var(--pink);
  animation-delay: 0.2s;
}

.hero-sparkle.s2 {
  top: 22%;
  right: 10%;
  width: 10px;
  height: 10px;
  background: var(--teal);
  animation-delay: 0.9s;
}

.hero-sparkle.s3 {
  bottom: 18%;
  left: 18%;
  width: 12px;
  height: 12px;
  animation-delay: 1.4s;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes blob-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(45deg) scale(0.85);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1.15);
  }
}

/* ---- Sections ---- */
.section {
  padding: 5rem 1.25rem;
  scroll-margin-top: 5rem;
}

#top,
#about,
#features,
#apps,
#kidguard,
#download,
#notice,
#company {
  scroll-margin-top: 5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.about-copy p.lead {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.6;
}

.about-visual {
  position: relative;
  background:
    linear-gradient(160deg, var(--teal-soft), #fff6e8 55%, #ffe8ef);
  border-radius: 32px;
  padding: 1.25rem 1rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 360px;
  overflow: hidden;
}

.about-visual img {
  width: min(340px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 28px rgba(51, 51, 51, 0.12));
}

/* Features */
.features {
  background:
    linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 28px rgba(51, 51, 51, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(33, 208, 204, 0.45);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--teal-soft);
}

.feature-icon-easy {
  background: #fff4d6;
}

.feature-icon-grow {
  background: #ffe8ef;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.feature-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* Apps */
.apps {
  background: var(--white);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(33, 208, 204, 0.5);
  text-decoration: none;
}

.app-card-top {
  padding: 1.35rem 1.35rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--white);
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(51, 51, 51, 0.06);
}

.app-names {
  min-width: 0;
}

.app-names .en {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}

.app-names .ja {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.app-card-body {
  padding: 0 1.35rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-body p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.app-link {
  font-weight: 800;
  color: var(--teal-deep);
  font-size: 0.92rem;
}

.app-card:hover .app-link {
  text-decoration: underline;
}

/* KidGuard */
.kidguard {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(255, 210, 64, 0.18), transparent 55%),
    linear-gradient(135deg, #e8faf9 0%, #ffffff 45%, #fff5f8 100%);
}

.kidguard-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(33, 208, 204, 0.25);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.kidguard-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.kidguard-visual img {
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(51, 51, 51, 0.12));
}

.app-screen {
  margin: 1.5rem 0 0;
  padding: 0;
}

.app-screen img {
  width: 100%;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  box-shadow: 0 10px 28px rgba(51, 51, 51, 0.08);
  background: #f7f8fa;
}

.app-screen figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.kidguard-copy .badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.kidguard-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
}

.kidguard-copy > p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.kidguard-copy > p:first-of-type {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.65;
}

.kidguard-lead {
  margin: 0 0 1.25rem !important;
  color: var(--ink-soft) !important;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.7;
}

.guard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.guard-list li {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}

.guard-list li span {
  display: block;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}

/* Download */
.download {
  background: var(--white);
}

.download-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1.75rem;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #e8faf9 55%, #fff8e8 100%);
  border: 1.5px solid rgba(33, 208, 204, 0.35);
  border-radius: 32px;
  padding: 2rem 2.1rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.download-visual img {
  width: min(240px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(51, 51, 51, 0.12));
}

.download-copy .badge-free {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.download-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
}

.download-lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.download-meta {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.download-meta li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
}

.download-meta li span {
  display: block;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-download {
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.05rem;
  padding: 0.95rem 1.55rem 0.85rem;
  line-height: 1.25;
}

.btn-download-main {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-download-file {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.notice-panel {
  margin: 2.25rem 0 2.75rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: #f7f8fa;
  border: 1.5px solid var(--line);
  border-left: 4px solid #8a8a96;
  border-radius: var(--radius-sm);
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.notice-panel > h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.notice-block + .notice-block {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.notice-block h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.notice-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.85;
  font-weight: 500;
}

.store-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.store-head h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.store-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.store-card {
  border: 1.5px dashed rgba(33, 208, 204, 0.45);
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem;
  background: var(--teal-soft);
  text-align: center;
}

.store-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.store-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.store-card .status {
  display: inline-block;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.store-card.is-planned .status {
  color: var(--teal-deep);
}

.store-card-sale {
  border-color: rgba(210, 55, 55, 0.55);
  background: #fff0f0;
  color: #a92828;
}

.store-card-sale p {
  color: #b64242;
}

.store-card-sale .status,
.store-card-sale.is-planned .status {
  background: #d23737;
  color: #fff;
}

/* Company */
.company {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.company-panel {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.company-panel h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 800;
}

.company-panel p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}

.company-panel p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: #2a2f36;
  color: #d7dbe0;
  padding: 2.5rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 12px;
  padding: 4px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-weight: 800;
}

.footer-brand span {
  font-size: 0.85rem;
  color: #a8afb8;
}

.footer-meta {
  text-align: right;
  font-size: 0.88rem;
}

.footer-meta a {
  color: var(--teal);
}

.footer-meta p {
  margin: 0.25rem 0;
}

/* Reveal — progressive enhancement (visible by default without JS) */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* App detail page */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(255, 210, 64, 0.22), transparent 50%),
    linear-gradient(180deg, #ffffff, var(--teal-soft));
  padding: 3rem 1.25rem 2.5rem;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.page-hero .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-hero .ja {
  color: var(--teal-deep);
  font-weight: 800;
  margin-top: 0.25rem;
}

.detail-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.detail-panel {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.detail-panel p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.coming-soon {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--teal-deep);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .kidguard-panel,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-meta {
    grid-template-columns: 1fr 1fr;
  }

  .btn-download {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .hero-penguin {
    width: min(300px, 78%);
  }

  .feature-grid,
  .app-grid,
  .store-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guard-list {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.15rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.25rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .feature-grid,
  .app-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-list li {
    font-size: 0.82rem;
  }
}
