@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

:root {
  --ink: #161616;
  --paper: #f7f4ee;
  --paper-alt: #efeae0;
  --accent: #d98a2b;
  --text: #222;
  --muted: #6a655c;
  --max-width: 820px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

main { flex: 1 0 auto; }
header, footer { flex: none; }

.brand-font {
  font-family: 'Luckiest Guy', cursive;
  letter-spacing: 0.02em;
}

header {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
}

header a.brand {
  display: flex;
  align-items: center;
}

header a.brand img {
  height: clamp(44px, 8vh, 92px);
  width: auto;
  display: block;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

nav a:hover { border-bottom-color: var(--accent); }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.hero {
  text-align: center;
  padding: 24px 24px 8px;
}

.hero img {
  height: clamp(160px, 38vh, 480px);
  width: auto;
  max-width: 90%;
  margin: 0 auto 8px;
  display: block;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0.2em 0 0.1em;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 auto;
}

h1 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4em;
  color: var(--ink);
}

h2 {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  margin-top: 1.6em;
  color: var(--ink);
}

p, li { color: var(--text); }

a { color: var(--accent); }

.muted { color: var(--muted); font-size: 0.9rem; }

.stripe-divider {
  height: 8px;
  margin: 32px 0;
  background: repeating-linear-gradient(
    135deg,
    var(--ink),
    var(--ink) 10px,
    var(--paper) 10px,
    var(--paper) 20px
  );
  border-radius: 4px;
}

footer {
  background: var(--ink);
  color: #cfcac0;
  padding: 28px 24px;
  text-align: center;
  font-size: 0.85rem;
}

footer a { color: #e8e3d8; margin: 0 8px; text-decoration: none; }
footer a:hover { color: var(--accent); }
footer p { color: #97917f; margin-top: 10px; }

form { margin-top: 1.5em; }

label { display: block; margin-top: 1em; font-weight: 600; font-size: 0.9rem; }

input, textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #cfc8b8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { min-height: 140px; resize: vertical; }

button {
  margin-top: 1.5em;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: var(--accent); }

.notice {
  padding: 14px 16px;
  border-radius: 6px;
  margin-top: 1.5em;
}

.notice.success { background: #e6f2e2; color: #315e22; }
.notice.error { background: #f7e4d9; color: #9c3c1c; }

.hp-field { position: absolute; left: -9999px; }
