:root {
  --purple: #8294FE;
  --purple-dark: #5f70df;
  --yellow: #F2DC35;
  --ink: #33333f;
  --muted: #6f7180;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #e8e6ef;
  --shadow: 0 14px 40px rgba(75, 80, 130, 0.12);
  --radius: 24px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(130,148,254,.14), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(242,220,53,.18), transparent 24rem),
    var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP",
    sans-serif;
  line-height: 1.75;
}

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

a { color: inherit; }

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,230,239,.8);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 8px 18px rgba(130,148,254,.35);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--white);
  box-shadow: 0 6px 18px rgba(75,80,130,.10);
}

.hero {
  padding: 84px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid rgba(130,148,254,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--purple-dark);
  font-size: .9rem;
  font-weight: 800;
}

h1, h2, h3 {
  line-height: 1.3;
  letter-spacing: .01em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

h3 { margin-top: 0; }

.lead {
  max-width: 42rem;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 12px 24px rgba(130,148,254,.34);
}

.button-secondary {
  background: var(--yellow);
  color: #39331a;
  box-shadow: 0 12px 24px rgba(242,220,53,.28);
}

.hero-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.art-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 40% 60% 53% 47% / 45% 42% 58% 55%;
  background:
    linear-gradient(145deg, rgba(255,255,255,.85), rgba(255,255,255,.46)),
    var(--purple);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 7rem;
}

.sparkle {
  position: absolute;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 2rem;
  box-shadow: var(--shadow);
}

.sparkle.one { top: 16px; right: 8px; }
.sparkle.two { bottom: 25px; left: 2px; background: white; }

.section {
  padding: 66px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  padding: 26px;
  border: 1px solid rgba(232,230,239,.9);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 30px rgba(75,80,130,.07);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(130,148,254,.15);
  font-size: 1.7rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--purple-dark);
  font-weight: 800;
  text-decoration: none;
}

.notice {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(130,148,254,.16), rgba(242,220,53,.18));
  border: 1px solid rgba(130,148,254,.22);
}

.page-hero {
  padding: 68px 0 34px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.content {
  max-width: 820px;
}

.content h2 {
  margin-top: 44px;
}

.content a {
  color: var(--purple-dark);
}

.post-list {
  display: grid;
  gap: 16px;
}

.post-item {
  padding: 22px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
}

.post-item small {
  color: var(--muted);
}

.site-footer {
  margin-top: 70px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-art {
    min-height: 300px;
  }

  .art-card {
    max-width: 300px;
    font-size: 5rem;
  }

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