:root {
  --ink: #1f2a24;
  --muted: #5f6b64;
  --paper: #fbf8f1;
  --card: #ffffff;
  --line: #e6e0d2;
  --green: #1e4d3a;
  --green-dark: #143627;
  --gold: #c9a24a;
  --red: #a33a2c;
  --radius: 14px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); line-height: 1.55; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: 1.6rem; margin-top: 0; }
h3 { font-size: 1.2rem; }
a { color: var(--green); }
main { max-width: 860px; margin: 0 auto; padding: 0 1.2rem 4rem; }
section { margin: 3.2rem 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--gold); font-weight: 700; margin: 0 0 .5rem; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; max-width: 860px; margin: 0 auto; }
.logo { font-family: var(--font); font-size: 1.5rem; font-weight: 700; color: var(--green-dark); text-decoration: none; }
.logo span { color: var(--gold); }
.site-header nav { display: flex; gap: 1.1rem; align-items: center; font-size: .95rem; }
.site-header nav a { text-decoration: none; color: var(--ink); }
.banner { background: #fff5d6; border-top: 1px solid #f0dfa2; border-bottom: 1px solid #f0dfa2; padding: .6rem 1.2rem; text-align: center; font-size: .92rem; }

.hero { text-align: center; padding-top: 2rem; }
.hero .lead { font-size: 1.2rem; max-width: 640px; margin: 1rem auto 1.6rem; color: #33403a; }

.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: .75rem 1.5rem; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; font-family: var(--ui); transition: background .15s; }
.btn:hover { background: var(--green-dark); }
.btn:disabled { background: #9aa9a1; cursor: not-allowed; }
.btn-big { font-size: 1.12rem; padding: .95rem 2rem; }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }
.btn-secondary { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-secondary:hover { background: #eef3ef; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); }

.steps ol { padding-left: 1.3rem; }
.steps li { margin: .7rem 0; }
.links a { display: block; margin: .3rem 0; }

.form label { display: block; margin: .9rem 0 0; font-weight: 600; font-size: .95rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input:not([type]), .form input[type=email], .form select, .form textarea, .revise textarea, .beta-step input[type=email] {
  display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; border: 1px solid #cfc8b8; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.form textarea, .revise textarea { resize: vertical; }
.form textarea:focus, .form input:focus, .form select:focus, .revise textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 1rem 0 0; }
legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #cfc8b8; border-radius: 999px; padding: .4rem .9rem; cursor: pointer; font-weight: 500; margin: 0; background: #fff; }
.chip:has(input:checked) { border-color: var(--green); background: #eaf2ec; }
.chip input { margin: 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; margin-top: 1rem; }
.check input { margin-top: .3rem; }
.form .btn-big { margin-top: 1.4rem; width: 100%; }
.errors { background: #fbe9e6; color: var(--red); border: 1px solid #efc2bb; border-radius: 10px; padding: .7rem .9rem; margin-top: 1rem; }
.notice { background: #fff5d6; border: 1px solid #f0dfa2; border-radius: 10px; padding: .8rem 1rem; }

.pricing .price-card { text-align: center; max-width: 480px; margin: 0 auto; }
.price { font-family: var(--font); font-size: 2.4rem; font-weight: 700; color: var(--green-dark); }
.per { color: var(--muted); }
.price-card ul { text-align: left; display: inline-block; margin: 1rem auto; padding-left: 1.2rem; }

.faq details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }

.speech { font-family: var(--font); font-size: 1.18rem; line-height: 1.7; padding: 2.2rem 2.4rem; }
.speech p { margin: 0 0 1.2em; }
.speech.preview { position: relative; overflow: hidden; }
.locked { filter: blur(6px); user-select: none; pointer-events: none; color: #777; }
.fade { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 75%); }
.unlock { margin-top: -2rem; position: relative; text-align: center; border-color: var(--gold); box-shadow: 0 8px 30px rgba(30,77,58,.10); }
.unlock .price-line { margin: .8rem 0; }
.unlock .check { text-align: left; margin: 1rem auto; max-width: 560px; }
.unlock .btn-big { width: 100%; max-width: 420px; }
.beta-step { text-align: left; margin-top: 1.4rem; background: #fdfaf0; }
.beta-step label { display: block; margin-top: .7rem; font-weight: 600; }
.beta-step .btn-big { margin-top: 1rem; width: 100%; }
.actions { display: flex; gap: .8rem; margin: 1rem 0 2rem; flex-wrap: wrap; }
.revise .btn { margin-top: .8rem; }

.legal h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.site-footer { border-top: 1px solid var(--line); max-width: 860px; margin: 2rem auto 0; padding: 1.5rem 1.2rem 3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }

.busy { opacity: .6; pointer-events: none; }
.spinner { display: inline-block; width: 1em; height: 1em; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -0.15em; margin-right: .5em; }
@keyframes spin { to { transform: rotate(360deg); } }

@media print {
  .site-header, .site-footer, .banner, .actions, .revise, .eyebrow, .small { display: none !important; }
  body { background: #fff; }
  .speech { border: 0; box-shadow: none; padding: 0; font-size: 14pt; }
}

.example { margin: 2rem 0; }
.example-input { background: #fdfaf0; margin-bottom: 1rem; }
.example-input ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.example .speech { margin-bottom: 1rem; }

/* Permanent link box on a paid speech, and the "your speeches" list on the front page */
.keep-link { border-color: var(--gold); margin-bottom: 1.4rem; }
.keep-link h2 { margin-top: 0; }
.link-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.link-row input { flex: 1 1 260px; font: inherit; font-size: .95rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.my-speeches ul { list-style: none; padding: 0; margin: 0; }
.my-speeches li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.tag { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; white-space: nowrap; }
.tag-paid { color: var(--green); border-color: var(--green); }
