:root {
  --background: #f7f8f4;
  --ink: #24382d;
  --green: #708462;
  --muted: #7c8879;
  --line: #d9dfd2;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
input:disabled { cursor: not-allowed; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #81936d;
  outline-offset: 5px;
}
::selection { background: #dce7cd; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.page { width: min(100% - 80px, 880px); margin: 0 auto; }
.header { display: flex; align-items: center; justify-content: space-between; padding-top: 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 700; letter-spacing: -1.3px; }
.brand-icon { display: block; height: 35px; width: 35px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.local-note { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #87927e; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #9aab87; }
main { padding: 112px 0 100px; }
.intro { max-width: 620px; margin: 0 auto; }
h1 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 68px);
  line-height: 1.23;
  letter-spacing: -2.8px;
  font-weight: 700;
}
h1 span { color: var(--green); }
.description { font-size: 16px; line-height: 1.95; color: var(--muted); margin: 26px 0 40px; }
.email-label { display: block; font-size: 13px; font-weight: 550; margin-bottom: 13px; }
.email-row {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid #cdd7c5;
  border-radius: 10px; padding: 5px 5px 5px 17px;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 4px 12px #29392303;
}
.email-row:focus-within { border-color: #849b70; box-shadow: 0 0 0 3px #8a9d7112; }
.email-icon { width: 19px; height: 19px; flex-shrink: 0; color: #96a18e; }
.email-row input { min-width: 0; flex: 1; width: 100%; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.email-row input::placeholder { color: #9ca495; font-size: 14px; }
.email-suffix { position: relative; flex: 0 0 112px; height: 30px; border-left: 1px solid var(--line); }
.email-suffix select { appearance: none; width: 100%; height: 100%; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; padding: 0 21px 0 10px; cursor: pointer; text-overflow: ellipsis; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.email-suffix select:focus-visible { outline: 2px solid #81936d; outline-offset: 3px; }
.email-suffix select:disabled { opacity: .55; cursor: not-allowed; }
.email-suffix svg { position: absolute; right: 5px; top: 9px; width: 12px; height: 12px; color: var(--muted); pointer-events: none; }
.email-row button { display: flex; align-items: center; justify-content: center; gap: 27px; flex-shrink: 0; height: 46px; padding: 0 21px; border: 0; border-radius: 6px; background: var(--ink); color: #f5f7ee; font-size: 13px; font-weight: 550; white-space: nowrap; transition: background .18s; }
.email-row button:hover:not(:disabled) { background: #3b5140; }
.email-row button svg { height: 17px; width: 17px; }
.preferences { display: flex; align-items: center; gap: 26px; border: 0; margin: 15px 0 7px; padding: 0; }
.preferences label { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12px; color: #6c7c62; cursor: pointer; }
input[type=checkbox] { accent-color: #536f48; width: 14px; height: 14px; margin: 0; flex-shrink: 0; cursor: pointer; }
input[type=checkbox]:disabled { cursor: not-allowed; }
#feedback { font-size: 12px; line-height: 1.9; color: #526d44; padding: 13px 15px; border-left: 2px solid #8da779; background: #edf2e6; margin-top: 18px; border-radius: 0 5px 5px 0; }
#feedback[data-error=true] { color: #a54d3b; background: #f7eeea; border-color: #c68d7b; }
#feedback button { font-size: 12px; color: #365b27; background: none; border: 0; padding: 8px 0 0; display: block; text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.action-button { border: 0; border-radius: 6px; background: var(--ink); color: white; padding: 15px 24px; font-size: 14px; }
#link-feedback { font-size: 13px; line-height: 1.9; color: var(--green); }
#link-feedback[data-error=true] { color: #a54d3b; }
.back-link { display: inline-block; margin-top: 24px; font-size: 12px; color: var(--muted); }
dialog { width: min(480px, calc(100% - 32px)); border: 1px solid #d5decb; border-radius: 14px; padding: 28px; color: var(--ink); background: var(--background); box-shadow: 0 25px 100px #17271b33; }
dialog::backdrop { background: #25372b66; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-label { font-size: 10px; color: #8a9d79; }
.dialog-heading h2 { font-size: 23px; font-weight: 550; letter-spacing: -.5px; margin: 9px 0; }
#close-verification { width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #e8eddf; color: #7b8e69; flex-shrink: 0; }
#close-verification svg { width: 17px; height: 17px; }
#verification-email { font-size: 14px; overflow-wrap: anywhere; }
.verification-note { color: #7a8e68; font-size: 12px; line-height: 1.9; }
#confirm-verification { border: 0; border-radius: 6px; background: var(--ink); color: white; padding: 13px 18px; font-size: 12px; margin-top: 10px; }
#confirm-verification span { margin-left: 25px; }
#verification-message { font-size: 12px; line-height: 1.9; color: #526d44; }
[hidden] { display: none !important; }
@media (min-height: 950px) { main { padding-top: 155px; } }
@media (max-width: 680px) {
  .page { width: calc(100% - 48px); }
  .header { padding-top: 28px; }
  .brand { font-size: 25px; gap: 8px; }
  .brand-icon { height: 32px; width: 32px; }
  .local-note { font-size: 9px; gap: 5px; }
  main { padding: 70px 0 55px; }
  h1 { font-size: clamp(41px, 10.8vw, 60px); letter-spacing: -2px; }
  .description { font-size: 13px; line-height: 1.95; margin: 25px 0 33px; }
  .email-label { font-size: 12px; margin-bottom: 12px; }
  .email-row { padding-left: 12px; gap: 10px; }
  .email-row button { padding: 0 14px; gap: 12px; font-size: 12px; }
  .email-row button svg { width: 14px; height: 14px; }
  .email-row input::placeholder { font-size: 12px; }
  .email-suffix { flex-basis: 88px; }
  .email-suffix select { font-size: 11px; padding-left: 7px; padding-right: 16px; }
  .email-suffix svg { right: 2px; }
  .email-icon { width: 17px; height: 17px; }
  .preferences { gap: 24px; margin-top: 13px; }
  .preferences label { font-size: 11px; }
  dialog { padding: 23px; }
  .dialog-heading h2 { font-size: 21px; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 36px); }
  .local-note { font-size: 8px; }
  .brand { font-size: 23px; }
  .brand-icon { width: 29px; height: 29px; }
  .email-icon { display: none; }
  .email-row button { gap: 8px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
