/* MamaChatMD — site styles. Mobile first, no dependencies. */

:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --ink: #33203f;
  --ink-2: #6a5874;
  --line: #f1e1d6;

  --rose: #f0527d;
  --rose-deep: #b82e57;
  --coral: #ff7a6b;
  --peach: #ffe3d5;
  --pink: #ffd9e3;
  --butter: #ffefb8;
  --sage: #d9f2e3;
  --lilac: #e9dfff;
  --sky: #d8eefb;
  --lilac-deep: #6444c0;

  --tg: #177ab8;
  --tg-dark: #105e90;

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 26px 50px -26px rgba(90, 40, 70, 0.4);
  --shadow-sm: 0 10px 22px -14px rgba(90, 40, 70, 0.35);

  --font-head: "Nunito", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui,
    -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --wrap: 1140px;
  --gutter: 20px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--rose-deep);
  text-underline-offset: 3px;
}

strong,
b {
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--tg);
  outline-offset: 3px;
  border-radius: 10px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  min-height: 58px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.btn span {
  text-wrap: balance;
}
.btn-tg {
  background: var(--tg);
  color: #fff;
  box-shadow: 0 5px 0 var(--tg-dark), 0 18px 28px -14px rgba(23, 122, 184, 0.75);
}
.btn-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--tg-dark), 0 22px 30px -14px rgba(23, 122, 184, 0.8);
}
.btn-tg:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--tg-dark);
}
.btn-xl {
  font-size: 1.16rem;
  padding: 19px 30px;
  min-height: 64px;
}
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.22);
}
.btn-light:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}
.btn-sm {
  font-size: 0.95rem;
  padding: 9px 16px;
  min-height: 42px;
  box-shadow: 0 3px 0 var(--tg-dark);
}
.btn-sm:hover {
  box-shadow: 0 4px 0 var(--tg-dark);
  transform: translateY(-1px);
}
.btn-sm svg {
  width: 18px;
  height: 18px;
}
.btn-block {
  width: 100%;
}

/* ---------- Language hint bar ---------- */

.langbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.93rem;
}
.langbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.langbar a {
  color: #fff;
  font-weight: 800;
}
.langbar button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  opacity: 0.8;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 241, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.home .site-header {
  background: rgba(255, 234, 221, 0.92);
}
.site-header.is-stuck,
.home .site-header.is-stuck {
  background: rgba(255, 252, 248, 0.94);
  border-bottom-color: var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.28rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 2px #fff, var(--shadow-sm);
}
.brand .tld {
  color: var(--rose);
}
.nav {
  display: none;
  gap: 24px;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 700;
}
.nav a:hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 3px;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.lang a,
.lang span {
  padding: 13px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  line-height: 1;
}
.lang [aria-current="true"] {
  background: var(--ink);
  color: #fff;
}
.header-actions .btn {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 0;
  background: linear-gradient(180deg, #ffeadd 0%, #ffdce6 100%);
}
.blob {
  position: absolute;
  pointer-events: none;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
}
.blob.b1 {
  width: 360px;
  height: 340px;
  right: -170px;
  top: -90px;
  background: #ffd0c2;
}
.blob.b2 {
  width: 260px;
  height: 250px;
  left: -140px;
  top: 44%;
  background: #eadfff;
}
.blob.b3 {
  width: 190px;
  height: 180px;
  right: -60px;
  bottom: 90px;
  background: #fff0bd;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 8px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 15px 7px 11px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2fb673;
  box-shadow: 0 0 0 4px rgba(47, 182, 115, 0.2);
}
.hero h1 {
  font-size: clamp(2.5rem, 10.4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  margin-top: 18px;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--rose);
  white-space: nowrap;
  padding-bottom: 0.14em;
  background: no-repeat left 100% / 100% 0.26em
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9C42 3 82 2 120 6s80 6 117 1' fill='none' stroke='%23ff7a6b' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.lead {
  margin-top: 18px;
  font-size: 1.16rem;
  color: var(--ink-2);
  max-width: 33em;
}
.lead strong {
  color: var(--ink);
}
.hero-cta {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.scribble {
  align-self: flex-end;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--rose-deep);
  transform: rotate(-4deg);
  margin: 4px 12px 0 0;
  align-items: flex-end;
}
.scribble svg {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  flex: none;
}
.proof {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.proof strong {
  color: var(--ink);
}
.avatars {
  display: inline-flex;
  flex: none;
}
.avatars i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.86rem;
  color: var(--ink);
  margin-left: -11px;
  box-shadow: var(--shadow-sm);
}
.avatars i:first-child {
  margin-left: 0;
}
.av-1 { background: #ffc9b8; }
.av-2 { background: #bfe8cf; }
.av-3 { background: #ffe08a; }
.av-4 { background: #d3c2fb; }

.ticks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-2);
}
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ticks li::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: none;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%232fb673'/%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Phone mockup */
.hero-art {
  position: relative;
  width: min(318px, 84vw);
  margin: 30px auto 0;
  padding-bottom: 8px;
}
.phone {
  position: relative;
  background: #fff;
  border: 9px solid var(--ink);
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 86px;
  height: 20px;
  margin-left: -43px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 14px 10px;
  border-bottom: 1px solid var(--line);
}
.phone-top img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.phone-top b {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.98rem;
  line-height: 1.2;
}
.phone-top span {
  font-size: 0.76rem;
  color: var(--ink-2);
}
.phone-chips {
  display: flex;
  gap: 6px;
  padding: 10px 12px 8px;
  overflow: hidden;
  white-space: nowrap;
}
.phone-chips span {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
}
.phone-chips .on {
  background: var(--ink);
  color: #fff;
}
.phone-body {
  padding: 2px 12px 12px;
}
.msg {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: flex-end;
}
.msg .av {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.74rem;
  color: var(--ink);
}
.msg .bubble {
  position: relative;
  background: #f6f0f9;
  border-radius: 18px 18px 18px 6px;
  padding: 8px 12px 9px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 84%;
}
.msg .bubble b {
  display: block;
  font-size: 0.74rem;
  color: var(--rose-deep);
}
.msg.me {
  flex-direction: row-reverse;
}
.msg.me .bubble {
  background: var(--sky);
  border-radius: 18px 18px 6px 18px;
}
.msg.me .bubble b {
  color: var(--tg-dark);
}
.react {
  position: absolute;
  right: 8px;
  bottom: -11px;
  background: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(90, 40, 70, 0.25);
}
.typing {
  display: inline-flex;
  gap: 4px;
  margin: 14px 0 0 36px;
  padding: 9px 12px;
  background: #f6f0f9;
  border-radius: 14px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9a9c4;
  animation: typing 1.2s infinite ease-in-out;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.phone-input {
  margin: 2px 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f0f9;
  border-radius: 999px;
  padding: 7px 7px 7px 14px;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.phone-input b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tg);
  color: #fff;
  display: grid;
  place-items: center;
}
.phone-input svg {
  width: 15px;
  height: 15px;
}
.chat-note {
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
}

/* Stickers */
.st {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 9px 10px rgba(90, 40, 70, 0.24));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
.hero-art .st-1 { width: 78px; left: -34px; top: 64px; rotate: -14deg; }
.hero-art .st-2 { width: 84px; right: -38px; top: 16%; rotate: 13deg; animation-delay: -1.6s; }
.hero-art .st-3 { width: 88px; left: -38px; bottom: 74px; rotate: -8deg; animation-delay: -3.1s; }
.hero-art .st-4 { width: 50px; right: 34px; top: -24px; rotate: 8deg; animation-delay: -2.2s; }

.wave {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 26px;
}

/* Stats card overlapping the hero edge */
.statsbar {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}
.stats {
  list-style: none;
  padding: 8px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats li {
  padding: 14px 10px 13px;
  text-align: center;
}
.stats b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rose);
}
.stats li:nth-child(2) b { color: #e2832a; }
.stats li:nth-child(3) b { color: var(--lilac-deep); }
.stats li:nth-child(4) b { color: #1c8a55; }
.stats span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}

/* Topic ticker */
.ticker-wrap {
  overflow: hidden;
  padding: 34px 0 10px;
}
.ticker {
  background: var(--ink);
  color: #fff;
  padding: 13px 0;
  transform: rotate(-1.6deg) scale(1.03);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.04rem;
  white-space: nowrap;
}
.ticker li::after {
  content: "♥";
  color: var(--coral);
  font-size: 0.85em;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  padding: 60px 0;
}
.section-head {
  max-width: 40em;
  margin: 0 auto 30px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: rgba(240, 82, 125, 0.13);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(1.95rem, 7vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.band {
  background: #fff;
}
.band-cream {
  background: var(--bg);
}
.band-mint {
  background: var(--sage);
}
.band-white {
  background: #fff;
}

/* Generic cards (also used by the guides) */
.cards {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.band .card,
.band .steps li {
  background: var(--bg);
  box-shadow: none;
}
.card h3 {
  font-size: 1.24rem;
  font-weight: 900;
  margin-top: 14px;
}
.card p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.tile {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
}
.t-peach { background: var(--peach); }
.t-sage { background: var(--sage); }
.t-butter { background: var(--butter); }
.t-lilac { background: var(--lilac); }
.t-sky { background: var(--sky); }
.t-rose { background: var(--pink); }

/* Life-stage cards */
.stage-cards {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 26px 22px 24px;
}
.s-peach { background: var(--peach); }
.s-sage { background: var(--sage); }
.s-butter { background: var(--butter); }
.s-lilac { background: var(--lilac); }
.s-sky { background: var(--sky); }
.s-rose { background: var(--pink); }
.stage-art {
  position: absolute;
  right: 6px;
  top: 4px;
  width: 104px;
  height: 104px;
  rotate: 10deg;
  filter: drop-shadow(0 8px 9px rgba(90, 40, 70, 0.2));
}
.badge {
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.stage h3 {
  margin-top: 34px;
  font-size: 1.5rem;
  font-weight: 900;
}
.stage p {
  margin-top: 8px;
  color: #56445f;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.chips li {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Big statement */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--lilac);
  text-align: center;
  padding: 70px 0 92px;
}
.statement .st {
  position: absolute;
}
.statement .st-a { width: 52px; left: 5%; top: 12px; rotate: -10deg; }
.statement .st-b { width: 60px; right: 7%; bottom: 16px; rotate: 12deg; animation-delay: -2s; }
.statement-text {
  position: relative;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 7.6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 15em;
  margin: 0 auto;
  text-wrap: balance;
}
.statement-sub {
  position: relative;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 5.6vw, 2rem);
  line-height: 1.15;
  color: var(--lilac-deep);
  max-width: 20em;
  margin: 14px auto 0;
  text-wrap: balance;
}

/* Bento grid */
.bento {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bento-item h3 {
  font-size: 1.36rem;
  font-weight: 900;
}
.bento-item p {
  margin-top: 8px;
  font-size: 0.99rem;
  color: #56445f;
}
.tone-butter { background: var(--butter); }
.tone-sky { background: var(--sky); }
.tone-rose { background: var(--pink); }
.tone-sage { background: var(--sage); }
.tone-lilac { background: var(--lilac); }
.tone-peach { background: var(--peach); }
.bento-art {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento-art span {
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.art-chat {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  max-width: 30em;
}
.art-chat span {
  border-radius: 18px 18px 18px 6px;
  font-family: var(--font-body);
  font-weight: 700;
  max-width: 92%;
}
.art-chat span:nth-child(2) {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-radius: 18px 18px 6px 18px;
}
.art-tags span {
  border-radius: 10px;
  rotate: -3deg;
}
.art-tags span:nth-child(2) {
  rotate: 2deg;
  background: var(--rose);
  color: #fff;
}
.art-tags span:nth-child(3) {
  rotate: -1deg;
}
.art-hello span {
  font-size: 1.05rem;
  border-radius: 18px 18px 18px 6px;
}
.art-hello span:nth-child(2) {
  background: var(--lilac-deep);
  color: #fff;
  border-radius: 18px 18px 6px 18px;
}
.bento-st {
  position: absolute;
  right: 8px;
  bottom: 4px;
  width: 92px;
  height: 92px;
  rotate: 9deg;
  filter: drop-shadow(0 8px 9px rgba(90, 40, 70, 0.2));
}
.has-st {
  padding-bottom: 86px;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px 24px 92px;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--rose));
  box-shadow: 0 4px 0 var(--rose-deep);
}
.steps h3 {
  font-size: 1.2rem;
  font-weight: 900;
}
.steps p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.steps-cta {
  margin-top: 30px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.join-help {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.hint {
  font-size: 0.95rem;
  color: var(--ink-2);
}
.inapp {
  background: var(--butter);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.94rem;
  text-align: left;
}
.linkbtn {
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--rose-deep);
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: 36px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* House rules as taped notes */
.notes {
  display: grid;
  gap: 22px;
  list-style: none;
  padding: 6px 0 0;
  margin: 0;
}
.note {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.note:nth-child(odd) {
  rotate: -1.2deg;
}
.note:nth-child(even) {
  rotate: 1.1deg;
}
.note::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 70px;
  height: 22px;
  margin-left: -35px;
  background: rgba(255, 214, 92, 0.85);
  border-radius: 3px;
  rotate: -3deg;
}
.note-ico {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.note h3 {
  margin-top: 12px;
  font-size: 1.18rem;
  font-weight: 900;
}
.note p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.disclaimer {
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.prose .disclaimer,
.guide .disclaimer {
  background: var(--butter);
}

/* FAQ + facts */
.facts-title {
  font-size: 1.15rem;
  font-weight: 900;
  max-width: 820px;
  margin: 0 auto 12px;
}
.facts {
  margin: 0 auto 30px;
  max-width: 820px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 8px 22px;
  box-shadow: var(--shadow-sm);
}
.facts div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 2px dashed var(--line);
}
.facts div:last-child {
  border-bottom: 0;
}
.facts dt {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.facts dd {
  margin: 0;
  font-weight: 700;
}
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-list details {
  background: var(--surface);
  border-radius: 22px;
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease;
}
.faq-list details[open] {
  background: #fff3ea;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.3;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary h3 {
  font: inherit;
  letter-spacing: 0;
  margin: 0;
}
.faq-list summary::after {
  content: "";
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--rose) no-repeat center / 13px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list .answer {
  padding: 0 0 20px;
  color: var(--ink-2);
  font-size: 1rem;
}
.faq-list .answer p + p {
  margin-top: 10px;
}

/* Partners */
.partners-box {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  padding: 36px 24px;
  display: grid;
  gap: 28px;
}
.partners-box::before {
  content: "";
  position: absolute;
  inset: auto -90px -130px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 82, 125, 0.6), transparent 70%);
  pointer-events: none;
}
.partners-box > * {
  position: relative;
}
.partners-box .kicker {
  color: #ffc3b4;
  background: rgba(255, 255, 255, 0.12);
}
.partners-box h2 {
  color: #fff;
}
.partners-box p {
  margin-top: 14px;
  color: #dcd0e3;
}
.partners-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.partners-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.96rem;
  color: #efe8f3;
}
.partners-list b {
  display: block;
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.04rem;
}
.partners-actions {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  justify-items: start;
}
.partners-actions small {
  color: #c5b8ce;
  font-size: 0.88rem;
}

/* Final call */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 112px 0 80px;
  color: #fff;
  background: linear-gradient(135deg, #ee5f6c 0%, #cf3a6c 100%);
}
.final::before,
.final::after {
  content: "";
  position: absolute;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.final::before {
  width: 300px;
  height: 280px;
  left: -120px;
  top: -90px;
}
.final::after {
  width: 260px;
  height: 250px;
  right: -110px;
  bottom: -100px;
}
.final .wrap {
  position: relative;
}
.final h2 {
  color: #fff;
  font-size: clamp(2.2rem, 8.6vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  max-width: 14em;
  margin: 0 auto;
}
.final p {
  margin: 16px auto 0;
  max-width: 28em;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.final .btn {
  margin-top: 28px;
}
.final .btn-tg {
  background: #fff;
  color: var(--tg-dark);
  box-shadow: 0 5px 0 rgba(60, 10, 40, 0.3), 0 20px 30px -14px rgba(60, 10, 40, 0.5);
}
.final .ticks {
  justify-content: center;
  margin-top: 22px;
  gap: 8px;
  color: var(--ink);
}
.final .ticks li {
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px 6px 9px;
}
.final .st-a { width: 68px; left: 14%; top: 26px; rotate: -12deg; }
.final .st-b { width: 68px; right: 14%; top: 30px; rotate: 12deg; animation-delay: -2.4s; }

/* Footer */
.site-footer {
  background: #fff;
  padding: 34px 0 112px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  gap: 18px;
}
.site-footer .brand {
  font-size: 1.14rem;
}
.site-footer .brand + p {
  margin-top: 10px;
  max-width: 34em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a,
.footer-links button {
  color: var(--ink-2);
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-meta {
  margin-top: 12px;
  font-size: 0.86rem;
}

/* Sticky phone join bar */
.joinbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(115%);
  transition: transform 0.25s ease;
}
.joinbar.is-on {
  transform: none;
}
.joinbar .btn {
  min-height: 52px;
  padding: 13px 20px;
}

/* Consent banner */
.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  font-size: 0.93rem;
  max-width: 520px;
  margin: 0 auto;
}
.consent a {
  color: #ffc3b4;
}
.consent-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.consent-actions button {
  flex: 1;
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 14px;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
}
.consent-actions .yes {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Simple text pages (privacy, 404) */
.page {
  padding: 40px 0 64px;
}
.prose {
  max-width: 720px;
}
.prose h1 {
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 900;
}
.prose h2 {
  font-size: 1.34rem;
  font-weight: 900;
  margin-top: 30px;
}
.prose p,
.prose ul {
  margin-top: 12px;
  color: var(--ink-2);
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-top: 6px;
}
.notfound {
  text-align: center;
  padding: 80px 0 100px;
}
.notfound h1 {
  font-size: clamp(2.1rem, 8vw, 3.2rem);
  font-weight: 900;
}
.notfound p {
  margin-top: 14px;
  color: var(--ink-2);
}
.notfound .btn {
  margin-top: 12px;
}

/* ---------- Larger screens ---------- */

@media (min-width: 560px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .scribble {
    align-self: center;
    margin: 0;
  }
  .scribble svg {
    rotate: -72deg;
    margin: 0;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .notes {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
  body {
    font-size: 18px;
  }
  .section {
    padding: 88px 0;
  }
  .section-head {
    margin-bottom: 42px;
  }
  .cards.c3,
  .stage-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards.c6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stage {
    padding: 30px 26px 28px;
  }
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-item {
    grid-column: span 3;
    padding: 28px 26px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps li {
    padding: 92px 24px 26px;
  }
  .steps li::before {
    left: 24px;
    top: 22px;
  }
  .header-actions .btn {
    display: inline-flex;
  }
  .joinbar {
    display: none;
  }
  .site-footer {
    padding-bottom: 40px;
  }
  .partners-box {
    padding: 52px 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .facts div {
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: baseline;
  }
  .statement {
    padding: 92px 0 100px;
  }
  .statement .st-a { width: 92px; left: 10%; top: 34px; }
  .statement .st-b { width: 104px; right: 9%; bottom: 30px; }
  .final {
    padding: 128px 0 112px;
  }
  .final .st-a { width: 80px; left: 30%; top: 30px; }
  .final .st-b { width: 80px; right: 30%; top: 34px; }
  .stats li {
    padding: 20px 12px 18px;
  }
  .stats b {
    font-size: 2.4rem;
  }
  .statsbar {
    margin-top: -44px;
  }
  .wave {
    height: 80px;
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }
  .hero {
    padding-top: 34px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
  }
  .hero-art {
    width: 340px;
    margin: 0 auto;
  }
  .hero-art .st-1 { width: 96px; left: -62px; }
  .hero-art .st-2 { width: 104px; right: -66px; }
  .hero-art .st-3 { width: 108px; left: -70px; }
  .hero-art .st-4 { width: 62px; right: 40px; top: -34px; }
  .blob.b1 { width: 560px; height: 520px; right: -140px; top: -120px; }
  .blob.b2 { width: 380px; height: 360px; left: -180px; top: 50%; }
  .blob.b3 { width: 260px; height: 240px; right: 34%; bottom: 40px; }
  .bento-item {
    grid-column: span 2;
  }
  .bento-item.b-wide {
    grid-column: span 4;
  }
  .bento-item.b-full {
    grid-column: span 6;
    flex-direction: row;
    align-items: center;
    padding-bottom: 28px;
  }
  .bento-item.b-full .bento-copy {
    max-width: 34em;
  }
  .b-full .bento-st {
    position: static;
    margin-left: auto;
    width: 120px;
    height: 120px;
  }
  .notes {
    grid-template-columns: repeat(4, 1fr);
  }
  .partners-box {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }
  .partners-list {
    grid-template-columns: 1fr;
  }
  .final {
    padding: 112px 0 120px;
  }
  .final .st-a { width: 112px; left: 9%; top: 70px; }
  .final .st-b { width: 120px; right: 8%; top: 110px; }
}

/* Phones: generic six-up cards go icon-left to stay short */
@media (max-width: 719px) {
  .cards.c6 .card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    padding: 18px 16px;
  }
  .cards.c6 .tile {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
    grid-row: 1 / span 2;
  }
  .cards.c6 .card h3 {
    margin-top: 0;
    font-size: 1.1rem;
  }
  .cards.c6 .card p {
    grid-column: 2;
    margin-top: 5px;
    font-size: 0.95rem;
  }
}

/* Very narrow phones */
@media (max-width: 359px) {
  .brand {
    font-size: 1.08rem;
    gap: 7px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .lang a,
  .lang span {
    padding: 13px 10px;
  }
  .langbar {
    font-size: 0.86rem;
  }
  .hero-art .st-1,
  .hero-art .st-3 {
    left: -22px;
  }
  .hero-art .st-2 {
    right: -22px;
  }
}

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

/* ---------- Guides hooks on shared pages ----------
   Only what the home page and the header need. Everything else for the guide pages is in
   guides.css, which those pages load after this file. */

/* The sixth header link only appears where all six fit on one line in both languages. */
.nav .nav-guides {
  display: none;
}
@media (min-width: 1180px) {
  .nav .nav-guides {
    display: block;
  }
  .nav a {
    white-space: nowrap;
  }
}

.guide-card {
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.guide-card h2,
.guide-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 14px;
}
.guide-card h2 a,
.guide-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.guide-card h2 a::after,
.guide-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.guide-card .guide-card-meta {
  margin-top: 12px;
  font-size: 0.84rem;
}
.guides-all {
  margin-top: 20px;
  font-weight: 700;
}
.guides-all a::after {
  content: " \2192";
}
