:root {
  color-scheme: light;
  --cream: #fbf7ef;
  --surface: #fffdfa;
  --ink: #172b35;
  --muted: #53636b;
  --blue: #00758f;
  --blue-dark: #005f75;
  --blue-soft: #ddf3f7;
  --yellow: #f4bd20;
  --border: #dde4e6;
  --shadow: 0 18px 55px rgba(0, 79, 99, 0.1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Manrope,
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: var(--blue-dark);
}
img {
  display: block;
  max-width: 100%;
}
.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  padding: 20px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  width: auto;
  height: 150px;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}
.nav-links .button {
  color: white;
}
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
  padding: 44px 0 82px;
}
.eyebrow {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1 {
  max-width: 700px;
  margin: 12px 0 24px;
  font-size: clamp(2.55rem, 5.3vw, 4.35rem);
  font-weight: 650;
}
h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 620;
}
h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.hero-example {
  margin: 24px 0 8px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}
.hero-example strong,
.mini-flow strong,
.member-amounts strong {
  color: var(--blue-dark);
}
.hero-copy {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--blue);
  color: white;
  font-weight: 750;
  text-decoration: none;
}
.button:hover {
  background: var(--blue-dark);
}
.button.secondary {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue-dark);
}
.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 117, 143, 0.12);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.pot-card {
  margin: -36px 24px 24px;
  position: relative;
  padding: 24px 28px;
  border-radius: 22px;
  background: var(--yellow);
  color: #172b35;
  box-shadow: 0 14px 35px rgba(114, 85, 0, 0.18);
}
.pot-card strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
}
.pot-meta {
  color: rgba(23, 43, 53, 0.72);
  font-weight: 700;
}
.section {
  padding: 88px 0;
}
.section.alt {
  background: var(--surface);
}
.section-intro {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--muted);
}
.boulette-definition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 24px;
  align-items: center;
  max-width: 860px;
  margin: 0 0 48px;
  padding: 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 117, 143, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue-soft), rgba(255, 253, 250, 0.92));
}
.boulette-definition::before {
  content: '';
  position: absolute;
  top: -34px;
  right: 78px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(244, 189, 32, 0.24);
}
.boulette-definition strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.15rem;
}
.boulette-definition p {
  margin: 0;
  color: var(--muted);
}
.boulette-definition img {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  object-fit: contain;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps-grid {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
}
.card-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
}
.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(220px, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
  min-height: 0;
  padding: 30px;
  border-color: transparent;
  background: rgba(255, 253, 250, 0.68);
}
.step-card:nth-child(even) {
  margin-left: 54px;
  background: rgba(221, 243, 247, 0.48);
}
.step-card:nth-child(odd) {
  margin-right: 54px;
}
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -22px;
  left: 56px;
  width: 2px;
  height: 24px;
  background: rgba(0, 117, 143, 0.25);
}
.step-card:nth-child(even):not(:last-child)::after {
  left: 110px;
}
.step-card .card-number {
  z-index: 1;
  width: 46px;
  height: 46px;
  margin: 0;
  background: var(--blue);
  color: white;
}
.step-copy p {
  margin: 0;
  color: var(--muted);
}
.rule-list {
  display: grid;
  gap: 8px;
  margin: 0;
}
.rule-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.mini-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--blue-soft);
  font-weight: 700;
}
.mini-flow b {
  color: var(--blue);
}
.account-demo {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(0, 117, 143, 0.16);
  border-radius: 18px;
  background: var(--surface);
}
.account-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(244, 189, 32, 0.2);
}
.account-total strong {
  font-size: 1.8rem;
}
.member-amounts {
  display: grid;
  gap: 8px;
  padding: 14px 18px 16px;
  color: var(--muted);
}
.moment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.moment-tags span {
  padding: 9px 14px;
  border: 1px solid rgba(0, 117, 143, 0.18);
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-dark);
  font-weight: 750;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid #b9e0e8;
  border-radius: 18px;
  background: var(--blue-soft);
}
.notice.prominent {
  background: linear-gradient(135deg, var(--surface), var(--blue-soft));
}
.notice-icon {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
}
.notice p {
  margin: 4px 0 0;
  color: var(--muted);
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 54px;
  align-items: start;
}
.story-heading {
  position: sticky;
  top: 50px;
}
.story-mascots {
  width: 138px;
  margin: 32px auto 0;
  filter: drop-shadow(0 12px 20px rgba(0, 79, 99, 0.12));
}
.story-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(0, 117, 143, 0.12);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 14px 44px rgba(0, 79, 99, 0.07);
}
.story-timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  min-height: 72px;
}
.story-timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: var(--blue-soft);
}
.story-timeline li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
}
.story-timeline p {
  margin: 5px 0 22px;
}
.story-total {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--yellow);
}
.story-total small {
  font-weight: 750;
}
.story-total p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 0;
  font-size: 1.5rem;
}
.story-total b {
  color: rgba(23, 43, 53, 0.56);
}
.story-total strong {
  font-size: 2rem;
}
.story-timeline s {
  color: var(--muted);
}
.story-ending {
  margin: 10px 0 0;
  padding: 20px;
  border-radius: 18px;
  background: rgba(244, 189, 32, 0.2);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience-card {
  position: relative;
  min-height: 0;
  padding: 10px 26px 10px 0;
  border-right: 1px solid var(--border);
  background: transparent;
}
.usage-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.audience-card:last-child {
  border-right: 0;
}
.audience-card > span {
  display: block;
  width: 30px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: var(--yellow);
}
.audience-card:nth-child(even) > span {
  background: var(--blue);
}
.audience-card h3 {
  margin-bottom: 10px;
}
.audience-card p {
  margin: 0;
  color: var(--muted);
}
.faq-section {
  padding: 74px 0 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 54px;
  align-items: start;
}
.faq-layout h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list summary {
  position: relative;
  padding: 18px 44px 18px 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  top: 15px;
  right: 4px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 500;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details p {
  max-width: 720px;
  margin: -3px 44px 20px 0;
  color: var(--muted);
}
.final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(36px, 7vw, 68px) clamp(24px, 6vw, 70px);
  border: 1px solid rgba(0, 117, 143, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 20%, rgba(244, 189, 32, 0.32), transparent 24%),
    linear-gradient(135deg, var(--surface), var(--blue-soft));
  text-align: center;
}
.final-cta p {
  max-width: 630px;
  margin: 0 0 26px;
  color: var(--muted);
}
.final-cta small {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
}
.button-disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}
.legal {
  width: min(780px, calc(100% - 40px));
  margin: 40px auto 90px;
}
.legal h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}
.legal h2 {
  margin-top: 48px;
  font-size: 1.65rem;
}
.legal h3 {
  margin-top: 28px;
}
.legal li + li {
  margin-top: 8px;
}
.draft {
  margin: 20px 0 36px;
  padding: 16px 18px;
  border: 1px solid #e2b54a;
  border-radius: 14px;
  background: #fff1d2;
}
.form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 720;
}
input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.invite-layout {
  display: grid;
  width: 100%;
  min-height: calc(100vh - 120px);
  place-items: center;
  padding: 40px 20px 80px;
}
.invite-card {
  width: min(560px, 100%);
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}
.invite-card .mascots {
  width: 150px;
  margin: 0 auto 20px;
}
.invite-card .actions {
  justify-content: center;
}
footer {
  padding: 42px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-card,
  .step-card:nth-child(even),
  .step-card:nth-child(odd) {
    margin-right: 0;
    margin-left: 0;
  }
  .step-card:nth-child(even):not(:last-child)::after {
    left: 56px;
  }
  .audience-card:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .nav {
    gap: 16px;
  }
  .brand img {
    width: auto;
    height: 150px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 36px;
  }
  .grid,
  .steps-grid,
  .story-layout,
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .story-layout {
    gap: 24px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .story-heading {
    position: static;
  }
  .boulette-definition {
    grid-template-columns: 1fr 76px;
    gap: 14px;
    padding: 20px;
  }
  .boulette-definition img {
    width: 76px;
    height: 76px;
  }
  .story-mascots {
    width: 104px;
    margin: 18px 0 0;
  }
  .step-card,
  .audience-card {
    min-height: 0;
  }
  .step-card {
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 24px 20px;
  }
  .step-card > :last-child {
    grid-column: 1 / -1;
  }
  .step-card:not(:last-child)::after,
  .step-card:nth-child(even):not(:last-child)::after {
    left: 42px;
  }
  .audience-card,
  .audience-card:nth-child(2),
  .audience-card:last-child {
    padding: 10px 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .audience-card:last-child {
    border-bottom: 0;
  }
  .section {
    padding: 64px 0;
  }
  .invite-card {
    padding: 28px 20px;
  }
  .invite-card h1 {
    font-size: 2.25rem;
  }
  .invite-card .actions {
    display: grid;
  }
  .footer-grid {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
