:root {
  --cream: #FBF6EC;
  --paper: #FFFFFF;
  --pine: #1F4D3A;
  --pine-dark: #163a2b;
  --berry: #C8372D;
  --berry-dark: #a82b23;
  --gold: #D9A441;
  --ink: #2A2A2A;
  --muted: #5d5a53;
  --line: #e6dcc8;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; color: var(--pine); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--pine); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
section { padding: 36px 0; }

.site-header { background: var(--pine); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a { color: #f3ead8; text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { text-decoration: underline; }

.hero { text-align: center; padding: 48px 0 28px; }
.hero p.lead { font-size: 1.15rem; max-width: 620px; margin: 0 auto 1.2em; color: var(--muted); }
.hero .small { font-size: .92rem; color: var(--muted); margin-top: 12px; }

.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--berry); color: #fff; font: inherit; font-weight: 800;
  padding: 13px 26px; text-decoration: none; text-align: center;
}
.btn:hover { background: var(--berry-dark); }
.btn.alt { background: var(--pine); }
.btn.alt:hover { background: var(--pine-dark); }
.btn.ghost { background: transparent; color: var(--pine); border: 2px solid var(--pine); padding: 9px 18px; font-weight: 700; }
.btn.ghost:hover { background: #eef3ef; }
.btn[disabled] { opacity: .6; cursor: wait; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 10px rgba(31, 77, 58, .06); }
.grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }

label, legend { font-weight: 700; display: block; margin-bottom: 6px; }
input[type=text] {
  width: 100%; font: inherit; padding: 11px 13px; border: 2px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink);
}
input[type=text]:focus { outline: none; border-color: var(--pine); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.row { display: flex; gap: 10px; align-items: stretch; }
.row input { flex: 1; min-width: 0; }
.tones { display: grid; gap: 10px; }
@media (min-width: 620px) { .tones { grid-template-columns: 1fr 1fr; } }
.tone { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: 10px; padding: 12px; font-weight: 400; cursor: pointer; margin: 0; }
.tone input { margin-top: 5px; accent-color: var(--berry); }
.tone strong { display: block; }
.tone span { color: var(--muted); font-size: .92rem; }
.hint { color: var(--muted); font-size: .92rem; }
.msg { font-weight: 700; margin: 10px 0 0; min-height: 1.4em; }
.msg.err { color: var(--berry-dark); }
.msg.ok { color: var(--pine); }

.letter {
  background: #fff; border: 3px solid var(--pine); outline: 1px solid var(--gold); outline-offset: -8px;
  border-radius: var(--radius); padding: 30px 26px; font-family: "Caveat", "Comic Sans MS", cursive;
  font-size: 1.55rem; line-height: 1.35;
}
.letter p { margin: 0 0 .7em; }
.letter .sig { color: var(--berry); font-weight: 700; font-size: 2rem; margin: 0; }
.notes .note-card { background: #fff; border: 2px solid var(--berry); border-radius: var(--radius); padding: 16px; text-align: center; display: flex; flex-direction: column; }
.notes .note-card:nth-child(even) { border-color: var(--pine); }
.note-card .date { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pine); margin: 0 0 8px; }
.note-card .note { font-family: "Caveat", "Comic Sans MS", cursive; font-size: 1.35rem; line-height: 1.3; flex: 1; }
.note-card .sig { font-family: "Caveat", cursive; font-weight: 700; font-size: 1.5rem; color: var(--berry); margin: 0 0 8px; }
.note-card .setup { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; margin: 0; text-align: left; }

.locked { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .locked { grid-template-columns: 1fr 1fr 1fr; } }
.locked li { background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; color: var(--muted); font-size: .95rem; }
.locked li b { color: var(--pine); }

.buy { border: 3px solid var(--gold); }
.price { font-family: "Fraunces", Georgia, serif; font-size: 2.4rem; color: var(--berry); font-weight: 700; line-height: 1; }
.price small { font-family: "Nunito", sans-serif; font-size: .95rem; color: var(--muted); font-weight: 400; }
ul.ticks { list-style: none; padding: 0; margin: 14px 0 18px; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 6px; }
ul.ticks li::before { content: "\2605"; color: var(--gold); position: absolute; left: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 46px; }
.steps .card::before {
  counter-increment: step; content: counter(step); position: absolute; top: 14px; left: 22px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--berry); color: #fff;
  font-weight: 800; display: grid; place-items: center; font-size: .9rem;
}
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--pine); }
details p { margin: 10px 0 0; }

.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.big-name { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(2.6rem, 11vw, 4.5rem); color: var(--berry); text-align: center; min-height: 1.3em; line-height: 1.1; margin: 10px 0 18px; }
.centre { text-align: center; }

.site-footer { background: var(--pine); color: #e9e0cd; padding: 26px 0; font-size: .9rem; margin-top: 30px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .6em; }
