:root {
  --cream: #fbf3e4;
  --paper: #fffaf0;
  --ink: #2b2540;
  --ink-soft: #5a5470;
  --sun: #f5d77a;
  --sage: #b9c9a8;
  --lilac: #d9cbe8;
  --line: #e6dcc8;
  --focus: #6b5bd2;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sun); }

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

header.site {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 0;
}
header.site img { width: 44px; height: 44px; }
header.site a { font-weight: 700; font-size: 20px; text-decoration: none; }

.mark {
  background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%);
  padding: 0 4px;
}

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start;
  padding: 24px 0 56px;
}

h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.05; margin: 8px 0 16px; letter-spacing: -0.5px; }
h2 { font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.lede { font-size: 20px; color: var(--ink-soft); margin: 0 0 20px; }

ul.points { padding-left: 0; list-style: none; margin: 0 0 28px; }
ul.points li { padding-left: 30px; position: relative; margin: 6px 0; }
ul.points li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--sage);
}

.card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

label { display: block; font-weight: 600; margin: 0 0 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }

input[type=text], input[type=email] {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; margin: 0 0 16px;
  border: 2px solid var(--line); border-radius: 12px; background: #fff;
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 16px; margin: 4px 0 18px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--ink); }

.button {
  display: inline-block; font: inherit; font-weight: 700; font-size: 18px;
  background: var(--ink); color: var(--cream);
  border: 0; border-radius: 999px; padding: 14px 26px;
  cursor: pointer; text-decoration: none; text-align: center;
}
.button:hover { background: #3d3558; }
.button.light { background: var(--sun); color: var(--ink); }
.button.light:hover { background: #f0cc5c; }
form .button { width: 100%; }

.small { font-size: 15px; color: var(--ink-soft); }
.error {
  display: none; background: #fde3dc; border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; font-size: 16px;
}
.error.show { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.preview img {
  width: 100%; height: auto; display: block;
  border-radius: 10px;
  box-shadow: 0 2px 0 var(--line), 0 18px 40px rgba(43, 37, 64, 0.14);
  transform: rotate(1.5deg);
  background: #fff;
}
.preview p { text-align: center; margin-top: 18px; }

.band { background: var(--paper); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 40px 0; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 12px; }

footer.site { padding: 32px 0 48px; font-size: 15px; color: var(--ink-soft); }
footer.site a { color: var(--ink-soft); }

.prose { max-width: 680px; padding-bottom: 32px; }
.prose h2 { margin-top: 32px; font-size: 22px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 8px; }
  .preview { max-width: 420px; margin: 0 auto; }
}
