:root {
  color-scheme: light;
  --ink: #292b27;
  --muted: #797c73;
  --line: #e8e7df;
  --paper: #fffefa;
  --canvas: #f7f6f2;
  --olive: #6b7652;
  --olive-dark: #56613f;
  --olive-pale: #edf0e7;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 52% 18%, rgba(231, 233, 221, .42), transparent 43%),
    var(--canvas);
}

a { color: inherit; }

.site-header {
  width: min(100% - 64px, 1200px);
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(54, 56, 48, .08);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark-icon { display: grid; width: 32px; height: 32px; place-items: center; color: var(--olive); }
.wordmark-icon svg { width: 32px; height: 32px; }
.wordmark-text { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.wordmark-text span { display: block; margin-top: 2px; color: #9b9c93; font: 8px/1.2 sans-serif; letter-spacing: .18em; }

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #e1e3d8;
  border-radius: 999px;
  color: #65704d;
  background: rgba(255, 254, 250, .7);
  font-size: 11px;
  letter-spacing: .04em;
}
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: #89956d; box-shadow: 0 0 0 3px #e9eddf; }

.page-shell { width: min(100% - 32px, 520px); margin: 43px auto 24px; }
.unsubscribe-card {
  position: relative;
  padding: 32px 48px 23px;
  overflow: hidden;
  border: 1px solid rgba(58, 60, 52, .08);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 16px 55px rgba(49, 50, 43, .055), 0 2px 6px rgba(49, 50, 43, .025);
}

.card-topline { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.step-label { color: #adaea6; font-size: 9px; letter-spacing: .1em; }
.step-label span { color: var(--olive); }

.hero-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 28px auto 15px;
  place-items: center;
  border: 1px solid #e7e9df;
  border-radius: 50%;
  color: var(--olive);
  background: #f6f7f1;
}
.hero-icon svg { width: 54px; height: 54px; }

h1 {
  margin: 0;
  color: #34362f;
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .025em;
  text-align: center;
}
h1 span { color: var(--olive); }
.intro { max-width: 340px; margin: 12px auto 23px; color: var(--muted); font-size: 12px; line-height: 1.9; text-align: center; }

.newsletter-card {
  display: flex;
  min-height: 90px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbfaf6;
}
.newsletter-cover { position: relative; flex: 0 0 104px; min-height: 90px; overflow: hidden; background: #d9dfce; }
.cover-sun { position: absolute; top: 13px; right: 19px; width: 21px; height: 21px; border-radius: 50%; background: #f1e3ad; }
.cover-hill { position: absolute; left: -17px; bottom: -19px; width: 124px; height: 57px; border-radius: 50% 50% 0 0; transform: rotate(-11deg); }
.cover-hill-one { background: #a6b18f; }
.cover-hill-two { left: 30px; bottom: -34px; background: #879472; transform: rotate(19deg); }
.cover-label { position: absolute; top: 11px; left: 11px; color: #424a38; font: 7px/1.4 sans-serif; letter-spacing: .1em; }
.newsletter-info { align-self: center; padding: 12px 15px; }
.newsletter-kicker { color: #878a7f; font-size: 9px; letter-spacing: .06em; }
.newsletter-info h2 { margin: 5px 0 4px; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.newsletter-info p { margin: 0; color: #797c73; font-size: 10px; line-height: 1.6; }

.unsubscribe-form { margin-top: 22px; }
.unsubscribe-form label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; top: 50%; left: 13px; width: 17px; height: 17px; color: #a0a196; transform: translateY(-50%); pointer-events: none; }
.input-wrap input {
  display: block;
  width: 100%;
  height: 45px;
  padding: 0 13px 0 40px;
  border: 1px solid #dedfd6;
  border-radius: 4px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input-wrap input::placeholder { color: #b7b8b0; }
.input-wrap input:focus { border-color: #9aa583; box-shadow: 0 0 0 3px rgba(107, 118, 82, .12); }
.privacy-note { margin: 7px 0 14px; color: #999a91; font-size: 10px; }
.submit-button {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--olive);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.submit-button:hover { background: var(--olive-dark); box-shadow: 0 5px 14px rgba(70, 81, 51, .16); }
.submit-button:active { transform: translateY(1px); }
.submit-button:focus-visible, .return-link:focus-visible, .wordmark:focus-visible { outline: 3px solid #c7cfb5; outline-offset: 3px; }
.submit-button svg { width: 16px; height: 16px; }

.success-panel { padding: 33px 0 10px; text-align: center; }
.success-panel[hidden] { display: none; }
.success-mark { display: grid; width: 48px; height: 48px; margin: 0 auto 13px; place-items: center; border-radius: 50%; color: #fff; background: #84916c; }
.success-mark svg { width: 23px; height: 23px; }
.success-panel h2 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.success-panel p { margin: 9px auto 16px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.return-link { color: var(--olive-dark); font-size: 11px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.return-link span { margin-left: 3px; }

.card-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 22px -20px 0; padding-top: 16px; border-top: 1px solid #efeee8; color: #98998f; font-size: 9px; line-height: 1.6; text-align: center; }
.card-footnote span { color: #929b7b; font-size: 11px; }
.site-footer { display: flex; justify-content: center; gap: 9px; margin-top: 18px; color: #a0a198; font-size: 9px; letter-spacing: .04em; }
.footer-separator { color: #c0c0b7; }

@media (max-width: 520px) {
  .site-header { width: calc(100% - 36px); height: 68px; }
  .page-shell { width: min(100% - 28px, 440px); margin-top: 25px; }
  .unsubscribe-card { padding: 25px 23px 20px; }
  .hero-icon { margin-top: 24px; }
  .intro { font-size: 11px; }
  .newsletter-cover { flex-basis: 88px; }
  .newsletter-info { padding: 10px 12px; }
  .newsletter-info p { font-size: 9px; }
  .card-footnote { margin-right: -8px; margin-left: -8px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
