:root {
  --bg: #faf9f6;
  --text: #1e293b;
  --answer-text: #334155;
  --muted: #64748b;
  --placeholder: #94a3b8;
  --line: #e2e8f0;
  --card-line: #e8eceb;
  --surface: #ffffff;
  --soft: #f1f5f9;
  --mint: #d1fae5;
  --mint-soft: #e8f5e9;
  --green: #10b981;
  --green-dark: #047857;
  --green-text: #065f46;
  --teal-top: #0f766e;
  --teal-bottom: #134e4a;
  --pink: #ec4899;
  --shadow: 0 18px 50px rgba(30, 41, 59, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), transparent 34rem),
    linear-gradient(135deg, var(--bg) 0%, #f3faf6 54%, #fff8f5 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.home-shell {
  width: min(1540px, calc(100% - 48px));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

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

.nav a {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--answer-text);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.8);
}

.language-switch button {
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.language-switch button.active {
  background: var(--green-dark);
  color: #fff;
}

.eyebrow {
  margin: 0;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 18px;
  color: var(--text);
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1rem;
}

p,
li {
  color: var(--answer-text);
  line-height: 1.62;
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
  gap: 34px;
  align-items: end;
  min-height: 58vh;
  padding: 74px 0 34px;
}

.home-shell .hero {
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(30px, 3.5vw, 58px);
  align-items: center;
  min-height: auto;
  padding: clamp(42px, 6vh, 70px) 0 clamp(28px, 4vh, 44px);
}

.home-shell h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 5.2vw, 5.35rem);
  line-height: 0.98;
}

.hero p {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
}

.panel,
.card {
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.panel {
  border-top: 3px solid var(--pink);
  padding: 24px;
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: clamp(460px, 56vh, 660px);
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 2% 4% 8%;
  z-index: -1;
  border-radius: 48% 46% 28% 34%;
  background:
    radial-gradient(circle at 42% 36%, rgba(16, 185, 129, 0.18), transparent 34%),
    radial-gradient(circle at 70% 42%, rgba(239, 75, 161, 0.12), transparent 32%),
    radial-gradient(ellipse at 52% 70%, rgba(255, 255, 255, 0.62), transparent 64%);
  filter: blur(2px);
}

.hero-mascots {
  display: block;
  width: min(100%, 640px);
  min-height: clamp(440px, 54vh, 640px);
  max-height: 660px;
  object-fit: contain;
  object-position: center bottom;
}

.mascot-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.mascot-image {
  width: 96px;
  height: 96px;
  border: 3px solid var(--mint);
  border-radius: 999px;
  object-fit: cover;
  background: var(--mint-soft);
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.12);
}

.mascot-caption {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.collapsible-card {
  padding: 0;
}

.collapsible-card summary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 64px 18px 18px;
  list-style: none;
  cursor: pointer;
}

.collapsible-card summary .mascot-image {
  width: 72px;
  height: 72px;
  justify-self: center;
}

.collapsible-card summary h3,
.collapsible-card summary .mascot-caption {
  max-width: 100%;
}

.collapsible-card summary::-webkit-details-marker {
  display: none;
}

.collapsible-card summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-text);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.collapsible-card[open] summary::after {
  content: "−";
}

.collapsible-card {
  position: relative;
}

.collapsible-body {
  border-top: 1px solid var(--card-line);
  padding: 0 22px 22px;
}

.cta-row,
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button,
.chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--answer-text);
}

.chip {
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: var(--mint);
  color: var(--green-text);
  font-size: 0.86rem;
}

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

.site-footer {
  margin: 46px 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.card {
  padding: 22px;
}

.card.pink {
  border-top: 3px solid var(--pink);
}

.card.green {
  border-top: 3px solid var(--green);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

.form-frame {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  background: #fff;
}

.download-box {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.step {
  border: 1px solid var(--card-line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.step strong {
  color: var(--green-dark);
}

.placeholder-form {
  display: grid;
  min-height: 720px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  text-align: center;
}

.question-list {
  margin: 18px 0 0;
  padding-left: 1.25rem;
}

.note {
  border-left: 4px solid var(--green);
  margin-top: 18px;
  padding: 12px 14px;
  background: #f8faf9;
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar,
  .hero,
  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  .home-shell {
    width: min(100% - 28px, 1180px);
  }

  .home-shell .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: clamp(440px, 68vw, 660px);
  }

  .hero-mascots {
    min-height: clamp(420px, 68vw, 640px);
    max-height: none;
  }

  .mascot-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .mascot-image {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.3rem);
  }
}
