@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  background: #eef6ff;
  color: #1a2b42;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: 88px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid #ffd166;
  box-shadow: 0 4px 24px rgba(26, 43, 66, 0.06);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.logo-main {
  font-family: Fredoka, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #ff6b6b;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4ecdc4;
}

.nav-main {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 22px;
}

.nav-main a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #3d5166;
}

.nav-main a:hover {
  color: #ff6b6b;
}

.btn-play {
  flex-shrink: 0;
  text-decoration: none;
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
  color: #fff;
  box-shadow: 0 6px 0 #e05555, 0 10px 24px rgba(255, 107, 107, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #e05555, 0 14px 28px rgba(255, 107, 107, 0.4);
}

.menu-toggle {
  display: none;
  border: none;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px 0;
  background: #1a2b42;
  border-radius: 2px;
}

.hero-block {
  position: relative;
  overflow: hidden;
  padding: 48px 5% 72px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 209, 102, 0.45), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(78, 205, 196, 0.35), transparent 40%),
    linear-gradient(180deg, #dbefff 0%, #eef6ff 55%, #fff 100%);
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 43, 66, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 43, 66, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: Fredoka, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 12px 0 16px;
  color: #1a2b42;
}

.hero-copy h1 em {
  font-style: normal;
  color: #4ecdc4;
  display: block;
  font-size: 0.55em;
  margin-bottom: 0.15em;
}

.hero-lead {
  font-size: 1.12rem;
  color: #4a6078;
  max-width: 34ch;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.chip {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #ffd166;
  color: #1a2b42;
}

.chip--mint {
  border-color: #4ecdc4;
  background: rgba(78, 205, 196, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-ghost {
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 14px;
  border: 2px solid #1a2b42;
  color: #1a2b42;
  background: #fff;
}

.btn-ghost:hover {
  background: #1a2b42;
  color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 28px;
  box-shadow:
    0 24px 48px rgba(26, 43, 66, 0.18),
    0 0 0 6px #fff,
    0 0 0 10px #ffd166;
  transform: rotate(2deg);
}

.hero-badge {
  position: absolute;
  bottom: -12px;
  left: -8px;
  background: #1a2b42;
  color: #ffd166;
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.strip-features {
  background: #1a2b42;
  color: #eef6ff;
  padding: 28px 5%;
}

.strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strip-item h3 {
  font-family: Fredoka, sans-serif;
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #ffd166;
}

.strip-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(238, 246, 255, 0.85);
}

.section {
  padding: 64px 5%;
}

.section--soft {
  background: #fff;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-family: Fredoka, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: #5a7088;
}

.gallery-bento {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-bento figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 12px 32px rgba(26, 43, 66, 0.1);
}

.gallery-bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  transition: transform 0.35s ease;
}

.gallery-bento figure:hover img {
  transform: scale(1.04);
}

.g-span-7 {
  grid-column: span 7;
}

.g-span-5 {
  grid-column: span 5;
}

.g-span-4 {
  grid-column: span 4;
}

.g-span-8 {
  grid-column: span 8;
}

.about-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 8px 28px rgba(26, 43, 66, 0.08);
  border-left: 6px solid #4ecdc4;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 8px;
}

.spec-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.spec-card {
  background: #f8fbff;
  border-radius: 16px;
  padding: 24px;
  border: 2px dashed rgba(78, 205, 196, 0.5);
}

.spec-card h3 {
  font-family: Fredoka, sans-serif;
  margin: 0 0 12px;
  color: #ff6b6b;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 43, 66, 0.08);
  font-size: 0.92rem;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-list span {
  font-weight: 700;
  color: #4a6078;
}

.download-panel {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #4ecdc4 0%, #44a3aa 100%);
  border-radius: 24px;
  padding: 32px;
  color: #fff;
}

.download-panel img {
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}

.store-btn {
  text-decoration: none;
  background: #1a2b42;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  min-width: 150px;
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.85;
}

.store-btn strong {
  font-family: Fredoka, sans-serif;
  font-size: 1.05rem;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  border: 2px solid #eef6ff;
}

.faq-item dt {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-item dd {
  margin: 0;
  color: #5a7088;
  font-size: 0.95rem;
}

.contact-split {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #dbe8f5;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4ecdc4;
}

.submit-btn {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: #ff6b6b;
  color: #fff;
  box-shadow: 0 4px 0 #d95555;
}

.submit-btn:hover {
  filter: brightness(1.05);
}

.line-box {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(26, 43, 66, 0.08);
}

.legal-block {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #5a7088;
}

.site-footer {
  background: #1a2b42;
  color: rgba(238, 246, 255, 0.75);
  text-align: center;
  padding: 36px 5% 48px;
}

.footer-title {
  font-family: Fredoka, sans-serif;
  font-size: 1.2rem;
  color: #ffd166;
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.footer-links a {
  color: #4ecdc4;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 5%;
    border-bottom: 3px solid #ffd166;
    gap: 12px;
  }

  .nav-main.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero-wrap,
  .about-grid,
  .download-panel,
  .contact-split,
  .strip-inner,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .gallery-bento .g-span-7,
  .gallery-bento .g-span-5,
  .gallery-bento .g-span-4,
  .gallery-bento .g-span-8 {
    grid-column: span 12;
  }

  .hero-visual img {
    transform: none;
  }

  .btn-play {
    display: none;
  }
}
