:root {
  --paper: #efeee9;
  --ink: #1c1a17;
  --muted: #6f695f;
  --line: #e3ddd3;
  --card: #fffcf7;
  --green: #1b6b43;
  --green-soft: #e7f3ec;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #e7e2d8;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
}

.phone {
  width: min(420px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 22px calc(108px + env(safe-area-inset-bottom));
  background: var(--paper);
  text-align: center;
}

.top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero { padding-top: 22px; }

.logo {
  display: block;
  width: 148px;
  height: 148px;
  margin: 4px auto 0;
  object-fit: cover;
  background: transparent;
}

.help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.slot {
  display: inline-block;
  position: relative;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--green);
  font-weight: 700;
}

.phrase {
  display: inline-block;
  white-space: nowrap;
}

h1 {
  margin: 10px 0 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.line:nth-child(2) { animation-delay: 0.08s; }

.deck {
  margin: 14px auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  animation: rise 0.5s ease 0.18s forwards;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--green);
  color: #f7fbf8;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(27, 107, 67, 0.28);
}

.cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta:active { transform: translateY(1px); }

.note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.block { margin-top: 40px; }

.kicker {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 6px 0 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.block > p,
.legal-page p,
.legal-page li {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.text-link {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  margin: 18px 0 0;
  padding: 20px 14px 16px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.bars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  text-align: center;
}

.bar {
  display: block;
  width: 28px;
  height: var(--h);
  margin-bottom: 12px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #2f9a62, var(--green));
  transform-origin: bottom;
  animation: grow 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bars li:nth-child(2) .bar { animation-delay: 0.08s; }
.bars li:nth-child(3) .bar { animation-delay: 0.16s; }
.bars li:nth-child(4) .bar { animation-delay: 0.24s; }

.num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
}

.label {
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.session {
  margin-top: 28px;
  padding: 22px 18px 8px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--paper);
}

.session .kicker { color: #8dcea8; }
.session h2 { color: var(--paper); }

.session ul {
  margin: 16px 0 8px;
  padding: 0;
  list-style: none;
}

.session li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid rgba(243, 241, 236, 0.14);
}

.session li span {
  color: rgba(243, 241, 236, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.session li strong {
  font-size: 16px;
  font-weight: 600;
}

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.faq { margin-top: 6px; }

details {
  border-bottom: 1px solid var(--line);
}

details summary {
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-size: 16px;
  font-weight: 650;
  list-style: none;
  position: relative;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--green);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

details[open] summary::after { content: "–"; }

details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.facts {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.facts li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
}

.facts li + li { border-top: 1px solid var(--line); }

.facts span {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.fine, .ads {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.ads { margin-top: 8px; }
.ads a { color: inherit; }

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

.legal a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 5;
  width: min(420px, 100%);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 64%, rgba(243, 241, 236, 0));
  transform: translate(-50%, 120%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.dock.show {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.dock-cta { margin-top: 0; }

.legal-page {
  width: min(420px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 22px 48px;
  background: var(--paper);
  color: var(--ink);
}

.legal-page a.back {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.legal-page h1 {
  margin: 18px 0 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 800;
  animation: none;
  opacity: 1;
  transform: none;
}

.legal-page h2 {
  margin: 22px 0 0;
  font-size: 24px;
}

.legal-page ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.legal-page a { color: var(--ink); }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grow {
  from { transform: scaleY(0.15); }
  to { transform: scaleY(1); }
}

@media (max-width: 480px) {
  html, body { background: var(--paper); }
}

@media (prefers-reduced-motion: reduce) {
  .line, .deck, .bar { animation: none; opacity: 1; transform: none; }
  .dock { transition: none; }
}
