:root {
  --bg: #fbf9f6;
  --band: #f2ede6;
  --ink: #16181c;
  --ink-soft: #4d5560;
  --line: #e0d9cf;
  --card: #ffffff;
  --accent: #b0491f;
  --accent-soft: #f6e7df;
  --shadow: 0 1px 2px rgba(22, 24, 28, .06), 0 8px 24px rgba(22, 24, 28, .06);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101215;
    --band: #171a1f;
    --ink: #eef1f4;
    --ink-soft: #a2acb8;
    --line: #272c33;
    --card: #191d22;
    --accent: #ff9166;
    --accent-soft: #2a1c15;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 58px 0; }
.band { background: var(--band); border-block: 1px solid var(--line); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 7.5vw, 52px); }
h2 { font-size: clamp(24px, 4.6vw, 33px); margin-bottom: .7em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- hero ---------- */

.hero {
  padding: 68px 0 60px;
  background:
    radial-gradient(1000px 420px at 12% -10%, var(--accent-soft), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.lede {
  font-size: clamp(18px, 3.2vw, 21px);
  color: var(--ink);
  max-width: 34em;
}

.sub { color: var(--ink-soft); max-width: 34em; }

.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) { .cta { color: #14161a; } }
.cta:hover { filter: brightness(1.07); }

/* ---------- steps ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.steps p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- ideas ---------- */

.section-lede { color: var(--ink-soft); max-width: 40em; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 24px;
}

.chip {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
@media (prefers-color-scheme: dark) { .chip.is-on { color: #14161a; } }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

/* display:flex above would otherwise beat the hidden attribute */
.card[hidden] { display: none; }

.card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  flex: 1;
}

.say {
  font: inherit;
  font-size: 14.5px;
  line-height: 1.45;
  text-align: left;
  margin-top: 16px;
  padding: 12px 14px;
  width: 100%;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.say::before {
  content: "Copy this ask  ";
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.say:hover { border-color: var(--accent); background: var(--accent-soft); }
.say.copied::before { content: "Copied  "; }

.empty { color: var(--ink-soft); margin-top: 20px; }

/* ---------- tips ---------- */

.tips {
  display: grid;
  gap: 20px 28px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.tips h3 { margin-bottom: .35em; }
.tips p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- straight talk ---------- */

.plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 44em;
}
.plain li {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-size: 16px;
}
.plain strong { color: var(--ink); }

/* ---------- closer ---------- */

.closer p { max-width: 40em; font-size: 17.5px; }
.small { font-size: 14px; color: var(--ink-soft); }

footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}
footer p { margin: 0 0 4px; color: var(--ink-soft); font-size: 15px; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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