:root {
  --forest: #164f3b;
  --forest-deep: #0b362a;
  --leaf: #79b84a;
  --mint: #e1f1d7;
  --cream: #fff8d9;
  --sun: #ffd75e;
  --paper: #fbfcf5;
  --ink: #183d31;
  --muted: #60756d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 222, 99, .36), transparent 18rem),
    radial-gradient(circle at 20% 84%, rgba(150, 211, 96, .25), transparent 24rem),
    linear-gradient(145deg, #329460 0%, var(--forest) 48%, var(--forest-deep) 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: "";
}

.hero::before { top: -220px; right: -130px; }
.hero::after { right: 7%; bottom: -330px; }

.nav,
.hero-content,
.feature-section,
.support-section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--forest-deep);
  font-size: 22px;
  background: var(--sun);
  border-radius: 50%;
}

.nav-link {
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 150px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}

.eyebrow { color: #d8efce; }

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 15px;
}

.primary-button { color: var(--forest-deep); background: var(--sun); }
.secondary-button { color: white; border: 1px solid rgba(255, 255, 255, .32); }

.sound-card {
  position: absolute;
  z-index: 1;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 62px;
  width: min(420px, calc(100% - 40px));
  padding: 24px;
  color: var(--ink);
  background: rgba(252, 253, 243, .94);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 25px;
  box-shadow: 0 28px 70px rgba(0, 35, 22, .3);
}

.sound-card-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 60, 49, .12);
}

.sound-card-top span,
.plan-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sound-card-top strong { color: var(--forest); font-size: 46px; line-height: .8; }
.frog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding-top: 20px; }
.frog-list span { display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 750; }
.frog-list i { width: 10px; height: 10px; background: var(--leaf); border-radius: 50%; box-shadow: 0 0 0 4px rgba(121, 184, 74, .17); }

.feature-section,
.support-section { padding-block: 110px; }
.section-label { color: #4d825d; }

h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.24;
  letter-spacing: -.035em;
}

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.plan-card { position: relative; padding: 34px; background: white; border: 1px solid #dfe8e1; border-radius: 25px; box-shadow: 0 16px 48px rgba(30, 72, 55, .07); }
.pro-card { color: white; background: linear-gradient(150deg, #2c8753, #12432f); border-color: transparent; }
.pro-badge { position: absolute; top: 22px; right: 22px; padding: 7px 11px; color: #553b00; font-size: 12px; font-weight: 850; background: var(--sun); border-radius: 999px; }
.plan-title { display: flex; flex-direction: column; gap: 3px; }
.pro-card .plan-title span { color: #c8e5cc; }
.plan-title strong { font-size: 46px; }
.plan-card ul { display: grid; gap: 14px; padding: 22px 0 0; margin: 22px 0 0; list-style: none; border-top: 1px solid rgba(18, 60, 49, .13); }
.plan-card li::before { display: inline-grid; width: 22px; height: 22px; margin-right: 10px; place-items: center; color: var(--forest); font-size: 12px; font-weight: 900; background: var(--mint); border-radius: 50%; content: "✓"; }

.support-section { width: min(960px, calc(100% - 40px)); padding-top: 80px; border-top: 1px solid #dbe5dd; }
.faq-list { margin-top: 45px; border-top: 1px solid #dbe5dd; }
details { border-bottom: 1px solid #dbe5dd; }
summary { position: relative; padding: 24px 44px 24px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 20px; right: 0; display: grid; width: 30px; height: 30px; place-items: center; color: var(--forest); background: var(--mint); border-radius: 50%; content: "+"; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 40px 24px 0; margin: 0; color: var(--muted); line-height: 1.9; }
.support-note { padding: 26px 28px; margin-top: 40px; background: var(--cream); border-radius: 20px; }
.support-note p { margin: 3px 0 0; color: #656647; line-height: 1.7; }
.support-note-title { color: var(--ink) !important; font-weight: 850; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding-block: 50px; border-top: 1px solid #dbe5dd; }
.site-footer div:first-child { display: flex; flex-direction: column; gap: 6px; }
.site-footer span, .site-footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 20px; align-self: start; font-size: 13px; font-weight: 750; }
.site-footer p { grid-column: 1 / -1; margin: 10px 0 0; }

.policy-shell { min-height: 100vh; padding: 28px 20px 60px; background: radial-gradient(circle at 12% 0%, rgba(255, 215, 94, .22), transparent 30rem), linear-gradient(150deg, #eff8e8, #fffbea 58%, #edf6ef); }
.policy-nav { display: flex; align-items: center; justify-content: space-between; width: min(840px, 100%); margin: 0 auto 24px; }
.policy-nav .brand { color: var(--forest); }
.policy-nav > a:last-child { color: #356b57; font-size: 13px; font-weight: 750; }
.policy-card { width: min(840px, 100%); padding: clamp(28px, 7vw, 66px); margin: 0 auto; background: rgba(255, 255, 255, .94); border: 1px solid white; border-radius: 28px; box-shadow: 0 24px 80px rgba(31, 75, 57, .12); }
.policy-card h1 { color: var(--ink); font-size: clamp(36px, 7vw, 60px); }
.policy-card .updated { margin: 15px 0 40px; color: var(--muted); font-size: 13px; }
.policy-card h2 { margin: 42px 0 12px; font-size: 21px; letter-spacing: -.01em; }
.policy-card p, .policy-card li { color: #4c6259; line-height: 1.95; }
.policy-card a { color: #0d684a; font-weight: 750; }
.policy-card ul { padding-left: 22px; }
.policy-footer { width: min(840px, 100%); padding: 28px 0 0; margin: 0 auto; color: var(--muted); font-size: 12px; }
.support-page .faq-list { margin-top: 28px; }

@media (max-width: 760px) {
  .hero { min-height: 990px; }
  .hero-content { padding-top: 108px; }
  .sound-card { right: 20px; bottom: 44px; }
  .plans { grid-template-columns: 1fr; }
  .site-footer { display: flex; flex-direction: column; align-items: flex-start; }
}
