:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --fg: #111111;
  --muted: #6b6b6b;
  --border: #e0e0e0;
  --accent: #111111;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }

nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  padding: 0 64px 0 240px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
nav.scrolled {
  border-bottom: 1px solid var(--border);
}
nav .left { display: flex; align-items: center; gap: 40px; }
nav .right { display: flex; align-items: center; }
nav .logo {
  display: flex;
  align-items: center;
  margin-left: 100px;
  text-decoration: none;
}
nav .logo img {
  height: 40px;
  width: auto;
}
nav .links { display: flex; gap: 32px; }
nav .links .nav-item {
  position: relative;
}
nav .links .nav-item > a {
  font-size: 16px; color: var(--fg); text-decoration: none;
  transition: color 0.2s; cursor: pointer;
}
nav .links .nav-item > a:hover { color: var(--fg); }
nav .links .nav-item > a.active { color: var(--fg); font-weight: 600; }
nav .links .nav-item .dropdown {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 8px;
  z-index: 200;
  min-width: 160px;
}
nav .links .nav-item .dropdown::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
nav .links .nav-item .dropdown a {
  display: block;
  position: relative;
  padding: 10px 20px;
  font-size: 14px; color: var(--fg); text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
  z-index: 1;
}
nav .links .nav-item .dropdown a:first-child {
  padding-top: 14px;
}
nav .links .nav-item .dropdown a:last-child {
  padding-bottom: 14px;
}
nav .links .nav-item .dropdown a:hover {
  background: var(--surface);
}
nav .links .nav-item .dropdown a:hover .title {
  color: var(--fg);
}
nav .links .nav-item .dropdown a .title {
  color: #000000;
  font-weight: 400;
}
nav .links .nav-item .dropdown a small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: normal;
}
nav .links .nav-item .dropdown a.active {
  background: var(--surface);
}
nav .links .nav-item .dropdown a.active .title {
  font-weight: 600;
}
nav .links .nav-item:hover .dropdown { display: block; }
nav .links .nav-item:has(.dropdown) > a::after {
  content: " ▾";
  font-size: 10px; margin-left: 4px;
}
nav .right .btn-outline {
  font-size: 12px; padding: 8px 22px; margin-right: 140px;
}
nav .menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
nav .menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--fg);
}
nav .mobile-donate {
  display: none;
}

.hero {
  position: relative;
  padding: 120px 48px 100px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 1px, black 1px, black calc(100% - 1px), transparent calc(100% - 1px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 1px, black 1px, black calc(100% - 1px), transparent calc(100% - 1px));
}
.hero h1 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 700px; margin: 0 auto 20px;
}
.hero p {
  position: relative; z-index: 1;
  font-size: 20px; line-height: 1.6;
  color: var(--muted);
  max-width: 580px; margin: 0 auto 36px;
}
.hero .btn {
  position: relative; z-index: 1;
  display: inline-block;
  background: var(--fg); color: var(--bg);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 16px 40px; border-radius: 6px;
  text-decoration: none; transition: opacity 0.2s;
  letter-spacing: 0.01em;
}
.hero .btn:hover { opacity: 0.85; }

.recs {
  padding: 88px 48px;
  max-width: 1100px; margin: 0 auto;
}
.recs h2 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600; letter-spacing: -0.02em;
  text-align: center; margin-bottom: 12px;
}
.recs .subtitle {
  text-align: center; color: var(--muted); font-size: 16px;
  margin-bottom: 56px;
}
.recs .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.recs .card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 32px 24px;
  text-align: center;
}
.recs .card .age {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.recs .card .activity {
  font-size: 14px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 16px;
}
.recs .card .time {
  font-size: 32px; font-weight: 300; color: var(--fg);
}
.recs .card .time small {
  font-size: 14px; font-weight: 400; color: var(--muted);
}
.recs .card .card-link {
  display: block;
  margin-top: 18px;
  font-size: 13px; font-weight: 600;
  color: var(--bg); text-decoration: none;
  background: var(--fg);
  border-radius: 6px;
  padding: 8px 16px;
  transition: opacity 0.2s;
}
.recs .card .card-link:hover {
  opacity: 0.85;
}

.recs-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 24px;
}

.note {
  background: var(--surface);
  padding: 80px 48px;
  text-align: center;
}
.note .inner {
  max-width: 640px; margin: 0 auto;
}
.note .en {
  font-size: 16px; line-height: 1.6;
  color: var(--muted);
}

.btn-outline {
  display: inline-block;
  background: transparent; color: var(--fg);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 14px 36px; border: 2px solid var(--fg); border-radius: 6px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--fg); color: var(--bg);
}
nav .right .btn-outline {
  font-size: 12px; padding: 8px 22px;
}
nav .mobile-donate {
  display: none;
}

.donate {
  padding: 88px 48px;
  text-align: center;
}
.donate .inner {
  max-width: 560px; margin: 0 auto;
}
.donate h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.donate p {
  font-size: 16px; line-height: 1.6; color: var(--muted);
  margin-bottom: 32px;
}

footer {
  padding: 32px 48px;
  text-align: center; font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  nav { padding: 0 32px 0 80px; }
  nav .left { gap: 24px; }
  nav .logo { margin-left: 20px; }
  nav .links { gap: 16px; }
  nav .links .nav-item > a { font-size: 15px; }
  nav .right .btn-outline { margin-right: 20px; }
}
@media (max-width: 860px) {
  nav { padding: 0 24px; }
  nav .left { gap: 0; position: relative; }
  nav .logo { margin-left: 0; }
  nav .menu-toggle {
    display: block;
  }
  nav .right .btn-outline {
    display: none;
  }
  nav .links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 99;
  }
  nav .links.active {
    transform: translateX(0);
  }
  nav .links .nav-item {
    width: 100%;
  }
  nav .links .nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  nav .links .nav-item:has(.dropdown) > a::after {
    content: "▾";
    font-size: 16px;
    transition: transform 0.3s ease;
  }
  nav .links .nav-item.open > a::after {
    transform: rotate(180deg);
  }
  nav .links .nav-item .dropdown {
    display: none;
    position: static;
    transform: none;
    padding-top: 0;
  }
  nav .links .nav-item .dropdown::before {
    display: none;
  }
  nav .links .nav-item:hover .dropdown { display: none; }
  nav .links .nav-item.open .dropdown { display: block; }
  nav .links .nav-item .dropdown a {
    padding: 12px 24px 12px 48px;
    border-bottom: 1px solid var(--border);
  }
  nav .mobile-donate {
    display: block;
    margin: 12px auto;
    padding: 10px 24px;
    font-size: 13px;
    text-align: center;
  }
  body.menu-open {
    overflow: hidden;
  }
  .hero { padding: 80px 24px 72px; }
  .recs { padding: 56px 24px; }
  .recs .grid { grid-template-columns: repeat(2, 1fr); }
  .note { padding: 56px 24px; }
  .donate { padding: 56px 24px; }
  footer { padding: 24px; }
}
@media (max-width: 520px) {
  .recs .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}