/* Chumie site: cream ground, plum ink, the logo's purple → pink → peach gradient as the one accent */
:root {
  --cream: #FFFAF4;
  --surface: #FFFFFF;
  --lav: #F5EEFF;
  --ink: #2E1A5E;
  --muted: #5E4F75;
  --line: #EFE3EE;
  --violet: #7B4FD6;
  --pink: #E8569F;
  --peach: #FFAE73;
  --grad: linear-gradient(100deg, #7B4FD6 0%, #C058C0 45%, #F2679A 75%, #FFA36F 100%);
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-head { padding-block: 16px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a:hover { color: var(--violet); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  background: var(--grad); color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(123, 79, 214, 0.25);
  min-height: 48px;
}
.btn:hover { color: #FFFFFF; filter: brightness(1.05); }
.btn svg { width: 22px; height: 22px; }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { color: var(--violet); }

/* Hero */
.hero { padding-block: 24px 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.08;
  margin: 0 0 14px; text-wrap: balance;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-family: var(--hand); font-size: 1.6rem; color: var(--violet); margin: 0 0 12px; }
.hero p.lede { color: var(--muted); font-size: 1.12rem; max-width: 34rem; margin: 0 0 26px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.hero-art { position: relative; }
.hero-art img { width: min(460px, 100%); margin-inline: auto; }

/* Sections */
section { padding-block: 56px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--pink); margin: 0 0 8px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.section-lede { color: var(--muted); max-width: 40rem; margin: 0 0 32px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--surface); border-radius: 20px; padding: 22px; border: 1px solid var(--line); }
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--lav); color: var(--violet); margin-bottom: 12px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.band { background: var(--lav); }
.langs { display: flex; flex-wrap: wrap; gap: 10px; }
.langs span { background: var(--surface); border-radius: 999px; padding: 8px 16px; font-weight: 700; border: 1px solid var(--line); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 780px; }
.plan { background: var(--surface); border-radius: 22px; padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.plan h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 0; }
.plan .price { font-family: var(--display); font-size: 2rem; font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan li { margin-bottom: 4px; }
.fine { font-size: 0.88rem; color: var(--muted); margin-top: 18px; }

.safety { background: var(--surface); border-radius: 22px; padding: 28px; border: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.safety img { width: 72px; }
.safety h2 { font-size: 1.6rem; }
.safety p { margin: 0 0 10px; color: var(--muted); }
.safety strong { color: var(--ink); }

.cta { text-align: center; }
.cta img { width: 120px; margin: 0 auto 12px; }
.cta .tagline { margin-bottom: 22px; }

/* Text pages */
.page { padding-block: 24px 64px; }
.page .wrap { max-width: 760px; }
.page h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 6px; line-height: 1.1; }
.page .updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 28px; }
.page h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.page p, .page li { color: #3D2E5C; }
.page ul, .page ol { padding-left: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 18px 0; }
.email-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.email-box code { font-family: var(--body); font-weight: 800; font-size: 1.15rem; background: var(--lav); padding: 8px 14px; border-radius: 12px; color: var(--ink); user-select: all; }
.copy-btn { border: 0; background: var(--ink); color: #FFFFFF; font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.copy-btn:hover { background: var(--violet); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 800; cursor: pointer; }
details p { margin: 10px 0 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero p.lede { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { width: min(300px, 80%); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
}
@media (max-width: 540px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .safety { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
