/* Smut School — waitlist page
   Colours and type come from the Smut School design system. */
:root {
  --plum: #48065B;
  --lilac: #DBC5F5;
  --lilac-line: #C9B3E0;
  --berry: #8A1F4D;
  --cream: #FFFBF7;
  --paper: #F7F1EC;
  --ink: #241A20;
  --muted: #4A3A52;
  --rule: #7A3B8C;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: Cabin, 'Trebuchet MS', Arial, sans-serif;
  --script: 'Dancing Script', cursive;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--lilac);
}
a { color: var(--plum); }
a:hover { color: var(--berry); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.eyebrow {
  color: var(--berry);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}
.display em { color: var(--berry); }
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
}
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--cream); padding: 8px 16px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

/* Dark bands */
.dark { background: var(--plum); color: var(--paper); }
.dark .eyebrow, .dark .display em { color: var(--lilac); }

/* Header / hero */
.hero { padding: 0 24px; }
.hero .wrap { padding: 20px 0 88px; gap: 64px; }
.nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.logo { height: 64px; width: auto; display: block; }
.wordmark {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--paper);
  text-decoration: none;
  line-height: 1;
}
.wordmark:hover { color: var(--lilac); }
.pill-link {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--lilac);
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.pill-link:hover { background: var(--lilac); color: var(--plum); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; gap: 24px; }
.hero-copy .eyebrow { color: var(--lilac); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
}
.hero h1 em { color: var(--lilac); }
.lede { font-size: 20px; max-width: 600px; }
.script { font-family: var(--script); font-size: 30px; color: var(--lilac); }

/* Waitlist form */
.signup {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  gap: 16px;
  scroll-margin-top: 24px;
}
.signup h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.signup .small { color: var(--muted); font-size: 15px; }
.signup .tiny { color: var(--muted); font-size: 13px; }
.signup label { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.signup input {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1.5px solid var(--lilac-line);
  border-radius: 10px;
  min-height: 48px;
  background: #fff;
}
.btn {
  font: inherit;
  font-weight: 700;
  background: var(--plum);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  min-height: 52px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { background: var(--berry); color: var(--paper); }
.btn-light { background: var(--lilac); color: var(--plum); padding: 16px 32px; }
.btn-light:hover { background: var(--paper); color: var(--plum); }
.form-msg { font-size: 15px; font-weight: 600; color: var(--berry); }

/* Sections */
section { padding: 0 24px 96px; }
.what { padding-top: 88px; padding-bottom: 72px; }
.what .wrap { gap: 20px; }
.what .answer { font-size: 21px; max-width: 760px; }
.bundle { display: block; width: 100%; height: auto; margin-top: 28px; }
.inside .wrap, .for .wrap { gap: 40px; }
.head { gap: 12px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.for .grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid .card { display: flex; flex-direction: column; gap: 10px; }
.grid .num { color: var(--berry); font-weight: 700; font-size: 14px; }
.grid h3 { font-size: 22px; line-height: 1.25; }
.for .grid h3 { font-size: 20px; }
.grid p { color: var(--muted); }
.plus { font-size: 18px; }

.why { padding: 96px 24px; margin-bottom: 96px; }
.why .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.stat { flex: 1 1 320px; min-width: 0; gap: 8px; }
.stat .big { font-family: var(--serif); font-size: clamp(72px, 9vw, 128px); line-height: 1; color: var(--lilac); }
.stat .src { font-size: 13px; color: var(--lilac); }
.why-copy { flex: 999 1 480px; min-width: 0; gap: 20px; }
.why-copy p { font-size: 19px; }

.honey .wrap {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.honey-head { flex: 1 1 260px; min-width: 0; gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--plum); color: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.honey-body { flex: 999 1 460px; min-width: 0; gap: 16px; color: var(--muted); font-size: 18px; }

.faq .narrow { gap: 32px; }
.faq-list { gap: 12px; }
.faq details { background: var(--cream); border-radius: var(--radius); padding: 22px 28px; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--muted); }

.final { padding: 96px 24px; }
.final .inner { max-width: 720px; margin: 0 auto; gap: 24px; align-items: center; text-align: center; }
.final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.final h2 em { color: var(--lilac); }
.final p { font-size: 19px; }

footer { padding: 0 24px 48px; }
footer .wrap { border-top: 1px solid var(--rule); padding-top: 32px; gap: 16px; font-size: 13px; }
footer .disclaimer { color: #E6D9EE; }
footer .row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer .links { display: flex; gap: 20px; }
footer a { color: var(--lilac); }
footer a:hover { color: var(--paper); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Legal pages (terms, privacy) */
.legal-head { padding: 0 24px; }
.legal-head .wrap { padding: 20px 0 56px; gap: 40px; }
.legal-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.legal-head .updated { color: var(--lilac); }
.legal { padding: 64px 24px 96px; }
.legal .doc { max-width: 760px; margin: 0 auto; background: var(--cream); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); }
.legal .summary { background: var(--lilac); border-radius: 12px; padding: 20px 24px; margin-bottom: 32px; }
.legal .summary p + p, .legal .summary ul { margin-top: 8px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .doc > :first-child { margin-top: 0; }

/* MailerLite waitlist form, styled to match the design */
#join, .ml-card { flex: 1 1 340px; min-width: 0; scroll-margin-top: 24px; }
.ml-card .ml-form-embedWrapper { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 32px; box-sizing: border-box; }
.ml-card .row-form, .ml-card .row-success { display: flex; flex-direction: column; gap: 16px; }
.ml-card h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.ml-card .small { margin: 0; color: var(--muted); font-size: 15px; }
.ml-card .tiny { margin: 0; color: var(--muted); font-size: 13px; }
.ml-card .tiny a { color: var(--plum); }
.ml-card form { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ml-card .ml-form-formContent { display: flex; flex-direction: column; gap: 16px; }
.ml-card label { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.ml-card input[type=text], .ml-card input[type=email] { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--lilac-line); border-radius: 10px; min-height: 48px; background: #fff; color: var(--ink); width: 100%; }
.ml-card .ml-error input { border-color: #B3261E; }
.ml-card .ml-error label { color: #B3261E; }
.ml-card .ml-form-embedSubmit button { width: 100%; }
.ml-card .ml-form-embedSubmit .loading { display: none; opacity: .7; cursor: wait; }

/* Blog */
.post-head .wrap { padding: 20px 0 56px; gap: 40px; }
.post-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; max-width: 860px; }
.post-head .meta { color: var(--lilac); }
.post-head .crumb a { color: var(--lilac); }
.post { padding: 56px 24px 96px; }
.post .doc { max-width: 760px; margin: 0 auto; background: var(--cream); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); font-size: 18px; line-height: 1.65; }
.post .doc > :first-child { margin-top: 0; }
.post h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; margin: 48px 0 14px; }
.post h3 { font-size: 21px; line-height: 1.3; margin: 32px 0 10px; }
.post p { margin: 0 0 16px; }
.post ul { margin: 0 0 16px; padding-left: 24px; }
.post li { margin: 6px 0; }
.post li p { margin: 0; }
.post img { display: block; width: 100%; height: auto; border-radius: 12px; margin: 28px 0; }
.post .cta { background: var(--plum); color: var(--paper); border-radius: var(--radius); padding: 32px; margin-top: 40px; }
.post .cta h2 { margin-top: 0; color: var(--paper); }
.post .cta p { color: #E6D9EE; }
.post .tool { width: 100%; border: 0; display: block; margin: 32px 0; min-height: 1300px; border-radius: 20px; }
.blog-list { padding: 56px 24px 96px; }
.blog-list .grid { max-width: 1120px; margin: 0 auto; }
.blog-list a.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: transform .15s; }
.blog-list a.card:hover { transform: translateY(-2px); }
.blog-list a.card img { width: 100%; height: auto; border-radius: 10px; }
.blog-list a.card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.blog-list a.card .date { color: var(--berry); font-weight: 600; font-size: 14px; }
.blog-list a.card p { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .blog-list a.card { transition: none; } }
.post .doc > p:first-child > img:first-child { margin-top: 0; }
.post p > img { margin: 12px 0; }
.post .answer { background: var(--lilac); border-radius: 12px; padding: 20px 24px; margin: 0 0 28px; }
.post .answer p { margin: 0; }
.post mark { background: #FFE58F; color: var(--ink); padding: 2px 4px; border-radius: 4px; display: inline; }
.post .small-print { font-size: 14px; color: var(--muted); margin-top: 24px; }
.post table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.post th, .post td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--lilac-line); vertical-align: top; }
.post th { background: var(--lilac); font-weight: 700; }
